/* ============================================
   DAILY LOTTO - LOTTERY RESULTS & SPORTS BETTING
   Green/Gold Lottery Theme - Mobile First
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1a5d1a;
    --primary-dark: #0d3d0d;
    --primary-light: #2d7d2d;
    --gold: #ffd700;
    --gold-dark: #d4af00;
    --gold-light: #ffe44d;
    --accent: #ff4444;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #6c757d;
    --gray-700: #495057;
    --gray-900: #212529;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --powerball-red: #e63946;
    --powerball-plus: #4a90d9;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --shadow-gold: 0 4px 20px rgba(255,215,0,0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-100);
    color: var(--gray-900);
    line-height: 1.6;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
.gold {
    color: var(--gold);
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.nav {
    display: none;
    gap: 0.5rem;
}

.nav-link {
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.15);
}

.nav-link.cta-nav {
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
}

.nav-link.cta-nav:hover {
    background: var(--gold-light);
}

.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Navigation */
.mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 0.5rem;
}

.mobile-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    font-size: 0.7rem;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-link.active {
    color: var(--primary);
    background: var(--gray-100);
}

.mobile-nav-link.highlight {
    color: var(--gold-dark);
    font-weight: 600;
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 2rem 0 1rem;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-title .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-date {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-badge,
.jackpot-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Jackpot Ticker */
.jackpot-ticker {
    background: var(--black);
    padding: 0.75rem 0;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--white);
}

.ticker-content .divider {
    color: var(--gold);
}

/* Powerball Hero */
.powerball-hero {
    padding: 3rem 0;
}

.jackpot-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 4px 20px rgba(255,215,0,0.5);
    margin: 0.5rem 0;
}

.jackpot-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.countdown-item {
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    min-width: 60px;
}

.countdown-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
}

.countdown-label {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Sports Hero */
.sports-hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1a3d5c 0%, #2d5a7b 50%, #3d7aa0 100%);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 1rem 0;
    opacity: 0.9;
}

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

.hero-note {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   PAGE HEADERS
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    opacity: 0.9;
}

.lucky-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,215,0,0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-xlarge {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* ============================================
   RESULT CARDS
   ============================================ */

.results-section {
    padding: 2rem 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--gray-900);
}

