:root {
    --deep-ocean: #0a1628;
    --ocean-mid: #0f2847;
    --turquoise: #1ab5a0;
    --turquoise-dark: #148f7e;
    --sunset-coral: #e8654a;
    --sunset-coral-dark: #c84e36;
    --sand-beige: #f5e6d3;
    --sand-light: #faf4eb;
    --storm-gray: #3a4a5c;
    --warm-amber: #e8a838;
    --warm-amber-dark: #c4882a;
    --text-primary: #f0f4f8;
    --text-secondary: #a0b4c8;
    --text-dark: #1a2332;
    --card-bg: rgba(15, 40, 71, 0.8);
    --panel-bg: rgba(10, 22, 40, 0.9);
    --border-color: rgba(26, 181, 160, 0.2);
    --glow-turquoise: 0 0 20px rgba(26, 181, 160, 0.3);
    --glow-coral: 0 0 20px rgba(232, 101, 74, 0.3);
    --glow-amber: 0 0 20px rgba(232, 168, 56, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--deep-ocean);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Josefin Sans', sans-serif;
}

a {
    color: var(--turquoise);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--warm-amber);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: var(--turquoise);
    color: #fff;
    box-shadow: var(--glow-turquoise);
}

.btn-primary:hover {
    background: var(--turquoise-dark);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--turquoise);
}

.btn-secondary:hover {
    background: var(--turquoise);
    color: #fff;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ===== HEADER ===== */
.ocean-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.logo-icon {
    color: var(--turquoise);
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 400;
    position: relative;
    padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--turquoise);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--turquoise);
    border-radius: 1px;
}

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

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sunset-coral);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 1px;
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    background: linear-gradient(180deg, var(--deep-ocean) 0%, var(--ocean-mid) 60%, #0d3355 100%);
    overflow: hidden;
}

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

.wave {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 120%;
    height: 200px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        rgba(26, 181, 160, 0.03) 50px,
        rgba(26, 181, 160, 0.03) 100px
    );
    border-radius: 50% 50% 0 0;
    animation: waveMove 8s ease-in-out infinite;
}

.wave-2 {
    height: 180px;
    opacity: 0.6;
    animation-delay: -2s;
    animation-duration: 10s;
}

.wave-3 {
    height: 160px;
    opacity: 0.3;
    animation-delay: -4s;
    animation-duration: 12s;
}

@keyframes waveMove {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(2%) translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(26, 181, 160, 0.15);
    border: 1px solid var(--turquoise);
    border-radius: 50px;
    color: var(--turquoise);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--turquoise));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cliffs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.cliff-svg {
    width: 100%;
    height: 120px;
    display: block;
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
    height: 60px;
    overflow: hidden;
    background: var(--sand-beige);
}

.wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wave-divider-reverse {
    background: var(--deep-ocean);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.section-icon {
    color: var(--warm-amber);
    margin-bottom: 12px;
}

/* ===== GAME LOUNGE ===== */
.game-lounge {
    padding: 80px 24px;
    background: var(--deep-ocean);
}

.games-split {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.game-panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.game-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--turquoise), var(--warm-amber));
}

.game-panel-header {
    text-align: center;
    margin-bottom: 24px;
}

.game-panel-header h3 {
    font-size: 1.5rem;
    color: var(--warm-amber);
}

.game-panel-header p {
    color: var(--text-secondary);
}

/* Card Game Stats */
.card-game-stats,
.reel-game-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    display: block;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--turquoise);
}

.combo-meter {
    min-width: 100px;
}

.combo-bar {
    width: 100px;
    height: 8px;
    background: rgba(26, 181, 160, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.combo-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--turquoise), var(--warm-amber));
    border-radius: 4px;
    transition: width 0.5s;
}

/* Card Table */
.card-table {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
}

.playing-card {
    width: 120px;
    height: 170px;
    border-radius: 12px;
    position: relative;
    perspective: 600px;
    cursor: default;
}

