/* =========================================
   VARIABLES & DESIGN SYSTEM
========================================= */
:root {
    /* Backgrounds: Graphite, Slate, True Black */
    --bg-deep: #050507;
    --bg-slate: #0B0C10;
    --bg-card: #1A1A1D;

    /* Accents: Liquid Gold & Platinum */
    --gold-light: #F1C40F;
    --gold-main: #D4AF37;
    --gold-dark: #B8860B;
    --platinum: #E5E4E2;
    --text-main: #DEDEDE;

    /* Glassmorphism */
    --glass-bg: rgba(26, 26, 29, 0.6);
    --glass-border: rgba(212, 175, 55, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7);

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* =========================================
   GLOBAL RESET & BASICS
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    background-color: var(--bg-deep); /* Запасной цвет, пока грузится картинка */
    
    /* === ВОТ ТВОЙ ФОН === */
    background-image: url('bg.webp'); /* Укажи тут путь к картинке */
    background-size: cover; /* Растягивает фон на весь экран */
    background-position: center top; /* Центрирует картинку */
    background-attachment: fixed; /* ФИШКА: фон стоит на месте при скролле (очень красиво) */
    background-repeat: no-repeat;
    
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* =========================================
   АНИМИРОВАННЫЙ ВИДЕО ФОН (ЖЕЛЕЗОБЕТОННЫЙ)
========================================= */
.bg-video {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important; /* Идеально вписывает видео в экран */
    z-index: -999 !important; /* Отправляем видео в самый-самый низ */
    pointer-events: none !important; /* Чтобы не мешало кликать */
    filter: brightness(0.6) !important; /* Затемнение, чтобы текст читался */
}


.no-scroll {
    overflow: hidden !important;
}

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

/* =========================================
   ЭКРАН ВХОДА (WELCOME OVERLAY)
========================================= */
.welcome-overlay {
    position: fixed;
    inset: 0;
    background-color: #030303 !important; /* Глубокий черный фон как на скрине */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.welcome-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Управление (Язык и динамик) на стартовом экране */
.welcome-controls {
    position: absolute;
    top: 30px;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.welcome-controls .lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.welcome-controls .lang-btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    transition: 0.3s;
}

.welcome-controls .lang-btn.active, 
.welcome-controls .lang-btn:hover {
    color: #F1C40F !important;
}

.welcome-controls .divider {
    color: #666 !important;
}

/* Кнопка динамика (общая для сайта и стартового экрана) */
.mute-btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1.4rem;
    cursor: pointer;
    transition: 0.3s;
}

.mute-btn:hover {
    color: #F1C40F !important;
    transform: scale(1.1);
}

/* Логотип на стартовом экране */

/* Логотип на стартовом экране */
.welcome-logo {
    text-align: center;
    margin-bottom: 4rem;
}

/* МАГИЯ БОЛЬШИХ БУКВ */
.big-letter {
    font-size: 1.45em; /* Делает F, P, G, W на 45% больше остальных букв */
    vertical-align: -0.05em; /* Идеальное выравнивание по нижней линии */
}

.firepoint-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 7vw, 3.8rem); /* Чуть уменьшил базовый, т.к. первые буквы будут огромными */
    font-weight: 900;
    letter-spacing: 4px;
    color: #F1C40F !important; 
    text-shadow: 0 0 25px rgba(241, 196, 15, 0.4) !important;
    -webkit-text-fill-color: #F1C40F !important; 
    display: block;
    line-height: 1;
}

.goldwar-text {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3.5vw, 1.4rem);
    letter-spacing: 8px;
    color: #ffffff !important;
    font-weight: 600;
    display: block;
    margin-top: 5px; /* Легкий отступ между FirePoint и Goldwar */
}

.vip-text {
    color: #D4AF37 !important;
    -webkit-text-fill-color: #D4AF37 !important;
    font-size: 0.9em; /* .VIP чуть-чуть поменьше для стиля */
}



/* Кнопка входа на стартовом экране */
.welcome-btn {
    padding: 1rem 3rem !important;
    font-size: 1.2rem !important;
    letter-spacing: 3px !important;
    border-radius: 2px !important;
    background: transparent !important;
    color: #D4AF37 !important;
    border: 1px solid #D4AF37 !important;
    box-shadow: none !important;
    transition: 0.3s;
    font-family: var(--font-heading);
    cursor: pointer;
    text-transform: uppercase;
}

.welcome-btn:hover {
    background: #D4AF37 !important;
    color: #000000 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
}

/* =========================================
   UTILITIES & AMBIENT LIGHTING
========================================= */
.gold-text {
    background: linear-gradient(to right, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    font-weight: 900;
}

.ambient-light {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.15;
}

.gold-glow {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--gold-main);
}

