/* RETRO LOTTERY THEME - Color Palette */
:root {
    --cherry-red: #E63946;
    --scratch-gold: #FFD700;
    --deep-blue: #1D3557;
    --paper-white: #F1FAEE;
    --rich-black: #111111;
    --electric-teal: #00F5D4;
    
    /* Legacy color mappings for backward compatibility */
    --primary-color: var(--cherry-red);
    --secondary-color: var(--electric-teal);
    --accent-color: var(--scratch-gold);
    --text-color: var(--rich-black);
    --bg-color: var(--paper-white);
    --white: var(--paper-white);
    --black: var(--rich-black);
    
    /* Retro Effects */
    --ticket-shadow: 0 4px 8px rgba(17, 17, 17, 0.2);
    --retro-border: 3px dashed var(--deep-blue);
    --pixel-border: 2px solid var(--rich-black);
    --gold-glow: 0 0 15px rgba(255, 215, 0, 0.4);
    --red-glow: 0 0 15px rgba(230, 57, 70, 0.4);
    --teal-glow: 0 0 15px rgba(0, 245, 212, 0.4);
}

* {
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-weight: 400;
    /* Simple dot texture */
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(29, 53, 87, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    /* Prevent horizontal scrolling on mobile */
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, var(--paper-white) 0%, #e8f3f0 100%);
    padding: 2rem 0;
    text-align: center;
    border-bottom: var(--retro-border);
    position: relative;
    box-shadow: var(--ticket-shadow);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(29, 53, 87, 0.05) 10px,
        rgba(29, 53, 87, 0.05) 11px
    );
    pointer-events: none;
}

header h1 {
    font-family: 'PressStart2P', monospace;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--cherry-red);
    text-shadow: 
        3px 3px 0px var(--deep-blue),
        4px 4px 0px rgba(29, 53, 87, 0.3);
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

header p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--deep-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Main Content Sections */
#countdown-section {
    display: none;
}

/* Hero Section */
#hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--paper-white);
    color: var(--rich-black);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    border-bottom: var(--retro-border);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(230, 57, 70, 0.1) 0%, transparent 50%);
    z-index: 0;
}

#hero h1 {
    font-family: 'PressStart2P', monospace;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--cherry-red);
    text-shadow: 
        4px 4px 0px var(--deep-blue),
        5px 5px 0px rgba(29, 53, 87, 0.3);
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

#hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    max-width: 600px;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

/* Hero Content Layout */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    gap: 2rem;
    /* Prevent overflow on mobile */
    box-sizing: border-box;
    overflow: hidden;
}

/* Buy Now Button - Prominent Lottery Style */
.buy-now-container {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.buy-now-btn {
    font-family: 'PressStart2P', monospace;
    display: inline-block;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: normal;
    text-decoration: none;
    background: linear-gradient(45deg, var(--cherry-red), #ff4757);
    color: var(--paper-white);
    border: 4px solid var(--rich-black);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    box-shadow: 
        var(--ticket-shadow),
        8px 8px 0px var(--rich-black),
        var(--red-glow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: buy-pulse 2s ease-in-out infinite alternate;
}

.buy-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.buy-now-btn:hover::before {
    left: 100%;
}

.buy-now-btn:hover {
    background: linear-gradient(45deg, var(--electric-teal), #00d4aa);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 24px rgba(17, 17, 17, 0.4),
        12px 12px 0px var(--rich-black),
        var(--teal-glow);
    animation: none;
}

.buy-now-btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 12px rgba(17, 17, 17, 0.3),
        6px 6px 0px var(--rich-black);
}

.buy-now-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--deep-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
    margin-bottom: 0;
    opacity: 0.8;
}

@keyframes buy-pulse {
    0% { 
        box-shadow: 
            var(--ticket-shadow),
            8px 8px 0px var(--rich-black),
            var(--red-glow);
    }
    100% { 
        box-shadow: 
            var(--ticket-shadow),
            8px 8px 0px var(--rich-black),
            0 0 25px rgba(230, 57, 70, 0.6),
            0 0 35px rgba(230, 57, 70, 0.4);
    }
}

/* Hero Social Links */
.hero-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Mode Select (Human / Agent) */
.mode-select {
    background: var(--paper-white);
    border: var(--retro-border);
    box-shadow: var(--ticket-shadow), inset 0 0 0 3px var(--scratch-gold);
    padding: 1.25rem 1.5rem;
    width: 100%;
    max-width: 720px;
    text-align: center;
    position: relative;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 5px,
            rgba(29, 53, 87, 0.03) 5px,
            rgba(29, 53, 87, 0.03) 10px
        );
}

.mode-select::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dotted var(--deep-blue);
    pointer-events: none;
}

