* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: #1a1a1a url('fon.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    line-height: 1.6;
}

.marquee {
    background: #e8c918;
    color: #000;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}
@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Hero-секция */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.rotate-btn {
    margin-top: 30px;
    animation: rotate 10s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Glassmorphism эффект */
.glass {
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.08),
        rgba(255, 255, 255, 0.03)
    );
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 24px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow:
        0 20px 60px rgba(255, 215, 0, 0.2),
        inset 0 0 12px rgba(255, 215, 0, 0.08);
    transition: all 0.4s ease-in-out;
    animation: fadeFlyIn 1s ease-out;
}

/* Секции */
section {
    padding: 60px 20px;
    text-align: center;
    animation: fadeUp 1s ease-out;
}
section h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Кто мы */
.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    color: #fffbea;
    line-height: 1.6;
    animation: fadeUp 1s ease-in-out;
}

/* Плитки */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
}

.tile {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
        url('kartohki.png') center/cover no-repeat;
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    transform: translateZ(0);
    animation: perspectiveIn 0.7s ease forwards;
    opacity: 0;
}


.tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(255, 215, 0, 0.9);
}
.tile p {
    margin-left: 12px;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
}

.custom-icon {
    width: 4.5vw;
    height: 4.5vw;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

/* Анимации */
@keyframes fadeFlyIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes perspectiveIn {
    0% {
        opacity: 0;
        transform: rotateX(45deg) translateZ(-300px);
    }
    100% {
        opacity: 1;
        transform: rotateX(0deg) translateZ(0);
    }
}


/* Иконки */
.custom-icon.icon-1 { background-image: url('2.png'); }
.custom-icon.icon-2 { background-image: url('3.png'); }
.custom-icon.icon-3 { background-image: url('4.png'); }
.custom-icon.icon-4 { background-image: url('5.png'); }
.custom-icon.icon-5 { background-image: url('6.png'); }
.custom-icon.icon-6 { background-image: url('7.png'); }
.custom-icon.icon-7 { background-image: url('8.png'); }

/* Списки */
ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}
ul li .custom-check {
    width: 20px;
    height: 20px;
    background: url('1.png') no-repeat center center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Форма */
.apply-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid rgb(255, 217, 0);
    border-radius: 0;
    background: rgba(253, 253, 253, 0.1);
    color: #fff;
    outline: none;
}
/* Обёртка для единообразного вида */
.apply-form select {
    width: 100%;
    padding: 12px 16px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.4); /* темный полупрозрачный */
    border: 2px solid #FFD700;       /* жёлтая рамка */
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    outline: none;
    cursor: pointer;

    /* Убираем дефолтную стрелку */
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23FFD700' height='24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

/* Ховер */
.apply-form select:hover {
    border-color: #ffea00;
    background: rgba(0, 0, 0, 0.55);
}

/* Фокус */
.apply-form select:focus {
    box-shadow: 0 0 10px rgba(255, 213, 0, 0.8);
    border-color: #FFD700;
}

/* Стиль выпадающего меню */
.apply-form select option {
    background: #000;
    color: #fff;
    padding: 12px;
    font-size: 16px;
}



/* Цвет плейсхолдера */
.apply-form input::placeholder {
    color: #fff;
    opacity: 0.7; /* чуть прозрачнее для стиля */
}

.apply-form button {
    width: 100%;
    padding: 15px;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: box-shadow 0.3s ease;
}
.apply-form button:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}
.apply-form p {
    font-size: 0.9rem;
    margin-top: 10px;
}
.apply-form a {
    color: #ffd700;
    text-decoration: none;
}
.apply-form a:hover {
    text-decoration: underline;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('fon.png') no-repeat center center fixed;
    background-size: cover;
    z-index: 1000;
}

.modal-content {
    background: url('https://dnepr.net.ua/gelik.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.modal-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 0;
}
.modal-content * {
    position: relative;
    z-index: 1;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}
.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.05);
    color: #fff;
    outline: none;
}
.modal-content button {
    width: 100%;
    padding: 15px;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: box-shadow 0.3s ease;
}
.modal-content button:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}
.modal-content p {
    font-size: 0.9rem;
    margin-top: 10px;
}
.modal-content a {
    color: #ffd700;
    text-decoration: none;
}
.modal-content a:hover {
    text-decoration: underline;
}

/* Фиксированная кнопка */
.fixed-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    z-index: 999;
}
.fixed-btn:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.9);
}

/* Кнопка Telegram */
.contacts a.telegram-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    margin: 10px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: box-shadow 0.3s ease;
    background: url('10.png') no-repeat 10px center;
    background-size: 20px 20px;
    padding-left: 45px;
}
.contacts a.telegram-btn:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.9);
}

/* Кнопка переключения языка */
.contacts a.lang-switch-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    margin: 10px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: box-shadow 0.3s ease;
    background: url('9.png') no-repeat 10px center;
    background-size: 20px 20px;
    padding-left: 45px;
}
.contacts a.lang-switch-btn:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.9);
}

/* Отдельное поведение */
.lang-switch:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    section h2 {
        font-size: 1.8rem;
    }
    .fixed-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    .glass {
        padding: 20px;
    }
    .custom-icon {
        width: 50px;
        height: 50px;
    }
    .custom-check {
        width: 16px;
        height: 16px;
    }
}
