/* ============================================================
   VARNQIROX — NORDIC AURORA MODERN DESIGN
   Dark theme with aurora gradients & clean typography
   ============================================================ */

/* --- CSS VARIABLES --- */
:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --surface: #1e293b;
    --surface-light: #334155;
    --surface-glass: rgba(30, 41, 59, 0.7);
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.25);
    --accent2: #8b5cf6;
    --accent2-glow: rgba(139, 92, 246, 0.2);
    --amber: #f59e0b;
    --amber-glow: rgba(245, 158, 11, 0.2);
    --green: #10b981;
    --rose: #f43f5e;
    --ink: #f1f5f9;
    --ink-light: #cbd5e1;
    --ink-faded: #94a3b8;
    --ink-muted: #64748b;
    --rule-color: #334155;
    --rule-light: rgba(148, 163, 184, 0.15);
    --gold: #fbbf24;

    --font-masthead: 'DM Serif Display', 'Georgia', serif;
    --font-headline: 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'DM Serif Display', 'Georgia', serif;
    --font-mono: 'JetBrains Mono', monospace;

    --max-width: 1200px;
    --column-gap: 2rem;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
}

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

a:hover {
    color: #22d3ee;
    text-decoration: underline;
}

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

ul {
    list-style: none;
}

/* --- IMAGE TREATMENT --- */
.grayscale-img {
    filter: none;
    border-radius: var(--radius-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.grayscale-img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15);
}

/* --- RESPONSIBLE GAMING BANNER --- */
.responsible-banner {
    background: linear-gradient(90deg, var(--accent2), var(--accent), var(--accent2));
    background-size: 200% 100%;
    animation: gradientShift 6s ease infinite;
    color: #fff;
    text-align: center;
    padding: 0.6rem 1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.5;
    position: relative;
    z-index: 100;
}

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

.responsible-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.responsible-icon {
    font-weight: 700;
    margin-right: 0.5rem;
}

/* --- AGE GATE --- */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    animation: fadeIn 0.4s ease;
}

.age-gate-overlay.hidden {
    display: none;
}

.age-gate-modal {
    background: var(--surface);
    border: 1px solid var(--rule-light);
    border-radius: var(--radius);
    max-width: 520px;
    width: 90%;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px var(--accent-glow);
}

.age-gate-modal::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    z-index: -1;
    opacity: 0.5;
}

.age-gate-masthead {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.age-gate-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.age-gate-section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
}

.age-gate-headline {
    font-family: var(--font-masthead);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ink);
}

.age-gate-body {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ink-faded);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.age-btn-yes {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.age-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.age-btn-no {
    background: var(--surface-light);
    color: var(--ink-faded);
}

.age-btn-no:hover {
    background: var(--rose);
    color: #fff;
}

.age-gate-disclaimer {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-top: 1.5rem;
    font-style: italic;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--surface);
    color: var(--ink);
    z-index: 9999;
    border-top: 1px solid var(--accent);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.5s ease;
    backdrop-filter: blur(20px);
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.6;
    min-width: 250px;
    color: var(--ink-light);
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--surface-light);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cookie-btn-accept {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    font-weight: 700;
}

.cookie-btn-accept:hover {
    background: #22d3ee;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.cookie-btn-necessary {
    background: transparent;
    color: var(--ink-light);
}

.cookie-btn-necessary:hover {
    background: var(--surface-light);
    color: var(--ink);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--ink-faded);
    border-color: var(--rule-light);
}

.cookie-btn-reject:hover {
    background: var(--surface-light);
    color: var(--ink);
}

/* --- MASTHEAD --- */
.masthead {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.masthead-top-rule,
.masthead-bottom-rule {
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent));
    margin: 0;
    border-radius: 1px;
}

.masthead-rule {
    height: 1px;
    background: var(--rule-light);
    margin: 0;
}

.masthead-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
}

.masthead-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    gap: 1.5rem;
}

