/* ========================================
   QWER CASINO - Premium Casino Guide
   SEO Optimized Mobile-First Design
   Domain: qwer-bet.com
   LYON FC Official Partner
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors - QWER Brand */
    --primary-green: #00FF00;
    --primary-green-dark: #00CC00;
    --primary-green-glow: rgba(0, 255, 0, 0.3);
    
    /* Secondary Colors */
    --primary-red: #E10600;
    --primary-red-dark: #B80500;

    /* Neutral Colors */
    --bg-dark: #0D1117;
    --bg-darker: #010409;
    --bg-card: #161B22;
    --bg-card-hover: #21262D;
    --bg-cream: #F5F0E8;

    /* Text Colors */
    --text-white: #FFFFFF;
    --text-light: #E6EDF3;
    --text-gray: #8B949E;
    --text-dark: #1A1A1A;

    /* Accent Colors */
    --gold: #FFD700;
    --gold-dark: #DAA520;
    --success: #3FB950;
    --warning: #D29922;
    --usdt: #26A17B;
    --btc: #F7931A;
    --eth: #627EEA;

    /* Gradients */
    --gradient-green: linear-gradient(135deg, #00FF00 0%, #00CC00 100%);
    --gradient-dark: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
    --gradient-card: linear-gradient(145deg, rgba(22, 27, 34, 0.9), rgba(13, 17, 23, 0.95));

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --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-green: 0 0 20px rgba(0, 255, 0, 0.2);

    /* Typography */
    --font-display: 'Bebas Neue', 'Orbitron', sans-serif;
    --font-body: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-tech: 'Orbitron', monospace;
    --font-pixel: 'Press Start 2P', monospace;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-darker);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    word-break: keep-all;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

strong {
    font-weight: 600;
    color: var(--primary-green);
}

/* ========================================
   PIXEL LOGO STYLE (QWER Keyboard Keys)
   ======================================== */
.pixel-logo {
    display: flex;
    gap: 4px;
}

.pixel-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ECFDF5;
    border: 3px solid #000;
    border-radius: 6px;
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    color: #000;
    box-shadow: 
        inset 0 -4px 0 rgba(0,0,0,0.1),
        0 4px 0 #000;
    text-shadow: none;
}

.pixel-logo-small {
    display: flex;
    gap: 2px;
    align-items: center;
}

.pixel-key-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ECFDF5;
    border: 2px solid #000;
    border-radius: 4px;
    font-family: var(--font-pixel);
    font-size: 0.5rem;
    color: #000;
    box-shadow: 
        inset 0 -2px 0 rgba(0,0,0,0.1),
        0 2px 0 #000;
}

.brand-suffix {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    margin-left: 4px;
}

/* ========================================
   SPLASH SCREEN
   ======================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    position: relative;
}

.splash-content .pixel-logo {
    justify-content: center;
}

.splash-content .pixel-key {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    animation: keyPress 0.5s ease forwards;
}

.splash-content .pixel-key:nth-child(1) { animation-delay: 0.1s; }
.splash-content .pixel-key:nth-child(2) { animation-delay: 0.2s; }
.splash-content .pixel-key:nth-child(3) { animation-delay: 0.3s; }
.splash-content .pixel-key:nth-child(4) { animation-delay: 0.4s; }

@keyframes keyPress {
    0% { transform: translateY(-20px); opacity: 0; }
    50% { transform: translateY(5px); }
    100% { transform: translateY(0); opacity: 1; }
}

.splash-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: var(--primary-green);
    box-shadow: var(--shadow-green);
}

.splash-line.top {
    bottom: 100%;
    margin-bottom: 30px;
    height: 0;
    animation: lineGrowUp 1s ease-out 0.6s forwards;
}

.splash-line.bottom {
    top: 100%;
    margin-top: 30px;
    height: 0;
    animation: lineGrowDown 1s ease-out 0.6s forwards;
}

@keyframes lineGrowUp {
    to { height: 100px; }
}

@keyframes lineGrowDown {
    to { height: 100px; }
}

.splash-tagline {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--primary-green);
    margin-top: var(--space-xl);
    opacity: 0;
    animation: fadeIn 0.5s ease 1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ========================================
   MAIN APP
   ======================================== */
