/* ================================================
   TOWER RUSH - VOLCANIC / LAVA THEME
   kit-polygel.fr
   ================================================ */

/* ===== FONTS (Self-hosted - NEVER Google Fonts) ===== */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    src: url('fonts/Orbitron-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    src: url('fonts/Orbitron-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    src: url('fonts/Orbitron-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS VARIABLES ===== */
:root {
    --bg-deepest: #0a0000;
    --bg-dark: #1a0505;
    --bg-card: #1e0808;
    --bg-card-hover: #2a0c0c;
    --primary: #e63946;
    --primary-dark: #b82d38;
    --secondary: #ff6b35;
    --accent: #ffc300;
    --accent-dark: #d4a000;
    --text-primary: #fff5f0;
    --text-secondary: #d4b8b0;
    --text-muted: #9a7a70;
    --border-glow: rgba(230, 57, 70, 0.3);
    --border-glow-hover: rgba(230, 57, 70, 0.6);
    --lava-gradient: linear-gradient(135deg, #e63946, #ff6b35, #ffc300);
    --volcanic-gradient: linear-gradient(180deg, #0a0000 0%, #1a0505 50%, #2a0c0c 100%);
    --ember-glow: 0 0 20px rgba(230, 57, 70, 0.3), 0 0 40px rgba(255, 107, 53, 0.15);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Orbitron', 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-volcanic: 0 4px 20px rgba(230, 57, 70, 0.15), 0 8px 40px rgba(0, 0, 0, 0.4);
    --transition-fast: 0.2s ease;
    --transition-med: 0.35s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-deepest);
    background-image: var(--volcanic-gradient);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Volcanic rock texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 10%, rgba(230, 57, 70, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 80%, rgba(255, 107, 53, 0.04) 0%, transparent 70%),
        radial-gradient(circle 2px at 15% 25%, rgba(255, 195, 0, 0.15) 0%, transparent 100%),
        radial-gradient(circle 1px at 85% 15%, rgba(230, 57, 70, 0.2) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 45% 75%, rgba(255, 107, 53, 0.18) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary);
}

ul, ol {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes bannerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.92; }
}

@keyframes lavaMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes emberFloat {
    0% { transform: translateY(0) scale(1); opacity: 0.4; }
    25% { opacity: 1; }
    50% { transform: translateY(-120px) scale(0.6); opacity: 0.8; }
    75% { opacity: 0.3; }
    100% { transform: translateY(-240px) scale(0.2); opacity: 0; }
}

@keyframes lavaFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes textFire {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ===== TOP BANNER ===== */
.top-banner {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--secondary));
    background-size: 200% 100%;
    animation: lavaFlow 6s ease infinite;
    padding: 10px 0;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.top-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
}

.banner-cta {
    background: var(--accent);
    color: var(--bg-deepest);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.banner-cta:hover {
    background: #fff;
    color: var(--primary);
    transform: scale(1.05);
}

/* ===== HEADER ===== */
.main-header {
    background: rgba(10, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glow);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow var(--transition-med);
}

.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(230, 57, 70, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    color: var(--accent);
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lava-gradient);
    transition: width var(--transition-med);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.lang-selector {
    display: flex;
    gap: 4px;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    border-color: var(--primary);
    background: rgba(230, 57, 70, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
}

.lang-link {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.lang-link.active {
    color: #fff;
}

.lang-link:hover {
    color: var(--accent);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition-med);
}

.btn-primary span,
.btn-primary:not(:has(span)) {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 40px rgba(230, 57, 70, 0.5), 0 0 60px rgba(255, 107, 53, 0.2);
    color: #fff;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.92rem;
    border-radius: var(--radius-lg);
}

.btn-header {
    padding: 10px 22px;
    font-size: 0.78rem;
    border-radius: var(--radius-md);
    letter-spacing: 1.5px;
}

.btn-fire {
    display: none;
}

/* ===== MOBILE TOGGLE ===== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 80px 0 60px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(230, 57, 70, 0.08) 0%,
        rgba(255, 107, 53, 0.05) 30%,
        rgba(10, 0, 0, 0.95) 70%,
        rgba(26, 5, 5, 0.98) 100%
    );
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-deepest), transparent);
    z-index: 2;
}

/* Diagonal lava split */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(230, 57, 70, 0.04) 50%,
        rgba(255, 107, 53, 0.06) 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

/* Lava flows */
.lava-flow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: lavaMove 12s ease-in-out infinite;
}

.lava-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -200px;
    left: -100px;
    animation-duration: 15s;
}

.lava-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-duration: 18s;
    animation-delay: -5s;
}

