/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: url('../img/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 100px;
}

.logo {
    width: 104px;
}

.language-panel {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 75, 0.85); /* Полупрозрачный жёлтый фон */
    color: #1c2539; /* Тёмный текст */
    padding: 8px 16px;
    border-radius: 7px; /* Немного скруглённые углы */
    box-shadow: 0px 0px 20px 10px rgba(255, 173, 42, 0.6); /* Тень для объёма */
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Лёгкая граница */
}

.language-panel a {
    color: #1c2539; /* Цвет текста для ссылок */
    text-decoration: none; /* Убираем подчёркивание */
    transition: color 0.3s ease, transform 0.3s ease; /* Эффект наведения */
}

.language-panel a:hover {
    color: #ff5722; /* Изменение цвета текста при наведении */
    transform: scale(1.1); /* Лёгкое увеличение */
}

.language-panel span {
    color: #1c2539; /* Цвет разделителя */
}


/* Content */
.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 70px 100px
}

.left-container {
    max-width: 70%;
    z-index: 2;
}

.right-container {
    max-width: 30%;
    z-index: 10;
}

.main-title {
    font-family: Montserrat, sans-serif;
    color: #FFFF4B;
    text-transform: uppercase;
    font-size: 57.1px;
    font-style: italic;
    font-weight: 900;
    line-height: 62.81px;
    letter-spacing: 0.02em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-bottom: 35px;
}

/* Highlight Box */
.highlight-box {
    max-width: 1130px;
    width: 60vw;
    min-height: 460px;
    position: relative;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255, 205, 50, 0.3) 0%, rgba(255, 124, 30, 0.3) 100%);
    backdrop-filter: blur(16.4646px);
    -webkit-backdrop-filter: blur(16.4646px);
    border-radius: 40px;
    padding: 70px 280px 60px 70px;
    z-index: 2;
    box-shadow: 0px 0px 20px 10px #ffcc32d2;
}

/* Обводка через псевдоэлемент */
.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    padding: 3px; /* Толщина обводки */
    background: linear-gradient(180deg, rgba(255, 205, 50, 1) 0%, rgba(255, 124, 30, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    /* Внешнее свечение */
    box-shadow: 0px 0px 30px 15px rgba(255, 205, 50, 0.6);
}

.highlight-text {
    font-family: Montserrat, sans-serif;
    font-size: 120px;
    margin-top: -20px;
    font-style: italic;
    font-weight: 900;
    line-height: 120px;
    letter-spacing: 0.02em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}



.decorative-image {
    position: fixed;
    bottom: 0px;
    left: 63%;
    transform: translateX(-50%);
    max-width: 468px;
    width: 25vw;
    z-index: 3;
    pointer-events: none;
}


/* Декоративное изображение: монета */
.animated-coin {
    position: absolute;
    top: 88px;
    left: 56%;
    transform: translateX(-50%);
    width: 378px;
    z-index: 1;
    animation: bounce 3s infinite ease-in-out;
}

/* Анимация движения вверх-вниз */
@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0); /* Исходное положение */
    }
    50% {
        transform: translate(-50%, -20px); /* Смещение вверх */
    }
}

.additional-text-image {
    width: 100%;
    max-width: 327px;
    margin-top: 20px;
    margin-left: 15px;
    display: block;
    cursor: pointer;
}

.additional-text-image2 {
    display: none;
    width: 100%;
    max-width: 247px;
    margin-top: 20px;
    margin-left: 25px;
    cursor: pointer;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 200;
}

.notification.show {
    opacity: 1;
    visibility: visible;
}

.decorative-image2 {
    display: none;
}

@media (max-width: 1850px) {
    .highlight-box {
        padding: 70px 260px 60px 70px;
        width: 54vw;
    }
}
@media (max-width: 1760px) {
    .decorative-image {
        left: 57%;
    }
}
@media (max-width: 1560px) {
    .highlight-text {
        font-size: 82px;
        line-height: 82px;
    }
    .header {
        padding: 40px 50px;
    }
    .content {
        padding: 30px 50px 60px 50px;
    }
    .decorative-image {
        left: 55%;
        min-width: 370px;
    }
}

@media (max-width: 1200px) {
    .header {
        padding: 30px 40px;
    }

    .additional-text-image {
        display: none;
    }
    .content {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 30px;
        padding: 0px 40px 60px 40px;
    }
    .decorative-image {
        left: 24%;
        min-width: 347px;
    }

    .left-container {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 3;
    }

    .highlight-box {
        padding: 50px 50px 40px 50px;
        width: 100%;
        min-height: 162px; 
        box-shadow: 0px 0px 15px 6px #ffc35a;
    }

    .main-title {
        text-align: center;
        
    }

    .highlight-text {
        font-size: 60px;
        line-height: 60px;
        text-align: center;
    }


    .main-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .animated-coin {
        display: none;
    }

    .right-container {
        max-width: 100%;
        z-index: 10;
    }

    .additional-text-image2 {
        display: block;
    }
}

@media (max-width: 1024px) {
    body {
        background: url('../img/bg2.jpg') no-repeat center center fixed;
        background-size: cover;
    }
}

@media (max-width: 768px) {
    body {
        background: url('../img/bg3.jpg') no-repeat center center fixed;
        background-size: cover;
    }

    .main-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .highlight-box {
        border-radius: 12px; 
        padding: 20px 85px 20px 20px;
        min-height: 130px;
    }

    .highlight-box::before {
        border-radius: 12px;
    } 

    .highlight-text {
        font-size: 30px;
        line-height: 30px;
        margin-top: 0px;
        text-align: left;
    }

    .left-container {
        max-width: 312px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .decorative-image {
        display: none;
    }

    .content {
        align-items: center;
        padding: 0px 24px 60px 24px;
    }

    .additional-text-image2 {
        margin-left: 0px;
        content: url('../img/promohi3.png');
        width: 176px;   
    }

    .content {
        gap: 10px;
    }
    
    .decorative-image2 {
        display: block;
        position: absolute;
        top: 230px;
        left: 70%;
        transform: translateX(-50%);
        width: 164px;
        z-index: 1;
        pointer-events: none;
    }
}