.mode-select-title {
    font-family: 'PressStart2P', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.mode-select-subtitle,
.mode-select-hint {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--deep-blue);
    font-weight: 600;
    opacity: 0.85;
    margin: 1rem 0 0;
}

.mode-select-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.mode-btn {
    font-family: 'PressStart2P', monospace;
    font-size: 0.8rem;
    padding: 0.9rem 1.2rem;
    background: var(--paper-white);
    border: 4px solid var(--rich-black);
    color: var(--rich-black);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 6px 6px 0px var(--rich-black), var(--ticket-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 10px 10px 0px var(--rich-black), 0 10px 18px rgba(17, 17, 17, 0.25);
}

.mode-btn:active {
    transform: translateY(0px);
    box-shadow: 3px 3px 0px var(--rich-black), var(--ticket-shadow);
}

.mode-btn.is-active {
    background: linear-gradient(45deg, var(--electric-teal), #00d4aa);
    color: white;
}

/* Mode Panels */
.mode-panels {
    width: 100%;
    max-width: 820px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mode-panel {
    background: var(--paper-white);
    border: var(--retro-border);
    box-shadow: var(--ticket-shadow);
    padding: 1.25rem 1.5rem;
    position: relative;
    display: none;
}

.mode-panel.is-visible {
    display: block;
}

.mode-panel-badge {
    font-family: 'PressStart2P', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cherry-red);
    margin-bottom: 0.75rem;
}

.mode-panel-text {
    font-family: 'Inter', sans-serif;
    color: var(--deep-blue);
    font-weight: 600;
    margin: 0;
}

.mode-panel-actions {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mode-panel-cta {
    font-family: 'PressStart2P', monospace;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.85rem 1rem;
    border: 4px solid var(--rich-black);
    background: linear-gradient(45deg, var(--cherry-red), #ff4757);
    color: var(--paper-white);
    text-decoration: none;
    letter-spacing: 0.12em;
    box-shadow: 6px 6px 0px var(--rich-black), var(--red-glow);
    opacity: 0.85;
}

.mode-panel-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.metric {
    border: 3px solid var(--rich-black);
    background: var(--scratch-gold);
    padding: 0.75rem;
    box-shadow: 4px 4px 0px var(--rich-black);
}

.metric-label {
    font-family: 'PressStart2P', monospace;
    font-size: 0.55rem;
    color: var(--deep-blue);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.metric-value {
    font-family: 'PressStart2P', monospace;
    font-size: 1.2rem;
    color: var(--rich-black);
    margin-top: 0.5rem;
}

.hero-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 3px solid var(--rich-black);
    background: var(--paper-white);
    color: var(--rich-black);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 0px var(--rich-black),
        var(--ticket-shadow);
}

.hero-social .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.hero-social .social-link svg {
    width: 24px;
    height: 24px;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.hero-social .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 0px var(--rich-black),
        0 8px 16px rgba(17, 17, 17, 0.3);
}

.hero-social .social-link:hover::before {
    left: 100%;
}

.hero-social .social-link:hover svg {
    transform: scale(1.1);
}

.hero-social .social-link.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.hero-social .social-link.discord:hover {
    background: #5865F2;
    color: white;
}

.hero-social .social-link:active {
    transform: translateY(0);
    box-shadow: 
        2px 2px 0px var(--rich-black),
        var(--ticket-shadow);
}

/* Jackpot Display - Retro Lottery Ticket Style */
.jackpot-display {
    background: var(--paper-white);
    border: var(--retro-border);
    border-radius: 0;
    padding: 2rem 3rem;
    box-shadow: 
        var(--ticket-shadow),
        inset 0 0 0 3px var(--scratch-gold);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 600px;
    max-width: 800px;
    position: relative;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 5px,
            rgba(29, 53, 87, 0.03) 5px,
            rgba(29, 53, 87, 0.03) 10px
        );
}

.jackpot-display::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dotted var(--deep-blue);
    pointer-events: none;
}

.jackpot-display::after {
    content: '🎰 DUAL JACKPOT SYSTEM 🎰';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--paper-white);
    padding: 0 1rem;
    font-family: 'PressStart2P', monospace;
    font-size: 0.6rem;
    color: var(--deep-blue);
    letter-spacing: 0.1em;
}

.jackpot-display:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 16px rgba(17, 17, 17, 0.3),
        inset 0 0 0 3px var(--scratch-gold),
        var(--gold-glow);
}