/* Embers */
.ember {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent), 0 0 12px var(--secondary);
    animation: emberFloat 6s ease-in-out infinite;
    z-index: 1;
}

.ember-1 { left: 10%; bottom: 20%; animation-duration: 7s; animation-delay: 0s; }
.ember-2 { left: 25%; bottom: 35%; animation-duration: 5s; animation-delay: -1s; width: 3px; height: 3px; }
.ember-3 { left: 60%; bottom: 15%; animation-duration: 8s; animation-delay: -3s; }
.ember-4 { left: 75%; bottom: 40%; animation-duration: 6s; animation-delay: -2s; width: 5px; height: 5px; }
.ember-5 { left: 90%; bottom: 25%; animation-duration: 9s; animation-delay: -4s; width: 3px; height: 3px; }

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(230, 57, 70, 0.3);
    background: linear-gradient(90deg, var(--text-primary), var(--accent), var(--secondary), var(--text-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textFire 4s linear infinite;
}

.highlight {
    background: var(--lava-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.hero-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.game-frame-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-glow);
    box-shadow: var(--ember-glow);
    animation: lavaGlow 3s ease-in-out infinite;
}

@keyframes lavaGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(230, 57, 70, 0.3), 0 0 40px rgba(255, 107, 53, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(230, 57, 70, 0.5), 0 0 70px rgba(255, 107, 53, 0.25);
    }
}

.frame-glow {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: var(--lava-gradient);
    opacity: 0.15;
    z-index: -1;
    filter: blur(20px);
}

.game-frame-wrapper iframe {
    display: block;
    border-radius: var(--radius-lg);
    background: #000;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(26, 5, 5, 0.5);
}

/* Volcanic crack between sections */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), rgba(255, 107, 53, 0.3), var(--border-glow), transparent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.subsection-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-align: center;
    margin: 50px 0 15px;
    color: var(--accent);
}

.section-image {
    text-align: center;
    margin-top: 40px;
}

.section-image img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-volcanic);
    margin: 0 auto;
    max-width: 750px;
    transition: all var(--transition-med);
}

.section-image img:hover {
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: var(--shadow-volcanic), 0 0 30px rgba(230, 57, 70, 0.12);
}

/* ===== VOLCANIC CARDS ===== */
.volcanic-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(230, 57, 70, 0.08);
}

/* Volcanic glass top reflection */
.volcanic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--lava-gradient);
    opacity: 0;
    transition: opacity var(--transition-med);
}

/* Lava vein */
.volcanic-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 140%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(230, 57, 70, 0.06) 0%, transparent 60%);
    transition: opacity var(--transition-med);
    opacity: 0;
    pointer-events: none;
}

