/* ========================================
   Atom Casino - Cosmic Design
   Dark theme with cyan-teal-violet palette
   Fonts: Oswald + Open Sans
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - Deep space theme */
    --bg-space: #070b14;
    --bg-dark: #0d1321;
    --bg-card: #111827;
    --bg-card-hover: #1a2438;
    --bg-elevated: #1e293b;
    
    /* Primary palette - Aurora */
    --cyan: #22d3ee;
    --teal: #14b8a6;
    --violet: #a78bfa;
    --fuchsia: #e879f9;
    --emerald: #34d399;
    
    /* Gradients */
    --gradient-aurora: linear-gradient(135deg, #22d3ee 0%, #14b8a6 40%, #a78bfa 100%);
    --gradient-cosmic: linear-gradient(135deg, #0891b2 0%, #7c3aed 100%);
    --gradient-glow: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
    --gradient-card: linear-gradient(145deg, #111827 0%, #0d1321 100%);
    
    /* Text */
    --text-white: #f8fafc;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    /* Borders & Effects */
    --border-subtle: rgba(34, 211, 238, 0.15);
    --border-glow: rgba(34, 211, 238, 0.4);
    --glow-cyan: 0 0 30px rgba(34, 211, 238, 0.3);
    --glow-violet: 0 0 30px rgba(167, 139, 250, 0.3);
    
    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing & Sizes */
    --container-max: 1240px;
    --section-gap: 120px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.35s;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    background: var(--bg-space);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Cosmic background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 30% at 10% 20%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 90% 80%, rgba(167, 139, 250, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(20, 184, 166, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Stars effect */
.stars {
    position: fixed;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--text-white);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p { color: var(--text-muted); }

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-aurora);
    color: var(--bg-space);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    border-color: var(--cyan);
}

.btn-outline:hover {
    background: rgba(34, 211, 238, 0.1);
    box-shadow: var(--glow-cyan);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-color: var(--border-subtle);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-glow);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1rem;
}

/* Section styles */
section {
    padding: var(--section-gap) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 20px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(7, 11, 20, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    position: relative;
}

.logo-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--gradient-aurora);
    border-radius: 50%;
    box-shadow: var(--glow-cyan);
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1.5px solid var(--cyan);
    border-radius: 50%;
    opacity: 0.6;
}

.logo-ring:nth-child(2) {
    width: 26px;
    height: 26px;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: orbit-spin 6s linear infinite;
}

.logo-ring:nth-child(3) {
    width: 36px;
    height: 36px;
    transform: translate(-50%, -50%) rotate(60deg);
    animation: orbit-spin 8s linear infinite reverse;
}

.logo-ring:nth-child(4) {
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%) rotate(120deg);
    animation: orbit-spin 10s linear infinite;
}

@keyframes orbit-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-text .accent {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-aurora);
    transition: width var(--duration-normal) var(--ease-out);
}

.nav-menu a:hover {
    color: var(--text-white);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 26px;
    height: 2px;
    background: var(--text-light);
    transition: all var(--duration-normal) var(--ease-out);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Inner pages hero - smaller */
.hero.hero-inner {
    min-height: auto;
    padding: 160px 0 80px;
}

.hero.hero-inner h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero.hero-inner .hero-desc {
    max-width: 600px;
}

.hero.hero-inner .hero-bg-atom {
    width: 500px;
    height: 500px;
    opacity: 0.1;
}

/* Atomic background decoration */
.hero-bg-atom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    pointer-events: none;
    opacity: 0.15;
}

.bg-nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-aurora);
    border-radius: 50%;
    filter: blur(30px);
    animation: nucleus-pulse 4s ease-in-out infinite;
}

@keyframes nucleus-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.5; }
}

.bg-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 50%;
}

.bg-orbit:nth-child(2) {
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%) rotateX(70deg);
    animation: orbit-rotate-3d 20s linear infinite;
}

.bg-orbit:nth-child(3) {
    width: 450px;
    height: 450px;
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(60deg);
    animation: orbit-rotate-3d 25s linear infinite reverse;
}

.bg-orbit:nth-child(4) {
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(120deg);
    animation: orbit-rotate-3d 30s linear infinite;
}

@keyframes orbit-rotate-3d {
    to { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--cyan);
    margin-bottom: 28px;
}

.hero h1 {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero h1 span {
    display: block;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 36px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 44px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: linear-gradient(180deg, var(--bg-space) 0%, var(--bg-dark) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    padding: 36px 28px;
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--glow-cyan);
}

.about-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--duration-normal) var(--ease-out);
}

.about-card:hover .about-icon {
    background: var(--gradient-aurora);
    border-color: transparent;
}