/* Jackpot Sections */
.jackpot-section {
    margin-bottom: 2rem;
    position: relative;
}

.jackpot-section.major {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px dashed var(--deep-blue);
}

.jackpot-section.minor {
    margin-bottom: 1rem;
}

.jackpot-label {
    font-family: 'PressStart2P', monospace;
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 1px 1px 0px rgba(29, 53, 87, 0.3);
}

/* Major Jackpot Styling */
.jackpot-section.major .jackpot-label {
    font-size: 1rem;
    color: var(--cherry-red);
    text-shadow: 2px 2px 0px var(--deep-blue);
}

/* Jackpot Amount Containers */
.jackpot-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--scratch-gold);
    padding: 1rem;
    border: var(--pixel-border);
    margin: 1rem -1rem;
    gap: 0.2rem;
}

/* Major Jackpot Amount - Bigger */
.jackpot-amount.major {
    padding: 1.5rem;
    margin: 1.5rem -1.5rem;
}

.jackpot-amount.major .currency-symbol {
    font-size: 3rem;
    margin-right: 0.8rem;
}

.jackpot-amount.major #major-jackpot-value {
    font-size: 4.5rem;
}

/* Minor Jackpot Amount - Smaller */
.jackpot-amount.minor .currency-symbol {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.jackpot-amount.minor #jackpot-value {
    font-size: 3.5rem;
}

/* Base Currency Symbol Styling */
.currency-symbol {
    font-family: 'PressStart2P', monospace;
    font-weight: normal;
    color: var(--rich-black);
    text-shadow: 2px 2px 0px var(--paper-white);
}

/* Base Jackpot Value Styling */
#jackpot-value, #major-jackpot-value {
    font-family: 'PressStart2P', monospace;
    font-weight: normal;
    color: var(--cherry-red);
    text-shadow: 
        2px 2px 0px var(--paper-white),
        3px 3px 0px var(--deep-blue);
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

/* Jackpot Update Animation */
.jackpot-amount.updating #jackpot-value {
    animation: jackpot-pulse 0.6s ease-in-out;
}

@keyframes jackpot-pulse {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Sticky Timer - Retro Style (30-minute timer) */
.sticky-timer {
    position: fixed;
    top: 120px; /* Moved down to make space for daily timer above */
    right: 20px;
    background: var(--paper-white);
    border: var(--pixel-border);
    border-radius: 0;
    padding: 1rem;
    box-shadow: var(--ticket-shadow);
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.3s ease;
    font-family: 'PressStart2P', monospace;
}

.sticky-timer:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(17, 17, 17, 0.3),
        var(--teal-glow);
}