.volcanic-card:hover {
    border-color: var(--border-glow-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--ember-glow), 0 4px 24px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.volcanic-card:hover::before {
    opacity: 1;
}

.volcanic-card:hover::after {
    opacity: 1;
}

/* ===== LAVA DIVIDER ===== */
.lava-divider {
    height: 3px;
    background: var(--lava-gradient);
    border-radius: 3px;
    margin: 40px auto;
    max-width: 200px;
    opacity: 0.6;
}

/* ===== CHARACTERISTICS SECTION ===== */
.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.char-card {
    text-align: center;
    padding: 24px 20px;
}

.char-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.char-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.char-value {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
}

.rating-badge {
    text-align: center;
    padding: 24px;
    background: rgba(255, 195, 0, 0.08);
    border: 1px solid rgba(255, 195, 0, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.rating-stars {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.rating-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===== CONTENT BLOCKS ===== */
.content-block {
    max-width: 800px;
    margin: 0 auto 30px;
}

.content-block p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.8;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.content-col h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.content-col p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== SCENARIOS GRID ===== */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.scenario-card {
    padding: 28px 24px;
}

.scenario-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.scenario-percent {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
}

.scenario-warning .scenario-percent { color: var(--secondary); }
.scenario-danger .scenario-percent { color: var(--primary); }
.scenario-success .scenario-percent { color: #2ecc71; }

.scenario-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.tag-warning { background: rgba(255, 107, 53, 0.15); color: var(--secondary); }
.tag-danger { background: rgba(230, 57, 70, 0.15); color: var(--primary); }
.tag-success { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }

.scenario-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== ALERT BOX ===== */
.alert-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 195, 0, 0.06);
    border-color: rgba(255, 195, 0, 0.25);
}

.alert-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== TABLE ===== */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glow);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.volcanic-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.volcanic-table thead {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(255, 107, 53, 0.1));
}

.volcanic-table th {
    padding: 16px 20px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--border-glow);
}

.volcanic-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(230, 57, 70, 0.1);
    color: var(--text-secondary);
    background: var(--bg-card);
    transition: background var(--transition-fast);
}

.volcanic-table tbody tr:hover td {
    background: rgba(230, 57, 70, 0.05);
}

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

/* ===== DECISION SECTION ===== */
.decision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.decision-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.decision-yes h3 { color: #2ecc71; }
.decision-no h3 { color: var(--primary); }

.decision-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.compromise-box {
    background: rgba(255, 195, 0, 0.06);
    border-color: rgba(255, 195, 0, 0.2);
}

.compromise-box h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.compromise-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== TRAPS GRID ===== */
.traps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

.trap-card {
    text-align: center;
    padding: 32px 24px;
}

.trap-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.trap-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.trap-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    text-align: left;
}

/* ===== CTA MID SECTION ===== */
.section-cta-mid {
    padding: 60px 0;
}

.cta-volcanic {
    position: relative;
    text-align: center;
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 2px solid var(--border-glow);
    overflow: hidden;
}

.cta-lava-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(230, 57, 70, 0.1),
        rgba(255, 107, 53, 0.05),
        rgba(255, 195, 0, 0.05)
    );
    z-index: 0;
}

.cta-volcanic h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.cta-volcanic p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

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

/* ===== GAMEPLAY SECTION ===== */
.gameplay-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 20px;
}

.gameplay-text p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.gameplay-image img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-volcanic);
}

.bonus-gameplay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.bonus-gameplay-card {
    text-align: center;
    padding: 28px 20px;
}

.bonus-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.bonus-gameplay-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.bonus-gameplay-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    text-align: left;
}

/* ===== REVIEWS ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

.reviews-grid > :last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    justify-self: center;
    width: 100%;
}

.review-card {
    padding: 28px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(230, 57, 70, 0.25);
}

.review-info {
    flex: 1;
}

.review-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
}

.review-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    font-size: 1rem;
    white-space: nowrap;
}

.review-rating span {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 6px;
}

.review-card blockquote {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 16px;
    margin: 0;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    transition: all var(--transition-med);
}

.faq-item:hover {
    border-color: rgba(230, 57, 70, 0.4);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition-fast);
    gap: 16px;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    transition: all var(--transition-med);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-glow);
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 10px;
}

.faq-answer p {
    padding: 0 28px 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== VERDICT ===== */
.section-verdict {
    padding-bottom: 100px;
}