.about-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--cyan);
    transition: stroke var(--duration-normal) var(--ease-out);
}

.about-card:hover .about-icon svg {
    stroke: var(--bg-space);
}

.about-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.about-card p {
    font-size: 0.95rem;
}

/* ========================================
   Games Section
   ======================================== */
.games {
    background: var(--bg-dark);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
}

.game-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-normal) var(--ease-out);
}

.game-card:hover .game-image img {
    transform: scale(1.08);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 11, 20, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info {
    padding: 18px 20px;
}

.game-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    text-transform: none;
    letter-spacing: 0;
}

.game-provider {
    font-size: 0.8rem;
    color: var(--text-dark);
}

.games-cta {
    text-align: center;
}

/* ========================================
   Bonuses Section
   ======================================== */
.bonuses {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-space) 100%);
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.bonus-card {
    padding: 40px 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.bonus-card:hover {
    border-color: var(--border-glow);
}

.bonus-card.featured {
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.08) 0%, var(--bg-card) 100%);
    border-color: var(--cyan);
}

.bonus-card.featured::before {
    content: 'ПОПУЛЯРНО';
    position: absolute;
    top: 20px;
    right: -35px;
    padding: 6px 45px;
    background: var(--gradient-aurora);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--bg-space);
    transform: rotate(45deg);
}

.bonus-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.bonus-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.bonus-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.bonus-card p {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* ========================================
   Stories Section
   ======================================== */
.stories {
    background: var(--bg-space);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.story-card {
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: border-color var(--duration-normal) var(--ease-out);
}

.story-card:hover {
    border-color: var(--border-glow);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.story-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-aurora);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--bg-space);
}

.story-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-white);
    text-transform: none;
}

.story-location {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.story-win {
    margin-bottom: 18px;
}

.win-label {
    font-size: 0.75rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.win-amount {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--emerald);
}

.story-text {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 18px;
}

.story-game {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 211, 238, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Guide Section
   ======================================== */
.guide {
    background: var(--bg-dark);
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.guide-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 36px;
    padding: 40px;
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    align-items: start;
    transition: border-color var(--duration-normal) var(--ease-out);
}

.guide-step:hover {
    border-color: var(--border-glow);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 500;
    line-height: 1;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.step-content p {
    margin-bottom: 16px;
}

.step-tip {
    padding: 16px 20px;
    background: rgba(34, 211, 238, 0.06);
    border-left: 3px solid var(--cyan);
    font-size: 0.9rem;
}

.step-tip strong {
    color: var(--cyan);
}

/* ========================================
   Article Section
   ======================================== */
.article {
    background: var(--bg-space);
}

.seo-article {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px;
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.seo-article h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-article h3 {
    font-size: 1.3rem;
    margin: 44px 0 18px;
    color: var(--text-white);
}

.seo-article p {
    margin-bottom: 18px;
    line-height: 1.9;
}

.seo-article ul {
    margin: 20px 0;
    padding-left: 0;
}

.seo-article li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: var(--text-muted);
}

.seo-article li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gradient-aurora);
    border-radius: 2px;
    transform: rotate(45deg);
}

.seo-article li strong {
    color: var(--text-white);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    background: var(--bg-dark);
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--duration-normal) var(--ease-out);
}

.faq-item[open] {
    border-color: var(--cyan);
}

.faq-item summary {
    padding: 24px 32px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    text-transform: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--cyan);
    transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 32px 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========================================
   Content Section (Inner Pages)
   ======================================== */
.content-section {
    padding: 80px 0;
}

.content-section.alt-bg {
    background: var(--bg-dark);
}

.content-section .section-header {
    margin-bottom: 48px;
}

.content-section .seo-article {
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    background: var(--bg-space);
    padding: var(--section-gap) 0;
}

.cta-content {
    text-align: center;
    padding: 80px 50px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.06) 0%, rgba(167, 139, 250, 0.06) 100%);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 40%);
    animation: cta-pulse 6s ease-in-out infinite;
}

@keyframes cta-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cta-content h2 {
    position: relative;
    margin-bottom: 16px;
}

.cta-content p {
    position: relative;
    font-size: 1.15rem;
    max-width: 550px;
    margin: 0 auto 36px;
}

.cta-content .btn {
    position: relative;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 70px 0 30px;
    background: var(--bg-space);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4,
.footer-info h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 0.8rem !important;
    color: var(--text-dark) !important;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bonuses-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 80px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-bg-atom {
        width: 400px;
        height: 400px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-number {
        font-size: 4rem;
    }
    
    .seo-article {
        padding: 40px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .btn-lg {
        padding: 16px 32px;
    }
    
    .cta-content {
        padding: 50px 24px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