.sticky-timer-title {
    font-size: 0.6rem;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

.sticky-timer-display {
    font-size: 1.2rem;
    color: var(--cherry-red);
    font-weight: normal;
    text-align: center;
    text-shadow: 1px 1px 0px var(--deep-blue);
}

.sticky-timer-display span {
    font-weight: 700;
    min-width: 2ch;
    text-align: center;
}

/* Daily Timer Styles (24-hour timer) - Moved to right side above 30M timer */
.daily-timer {
    position: fixed;
    top: 20px; /* Positioned above the 30-minute timer */
    right: 20px; /* Moved from left to right */
    background: linear-gradient(135deg, var(--scratch-gold) 0%, #FFA500 100%);
    border: var(--pixel-border);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    z-index: 1000;
    box-shadow: var(--ticket-shadow), var(--gold-glow);
    font-family: 'PressStart2P', monospace;
    color: var(--paper-white);
    transition: all 0.3s ease;
    min-width: 200px;
}

.daily-timer:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(17, 17, 17, 0.3),
        var(--gold-glow);
}

.daily-timer-title {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
    text-shadow: 1px 1px 0px var(--rich-black);
}

.daily-timer-display {
    font-size: 1.2rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 0px var(--rich-black);
}

.daily-timer-display span {
    font-weight: 700;
    min-width: 2ch;
    text-align: center;
}

/* Countdown Timer - much smaller, positioned under jackpot */
.countdown-container {
    margin-top: 1.5rem;
    width: 100%;
}

.countdown-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.countdown-timer {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: rgba(153, 69, 255, 0.1);
    border: 1px solid rgba(153, 69, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(5px);
    margin-bottom: 0.5rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
}

.time-digit {
    font-family: 'Inter', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--timer-green);
    line-height: 1;
    letter-spacing: -0.02em;
}

.time-label {
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.1rem;
}

.time-separator {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    animation: blink 2s infinite;
}

.countdown-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin: 0;
}

/* Timer Color States */
.timer-warning .time-digit {
    color: var(--timer-yellow);
    animation: pulse-yellow 1s ease-in-out infinite alternate;
}

.timer-critical .time-digit {
    color: var(--timer-red);
    animation: pulse-red 0.8s ease-in-out infinite alternate;
}

@keyframes pulse-yellow {
    from { text-shadow: 0 0 20px var(--timer-yellow); }
    to { text-shadow: 0 0 30px var(--timer-yellow), 0 0 40px rgba(255, 215, 0, 0.5); }
}

@keyframes pulse-red {
    from { text-shadow: 0 0 20px var(--timer-red); }
    to { text-shadow: 0 0 30px var(--timer-red), 0 0 40px rgba(255, 68, 68, 0.5); }
}

/* Tokenomics Section - Retro Lottery Style */
#tokenomics {
    padding: 4rem 0;
    background: var(--paper-white);
    border-top: var(--retro-border);
    margin-top: 0;
    position: relative;
}

.tokenomics-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tokenomics-card {
    background: var(--paper-white);
    border: var(--pixel-border);
    border-radius: 0;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--ticket-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1 1 280px;
    max-width: 320px;
    min-width: 280px;
    background-image: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 8px,
            rgba(29, 53, 87, 0.05) 8px,
            rgba(29, 53, 87, 0.05) 10px
        );
}

.tokenomics-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px dotted var(--deep-blue);
    pointer-events: none;
}

.tokenomics-card::after {
    content: '🎟️';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    background: var(--scratch-gold);
    border: var(--pixel-border);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tokenomics-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 16px rgba(17, 17, 17, 0.3),
        var(--gold-glow);
}

.tokenomics-card h3 {
    font-family: 'PressStart2P', monospace;
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    color: var(--cherry-red);
    text-shadow: 1px 1px 0px var(--deep-blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tokenomics-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--rich-black);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Jackpot Counter Section */
#jackpot-counter {
    display: none;
}

/* Footer - Retro Style */
footer {
    background: rgba(230, 57, 70, 0.85);
    color: var(--paper-white);
    padding: 3rem 0 1rem;
    border-top: var(--retro-border);
    border-color: var(--scratch-gold);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 215, 0, 0.05) 10px,
            rgba(255, 215, 0, 0.05) 12px
        );
    pointer-events: none;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-social {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--scratch-gold);
    border: var(--pixel-border);
    border-color: var(--paper-white);
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--ticket-shadow);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px dotted var(--deep-blue);
    pointer-events: none;
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: var(--deep-blue);
    z-index: 1;
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px);
    background: var(--electric-teal);
    box-shadow: 
        0 6px 12px rgba(17, 17, 17, 0.3),
        var(--teal-glow);
}

.social-link.twitter:hover {
    background: #1DA1F2;
}

.social-link.telegram:hover {
    background: #0088cc;
}

.footer-disclaimer {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(241, 250, 238, 0.1);
    border: 1px dashed var(--scratch-gold);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.footer-disclaimer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(241, 250, 238, 0.8);
    margin: 0;
}

.footer-copyright {
    border-top: 1px dashed var(--scratch-gold);
    padding-top: 1rem;
}