.masthead-ornament-left,
.masthead-ornament-right {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.masthead-center {
    text-align: center;
}

.masthead-title {
    font-family: var(--font-masthead);
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
    background: linear-gradient(135deg, var(--ink), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.masthead-title-small {
    font-size: 2.8rem;
}

.masthead-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--ink-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-weight: 400;
}

.masthead-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0.8rem 0;
    flex-wrap: wrap;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-faded);
    padding: 0.4rem 1rem;
    transition: all 0.2s;
    border-radius: var(--radius-xs);
}

.nav-link:hover {
    color: var(--accent);
    background: var(--accent-glow);
    text-decoration: none;
}

.nav-divider {
    color: var(--rule-light);
    font-size: 0.9rem;
}

.back-link {
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* --- SECTION LABELS & RULES --- */
.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
    background: var(--accent-glow);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
}

.section-headline {
    font-family: var(--font-masthead);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.section-rule {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-rule::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--surface-light), transparent);
    margin: 3rem 0;
}

/* --- NEWSPAPER CONTENT --- */
.newspaper-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- DROP CAPS --- */
.drop-cap::first-letter {
    float: left;
    font-family: var(--font-masthead);
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 0.8;
    padding-right: 0.12em;
    padding-top: 0.05em;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- LEAD STORY --- */
.lead-story {
    padding-top: 2rem;
}

.lead-story-columns {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: var(--column-gap);
}

.lead-headline {
    font-family: var(--font-masthead);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    color: var(--ink);
}

.lead-dateline {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.06em;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.lead-body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-light);
    margin-bottom: 1rem;
}

.lead-cta {
    margin-top: 1.5rem;
}

.cta-button {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    transition: left 0.3s ease;
    z-index: 0;
    border-radius: var(--radius-xs);
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.cta-button span,
.cta-button {
    position: relative;
    z-index: 1;
}

/* --- SIDEBAR --- */
.lead-story-sidebar {
    border-left: 1px solid var(--rule-light);
    padding-left: var(--column-gap);
}

.sidebar-image-wrap {
    margin-bottom: 1.5rem;
}

.sidebar-image {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--rule-light);
}

.image-caption {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--ink-muted);
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* --- PULL QUOTES --- */
.sidebar-pullquote {
    border-top: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
    padding: 1.5rem 0;
    margin-top: 1.5rem;
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-glow), var(--accent2-glow));
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    border: 1px solid var(--rule-light);
}

.pullquote-mark {
    font-family: var(--font-masthead);
    font-size: 3.5rem;
    line-height: 0.5;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.pullquote-mark-end {
    margin-top: 0.5rem;
}

.pullquote-text {
    font-family: var(--font-masthead);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    color: var(--ink);
    margin: 0.8rem 0;
}

.pullquote-attr {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ink-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- GAME SECTION --- */
.game-wrapper {
    padding-top: 1rem;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-subhead {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
    font-weight: 400;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* --- GAME STATS BAR --- */
.game-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--surface-light);
    border: 1px solid var(--surface-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.stat-item {
    background: var(--surface);
    padding: 0.8rem 0.5rem;
    text-align: center;
}

.stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.3rem;
}

.stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

/* --- CULTURAL FACT BANNER --- */
.cultural-fact-banner {
    background: var(--surface);
    border: 1px solid var(--rule-light);
    border-radius: var(--radius-xs);
    padding: 0.8rem 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.fact-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    white-space: nowrap;
}

.fact-text {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--ink-faded);
    font-style: italic;
    line-height: 1.4;
}

/* --- SLOT MACHINE --- */
.slot-machine {
    position: relative;
    margin-bottom: 1rem;
}

.slot-frame {
    border: 1px solid var(--surface-light);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #0c1a2e 0%, #0a1628 40%, #0c1a2e 100%);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 60px rgba(6, 182, 212, 0.06),
        0 0 40px rgba(6, 182, 212, 0.08);
}

.slot-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.water-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
    opacity: 0.08;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 4px,
        rgba(6, 182, 212, 0.4) 4px,
        rgba(6, 182, 212, 0.4) 5px
    );
    animation: waterFlow 3s linear infinite;
}