.verdict-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 40px;
    background: rgba(255, 195, 0, 0.04);
    border-color: rgba(255, 195, 0, 0.2);
}

.verdict-score {
    margin-bottom: 30px;
}

.score-circle {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 30px rgba(230, 57, 70, 0.4);
}

.score-value {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
}

.score-max {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
}

.verdict-text {
    margin-bottom: 30px;
}

.verdict-text p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.verdict-text p:last-child {
    margin-bottom: 0;
}

/* ===== FOOTER ===== */
.main-footer {
    background: rgba(5, 0, 0, 0.95);
    border-top: 1px solid var(--border-glow);
    padding: 60px 0 30px;
    position: relative;
}

/* Lava line at top */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--accent), var(--secondary), var(--primary), transparent);
    background-size: 200% 100%;
    animation: lavaFlow 5s ease infinite;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-block;
    padding: 2px 0;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.responsible-line {
    color: var(--accent) !important;
    font-size: 0.9rem !important;
}

.age-restrict {
    display: inline-block;
    background: rgba(230, 57, 70, 0.15);
    color: var(--primary) !important;
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem !important;
}

.footer-bottom {
    border-top: 1px solid rgba(230, 57, 70, 0.15);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ===== AOS OVERRIDES ===== */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deepest);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--accent));
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(230, 57, 70, 0.4);
    color: #fff;
}

::-moz-selection {
    background: rgba(230, 57, 70, 0.4);
    color: #fff;
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .characteristics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .gameplay-content {
        grid-template-columns: 1fr;
    }

    .bonus-gameplay-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* ===== RESPONSIVE - TABLET SMALL ===== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1000;
        align-items: center;
        justify-content: center;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .btn-header {
        display: none;
    }

    .hero {
        padding: 50px 0 40px;
        min-height: auto;
    }

    .section {
        padding: 50px 0;
    }

    .characteristics-grid {
        grid-template-columns: 1fr;
    }

    .content-columns,
    .decision-grid {
        grid-template-columns: 1fr;
    }

    .traps-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid > :last-child {
        grid-column: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-volcanic {
        padding: 40px 24px;
    }

    .verdict-card {
        padding: 36px 24px;
    }

    .score-value {
        font-size: 2.2rem;
    }

    .table-wrapper {
        margin-left: -10px;
        margin-right: -10px;
    }

    .volcanic-table {
        font-size: 0.85rem;
    }

    .volcanic-table th,
    .volcanic-table td {
        padding: 10px 14px;
        white-space: nowrap;
        min-width: 120px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .lang-selector {
        gap: 2px;
    }

    .btn-lg {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title,
    .hero .hero-title {
        font-size: 1.7rem !important;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .banner-text {
        font-size: 0.82rem;
    }

    .top-banner .container {
        flex-direction: column;
        gap: 10px;
    }

    .logo-text {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .logo-icon {
        font-size: 1.3rem;
    }

    .lang-btn {
        padding: 3px 6px;
    }

    .lang-link {
        font-size: 0.7rem;
    }

    .volcanic-card {
        padding: 22px 18px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.92rem;
    }

    .faq-answer p {
        padding: 0 18px 10px;
    }
}

/* ===== VERY SMALL SCREENS ===== */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 1.3rem !important;
    }

    .lang-selector {
        gap: 2px;
    }

    .lang-btn {
        padding: 2px 5px;
    }
}

/* ===== 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;
    }
}

/* ===== PRINT ===== */
@media print {
    body {
        background: #fff;
        color: #000;
    }

    .top-banner, .main-header, .hero-bg, .ember, .lava-flow,
    .btn, .cta-volcanic, .game-frame-wrapper {
        display: none !important;
    }

    .section {
        background: #fff !important;
        padding: 20px 0;
    }

    .volcanic-card {
        border: 1px solid #ccc;
        box-shadow: none;
        break-inside: avoid;
    }

    .section-title {
        -webkit-text-fill-color: #000;
        color: #000;
    }
}