.footer-copyright p {
    font-family: 'PressStart2P', monospace;
    font-size: 0.6rem;
    color: var(--scratch-gold);
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    /* Ensure container doesn't overflow on mobile */
    width: 100%;
    box-sizing: border-box;
}

/* FAQ Section - Retro Style */
#faq {
    padding: 4rem 0;
    background: var(--paper-white);
    border-top: var(--retro-border);
    margin-top: 0;
}

.faq-title {
    font-family: 'PressStart2P', monospace;
    text-align: center;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--cherry-red);
    margin-bottom: 3rem;
    text-shadow: 2px 2px 0px var(--deep-blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    background: var(--paper-white);
    border: var(--pixel-border);
    border-radius: 0;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--ticket-shadow);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dotted var(--deep-blue);
    pointer-events: none;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(17, 17, 17, 0.3),
        var(--teal-glow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--rich-black);
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    z-index: 1;
}

.faq-question:hover {
    background: rgba(29, 53, 87, 0.05);
}

.faq-toggle {
    font-family: 'PressStart2P', monospace;
    font-size: 1rem;
    font-weight: normal;
    color: var(--cherry-red);
    transition: transform 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--rich-black);
    font-weight: 400;
    margin: 0;
    opacity: 0.8;
}

/* Retro Buttons */
.btn {
    font-family: 'PressStart2P', monospace;
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    font-weight: normal;
    text-decoration: none;
    border: var(--pixel-border);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--scratch-gold);
    color: var(--rich-black);
    box-shadow: var(--ticket-shadow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(17, 17, 17, 0.3),
        var(--gold-glow);
}

.btn-accent {
    background: var(--cherry-red);
    color: var(--paper-white);
    border-color: var(--rich-black);
}

.btn-accent:hover {
    background: var(--electric-teal);
    box-shadow: 
        0 6px 12px rgba(17, 17, 17, 0.3),
        var(--teal-glow);
}

.btn-outline {
    background: transparent;
    color: var(--deep-blue);
    border-color: var(--deep-blue);
    border-width: 2px;
}

.btn-outline:hover {
    background: var(--deep-blue);
    color: var(--paper-white);
    box-shadow: 
        0 6px 12px rgba(17, 17, 17, 0.3),
        0 0 15px rgba(29, 53, 87, 0.4);
}

/* Previous Winners Section - Retro Style */
#previous-winners {
    padding: 4rem 0;
    background: var(--paper-white);
    border-top: var(--retro-border);
    border-bottom: var(--retro-border);
}

.winners-title {
    font-family: 'PressStart2P', monospace;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--cherry-red);
    text-shadow: 2px 2px 0px var(--deep-blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.total-winnings {
    text-align: center;
    margin-bottom: 2rem;
    background: var(--scratch-gold);
    border: var(--pixel-border);
    padding: 1.5rem;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--ticket-shadow);
}

.total-winnings-label {
    font-family: 'PressStart2P', monospace;
    font-size: 0.7rem;
    color: var(--rich-black);
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.total-winnings-amount {
    font-family: 'PressStart2P', monospace;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--cherry-red);
    text-shadow: 1px 1px 0px var(--paper-white);
    letter-spacing: 0.05em;
}