.result-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.result-card.featured {
    border: 3px solid var(--gold);
    box-shadow: var(--shadow-gold);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.draw-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.draw-date {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Number Balls */
.winning-numbers {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.number-ball {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

.number-ball.large {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
}

.number-ball.powerball {
    background: linear-gradient(135deg, var(--powerball-red), #c0392b);
}

.number-ball.powerball-plus {
    background: linear-gradient(135deg, var(--powerball-plus), #357abd);
}

.number-ball.generated {
    background: linear-gradient(135deg, var(--gray-300), var(--gray-200));
    color: var(--gray-500);
}

.powerball-label {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: -0.5rem;
}

.powerball-text {
    color: var(--powerball-red);
    font-weight: 600;
}

/* Prize Details */
.result-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.prize-info {
    text-align: center;
}

.prize-info .label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
}

.prize-info .amount {
    font-size: 1.25rem;
    font-weight: 700;
}

.prize-info .amount.rollover {
    color: var(--accent);
}

/* Prize Breakdown */
.prize-breakdown {
    margin-top: 1rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}

.prize-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
}

.prize-row.header {
    font-weight: 600;
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.prize-row .tier {
    color: var(--gray-700);
}

.prize-row .winners {
    text-align: center;
}

.prize-row .prize {
    text-align: right;
    font-weight: 600;
    color: var(--primary);
}

.prize-row .prize.rollover {
    color: var(--accent);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-card.full {
    padding: 3rem 2rem;
}

.cta-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-text {
    opacity: 0.9;
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-features .feature {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.cta-note {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 1rem;
}

.cta-visual {
    display: none;
}

.sports-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.sport-icon {
    font-size: 3rem;
}

/* CTA Benefits */
.cta-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit-text {
    font-weight: 600;
}

/* Odds Comparison */
.odds-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem auto;
    max-width: 300px;
}

.odds-item {
    display: flex;
    justify-content: space-between;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.odds-item.highlight {
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
}

/* Luck Comparison */
.luck-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem auto;
    max-width: 350px;
}

.luck-item {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    text-align: left;
}

.luck-item.highlight {
    background: var(--gold);
    color: var(--black);
}

.luck-type {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.luck-desc {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ============================================
   QUICK LINKS
   ============================================ */

.quick-links {
    padding: 2rem 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quick-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.quick-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.quick-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.quick-card p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ============================================
   HOW IT WORKS / STEPS
   ============================================ */

.how-it-works,
.how-to-play,
.how-to-start {
    padding: 2rem 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.step p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.rule-card {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.rule-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.rule-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.rule-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ============================================
   FILTER SECTION
   ============================================ */

.filter-section {
    padding: 1rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-select {
    flex: 1;
    min-width: 150px;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--white);
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    padding: 2rem 0;
    background: var(--gray-100);
}

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

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Number Stats */
.number-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-group {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.stat-group h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.stat-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.stat-numbers .stat-number {
    text-align: center;
}

.stat-numbers .num {
    display: block;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 auto 0.25rem;
}

.stat-numbers.cold .num {
    background: var(--gray-400);
}

.stat-numbers .count {
    font-size: 0.7rem;
    color: var(--gray-500);
}

.stats-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

/* ============================================
   MINI RESULTS (Previous Draws)
   ============================================ */

.previous-results {
    padding: 2rem 0;
}

.mini-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mini-result {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.mini-date {
    font-size: 0.875rem;
    color: var(--gray-500);
    min-width: 80px;
}

.mini-numbers {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mini-numbers span {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.mini-numbers .pb {
    background: var(--powerball-red);
}

/* ============================================
   SPORTS SECTION
   ============================================ */

.sports-section {
    padding: 2rem 0;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sport-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sport-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sport-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.sport-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.sport-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

/* ============================================
   MATCHES SECTION
   ============================================ */

.matches-section {
    padding: 2rem 0;
    background: var(--gray-100);
}

.matches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.match-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.match-time {
    display: inline-block;
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.match-teams {
    text-align: center;
    margin-bottom: 0.75rem;
}

.match-teams .team {
    font-weight: 600;
    font-size: 1rem;
}

.match-teams .vs {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin: 0.25rem 0;
}

.match-odds {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.match-odds .odd {
    background: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

.odds-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

/* ============================================
   WHY SECTION (Comparison Table)
   ============================================ */

.why-section {
    padding: 2rem 0;
    background: var(--white);
}

.comparison-table {
    max-width: 500px;
    margin: 0 auto;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    padding: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
    text-align: center;
}

.comparison-row.header {
    font-weight: 600;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.comparison-row .highlight {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   GENERATOR SECTION
   ============================================ */

.generator-section {
    padding: 2rem 0;
}

.generator-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.generator-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.generator-desc {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.generated-numbers {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.generate-btn {
    margin-bottom: 1.5rem;
}

.generator-history {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: left;
}

.generator-history h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.history-empty {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-style: italic;
}

/* Quick Pick */
.quick-pick-section {
    padding: 2rem 0;
    background: var(--gray-100);
}

.quick-pick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-pick-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.quick-pick-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.quick-pick-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.date-input,
.text-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: inherit;
    margin-bottom: 0.75rem;
}

.hot-numbers,
.cold-numbers {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.hot-num,
.cold-num {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.hot-num {
    background: var(--accent);
}

.cold-num {
    background: var(--gray-400);
}

/* ============================================
   TIPS SECTION
   ============================================ */

.tips-section {
    padding: 2rem 0;
    background: var(--white);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tip-card {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.tip-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.tip-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tip-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: 2rem 0;
    background: var(--gray-100);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.faq-question {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.faq-answer {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-col p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--gold);
}

.helpline {
    margin-top: 1rem;
}

.helpline a {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 700;
}

.age-restriction {
    margin-top: 1rem;
    font-size: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.disclaimer {
    color: var(--gold);
    opacity: 0.8 !important;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .jackpot-amount {
        font-size: 4rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .number-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sports-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .matches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer {
        padding-bottom: 3rem;
    }
    
    .quick-pick-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tips-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .rules-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 3rem;
    }
    
    .cta-content {
        flex: 1;
    }
    
    .cta-visual {
        display: block;
    }
    
    .cta-features {
        justify-content: flex-start;
    }
    
    .sports-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .sport-card {
        padding: 1.25rem;
    }
    
    .sport-emoji {
        font-size: 2.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.number-ball.animate {
    animation: bounce 0.5s ease;
}

.btn-primary:hover {
    animation: pulse 0.3s ease;
}

.generate-btn:active {
    animation: shake 0.3s ease;
}

/* Generated number animation */
.number-ball.generated.show {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    animation: bounce 0.5s ease;
}

.number-ball.generated.show.powerball {
    background: linear-gradient(135deg, var(--powerball-red), #c0392b);
}
