/* --- VARIABLES & RESET --- */
:root {
    /* Muted/Premium Palette */
    --bg-dark: #120303;      /* Почти черный с легким красным оттенком */
    --bg-card: #2a0a0a;      /* Темный бордо */
    --text-main: #e2e2e2;    /* Мягкий белый */
    --text-muted: #a88b8b;   /* Серо-розовый для второстепенного текста */
    
    --color-gold: #d4af37;   /* Классическое золото (менее желтое) */
    --color-red: #991b1b;    /* Глубокий красный (Ruby) */
    --color-teal: #0d9488;   /* Спокойный бирюзовый (Teal) */
    --color-purple: #7e22ce; /* Глубокий фиолетовый */
    --color-blue: #1d4ed8;   /* Темно-синий */
    
    --container-width: 1200px;
    --header-height: 60px; 
}

/* Desktop Variable Overrides */
@media (min-width: 900px) {
    :root {
        --header-height: 80px;
    }
    
    .logo-img {
        height: 50px;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    background-image: radial-gradient(circle at 50% 0%, #2e0808 0%, #120303 80%);
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* --- LAYOUT UTILS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 50px 0;
}

@media (min-width: 769px) {
    .section { padding: 80px 0; }
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-teal { color: var(--color-teal); }
.text-purple { color: var(--color-purple); }
.text-red { color: var(--color-red); }

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(18, 3, 3, 0.98); /* Более плотный фон */
    border-bottom: 1px solid rgba(212, 175, 55, 0.15); /* Тусклое золото */
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: height 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--color-gold);
    text-transform: uppercase;
    /* Убрал агрессивную тень */
    text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
    z-index: 1002;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.bd-badge {
    font-size: 0.65rem;
    background: var(--bg-card);
    color: var(--text-muted);
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Button */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-muted);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-link:hover {
    color: var(--color-gold);
}

/* Кнопка в шапке */
.btn-header {
    background: transparent;
    color: var(--color-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid var(--color-gold);
    transition: all 0.2s;
}
.btn-header:hover {
    background: var(--color-gold);
    color: #120303;
}

/* --- HERO SECTION --- */
.hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 50px;
    /* Banner background */
    background-image: url('banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(18, 3, 3, 0.5), rgba(18, 3, 3, 0.7));
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1; /* Еще меньше прозрачность, чтобы не мешать баннеру */
    z-index: 0;
    display: none; /* Скрываем blob, так как теперь есть баннер */
}
.blob-1 { top: 10%; left: -10%; width: 300px; height: 300px; background: var(--color-gold); }
.blob-2 { top: 30%; right: -10%; width: 250px; height: 250px; background: var(--color-teal); }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-buttons {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.2rem, 8vw, 4.5rem); 
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--color-gold);
    /* Мягкая тень */
    text-shadow: 0 4px 10px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}

.hero-title span {
    color: #fff;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding: 0 5px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 8px; /* Менее скругленные углы */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: transform 0.1s, opacity 0.2s;
    width: 100%;
    max-width: 340px;
    font-size: 1rem;
    user-select: none;
    text-decoration: none;
}

.btn:active,
a.btn:active {
    transform: scale(0.98);
}

/* Спокойная основная кнопка */
.btn-primary {
    background: var(--color-red);
    color: #fff;
    box-shadow: 0 4px 15px rgba(153, 27, 27, 0.3);
}
.btn-primary:hover {
    background: #b91c1c;
}

/* Вторичная кнопка */
.btn-outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
}

.payment-icons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    opacity: 0.7; /* Приглушенные логотипы */
}

.pay-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}
.pay-bar {
    width: 30px;
    height: 3px;
    margin-top: 5px;
    background: #444; /* Серый вместо белого */
    border-radius: 2px;
}

/* --- STATS SECTION --- */
.bg-darker { background: rgba(0,0,0,0.2); }

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Еле заметная рамка */
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* --- CONTENT SECTION --- */
.content-area {
    background: #180505;
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.article-body h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 0;
    line-height: 1.2;
    color: var(--color-gold);
    font-weight: 900;
}

.article-body h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    line-height: 1.25;
    color: var(--text-main); /* Белый вместо цветного */
}
.article-body h3 {
    font-size: 1.25rem;
    color: var(--color-gold);
    margin-top: 35px;
    margin-bottom: 15px;
}
.article-body p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.article-body ol,
.article-body ul {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-muted);
}

.article-body ol li,
.article-body ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.article-body ol {
    list-style: decimal;
}

.article-body ul {
    list-style: disc;
}

.strategy-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    border-left: 3px solid var(--color-red);
}

.list-num {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 14px;
    flex-shrink: 0;
    box-shadow: none;
}

/* --- TABLE STYLES --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

table tr:first-child td {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

table td p {
    margin: 0;
}

/* Responsive table */
@media (max-width: 768px) {
    table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table td {
        padding: 10px 8px;
        white-space: nowrap;
    }
}

/* --- FAQ SECTION --- */
.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.faq-question {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* --- CTA FOOTER --- */
.cta-section {
    background: linear-gradient(to bottom, var(--bg-dark), #000);
    padding: 60px 0 80px 0;
    position: relative;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.1;
}

.btn-large {
    font-size: 1.1rem;
    padding: 18px 40px;
    border-radius: 8px;
    background: var(--color-gold);
    color: #120303;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    /* Убрана пульсация для спокойствия */
    width: 100%;
    max-width: 320px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.2s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-large:hover,
a.btn-large:hover {
    background: #e5c352;
}

/* --- FOOTER --- */
.footer {
    background: #080101;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.footer-links a {
    padding: 5px; 
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #999;
}

/* --- MEDIA QUERIES (DESKTOP) --- */
@media (min-width: 600px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-buttons { flex-direction: row; justify-content: center; }
    .btn { width: auto; }
    .footer-links { flex-direction: row; justify-content: center; gap: 20px; }
}

@media (min-width: 900px) {
    .mobile-toggle { display: none; }
    
    .nav-menu {
        position: static;
        flex-direction: row;
        background: none;
        padding: 0;
        width: auto;
        height: auto;
        border: none;
        opacity: 1;
        transform: none;
        visibility: visible;
    }
    
    .nav-link { margin: 0 15px; padding: 0; font-size: 0.95rem; }
    .btn-header { display: block; }
    
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .cta-title { font-size: 3rem; }
}

/* --- MOBILE MENU STYLES --- */
@media (max-width: 899px) {
    .mobile-toggle { display: flex; }
    .btn-header { display: none; }
    
    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(18, 3, 3, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease-in-out;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        margin: 18px 0;
        font-size: 1.1rem;
        font-weight: 600;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    
    .nav-link.play-btn-mobile {
        color: var(--color-gold);
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 10px;
    }
}