.winners-controls {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-controls {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.filter-controls label {
    font-family: 'PressStart2P', monospace;
    font-size: 0.7rem;
    color: var(--deep-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.filter-dropdown {
    font-family: 'Inter', sans-serif;
    background: var(--paper-white);
    border: var(--pixel-border);
    border-radius: 0;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--rich-black);
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: var(--ticket-shadow);
}

.filter-dropdown:hover {
    background: #e8f3f0;
    box-shadow: 
        0 4px 8px rgba(17, 17, 17, 0.3),
        var(--teal-glow);
}

.filter-dropdown:focus {
    border-color: var(--electric-teal);
    box-shadow: var(--teal-glow);
}

.filter-dropdown option {
    background: var(--paper-white);
    color: var(--rich-black);
    padding: 0.5rem;
}

/* Winners Grid - Retro Lottery Balls */
.winners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-height: 600px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
    margin-bottom: 2rem;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
}

.winners-grid.expanded {
    max-height: none;
}

.winners-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, var(--paper-white));
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.winners-grid.expanded::after {
    opacity: 0;
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin: 2rem auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.view-more-btn {
    font-family: 'PressStart2P', monospace;
    background: var(--cherry-red);
    color: var(--paper-white);
    border: var(--pixel-border);
    border-color: var(--rich-black);
    padding: 1rem 2rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: var(--ticket-shadow);
    position: relative;
    overflow: hidden;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.view-more-btn:hover::before {
    left: 100%;
}

.view-more-btn:hover {
    background: var(--electric-teal);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(17, 17, 17, 0.3),
        var(--teal-glow);
}

.view-more-btn:active {
    transform: translateY(0);
}

.view-more-btn.hidden {
    display: none;
}

/* Winner Ticket - Raffle Ticket Style */
.winner-ball {
    background: var(--paper-white);
    border: 2px solid var(--deep-blue);
    border-radius: 0;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--ticket-shadow);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    cursor: pointer;
    /* Raffle ticket perforated edge pattern */
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 8px,
            var(--deep-blue) 8px,
            var(--deep-blue) 10px,
            transparent 10px,
            transparent 18px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 8px,
            var(--deep-blue) 8px,
            var(--deep-blue) 10px,
            transparent 10px,
            transparent 18px
        );
    background-size: 100% 6px, 6px 100%;
    background-position: 0 0, 0 0;
    background-repeat: repeat-x, repeat-y;
}

/* Raffle ticket stub line */
.winner-ball::before {
    content: '';
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--deep-blue) 0px,
        var(--deep-blue) 6px,
        transparent 6px,
        transparent 12px
    );
    z-index: 1;
}

/* Raffle ticket number badge */
.winner-ball::after {
    content: 'WINNER';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cherry-red);
    color: var(--paper-white);
    padding: 0.3rem 0.8rem;
    font-family: 'PressStart2P', monospace;
    font-size: 0.4rem;
    letter-spacing: 0.1em;
    border: 2px solid var(--rich-black);
    box-shadow: 2px 2px 0px var(--rich-black);
}