.app {
    opacity: 1;
    transition: opacity 0.5s ease;
    padding-bottom: 80px;
}

.app.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(1, 4, 9, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    min-height: 48px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-actions {
    display: flex;
    gap: var(--space-sm);
}

.header-btn {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.header-btn.login {
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-light);
}

.header-btn.login:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.header-btn.signup {
    background: var(--gradient-green);
    color: #000;
    border: none;
}

.header-btn.signup:hover {
    box-shadow: var(--shadow-green);
    transform: translateY(-1px);
}

/* ========================================
   PARTNER BANNER
   ======================================== */
.partner-banner {
    background: linear-gradient(90deg, var(--bg-card) 0%, rgba(0, 255, 0, 0.1) 50%, var(--bg-card) 100%);
    padding: var(--space-sm);
    text-align: center;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.partner-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-green);
    letter-spacing: 1px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    height: 65vh;
    min-height: 400px;
    max-height: 550px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.spline-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180%;
    height: 120%;
    overflow: visible;
    will-change: transform;
    transition: transform 0.05s linear;
}

.spline-container iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
    border: none;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl) var(--space-md);
    padding-bottom: var(--space-2xl);
    background: linear-gradient(to top, rgba(1, 4, 9, 0.98) 0%, rgba(1, 4, 9, 0.8) 50%, transparent 100%);
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-green);
    font-family: var(--font-tech);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.hero-title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(0.8rem, 3vw, 0.95rem);
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
}

.hero-cta-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
    min-width: 140px;
}

.hero-cta.primary {
    background: var(--text-white);
    color: var(--text-dark);
}

.hero-cta.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-cta.secondary {
    background: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

.hero-cta.secondary:hover {
    background: var(--text-white);
    color: var(--text-dark);
}

/* ========================================
   PROMOTIONS SECTION
   ======================================== */
.promo-section {
    padding: var(--space-md);
}

.promo-cards {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: var(--space-sm);
}

.promo-cards::-webkit-scrollbar {
    display: none;
}

.promo-card {
    flex: 0 0 280px;
    min-height: 140px;
    padding: var(--space-lg);
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.1) 0%, transparent 70%);
}

.promo-tag {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(0, 255, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    color: var(--primary-green);
    margin-bottom: var(--space-sm);
}

.promo-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: var(--space-xs);
    color: var(--text-white);
}