@keyframes waterFlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(5px); }
}

.reels-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    position: relative;
    z-index: 2;
}

.reel-column {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-xs);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(4px);
}

.reel-column::before,
.reel-column::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 25px;
    z-index: 5;
    pointer-events: none;
}

.reel-column::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), transparent);
}

.reel-column::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}

.reel-strip {
    transition: transform 0.1s;
}

.reel-cell {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.symbol {
    font-size: 2.8rem;
    line-height: 1;
    text-align: center;
    transition: transform 0.3s, filter 0.3s;
    user-select: none;
    filter: drop-shadow(0 0 6px currentColor);
}

.symbol[data-symbol="sauna"] { color: #f43f5e; }
.symbol[data-symbol="star"] { color: #fbbf24; }
.symbol[data-symbol="fish"] { color: #06b6d4; }
.symbol[data-symbol="leaf"] { color: #10b981; }
.symbol[data-symbol="wave"] { color: #818cf8; }
.symbol[data-symbol="berry"] { color: #ec4899; }

.symbol.winning {
    animation: symbolPulse 0.5s ease infinite alternate;
}

@keyframes symbolPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); filter: brightness(1.5) drop-shadow(0 0 12px currentColor); }
}

.win-lines-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

/* --- SYMBOL LEGEND --- */
.symbol-legend {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--surface-light);
    border: 1px solid var(--surface-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.legend-item {
    background: var(--surface);
    padding: 0.5rem 0.3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.legend-symbol {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 4px currentColor);
}

.legend-symbol[data-symbol="sauna"] { color: #f43f5e; }
.legend-symbol[data-symbol="star"] { color: #fbbf24; }
.legend-symbol[data-symbol="fish"] { color: #06b6d4; }
.legend-symbol[data-symbol="leaf"] { color: #10b981; }
.legend-symbol[data-symbol="wave"] { color: #818cf8; }
.legend-symbol[data-symbol="berry"] { color: #ec4899; }

.legend-name {
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.legend-value {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--amber);
}

/* --- GAME CONTROLS --- */
.game-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.control-btn {
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--surface-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-xs);
}

.bet-btn {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
    background: var(--surface);
    color: var(--ink-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bet-btn:hover {
    background: var(--surface-light);
    color: var(--ink);
    border-color: var(--accent);
}

.bet-display-inline {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    padding: 0 0.5rem;
    min-width: 100px;
    text-align: center;
}

.bet-label {
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    color: var(--ink-muted);
    display: block;
}

.spin-btn {
    padding: 0.9rem 3rem;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.spin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.spin-btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

.spin-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auto-btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.8rem;
    background: var(--surface);
    color: var(--ink-faded);
}

.auto-btn:hover {
    background: var(--surface-light);
    color: var(--ink);
}

.auto-btn.active {
    background: var(--accent2);
    color: #fff;
    border-color: var(--accent2);
    box-shadow: 0 0 15px var(--accent2-glow);
}

/* --- WIN MESSAGE --- */
.win-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none;
}

.win-message-inner {
    background: var(--surface);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 2rem 3rem;
    text-align: center;
    box-shadow: 0 0 80px var(--accent-glow), 0 0 40px var(--accent2-glow);
    animation: winBounce 0.6s ease;
    backdrop-filter: blur(20px);
}

.win-title {
    font-family: var(--font-masthead);
    font-size: 2rem;
    font-weight: 400;
    background: linear-gradient(135deg, var(--accent), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
}

.win-amount {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
}

.win-sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

@keyframes winBounce {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* --- PARTICLE CANVAS --- */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

/* --- ACHIEVEMENTS PANEL --- */
.achievements-panel {
    border: 1px solid var(--rule-light);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-top: 1.5rem;
    background: var(--surface);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.achievement-card {
    border: 1px solid var(--rule-light);
    border-radius: var(--radius-xs);
    background: var(--primary);
    padding: 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card.unlocked {
    border-color: var(--amber);
    background: linear-gradient(135deg, var(--primary), rgba(251, 191, 36, 0.08));
    box-shadow: 0 0 15px var(--amber-glow);
}

.achievement-card.locked {
    opacity: 0.4;
    filter: grayscale(1);
}

.achievement-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.3rem;
}

.achievement-name {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-light);
    display: block;
}

.achievement-desc {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--ink-muted);
    font-style: italic;
    display: block;
    margin-top: 0.2rem;
}

/* --- COLLECTIBLES --- */
.collectibles-panel {
    border: 1px solid var(--rule-light);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-top: 1rem;
    background: var(--surface);
}

.collectibles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.collectible-card {
    border: 1px solid var(--rule-light);
    border-radius: var(--radius-xs);
    background: var(--primary);
    padding: 0.6rem;
    text-align: center;
    transition: all 0.3s ease;
}

.collectible-card.collected {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--primary), rgba(6, 182, 212, 0.08));
    box-shadow: 0 0 10px var(--accent-glow);
}

.collectible-card.not-collected {
    opacity: 0.25;
    filter: grayscale(1);
}

.collectible-icon {
    font-size: 1.5rem;
    display: block;
}

.collectible-name {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
    display: block;
    margin-top: 0.2rem;
}

/* --- GAME DISCLAIMER --- */
.game-disclaimer {
    border-top: 1px solid var(--rule-light);
    padding-top: 1rem;
    margin-top: 1.5rem;
    text-align: center;
}

.game-disclaimer p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--ink-muted);
    font-style: italic;
    line-height: 1.5;
}

/* --- NEWS SECTION --- */
.news-section {
    padding-top: 1rem;
}

.news-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--column-gap);
}

.article-image-wrap {
    margin-bottom: 1rem;
}

.article-image {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--rule-light);
}

.article-headline {
    font-family: var(--font-masthead);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.article-headline-small {
    font-family: var(--font-masthead);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.article-dateline {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.article-body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-light);
    margin-bottom: 0.8rem;
}

.news-sidebar-column {
    border-left: 1px solid var(--rule-light);
    padding-left: var(--column-gap);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-article-small {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--rule-light);
}

/* --- CLASSIFIED AD --- */
.classified-ad {
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--surface), rgba(6, 182, 212, 0.05));
    position: relative;
    overflow: hidden;
}

.classified-ad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.classified-header {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: center;
    color: var(--accent);
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--rule-light);
}

.classified-body {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--ink-light);
}

.classified-cta {
    display: block;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.7rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.classified-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* --- GALLERY SECTION --- */
.gallery-section {
    padding-top: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.gallery-item-large {
    grid-row: 1 / 3;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--rule-light);
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.01);
}

.gallery-item .image-caption {
    margin-top: 0.4rem;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding-top: 1rem;
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--column-gap);
}

.about-body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-light);
    margin-bottom: 1rem;
}