/* Raffle ticket color variations - Solid gradients */
.winner-ball:nth-child(1),
.winner-ball:nth-child(9),
.winner-ball:nth-child(17),
.winner-ball:nth-child(25) {
    background: linear-gradient(135deg, var(--scratch-gold), #e6c200);
    border-color: var(--deep-blue);
}

.winner-ball:nth-child(2),
.winner-ball:nth-child(10),
.winner-ball:nth-child(18),
.winner-ball:nth-child(26) {
    background: linear-gradient(135deg, var(--electric-teal), #00d4aa);
    border-color: var(--rich-black);
}

.winner-ball:nth-child(3),
.winner-ball:nth-child(11),
.winner-ball:nth-child(19),
.winner-ball:nth-child(27) {
    background: linear-gradient(135deg, var(--cherry-red), #d63031);
    border-color: var(--paper-white);
}

.winner-ball:nth-child(4),
.winner-ball:nth-child(12),
.winner-ball:nth-child(20),
.winner-ball:nth-child(28) {
    background: linear-gradient(135deg, var(--deep-blue), #2d3436);
    border-color: var(--scratch-gold);
}

.winner-ball:nth-child(5),
.winner-ball:nth-child(13),
.winner-ball:nth-child(21),
.winner-ball:nth-child(29) {
    background: linear-gradient(135deg, #8b5cf6, #6c5ce7);
    border-color: var(--paper-white);
}

.winner-ball:nth-child(6),
.winner-ball:nth-child(14),
.winner-ball:nth-child(22),
.winner-ball:nth-child(30) {
    background: linear-gradient(135deg, #f59e0b, #e17055);
    border-color: var(--rich-black);
}

.winner-ball:nth-child(7),
.winner-ball:nth-child(15),
.winner-ball:nth-child(23),
.winner-ball:nth-child(31) {
    background: linear-gradient(135deg, #10ac84, #00b894);
    border-color: var(--deep-blue);
}

.winner-ball:nth-child(8),
.winner-ball:nth-child(16),
.winner-ball:nth-child(24),
.winner-ball:nth-child(32) {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    border-color: var(--paper-white);
}

.winner-ball:hover {
    transform: translateY(-3px) rotate(1deg);
    box-shadow: 
        0 8px 16px rgba(17, 17, 17, 0.4),
        4px 4px 0px var(--deep-blue);
}

.wallet-address {
    font-family: 'PressStart2P', monospace;
    font-size: 0.65rem;
    color: var(--rich-black);
    text-shadow: none;
    letter-spacing: 0.05em;
    z-index: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.8rem 0.5rem;
    border: 1px dashed var(--deep-blue);
    margin: 0.5rem 1rem 1rem 1rem;
}

.prize-amount {
    font-family: 'PressStart2P', monospace;
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--cherry-red);
    text-shadow: 2px 2px 0px var(--paper-white);
    margin: 1rem 0;
    z-index: 1;
    position: relative;
    background: var(--scratch-gold);
    padding: 1rem;
    border: 2px solid var(--rich-black);
    letter-spacing: 0.05em;
    box-shadow: 3px 3px 0px var(--rich-black);
}

.solscan-link {
    font-family: 'Inter', sans-serif;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--deep-blue);
    color: var(--paper-white);
    text-decoration: none;
    border: 2px solid var(--rich-black);
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    box-shadow: 3px 3px 0px var(--rich-black);
    margin-top: auto;
}

.solscan-link:hover {
    background: var(--electric-teal);
    color: var(--rich-black);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px var(--rich-black);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Remove old animations */
.jackpot-amount.updating #jackpot-value {
    /* Slot machine reels handle their own animations */
}

.jackpot-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--deep-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
    animation: retro-blink 2s ease-in-out infinite;
}

@keyframes retro-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

/* Main Timer Display in Hero Section */
.main-timer {
    margin-top: 20px;
    text-align: center;
}

.timer-label {
    color: var(--deep-blue);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.countdown-display {
    font-family: 'PressStart2P', monospace;
    font-size: 2rem;
    color: var(--cherry-red);
    font-weight: bold;
    text-shadow: 
        2px 2px 0px var(--deep-blue),
        3px 3px 0px rgba(29, 53, 87, 0.3);
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.countdown-display span {
    display: inline-block;
    padding: 0.2em 0.1em;
    transition: all 0.15s ease;
}

.countdown-display.timer-warning {
    color: var(--scratch-gold);
    animation: pulse-yellow 1s ease-in-out infinite alternate;
}

.countdown-display.timer-critical {
    color: var(--cherry-red);
    animation: pulse-red 0.5s ease-in-out infinite alternate;
}

/* Blockchain View Buttons */
.blockchain-view-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.blockchain-view-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.6);
    color: var(--paper-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    font-family: 'PressStart2P', monospace;
    font-size: 0.6rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    text-align: center;
}

.blockchain-view-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 215, 0, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.blockchain-view-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .blockchain-view-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blockchain-view-btn {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE STYLES ===== */

/* Large Mobile / Small Tablet - 768px and below */
@media screen and (max-width: 768px) {
    /* Hero Section Mobile */
    #hero {
        padding: 1.5rem 1rem;
        min-height: 70vh;
    }
    
    #hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    #hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-content {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    /* Buy Button Mobile */
    .buy-now-btn {
        font-size: 0.9rem;
        padding: 1.2rem 2rem;
        letter-spacing: 0.1em;
    }
    
    /* Hero Social Mobile */
    .hero-social {
        gap: 0.8rem;
    }
    
    .hero-social .social-link {
        width: 45px;
        height: 45px;
    }
    
    .hero-social .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    /* Jackpot Display Mobile */
    .jackpot-display {
        padding: 1.5rem;
        gap: 1.5rem;
        margin: 0 1rem;
    }
    
    .jackpot-section {
        gap: 0.8rem;
    }
    
    .jackpot-label {
        font-size: 0.9rem;
    }
    
    .jackpot-amount.major #major-jackpot-value,
    .jackpot-amount.minor #jackpot-value {
        font-size: 2.5rem;
    }
    
    .currency-symbol {
        font-size: 2rem;
    }

     .currency-symbol-2 {
        font-size: 1.2rem;
    }
    
    .jackpot-subtitle {
        font-size: 0.8rem;
    }
    
    /* Timer Mobile */
    .sticky-timer,
    .daily-timer {
        padding: 0.8rem 1rem;
        margin: 0.5rem;
        font-size: 0.8rem;
    }
    
    .sticky-timer-display,
    .daily-timer-display {
        font-size: 1.5rem;
    }
    
    /* Blockchain Buttons Mobile */
    .blockchain-view-container {
        flex-direction: column;
        gap: 0.8rem;
        margin: 0 1rem;
    }
    
    .blockchain-view-btn {
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem;
        flex: 1;
    }
    
    /* Winners Section Mobile */
    #previous-winners {
        padding: 2rem 1rem;
    }
    
    .winners-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .total-winnings {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .total-winnings-label {
        font-size: 0.9rem;
    }
    
    .total-winnings-amount {
        font-size: 1.2rem;
    }
    
    .winners-controls {
        margin-bottom: 1.5rem;
    }
    
    .filter-dropdown {
        width: 100%;
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .winners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .winner-ball {
        padding: 1rem;
        min-height: 120px;
    }
    
    .wallet-address {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }
    
    .prize-amount {
        font-size: 0.9rem;
    }
    
    /* Tokenomics Mobile */
    #tokenomics {
        padding: 2rem 1rem;
    }
    
    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tokenomics-card {
        padding: 1.5rem;
    }
    
    .tokenomics-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .tokenomics-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* FAQ Mobile */
    #faq {
        padding: 2rem 1rem;
    }
    
    .faq-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .faq-container {
        gap: 0.8rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Footer Mobile */
    footer {
        padding: 1.5rem 1rem;
    }
    
    .footer-disclaimer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
}

/* Small Mobile - 480px and below */
@media screen and (max-width: 480px) {
    /* Hero Extra Small Mobile */
    #hero {
        padding: 1rem 0.5rem;
        min-height: 60vh;
    }
    
    #hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    #hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Buy Button Extra Small */
    .buy-now-btn {
        font-size: 0.8rem;
        padding: 1rem 1.5rem;
        letter-spacing: 0.05em;
    }
    
    /* Jackpot Extra Small */
    .jackpot-display {
        padding: 1rem;
        margin: 0 0.5rem;
        gap: 1rem;
    }
    
    .jackpot-amount.major #major-jackpot-value,
    .jackpot-amount.minor #jackpot-value {
        font-size: 2rem;
    }
    
    .currency-symbol {
        font-size: 1.5rem;
    }
    
    .jackpot-label {
        font-size: 0.8rem;
    }
    
    /* Timer Extra Small */
    .sticky-timer,
    .daily-timer {
        padding: 0.6rem 0.8rem;
        margin: 0.3rem;
        font-size: 0.7rem;
    }
    
    .sticky-timer-display,
    .daily-timer-display {
        font-size: 1.2rem;
    }
    
    /* Winners Grid Single Column */
    .winners-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .winner-ball {
        padding: 0.8rem;
        min-height: 100px;
    }
    
    /* Blockchain Buttons Stack */
    .blockchain-view-btn {
        font-size: 0.7rem;
        padding: 0.6rem 1rem;
    }
    
    /* Container Padding */
    .container {
        padding: 0 0.5rem;
    }
    
    /* Section Padding Reduction */
    #previous-winners,
    #tokenomics,
    #faq {
        padding: 1.5rem 0.5rem;
    }
}

/* Extra Small Mobile - 320px and below */
@media screen and (max-width: 320px) {
    #hero h1 {
        font-size: 1.5rem;
    }
    
    .buy-now-btn {
        font-size: 0.7rem;
        padding: 0.8rem 1.2rem;
    }
    
    .jackpot-amount.major #major-jackpot-value,
    .jackpot-amount.minor #jackpot-value {
        font-size: 1.8rem;
    }
    
    .currency-symbol {
        font-size: 1.2rem;
    }
    
    .sticky-timer-display,
    .daily-timer-display {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 0.3rem;
    }
} 

.hero-content,
.mode-select,
.mode-panels,
.jackpot-display,
#previous-winners .container,
#tokenomics .container,
#faq .container {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content { width: 100%; }
.mode-select, .mode-panels, .jackpot-display { width: 100%; }