.promo-desc {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* ========================================
   VIP SECTION
   ======================================== */
.vip-section {
    padding-bottom: var(--space-xl);
}

.vip-table-wrapper {
    overflow-x: auto;
    padding: 0 var(--space-md);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vip-table-wrapper::-webkit-scrollbar {
    display: none;
}

.vip-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.vip-table thead {
    background: var(--bg-darker);
}

.vip-table th {
    padding: var(--space-md) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vip-table th:first-child {
    text-align: left;
    padding-left: var(--space-md);
}

.vip-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}

.vip-table td {
    padding: var(--space-md) var(--space-sm);
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.vip-table td.row-label {
    text-align: left;
    padding-left: var(--space-md);
    font-weight: 500;
    color: var(--text-light);
}

.vip-table td.highlight {
    color: var(--primary-green);
    font-weight: 700;
}

.vip-table tbody tr:hover {
    background: rgba(0, 255, 0, 0.03);
}

.vip-table td:last-child {
    color: var(--gold);
}

/* ========================================
   COINS SECTION
   ======================================== */
.coins-section {
    padding-bottom: var(--space-xl);
}

.coins-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: 0 var(--space-md);
}

.coin-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.coin-badge:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.coin-badge small {
    font-size: 0.65rem;
    color: var(--text-gray);
}

.coin-icon {
    font-weight: 700;
    font-size: 1rem;
}

.coin-icon.usdt { color: var(--usdt); }
.coin-icon.btc { color: var(--btc); }
.coin-icon.eth { color: var(--eth); }
.coin-icon.usdc { color: #2775CA; }
.coin-icon.xrp { color: #23292F; background: #fff; border-radius: 50%; padding: 2px; }
.coin-icon.sol { color: #9945FF; }
.coin-icon.bnb { color: #F3BA2F; }
.coin-icon.doge { color: #C2A633; }
.coin-icon.ltc { color: #BFBBBB; }
.coin-icon.ton { color: #0098EA; }
.coin-icon.trx { color: #FF0013; }

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section-header {
    padding: var(--space-xl) var(--space-md) var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2rem);
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-green);
    border-radius: 2px;
    box-shadow: var(--shadow-green);
}

.section-subtitle {
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ========================================
   BRAND SECTION
   ======================================== */
.brand-section {
    padding-bottom: var(--space-xl);
}

.brand-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: 0 var(--space-md);
}

@media (min-width: 480px) {
    .brand-cards {
        flex-direction: row;
        align-items: stretch;
    }
    
    .brand-card {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .brand-card .brand-cta {
        margin-top: auto;
    }
}

.brand-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.brand-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-green);
}

.brand-card .brand-logo {
    margin-bottom: var(--space-md);
}

.brand-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--primary-green);
}

.brand-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.brand-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.brand-features li {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: var(--space-xs) 0;
}

.brand-cta {
    display: inline-block;
    padding: var(--space-md) var(--space-lg);
    background: var(--gradient-green);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: #000;
    transition: var(--transition-fast);
}

.brand-cta:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-green);
}

/* ========================================
   QUICK ACCESS
   ======================================== */
.quick-access {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.quick-access::-webkit-scrollbar {
    display: none;
}

.quick-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
    min-width: 72px;
}

.quick-card.active {
    border-color: var(--primary-green);
    background: rgba(0, 255, 0, 0.1);
}

.quick-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-green);
}

.quick-icon {
    font-size: 1.4rem;
}

.quick-card span:last-child {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
}

/* ========================================
   GAMES SECTION - Lightweight Button Style
   ======================================== */
.games-section {
    padding-bottom: var(--space-xl);
}

.games-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: 0 var(--space-md);
}

.game-card {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    max-width: 100%;
}