.card-face {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.card-rank {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.card-suit {
    font-size: 2rem;
}

.suit-red .card-rank,
.suit-red .card-suit {
    color: var(--sunset-coral);
}

.card-back {
    width: 100%;
    height: 100%;
    background: var(--ocean-mid);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 2px solid var(--turquoise);
}

.card-back-pattern {
    width: 80%;
    height: 80%;
}

.card-face-hidden {
    display: none;
}

.hidden-card.revealing .card-back {
    display: none;
}

.hidden-card.revealing .card-face-hidden {
    display: flex;
    animation: cardReveal 0.5s ease;
}

@keyframes cardReveal {
    0% { transform: rotateY(90deg); }
    100% { transform: rotateY(0); }
}

.last-result {
    text-align: center;
    min-height: 32px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.last-result.win {
    color: var(--turquoise);
}

.last-result.lose {
    color: var(--sunset-coral);
}

/* Card Controls */
.card-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.btn-game {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 10px;
}

.btn-higher {
    background: var(--turquoise);
    color: #fff;
}

.btn-higher:hover {
    background: var(--turquoise-dark);
    transform: translateY(-2px);
}

.btn-lower {
    background: var(--sunset-coral);
    color: #fff;
}

.btn-lower:hover {
    background: var(--sunset-coral-dark);
    transform: translateY(-2px);
}

.btn-reset {
    background: var(--warm-amber);
    color: #fff;
    margin: 0 auto;
    display: block;
}

.btn-reset:hover {
    background: var(--warm-amber-dark);
}

/* Card History */
.card-history,
.reel-history {
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.card-history h4,
.reel-history h4,
.reel-combos-panel h4 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-list,
.spin-history-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 150px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: rgba(26, 181, 160, 0.05);
    border-radius: 6px;
    font-size: 0.85rem;
}

.history-item.win-item {
    border-left: 3px solid var(--turquoise);
}

.history-item.lose-item {
    border-left: 3px solid var(--sunset-coral);
}

/* ===== REEL MACHINE ===== */
.reel-machine {
    margin-bottom: 20px;
}

.reel-frame {
    background: linear-gradient(135deg, #0d1f3c, #0a1628);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5), var(--glow-turquoise);
}

.reel-window {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.reel-column {
    height: 240px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    position: relative;
}

.reel-strip {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reel-symbol {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    transition: background 0.3s, box-shadow 0.3s;
    border-radius: 6px;
}

.reel-symbol svg {
    width: 48px;
    height: 48px;
}

.reel-symbol.win-highlight {
    background: rgba(26, 181, 160, 0.2);
    box-shadow: inset 0 0 15px rgba(26, 181, 160, 0.4), 0 0 10px rgba(26, 181, 160, 0.3);
    animation: symbolWinPulse 0.8s ease-in-out infinite alternate;
}

.reel-symbol.win-highlight svg {
    color: var(--warm-amber);
    filter: drop-shadow(0 0 6px rgba(232, 168, 56, 0.7));
}

@keyframes symbolWinPulse {
    0% {
        background: rgba(26, 181, 160, 0.15);
        box-shadow: inset 0 0 10px rgba(26, 181, 160, 0.3), 0 0 8px rgba(26, 181, 160, 0.2);
    }
    100% {
        background: rgba(232, 168, 56, 0.2);
        box-shadow: inset 0 0 20px rgba(232, 168, 56, 0.4), 0 0 15px rgba(232, 168, 56, 0.3);
    }
}

.reel-last-win {
    text-align: center;
    min-height: 28px;
    font-weight: 700;
    color: var(--warm-amber);
    margin-bottom: 12px;
}

/* Reel Controls */
.reel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.btn-spin {
    padding: 16px 48px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--warm-amber), var(--sunset-coral));
    color: #fff;
    border-radius: 12px;
    box-shadow: var(--glow-coral);
}

.btn-spin:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(232, 168, 56, 0.5);
}

.btn-spin:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.auto-spin-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auto-spin-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--turquoise);
}

/* Combos Panel */
.reel-combos-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.combos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.combo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(26, 181, 160, 0.05);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.combo-item .combo-symbols {
    display: flex;
    gap: 2px;
}

.combo-item .combo-symbols svg {
    width: 16px;
    height: 16px;
}

/* ===== STATISTICS ===== */
.statistics-section {
    padding: 80px 24px;
    background: var(--sand-beige);
    color: var(--text-dark);
}

.statistics-section .section-header h2 {
    color: var(--text-dark);
}

.statistics-section .section-header p {
    color: var(--storm-gray);
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card-icon {
    color: var(--turquoise);
    margin-bottom: 16px;
}

.stat-card-value {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--deep-ocean);
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--storm-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ===== TIMELINE ===== */
.timeline-section {
    padding: 80px 24px;
    background: var(--deep-ocean);
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--turquoise), var(--warm-amber));
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    position: relative;
}

