/* Основные переменные и сброс */
:root {
    --bg-dark: #0a0b1e; /* Глубокий темный фон */
    --bg-card: #161831; /* Цвет карточек */
    --primary: #4eff8c; /* Неоновый зеленый (как у Duel/Stake) */
    --secondary: #6e56ff; /* Фиолетовый неон */
    --text-main: #ffffff;
    --text-muted: #a0a3bd;
    --accent-gradient: linear-gradient(135deg, #4eff8c 0%, #00c2ff 100%);
    --btn-gradient: linear-gradient(90deg, #00ff87 0%, #60efff 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px; /* Отступ под плавающую кнопку */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Контейнер */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(10, 11, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}
.highlight { color: var(--primary); }

.desktop-nav a {
    margin-left: 20px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}
.desktop-nav a:hover { color: var(--primary); }

.btn-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Mobile Nav Hide */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 60px 0;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(78, 255, 140, 0.15), transparent 60%);
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a0a3bd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

/* Кнопки */
.btn-primary {
    background: var(--btn-gradient);
    color: #000;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(78, 255, 140, 0.3);
    border: none;
    display: inline-block;
}

.glow-effect:hover {
    box-shadow: 0 0 25px rgba(78, 255, 140, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-sm {
    display: inline-block;
    background: rgba(78, 255, 140, 0.1);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 10px;
    font-weight: 600;
}

.full-width { width: 100%; text-align: center; }

/* Features Grid */
.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.game-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    text-align: center;
}

.game-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.game-card h3 { margin-bottom: 10px; color: #fff; }
.game-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; }

/* Content Styles */
.seo-article h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--primary);
}

.seo-article h3 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #fff;
}

.seo-article p { margin-bottom: 15px; font-size: 16px; color: #d1d5db; }
.seo-article ul { margin-bottom: 20px; padding-left: 20px; list-style: disc; color: #d1d5db; }
.seo-article li { margin-bottom: 10px; }

/* CTA Box */
.cta-box {
    background: linear-gradient(45deg, #161831, #1f2244);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(110, 86, 255, 0.3);
    text-align: center;
    margin: 40px 0;
}

/* FAQ */
details {
    background: var(--bg-card);
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

summary {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    background: rgba(255,255,255,0.02);
    list-style: none; /* remove default triangle */
    position: relative;
}

summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: var(--primary);
    font-size: 20px;
}

details[open] summary::after { content: '-'; }

details p { padding: 20px; color: var(--text-muted); font-size: 15px; margin: 0; }

/* Footer */
footer {
    background: #050611;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    color: #555;
    font-size: 12px;
}

.footer-links a { margin: 0 10px; color: #777; }
.footer-links { margin-bottom: 15px; }

/* STICKY FOOTER BUTTON */
.sticky-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); /* Скрыт внизу */
    width: 90%;
    max-width: 400px;
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(78, 255, 140, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-footer.visible {
    transform: translateX(-50%) translateY(0);
}

.sticky-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

.vpn-text {
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-sticky {
    background: var(--btn-gradient);
    color: #000;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    flex-grow: 1;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(78, 255, 140, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(78, 255, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(78, 255, 140, 0); }
}