.game-card:hover {
    border-color: var(--primary-green);
    background: rgba(0, 255, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.game-card-provider {
    font-size: 0.6rem;
    font-family: var(--font-tech);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    font-weight: 600;
    flex-shrink: 0;
    text-transform: uppercase;
}

/* Provider Colors */
.game-card-provider.evo { background: #E10600; color: #fff; }
.game-card-provider.pragmatic { background: #FF6B00; color: #fff; }
.game-card-provider.nolimit { background: #8B5CF6; color: #fff; }
.game-card-provider.hacksaw { background: #EC4899; color: #fff; }
.game-card-provider.pgsoft { background: #3B82F6; color: #fff; }
.game-card-provider.other { background: var(--text-gray); color: #fff; }

.game-card-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-badge {
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.55rem;
    font-weight: 700;
    flex-shrink: 0;
    background: var(--primary-green);
    color: #000;
}

.game-card-badge.hot {
    background: var(--gold);
}

.game-card-badge.live {
    background: var(--success);
}

.game-card-badge.vip {
    background: linear-gradient(135deg, #C9A96E 0%, #FFD700 50%, #C9A96E 100%);
    color: #1a0f00;
}

.game-card-badge.new {
    background: var(--primary-red);
    color: #fff;
}

/* ========================================
   IMAGE GAME CARDS - 비주얼 게임 카드
   ======================================== */
.game-card--image {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(50% - 4px);
    max-width: calc(50% - 4px);
    padding: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-card--image:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 255, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.game-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.4s ease;
}

.game-card--image:hover .game-card-img {
    transform: scale(1.08);
}

.game-card--image .game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md) var(--space-sm);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.game-card--image .game-card-name {
    white-space: normal;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    overflow: visible;
}

.game-card--image .game-card-provider {
    align-self: flex-start;
    font-size: 0.55rem;
}

.game-card--image .game-card-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    z-index: 3;
    font-size: 0.6rem;
    padding: 3px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* 이미지 카드 내부 SEO 메타 숨김 */
.game-card--image meta {
    display: none;
}

/* Category Filter Indicator */
.games-count {
    font-size: 0.75rem;
    color: var(--text-gray);
    padding: 0 var(--space-md);
    margin-bottom: var(--space-sm);
}

.load-more-btn {
    display: block;
    width: calc(100% - var(--space-xl));
    margin: var(--space-lg) auto 0;
    padding: var(--space-md);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.load-more-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    padding-bottom: var(--space-xl);
}

.features-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    padding: 0 var(--space-md);
}

.feature-card {
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-green);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
}

.feature-card p {
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ========================================
   INFO SECTION
   ======================================== */
.info-section {
    background: var(--bg-card);
    padding-bottom: var(--space-xl);
}

.info-section .section-title {
    color: var(--text-white);
}

.info-accordion {
    padding: 0 var(--space-md);
}

.info-item {
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.info-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    cursor: pointer;
    list-style: none;
}

.info-item summary::-webkit-details-marker {
    display: none;
}

.info-item summary h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--primary-green);
    transition: var(--transition-fast);
}

.info-item[open] .accordion-icon {
    transform: rotate(45deg);
}

.info-content {
    padding: 0 var(--space-md) var(--space-md);
}

.info-content p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: var(--space-sm);
}

.info-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.info-links a {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Info List for SEO Content */
.info-list {
    list-style: none;
    margin: var(--space-md) 0;
    padding: 0;
}

.info-list li {
    position: relative;
    padding-left: 1.5em;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: var(--space-xs);
    line-height: 1.7;
}

.info-list li::before {
    content: "•";
    color: var(--primary-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.info-list li strong {
    color: var(--text-light);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-card);
    margin: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 255, 0, 0.1);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: var(--primary-green);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-top: var(--space-xs);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding-bottom: var(--space-xl);
}

.faq-list {
    padding: 0 var(--space-md);
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: var(--space-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '+';
    float: right;
    color: var(--primary-green);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.faq-item[open] summary::before {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 var(--space-md) var(--space-md);
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========================================
   COMMUNITY SECTION
   ======================================== */
.community-section {
    padding-bottom: var(--space-xl);
}

.community-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    padding: 0 var(--space-md);
}

.community-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.community-btn:hover {
    transform: translateY(-2px);
}

.community-btn.x:hover {
    border-color: #fff;
    background: #000;
}

.community-btn.telegram:hover {
    border-color: #0088cc;
    color: #0088cc;
}

.community-btn.instagram:hover {
    border-color: #E1306C;
    color: #E1306C;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .pixel-logo-small {
    justify-content: center;
    margin-bottom: var(--space-md);
}

.footer-partner {
    font-size: 0.75rem;
    color: var(--primary-green);
    margin-bottom: var(--space-lg);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-nav a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--primary-green);
}

.footer-keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-keywords span {
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    color: var(--text-gray);
}

.footer-disclaimer {
    font-size: 0.7rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.footer-copyright {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   BOTTOM NAVIGATION
   ======================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: var(--space-sm) 0;
    padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0));
    background: rgba(1, 4, 9, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-sm);
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 0.6rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-item.active {
    color: var(--primary-green);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 0 0 3px 3px;
    box-shadow: var(--shadow-green);
}

.nav-icon {
    width: 22px;
    height: 22px;
}

.nav-cta {
    background: var(--gradient-green);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-md);
    color: #000;
    margin-top: -20px;
    box-shadow: var(--shadow-green);
}

.nav-cta-icon {
    font-size: 1.2rem;
    font-weight: 600;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .game-card--image {
        flex: 0 0 calc(33.333% - 6px);
        max-width: calc(33.333% - 6px);
    }
    
    .promo-card {
        flex: 0 0 320px;
    }
}

@media (min-width: 768px) {
    .hero-section {
        height: 70vh;
        max-height: 600px;
    }
    
    .spline-container {
        width: 150%;
    }
    
    .features-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    body {
        display: flex;
        justify-content: center;
        background: #000;
    }
    
    .app {
        max-width: 480px;
        width: 100%;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
    }
    
    .splash-screen {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .bottom-nav {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .header {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 100%;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 2px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card,
.feature-card,
.brand-card,
.promo-card {
    animation: slideInUp 0.5s ease forwards;
}

/* ========================================
   UTILITY
   ======================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