.platinum-glow {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--platinum);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* =========================================
   NAVIGATION (HEADER)
========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    border-top: none;
    border-left: none;
    border-right: none;
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap; /* Чтобы меню не пряталось, а переносилось */
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--gold-main);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: color 0.3s;
}

.lang-btn.active, .lang-btn:hover {
    color: var(--gold-main);
}

.divider {
    color: var(--glass-border);
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-glow {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--gold-main);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.btn-glow:hover {
    background: var(--gold-main);
    color: var(--bg-deep);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
    color: var(--bg-deep);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--platinum);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--platinum);
    background: rgba(229, 228, 226, 0.1);
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    margin-top: 60px;
}

.hero-content {
    max-width: 900px;
    animation: fadeIn 1.5s ease-out forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--platinum);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(229, 228, 226, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #A0A0A0;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* =========================================
   FEATURES GRID
========================================= */
.features-section {
    padding: 5rem 5%;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-main);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold-main);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--platinum);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #999;
}

/* =========================================
   CRYPTO BANNER
========================================= */
.crypto-section {
    padding: 5rem 5%;
    display: flex;
    justify-content: center;
}

.crypto-banner {
    width: 100%;
    max-width: 1000px;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.crypto-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    z-index: 0;
}

.crypto-info {
    position: relative;
    z-index: 1;
}

.crypto-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.crypto-info p {
    color: var(--platinum);
    margin-bottom: 2rem;
}

.conversion-rate {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--platinum);
    border: 1px solid var(--gold-main);
}

.conversion-rate i {
    color: var(--gold-main);
    font-size: 1.5rem;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
    border-bottom: none;
    border-left: none;
    border-right: none;
    padding: 3rem 5% 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--platinum);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links a:hover {
    color: var(--gold-main);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        padding: 1rem 2%;
        gap: 1rem;
    }
    
    .nav-controls {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.8rem;
        text-align: center;
    }
    
    .nav-play-btn {
        display: none; /* Скрываем кнопку Play Now в шапке на мобилках, чтобы экономить место */
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .crypto-banner {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   NEW INFO GRIDS (SMART GAMEPLAY & ENGINE)
========================================= */
.info-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.info-grid {
    display: grid;
    /* Сетка: на компах по 2 в ряд, на телефонах по 1 */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background-color: #0c0c0e; /* Очень темный, почти черный фон карточки */
    padding: 2.5rem 2rem;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #222; /* Тусклая рамка по умолчанию */
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Карточки с золотой рамкой (как в GOLDWAR ENGINE) */
.info-card.gold-bordered {
    border: 1px solid rgba(212, 175, 55, 0.6);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-main);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.info-icon {
    font-size: 2rem;
    color: var(--gold-main);
    margin-bottom: 1.5rem;
}

.info-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.info-desc {
    color: #a3a3a3;
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-desc b {
    color: #dddddd;
}




/* =========================================
   GOLDWAR ENGINE GRID (Широкие карточки с полосой)
========================================= */
.engine-grid {
    display: flex;
    flex-direction: column; /* Всегда в одну колонку */
    gap: 1.5rem;
    max-width: 900px; /* Ограничиваем ширину, чтобы на ПК не было слишком длинно */
    margin: 0 auto;
}

.engine-card {
    background-color: #0c0c0e; /* Темный фон */
    border: 1px solid #1a1a1c; /* Тусклая обводка */
    border-left: 4px solid var(--gold-main); /* ТА САМАЯ ТОЛСТАЯ ЖЕЛТАЯ ПОЛОСА СЛЕВА */
    padding: 2rem 2.5rem;
    border-radius: 4px;
    text-align: left; /* Текст строго по левому краю */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.engine-card:hover {
    transform: translateX(8px); /* Прикольный эффект: карточка чуть съезжает вправо при наведении */
    background-color: #111114;
}

.engine-icon {
    color: var(--gold-main);
    font-size: 1.2rem; /* Иконка поменьше, как на оригинале */
    margin-bottom: 0.8rem;
}

.engine-title {
    font-family: var(--font-heading);
    color: var(--gold-main); /* Золотой заголовок как на скрине */
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.engine-desc {
    color: #999999; /* Серый текст описания */
    font-size: 0.95rem;
    line-height: 1.7;
}

.engine-desc b {
    color: #ffffff; /* Белый жирный текст для начала предложения */
}

/* На мобилках чуть уменьшаем отступы */
@media (max-width: 768px) {
    .engine-card {
        padding: 1.5rem;
    }
}