.timeline-marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ocean-mid);
    border: 2px solid var(--turquoise);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--warm-amber);
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: var(--turquoise);
    margin-bottom: 4px;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* ===== REWARDS ===== */
.rewards-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, var(--ocean-mid), var(--deep-ocean));
}

.rewards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.reward-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.reward-card:hover {
    transform: translateY(-4px);
    border-color: var(--turquoise);
}

.reward-icon {
    color: var(--warm-amber);
    margin-bottom: 16px;
}

.reward-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.reward-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== LIVE FEED ===== */
.live-feed-section {
    padding: 80px 24px;
    background: var(--deep-ocean);
}

.feed-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feed-column h4 {
    font-size: 1rem;
    color: var(--warm-amber);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 0.85rem;
    border-left: 3px solid var(--turquoise);
}

.feed-item .feed-name {
    color: var(--text-primary);
    font-weight: 600;
}

.feed-item .feed-detail {
    color: var(--text-secondary);
    margin-left: auto;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, var(--deep-ocean), var(--ocean-mid));
}

.faq-terminal {
    max-width: 800px;
    margin: 0 auto;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

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

.faq-question:hover {
    background: rgba(26, 181, 160, 0.05);
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--turquoise);
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== SURF BANNER ===== */
.surf-banner {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--ocean-mid), #0d3355);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.surf-banner-content {
    position: relative;
    z-index: 2;
}

.surf-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.surf-banner p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.surf-banner-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.surf-banner-waves svg {
    width: 100%;
    display: block;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #060e1a;
    padding: 60px 24px 32px;
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-responsible {
    margin-bottom: 32px;
}

.footer-responsible h3 {
    color: var(--warm-amber);
    margin-bottom: 8px;
}

.footer-responsible p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.responsible-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.responsible-links a {
    color: var(--turquoise);
    font-size: 0.9rem;
}

.responsible-links a:hover {
    color: var(--warm-amber);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(232, 101, 74, 0.1);
    border: 1px solid rgba(232, 101, 74, 0.3);
    border-radius: 8px;
}

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

.footer-copyright p {
    color: var(--storm-gray);
    font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .games-split {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .game-panel {
        padding: 20px;
    }

    .card-table {
        gap: 16px;
    }

    .playing-card {
        width: 100px;
        height: 140px;
    }

    .card-rank {
        font-size: 2rem;
    }

    .card-suit {
        font-size: 1.5rem;
    }

    .card-controls {
        flex-direction: column;
    }

    .btn-game {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    .reel-column {
        height: 180px;
    }

    .reel-symbol {
        height: 60px;
    }

    .reel-symbol svg {
        width: 36px;
        height: 36px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-disclaimer {
        flex-direction: column;
        text-align: center;
    }

    .timeline::before {
        left: 23px;
    }

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

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-spin {
        padding: 14px 36px;
        font-size: 1rem;
    }
}

/* ===== PAGE STYLES (for sub-pages) ===== */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--turquoise);
}

.page-content h2 {
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--warm-amber);
}

.page-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.page-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.page-content li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(26, 181, 160, 0.3); }
    50% { box-shadow: 0 0 25px rgba(26, 181, 160, 0.6); }
}

.winning-highlight {
    animation: glow 1s ease-in-out 3;
}

@keyframes bounceSymbol {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.symbol-bounce {
    animation: bounceSymbol 0.5s ease 3;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--turquoise);
    border-radius: 3px;
}