.about-subhead {
    font-family: var(--font-masthead);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    color: var(--ink);
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.contact-columns {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--column-gap);
}

.contact-subhead {
    font-family: var(--font-masthead);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    color: var(--ink);
}

.contact-subhead:first-child {
    margin-top: 0;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--ink-faded);
}

.contact-body {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ink-faded);
}

/* --- CONTACT FORM --- */
.contact-form {
    border: 1px solid var(--rule-light);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    background: var(--surface);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    padding: 0.7rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid var(--surface-light);
    border-radius: var(--radius-xs);
    background: var(--primary);
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
    color: var(--ink-muted);
    font-style: italic;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.3rem;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.form-label-inline {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--ink-faded);
    line-height: 1.5;
}

.form-submit {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.form-message {
    font-family: var(--font-body);
    font-size: 0.85rem;
    margin-top: 0.8rem;
    text-align: center;
    line-height: 1.5;
}

.form-message.success {
    color: var(--green);
}

.form-message.error {
    color: var(--rose);
}

/* --- FOOTER --- */
.newspaper-footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
}

.footer-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--surface-light), transparent);
    margin-bottom: 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--column-gap);
    margin-bottom: 2rem;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-light);
    margin-bottom: 0.8rem;
}

.footer-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--ink-muted);
}

