* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0A1930;
    color: #FFFFFF;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ========== ШАПКА ========== */
.header {
    background-color: #0A1930;
    border-bottom: 1px solid #2C3E50;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(45deg, #F5B041, #FFD700, #FF8C00, #F5B041);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 3s linear infinite, glowPulse 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 5px #F5B041, 0 0 10px #F5B041; }
    50% { text-shadow: 0 0 15px #FFD700, 0 0 25px #FF8C00; }
    100% { text-shadow: 0 0 5px #F5B041, 0 0 10px #F5B041; }
}

.logo i {
    background: linear-gradient(45deg, #FFD700, #FF8C00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glowPulse 2s ease-in-out infinite;
}

.nav a {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #F5B041;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bot-link {
    background-color: #FF6B6B;
    padding: 8px 16px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 0 8px rgba(255,107,107,0.5);
}
.bot-link:hover {
    background-color: #E05A5A;
    transform: scale(1.05);
    box-shadow: 0 0 15px #FF6B6B;
}

.sound-toggle {
    background: none;
    border: none;
    color: #F5B041;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}
.sound-toggle:hover {
    transform: scale(1.1);
    text-shadow: 0 0 8px #F5B041;
}

/* ========== ГЛАВНЫЙ ЭКРАН С 3D МОДЕЛЬЮ ========== */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #0A1930 0%, #142442 100%);
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-text {
    flex: 1;
    text-align: left;
}
.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.hero-text p {
    font-size: 1.2rem;
    color: #B0C4DE;
    margin-bottom: 30px;
}
.hero-3d {
    flex: 1;
    min-width: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ========== КНОПКИ ========== */
.btn-primary {
    background-color: #FF6B6B;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255,107,107,0.5);
    animation: btnPulse 1.5s infinite;
}
@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(255,107,107,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255,107,107,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,107,107,0); }
}
.btn-primary:hover {
    background-color: #E05A5A;
    transform: scale(1.05);
    box-shadow: 0 0 20px #FF6B6B;
    animation: none;
}

.btn-offer {
    background-color: #FF6B6B;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
}
.btn-offer:hover {
    background-color: #E05A5A;
    transform: scale(1.05);
    box-shadow: 0 0 12px #FF6B6B;
}

.btn-telegram {
    background: linear-gradient(90deg, #F5B041, #D48D2B);
    padding: 12px 30px;
    border-radius: 40px;
    color: #0A1930;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0 10px rgba(245,176,65,0.5);
    transition: all 0.3s;
}
.btn-telegram:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #F5B041;
}

/* ========== КАРТОЧКИ ОФФЕРОВ ========== */
.offers { padding: 60px 0; text-align: center; }
.offers h2 { font-size: 2rem; margin-bottom: 40px; }
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.offer-card {
    background: rgba(10, 25, 48, 0.8);
    border: 1px solid #2C3E50;
    border-radius: 20px;
    padding: 30px 20px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(2px);
}
.offer-card:hover {
    transform: translateY(-8px);
    border-color: #F5B041;
    box-shadow: 0 0 20px rgba(245,176,65,0.3);
}
.offer-card i {
    font-size: 2.5rem;
    color: #F5B041;
    margin-bottom: 15px;
}
.offer-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.offer-card p { color: #B0C4DE; margin-bottom: 20px; }

/* ========== КАТЕГОРИИ (ФИЛЬТР) ========== */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}
.filter-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid #2C3E50;
    color: #B0C4DE;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.filter-btn i { margin-right: 8px; }
.filter-btn.active, .filter-btn:hover {
    background: #F5B041;
    border-color: #F5B041;
    color: #0A1930;
}

/* ========== БАНКИ И МФО ========== */
.banks, .mfos {
    padding: 60px 0;
    text-align: center;
}
.banks h2, .mfos h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #F5B041;
}
.banks-grid, .mfos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.bank-card, .mfo-card {
    background: rgba(10, 25, 48, 0.8);
    border: 1px solid #2C3E50;
    border-radius: 20px;
    padding: 25px;
    transition: transform 0.3s, border-color 0.3s;
}
.bank-card:hover, .mfo-card:hover {
    transform: translateY(-5px);
    border-color: #F5B041;
}
.bank-card h3, .mfo-card h3 {
    color: #F5B041;
    margin-bottom: 10px;
}
.bank-card p, .mfo-card p {
    color: #B0C4DE;
    margin-bottom: 15px;
}
.bank-card a, .mfo-card a {
    color: #FF6B6B;
    text-decoration: none;
    font-weight: bold;
}
.bank-card a:hover, .mfo-card a:hover {
    text-decoration: underline;
}

/* ========== ШАГИ "КАК ЭТО РАБОТАЕТ" ========== */
.how-it-works { background-color: #0e1d35; padding: 60px 0; text-align: center; }
.how-it-works h2 { font-size: 2rem; margin-bottom: 40px; }
.steps { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.step {
    flex: 1;
    min-width: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px 20px;
}
.step-number {
    background: #F5B041;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #0A1930;
    margin: 0 auto 20px;
}

/* ========== ТЕЛЕГРАМ БЛОК ========== */
.telegram-bot {
    background: linear-gradient(90deg, #FF6B6B, #E05A5A);
    text-align: center;
    padding: 50px 0;
}
.telegram-bot h2 { font-size: 1.8rem; margin-bottom: 20px; }

/* ========== ПОДПИСКА ========== */
.subscribe { text-align: center; padding: 60px 0; }
.subscribe form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}
.subscribe input {
    padding: 12px 20px;
    border-radius: 40px;
    border: 1px solid #B0C4DE;
    background-color: #1E2A47;
    color: white;
    width: 250px;
}
.subscribe input:focus {
    outline: none;
    border-color: #F5B041;
    box-shadow: 0 0 8px #F5B041;
}
#form-message { margin-top: 20px; color: #F5B041; }

/* ========== ФУТЕР ========== */
.footer {
    border-top: 1px solid #2C3E50;
    text-align: center;
    padding: 30px 0;
    background-color: #050F1E;
}
.footer .socials { margin: 15px 0; }
.footer .socials a {
    color: #B0C4DE;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}
.footer .socials a:hover { color: #F5B041; }
.footer a {
    color: #B0C4DE;
    text-decoration: none;
}
.footer a:hover { color: #F5B041; }

/* ========== СТРАНИЦА КОНТАКТОВ ========== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}
.contact-info p { margin: 20px 0; font-size: 1.1rem; }
.contact-info i { width: 30px; color: #F5B041; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 12px;
    border: 1px solid #B0C4DE;
    background-color: #1E2A47;
    color: white;
}
.contact-form textarea { resize: vertical; }
.faq details {
    background: rgba(255,255,255,0.05);
    margin: 15px 0;
    padding: 15px;
    border-radius: 16px;
}
.faq summary { font-weight: bold; cursor: pointer; color: #F5B041; }

/* ========== СТРАНИЦА О НАС ========== */
.about ul { list-style: none; margin: 20px 0; }
.about li { margin: 10px 0; }

/* ========== СЛОТ-МАШИНА ========== */
.slot-machine { text-align: center; padding: 40px 0; }
.slot-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.slot-reel {
    width: 160px;
    height: 120px;
    background: #1E2A47;
    border: 3px solid #F5B041;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(245,176,65,0.3);
}
.reel-display {
    font-size: 2rem;
    font-weight: bold;
    color: #F5B041;
    font-family: 'Playfair Display', serif;
}
.spin-btn { margin-top: 20px; min-width: 200px; }
.promo-result { margin: 30px auto; font-size: 1.2rem; max-width: 500px; }
.win-code { background: rgba(245,176,65,0.2); padding: 15px; border-radius: 40px; margin-bottom: 15px; }
.promo-list {
    margin-top: 40px;
    background: rgba(10,25,48,0.6);
    padding: 20px;
    border-radius: 20px;
    text-align: left;
}
.promo-list ul { list-style: none; }
.promo-list li { margin: 10px 0; padding: 8px; border-left: 3px solid #F5B041; }

/* ========== СЛАЙДЕР БАННЕРОВ ========== */
.banner-slider {
    padding: 30px 0;
    background: #0A1930;
}
.swiper-container {
    width: 100%;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
}
.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.banner-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
}
.swiper-pagination-bullet-active { background: #F5B041; }
.swiper-button-next, .swiper-button-prev { color: #F5B041; }

/* ========== ПОСТЫ (АНОНСЫ) ========== */
.announcements {
    padding: 60px 0;
    background: rgba(10,25,48,0.5);
}
.announcements h2 {
    text-align: center;
    color: #F5B041;
    margin-bottom: 40px;
}
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.announcement-card {
    background: #1E2A47;
    border-radius: 24px;
    padding: 20px;
    border-left: 4px solid #F5B041;
}
.announcement-card h3 {
    color: #F5B041;
    margin-top: 0;
}
.announcement-card p {
    color: #B0C4DE;
    margin: 10px 0;
}
.announcement-card .btn-announce {
    display: inline-block;
    background: #FF6B6B;
    padding: 8px 16px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    margin-top: 10px;
}
.announcement-card .post-date {
    font-size: 0.8rem;
    color: #B0C4DE;
    margin-top: 15px;
    text-align: right;
}

/* ========== АДАПТАЦИЯ (МОБИЛЬНЫЕ) ========== */
@media (max-width: 768px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-text { text-align: center; }
    .header .container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .nav {
        margin: 5px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .nav a {
        margin-left: 0;
        font-size: 0.85rem;
        padding: 4px 8px;
    }
    .header-actions { order: 1; }
    .logo { order: 0; }
    .steps { flex-direction: column; }
    .hero-3d { min-height: 350px; }
    .slot-wrapper {
        flex-direction: row !important;
        justify-content: center;
        gap: 15px;
    }
    .slot-reel {
        width: 100px;
        height: 80px;
    }
    .reel-display {
        font-size: 1.2rem;
    }
    .spin-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
        min-width: 160px;
    }
    .contacts-grid { grid-template-columns: 1fr; }
    .offers-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .nav {
        overflow-x: auto;
        justify-content: flex-start;
        white-space: nowrap;
    }
    .nav a {
        background: rgba(255,255,255,0.05);
        border-radius: 30px;
        padding: 6px 12px;
    }
    .admin-link {
        position: fixed;
        bottom: 15px;
        right: 15px;
        z-index: 1000;
        opacity: 0.9;
    }
    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    .offer-card {
        padding: 20px 15px;
    }
}

@media (hover: none) {
    .offer-card:hover { transform: none; }
    .btn-primary:hover {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255,107,107,0.5);
    }
}

/* Плавающая иконка спин-машины */
.floating-spin {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    animation: bounce 1s ease-in-out 3, pulse 1.5s infinite 3s;
    transition: transform 0.2s;
}
.floating-spin:hover {
    transform: scale(1.05);
}
.floating-spin img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    background: #F5B041;
    padding: 10px;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245,176,65,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(245,176,65,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,176,65,0); }
}
.tooltip-bubble {
    position: fixed;
    bottom: 110px;
    right: 100px;
    background: #F5B041;
    color: #0A1930;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.tooltip-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #F5B041;
}
@media (max-width: 768px) {
    .floating-spin img { width: 55px; height: 55px; }
    .tooltip-bubble { bottom: 90px; right: 70px; font-size: 0.75rem; white-space: normal; width: 150px; text-align: center; }
}