:root {
    --bg-main: #0a0a0c; 
    --bg-card: #151518; 
    --gold-premium: #eebf2c; /* Сделал цвет как на последнем скрине (чуть ярче) */
    --text-muted: #b0b0b0;   
    --text-white: #ffffff;   
    --border-soft: rgba(238, 191, 44, 0.15); 
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

#particles-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6; 
}

/* =========================================
   ТИПОГРАФИКА
========================================= */
.gold-text { color: var(--gold-premium); font-family: var(--font-heading); font-weight: 700; }
.white-text { color: var(--text-white); font-family: var(--font-heading); font-weight: 700; }
b, strong { color: var(--text-white); font-weight: 600; }

/* =========================================
   СТАРТОВЫЙ ЭКРАН
========================================= */
.welcome-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #050505; display: flex; justify-content: center;
    align-items: center; z-index: 9999; transition: opacity 0.8s ease;
}
.welcome-screen.hidden { opacity: 0; pointer-events: none; }
.welcome-content { text-align: center; width: 100%; padding: 0 20px; }

.fire-gradient {
    background: linear-gradient(to right, #ff8c00, #e63900);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.welcome-logo { font-family: var(--font-heading); font-size: clamp(2.8rem, 7vw, 4.5rem); font-weight: 700; margin-bottom: 5px; letter-spacing: 2px; }
.big-letter { font-size: 1.2em; }
.welcome-subtitle { color: var(--gold-premium); font-family: var(--font-body); font-weight: 500; letter-spacing: clamp(6px, 2vw, 15px); font-size: clamp(0.6rem, 1.5vw, 0.85rem); margin-bottom: 40px; text-indent: clamp(6px, 2vw, 15px); }
.welcome-lang { justify-content: center; margin-bottom: 30px; }

/* =========================================
   КНОПКА (ЗАЛИТАЯ ЗОЛОТОМ КАК НА СКРИНЕ)
========================================= */
.btn {
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600; font-size: 0.95rem;
    letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; text-decoration: none;
    transition: all 0.3s ease; border-radius: 4px;
    display: inline-block;
}

.btn-filled {
    background: var(--gold-premium);
    color: #000; /* Черный текст на золотом фоне */
    border: none;
}
.btn-filled:hover {
    background: #fff;
    color: #000;
}

.icon-btn { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--gold-premium); }

/* =========================================
   ШАПКА (НАВИГАЦИЯ)
========================================= */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; border-bottom: 1px solid rgba(255,255,255,0.03);
    background: rgba(10, 10, 12, 0.9); backdrop-filter: blur(10px);
}
.logo { font-size: 2rem; letter-spacing: 1px; }

.main-nav { display: flex; gap: 35px; }
.main-nav a { color: var(--text-white); font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; transition: color 0.3s; }
.main-nav a:hover { color: var(--gold-premium); }

.nav-controls { display: flex; align-items: center; gap: 20px; }
.lang-switcher { display: flex; align-items: center; }
.lang-switcher button { background: none; border: none; color: #777; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; }
.lang-switcher button.active { color: var(--gold-premium); }
.lang-switcher .divider { color: #444; margin: 0 10px; }

/* =========================================
   СЕТКИ И КАРТОЧКИ
========================================= */
.content-section { padding: 70px 5%; max-width: 1100px; margin: 0 auto; text-align: center; }
.section-title { font-size: 2rem; margin-bottom: 40px; letter-spacing: 2px; }

.grid-container { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-1 { grid-template-columns: 1fr; }

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    padding: 40px 30px;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ТА САМАЯ ЖЕЛТАЯ ПОЛОСКА ДЛЯ ENGINE */
.engine-card {
    border-left: 4px solid var(--gold-premium) !important;
}

.feature-card:hover { border-color: rgba(238, 191, 44, 0.4); transform: translateY(-2px); }

.icon-wrapper { font-size: 2.2rem; color: var(--gold-premium); margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-heading); color: var(--text-white); margin-bottom: 15px; font-size: 1.15rem; letter-spacing: 1px; }
.feature-card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); font-family: 'Times New Roman', serif; /* Сделал шрифт в карточках классическим, как на скрине */ }

.text-left { text-align: left; padding: 30px 40px; }
.left-title { display: flex; align-items: center; gap: 15px; color: var(--gold-premium) !important; margin-bottom: 15px;}

/* Crypto Banner */
.crypto-flex { display: flex; justify-content: space-between; align-items: center; gap: 30px;}
.conversion-rate { padding: 12px 20px; border: 1px solid var(--border-soft); border-radius: 4px; color: var(--gold-premium); font-weight: 500; font-family: var(--font-body); white-space: nowrap;}

/* Footer */
.site-footer { border-top: 1px solid var(--border-soft); padding: 40px 5%; margin-top: 50px; text-align: center;}
.footer-content { display: flex; justify-content: space-between; max-width: 1100px; margin: 0 auto 20px; }
.social-links a { color: var(--text-muted); font-size: 1.3rem; margin-left: 15px; text-decoration: none; transition: 0.3s;}
.social-links a:hover { color: var(--gold-premium); }
.copyright { font-size: 0.8rem; color: #555; }

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ
========================================= */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 20px; padding: 25px 20px; }
    .logo { margin-bottom: 5px; }
    .main-nav { gap: 20px; }
    .main-nav a { font-size: 0.75rem; }
    .nav-controls { width: 100%; justify-content: center; gap: 20px; }
    
    .grid-3, .grid-2, .grid-1 { grid-template-columns: 1fr !important; }
    .content-section { padding: 50px 20px; }
    .section-title { font-size: 1.7rem; margin-bottom: 30px; }
    .feature-card { padding: 30px 20px; }
    
    .text-left { text-align: center; }
    /* Если текст по центру, убираем полоску слева, иначе криво смотрится */
    .engine-card { border-left: 1px solid var(--border-soft) !important; border-top: 4px solid var(--gold-premium) !important; }
    
    .left-title { justify-content: center; flex-direction: column; gap: 10px; }
    .crypto-flex { flex-direction: column; text-align: center; }
    .conversion-rate { white-space: normal; text-align: center; font-size: 0.8rem; width: 100%;}
    
    .footer-content { flex-direction: column; gap: 20px; align-items: center; }
    .social-links a { margin: 0 10px; }
}