.footer-links a {
    color: var(--ink-faded);
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--ink-muted);
    font-style: italic;
    margin-bottom: 0.8rem;
}

.footer-links-inline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--ink-muted);
}

.footer-links-inline a {
    color: var(--ink-faded);
    margin: 0 0.3rem;
}

/* --- LEGAL PAGES --- */
.masthead-legal {
    margin-bottom: 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.legal-headline {
    font-family: var(--font-masthead);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.legal-dateline {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-muted);
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule-light);
}

.legal-body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--ink-light);
}

.legal-body p {
    margin-bottom: 1rem;
}

.legal-subhead {
    font-family: var(--font-masthead);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ink);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rule-light);
}

.legal-subhead:first-child {
    border-top: none;
    padding-top: 0;
}

.legal-subhead-small {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.legal-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ink-light);
    margin-bottom: 0.3rem;
}

.legal-footer-note {
    border-top: 1px solid var(--rule-light);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.legal-footer-note p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 0.3rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page load stagger animation */
.masthead {
    animation: fadeInUp 0.7s ease 0.1s both;
}

.lead-story {
    animation: fadeInUp 0.7s ease 0.25s both;
}

.game-wrapper {
    animation: fadeInUp 0.7s ease 0.35s both;
}

.news-section {
    animation: fadeInUp 0.7s ease 0.45s both;
}

.gallery-section {
    animation: fadeInUp 0.7s ease 0.55s both;
}

.about-section {
    animation: fadeInUp 0.7s ease 0.65s both;
}

.contact-section {
    animation: fadeInUp 0.7s ease 0.75s both;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--surface-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ink-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .masthead-title {
        font-size: 2.8rem;
    }

    .masthead-title-small {
        font-size: 2rem;
    }

    .lead-story-columns {
        grid-template-columns: 1fr;
    }

    .lead-story-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--rule-light);
        padding-top: 1.5rem;
    }

    .lead-headline {
        font-size: 2rem;
    }

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

    .news-sidebar-column {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--rule-light);
        padding-top: 1.5rem;
    }

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

    .gallery-item-large {
        grid-row: auto;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .symbol-legend {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 600px) {
    html {
        font-size: 14px;
    }

    .masthead-title {
        font-size: 2.2rem;
    }

    .masthead-title-small {
        font-size: 1.6rem;
    }

    .masthead-ornament-left,
    .masthead-ornament-right {
        display: none;
    }

    .masthead-meta-row {
        flex-direction: column;
        gap: 0.2rem;
        text-align: center;
    }

    .masthead-nav {
        gap: 0;
    }

    .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.65rem;
    }

    .lead-headline {
        font-size: 1.6rem;
    }

    .section-headline {
        font-size: 1.6rem;
    }

    .legal-headline {
        font-size: 1.8rem;
    }

    .reel-cell {
        height: 70px;
    }

    .symbol {
        font-size: 2.2rem;
    }

    .slot-frame {
        padding: 0.8rem;
    }

    .reels-container {
        gap: 3px;
    }

    .game-controls {
        gap: 0.5rem;
    }

    .spin-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .symbol-legend {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .collectibles-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .win-message-inner {
        padding: 1.5rem 2rem;
    }

    .win-title {
        font-size: 1.5rem;
    }

    .win-amount {
        font-size: 2rem;
    }
}

/* --- PRINT STYLES --- */
@media print {
    .responsible-banner,
    .cookie-banner,
    .age-gate-overlay,
    .game-wrapper,
    .particle-canvas {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
