/* ==========================================================================
   PowerballDraw.live — Master Premium Design System
   High-converting US Lottery UI with 3D Glossy Balls & Dark Glassmorphism
   ========================================================================== */

:root {
    --bg-dark: #070913;
    --bg-surface: #0f1629;
    --bg-card: rgba(18, 26, 48, 0.85);
    --bg-card-hover: rgba(28, 38, 68, 0.95);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(239, 68, 68, 0.35);
    --border-gold: rgba(250, 204, 21, 0.4);
    
    --primary-red: #ef4444;
    --primary-red-hover: #dc2626;
    --red-glow: rgba(239, 68, 68, 0.45);
    
    --gold: #facc15;
    --gold-dark: #eab308;
    --gold-glow: rgba(250, 204, 21, 0.4);
    
    --blue-accent: #38bdf8;
    --green-win: #10b981;
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(239, 68, 68, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(250, 204, 21, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 70%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding-bottom: 70px; /* Space for floating sticky bar */
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: #fff;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* ==========================================================================
   Continuous 60FPS Stock / News Marquee Ticker
   ========================================================================== */
.top-ticker {
    background: linear-gradient(90deg, #130b24 0%, #260a16 50%, #130b24 100%);
    border-bottom: 1px solid rgba(250, 204, 21, 0.25);
    height: 38px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 1001;
    user-select: none;
}

.ticker-badge-wrap {
    position: relative;
    z-index: 5;
    background: linear-gradient(90deg, #130b24 75%, rgba(19, 11, 36, 0) 100%);
    padding: 0 16px 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ticker-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
    animation: tickerMarquee 42s linear infinite;
}

.top-ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-group {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-item {
    font-size: 12.5px;
    color: #cbd5e1;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.ticker-game {
    font-weight: 700;
    color: #fff;
}
.text-red { color: #f87171 !important; }
.text-gold { color: #facc15 !important; }
.text-blue { color: #38bdf8 !important; }
.text-purple { color: #c084fc !important; }
.text-green { color: #34d399 !important; }

.ticker-val {
    color: var(--gold);
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

.ticker-sub {
    color: #94a3b8;
    font-size: 11px;
}

.ticker-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    padding: 0 4px;
}

.ticker-link {
    color: var(--gold);
    font-weight: 700;
    transition: all 0.2s ease;
    text-decoration: none;
    border-bottom: 1px dashed rgba(250, 204, 21, 0.5);
    padding-bottom: 1px;
}
.ticker-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

@keyframes tickerMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================================
   Header & Main Navigation
   ========================================================================== */
.site-header {
    background: rgba(7, 9, 19, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 15px;
    max-width: 1280px;
}


.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    transition: transform 0.25s ease;
}
.site-logo:hover .logo-img {
    transform: scale(1.06);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-symbol {
    display: flex;
    gap: 4px;
}

.logo-ball {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 2px 3px rgba(255, 255, 255, 0.5);
}

.logo-ball.red {
    background: radial-gradient(circle at 35% 35%, #ff7878 0%, #dc2626 60%, #7f1d1d 100%);
}
.logo-ball.yellow {
    background: radial-gradient(circle at 35% 35%, #fef08a 0%, #eab308 60%, #854d0e 100%);
    color: #000;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-title strong {
    color: var(--primary-red);
}

.brand-tagline {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.nav-list li {
    display: inline-block;
    white-space: nowrap;
}

.nav-list li a {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 13.5px;
    padding: 7px 11px;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-block;
    transition: all 0.2s ease;
}

.nav-list li a:hover,
.nav-list li.active a {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 13.5px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-sm {
    padding: 7px 15px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
}

.btn-gold {
    background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
    color: #0b0f19;
    box-shadow: 0 4px 15px var(--gold-glow);
}
.btn-gold:hover {
    background: linear-gradient(135deg, #fff 0%, #facc15 100%);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.55);
}

.btn-primary {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--red-glow);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #f87171 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(239, 68, 68, 0.6);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.btn-outline-gold {
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: #000;
}

.pulse-gold {
    animation: pulse-gold-glow 2.5s infinite;
}

@keyframes pulse-gold-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(250, 204, 21, 0.35); }
    50% { box-shadow: 0 0 25px rgba(250, 204, 21, 0.7); }
}

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

/* ==========================================================================
   Ad Banner Containers (Adsterra / Monetag High-CTR)
   ========================================================================== */
.ad-banner-top {
    margin: 16px auto;
}

.ad-card {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.6) 0%, rgba(49, 16, 26, 0.6) 100%);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 12px;
    padding: 12px 18px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}
.ad-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(250, 204, 21, 0.2);
}

.ad-tag {
    position: absolute;
    top: 6px;
    right: 12px;
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ad-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ad-icon {
    font-size: 28px;
}

.ad-body {
    flex: 1;
    font-size: 14px;
    color: #e2e8f0;
}

.ad-body strong {
    color: #fff;
    display: block;
}

.ad-sub {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}

.ad-banner-mid {
    margin: 35px auto;
}

.ad-card-native {
    background: linear-gradient(135deg, #111827 0%, #1e1b4b 50%, #172554 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px;
    padding: 24px 28px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
}
.ad-card-native:hover {
    border-color: var(--blue-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.25);
}

.ad-native-grid {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ad-native-badge {
    background: var(--gold);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.ad-native-copy {
    flex: 1;
}

.ad-native-copy h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #fff;
    margin-bottom: 4px;
}

.ad-native-copy p {
    color: #cbd5e1;
    font-size: 14px;
}

/* ==========================================================================
   Hero Section & Main Jackpot Card
   ========================================================================== */
.hero-section {
    padding: 25px 0 35px 0;
}

.hero-header {
    margin-bottom: 25px;
}

.live-pill {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.hero-title, .page-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 8px;
}

.hero-subtitle, .page-lead {
    font-size: 16px;
    color: var(--text-secondary);
}

.hero-subtitle strong {
    color: var(--gold);
}

/* Main Hero Jackpot Card */
.jackpot-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(239, 68, 68, 0.15);
}

.card-glass-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.jackpot-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.jackpot-badge-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.game-badge {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.badge-powerball {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 2px 10px var(--red-glow);
}

.badge-megamillions {
    background: #eab308;
    color: #000;
    box-shadow: 0 2px 10px var(--gold-glow);
}

.badge-lotto-max {
    background: #0284c7;
    color: #fff;
}

.jackpot-estimate-badge {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
}

.jackpot-amount {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(250, 204, 21, 0.4);
    margin-bottom: 6px;
}

.jackpot-cash-value {
    color: #cbd5e1;
    font-size: 14px;
}

.jackpot-cash-value strong {
    color: #fff;
}

/* ==========================================================================
   3D Realistic Lottery Balls System
   ========================================================================== */
.balls-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 25px 0;
    position: relative;
    z-index: 2;
}

.small-balls {
    gap: 8px;
    margin: 15px 0;
}

.ball {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    user-select: none;
    position: relative;
    cursor: default;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ball:hover {
    transform: translateY(-4px) scale(1.05);
}

.small-balls .ball {
    width: 44px;
    height: 44px;
    font-size: 17px;
}

/* White 3D Sphere */
.ball-white {
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1f5f9 45%, #cbd5e1 75%, #94a3b8 100%);
    color: #0f172a;
    box-shadow: 
        0 8px 18px rgba(0, 0, 0, 0.5),
        inset 0 3px 6px rgba(255, 255, 255, 0.9),
        inset 0 -4px 6px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Powerball Red 3D Sphere */
.ball-powerball {
    background: radial-gradient(circle at 35% 30%, #ff8080 0%, #ef4444 45%, #b91c1c 75%, #7f1d1d 100%);
    color: #ffffff;
    box-shadow: 
        0 8px 22px var(--red-glow),
        inset 0 3px 6px rgba(255, 255, 255, 0.8),
        inset 0 -4px 6px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 120, 120, 0.5);
}

/* Mega Millions Gold 3D Sphere */
.ball-megaball {
    background: radial-gradient(circle at 35% 30%, #fef08a 0%, #eab308 45%, #ca8a04 75%, #713f12 100%);
    color: #172554;
    box-shadow: 
        0 8px 22px var(--gold-glow),
        inset 0 3px 6px rgba(255, 255, 255, 0.8),
        inset 0 -4px 6px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(254, 240, 138, 0.5);
}

/* Canada Lotto Max Responsive Balls Container */
.canada-balls-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 15px 0;
}
.canada-balls-container .balls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

/* Canada Bonus Ball */
.bonus-ball-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.bonus-lbl {
    font-size: 9px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(56, 189, 248, 0.4);
}

.ball-bonus {
    background: radial-gradient(circle at 35% 30%, #7dd3fc 0%, #0284c7 45%, #0369a1 75%, #082f49 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4), inset 0 3px 6px rgba(255, 255, 255, 0.8);
}

/* Multiplier Pill */
.multiplier-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mult-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mult-val {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--gold);
    font-size: 16px;
}

/* Double Play Box */
.double-play-row {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px auto;
    max-width: 500px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.dp-tag {
    font-size: 11px;
    font-weight: 900;
    color: #f87171;
    letter-spacing: 0.5px;
}

.dp-numbers {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
}

.dp-prize {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
}

/* ==========================================================================
   Live Countdown Widget
   ========================================================================== */
.countdown-widget {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    margin: 20px auto;
    max-width: 520px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.countdown-title {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.countdown-boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.count-box {
    background: rgba(18, 26, 48, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 60px;
}

.count-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.count-lbl {
    display: block;
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.count-sep {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-red);
}

.card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Secondary Games Grid (Mega Millions & Canada Lotto Max)
   ========================================================================== */
.section {
    padding: 35px 0;
}

.section-title {
    margin-bottom: 25px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 14px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.game-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.draw-date {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.game-jackpot {
    margin-bottom: 12px;
}

.game-jackpot .sub-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-jackpot .jackpot-val {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.1;
}

.game-jackpot .cash-opt {
    font-size: 12px;
    color: var(--text-secondary);
}

.wrap-balls {
    flex-wrap: wrap;
}

.game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--text-muted);
}

.link-arrow {
    color: var(--gold);
    font-weight: 700;
}

/* ==========================================================================
   Interactive Tools Section (Quick Pick & Ticket Checker)
   ========================================================================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 26px;
    position: relative;
}

.large-tool-card {
    max-width: 800px;
    margin: 0 auto;
}

.tool-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.tool-icon {
    font-size: 32px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 12px;
    line-height: 1;
}

.tool-card-head h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #fff;
    margin-bottom: 2px;
}

.tool-card-head p {
    font-size: 13px;
    color: var(--text-secondary);
}

.checker-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group label, .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.balls-input-row {
    display: flex;
    gap: 8px;
}

.ball-input {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    transition: all 0.2s ease;
}

.ball-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
}

.ball-input-pb {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}
.ball-input-pb:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 12px var(--red-glow);
}

.powerball-input-wrap {
    max-width: 100px;
}

.checker-result-area {
    margin-top: 15px;
}

.result-alert {
    border-radius: 12px;
    padding: 16px;
}

.alert-warning {
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.4);
    color: #fef08a;
    font-size: 13px;
}

.alert-jackpot {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(234, 179, 8, 0.25) 100%);
    border: 2px solid var(--gold);
    box-shadow: 0 0 30px var(--gold-glow);
}

.alert-big-win {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--green-win);
}

.alert-win {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid var(--blue-accent);
}

.alert-loss {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.result-status {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.result-payout strong {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 18px;
}

.result-breakdown {
    font-size: 13px;
    color: #cbd5e1;
}

/* Quick Pick Generator */
.generator-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.quickpick-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.large-display {
    padding: 35px 20px;
}

.btn-group-row {
    display: flex;
    gap: 10px;
}

/* ==========================================================================
   Data Tables & Prize Payouts
   ========================================================================== */
.table-responsive {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.data-table, .payouts-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.data-table th, .payouts-table th {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-secondary);
    padding: 14px 18px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.data-table td, .payouts-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.data-table tr:last-child td, .payouts-table tr:last-child td {
    border-bottom: none;
}

.table-balls {
    display: flex;
    gap: 6px;
}

.mini-ball {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    background: #f1f5f9;
    color: #0f172a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mini-pb {
    background: var(--primary-red);
    color: #fff;
    box-shadow: 0 2px 6px var(--red-glow);
}

.mini-mb {
    background: var(--gold);
    color: #000;
    box-shadow: 0 2px 6px var(--gold-glow);
}

.multiplier-tag {
    background: rgba(250, 204, 21, 0.15);
    color: var(--gold);
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.dp-tag-table {
    font-size: 12px;
    color: var(--text-muted);
}

.highlight-row {
    background: rgba(250, 204, 21, 0.08);
}

.text-gold {
    color: var(--gold);
}

.odds-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    user-select: none;
    outline: none;
    list-style: none;
    position: relative;
}

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

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    color: var(--gold);
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px 18px 20px;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

.faq-answer strong {
    color: #fff;
}

/* Stats Grid for Number Generator */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px;
}

.stat-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #fff;
    margin-bottom: 14px;
}

.stat-balls-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.stat-balls-row .ball {
    width: 44px;
    height: 44px;
    font-size: 17px;
}

.stat-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.guide-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.guide-box h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 12px;
    color: #fff;
}

.guide-list {
    padding-left: 20px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
    background: #05070e;
    border-top: 1px solid var(--border-color);
    padding: 50px 0 20px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.responsible-play-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    color: #cbd5e1;
}

.badge-18 {
    background: #ef4444;
    color: #fff;
    font-weight: 900;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    color: #fff;
    margin-bottom: 14px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
}
.footer-links a:hover {
    color: var(--gold);
}

.disclaimer-text {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-sub-links {
    display: flex;
    gap: 18px;
}

.footer-sub-links a {
    color: var(--text-muted);
}
.footer-sub-links a:hover {
    color: #fff;
}

/* ==========================================================================
   Sticky Floating Bottom Bar
   ========================================================================== */
.floating-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #111827 0%, #1e1b4b 50%, #0f172a 100%);
    border-top: 1px solid var(--border-gold);
    padding: 10px 0;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
}

.sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.sticky-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #e2e8f0;
}

.sticky-text strong {
    color: var(--gold);
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.sticky-close:hover {
    color: #fff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */


/* ==========================================================================
   State Directory Programmatic SEO Grid
   ========================================================================== */
.state-directory-section {
    padding: 30px 0;
}
.state-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.state-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    transition: all 0.2s ease;
}
.state-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}
.state-flag {
    font-size: 16px;
}

/* ==========================================================================
   Editorial & News Section Styles
   ========================================================================== */
.category-tabs-bar {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    overflow-x: auto;
    padding-bottom: 8px;
}
.cat-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.cat-pill:hover, .cat-pill.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
.featured-news-card {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.7) 0%, rgba(18, 26, 48, 0.9) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 32px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    margin-bottom: 30px;
}
.featured-news-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}
.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.news-cat {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}
.featured-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}
.featured-excerpt {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}
.meta-dot {
    color: var(--text-muted);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 25px 0;
}
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}
.news-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.35;
}
.news-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

/* Article Reader Layout */
.article-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}
.article-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
}
.article-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
    margin-bottom: 25px;
}
.article-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 800;
    color: #fff;
    margin: 12px 0 16px 0;
    line-height: 1.25;
}
.article-byline {
    display: flex;
    align-items: center;
    gap: 14px;
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, #b45309 100%);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.byline-info strong {
    display: block;
    color: #fff;
    font-size: 14px;
}
.byline-info span {
    font-size: 12px;
    color: var(--text-muted);
}
.key-takeaways-box {
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 25px;
}
.key-takeaways-box h4 {
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}
.key-takeaways-box p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}
.in-article-ad {
    background: linear-gradient(135deg, #1e1b4b 0%, #172554 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 12px;
    padding: 14px 20px;
    cursor: pointer;
    position: relative;
    margin: 25px 0;
    transition: all 0.2s ease;
}
.in-article-ad:hover {
    border-color: var(--blue-accent);
}
.article-body-content {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.8;
}
.article-body-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 30px 0 14px 0;
}
.article-body-content p {
    margin-bottom: 18px;
}
.article-body-content ul, .article-body-content ol {
    margin: 15px 0 20px 25px;
}
.article-body-content li {
    margin-bottom: 10px;
}
.author-bio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.bio-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bio-text h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
}
.bio-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.article-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
}
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
}
.widget-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
}
.sidebar-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.ad-widget {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.5) 0%, rgba(18, 26, 48, 0.8) 100%);
    cursor: pointer;
    position: relative;
}

/* ==========================================================================
   Master Clean Responsive Media Queries (Zero Horizontal Overflow, 100% Mobile Fluid)
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

img, video, canvas, svg {
    max-width: 100% !important;
    height: auto !important;
}

.balls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .header-container {
        padding: 10px 16px;
    }
    .nav-list li a {
        font-size: 13px;
        padding: 6px 9px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 90px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 14px !important;
        box-sizing: border-box !important;
    }

    /* Top Ticker Mobile */
    .top-ticker {
        height: 34px !important;
        padding: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    .ticker-badge-wrap {
        padding: 0 10px 0 8px !important;
    }
    .ticker-badge {
        font-size: 9.5px !important;
        padding: 2px 6px !important;
        letter-spacing: 0.5px !important;
    }
    .ticker-item {
        font-size: 11.5px !important;
        padding: 0 10px !important;
    }
    .ticker-track {
        animation-duration: 34s !important;
    }

    /* Header & Navigation */
    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        width: 100% !important;
        background: rgba(7, 9, 19, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }
    .header-container {
        padding: 10px 14px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }
    
.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    transition: transform 0.25s ease;
}
.site-logo:hover .logo-img {
    transform: scale(1.06);
}

.site-logo {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        max-width: calc(100% - 48px) !important;
        overflow: hidden !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        text-decoration: none !important;
    }
    .brand-title {
        font-size: 15px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.2 !important;
        display: block !important;
    }
    .brand-tagline {
        display: none !important;
    }
    .logo-symbol {
        display: flex !important;
        gap: 3px !important;
        flex-shrink: 0 !important;
    }
    .logo-ball {
        width: 26px !important;
        height: 26px !important;
        font-size: 13px !important;
        flex-shrink: 0 !important;
    }
    .header-cta {
        display: none !important;
    }

    /* Hamburger Menu Button */
    .nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        width: 36px !important;
        height: 36px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        padding: 6px !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }
    .nav-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #fff !important;
        border-radius: 2px !important;
        transition: all 0.25s ease !important;
    }
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg) !important;
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg) !important;
    }

    /* Mobile Dropdown Nav Drawer */
    .main-nav {
        display: none;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(11, 15, 25, 0.98) !important;
        border-bottom: 2px solid var(--primary-red) !important;
        padding: 14px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8) !important;
        z-index: 9998 !important;
        box-sizing: border-box !important;
    }
    .main-nav.nav-open {
        display: block !important;
    }
    .nav-list {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .nav-list li {
        width: 100% !important;
    }
    .nav-list li a {
        display: block !important;
        font-size: 14px !important;
        padding: 10px 14px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border-radius: 8px !important;
        color: #fff !important;
        width: 100% !important;
    }

    /* Ad Units */
    .ad-banner-top, .ad-banner-mid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 14px !important;
        box-sizing: border-box !important;
        margin: 12px auto !important;
    }
    .ad-card {
        padding: 12px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .ad-banner-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .ad-body {
        font-size: 13px !important;
        line-height: 1.4 !important;
        width: 100% !important;
        word-break: break-word !important;
    }
    .ad-banner-content .btn {
        width: 100% !important;
        text-align: center !important;
    }
    .ad-card-native {
        padding: 16px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .ad-native-grid {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .ad-native-grid .btn {
        width: 100% !important;
        text-align: center !important;
    }

    /* Hero & Jackpot Display */
    .hero-section {
        padding: 12px 0 20px 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    .hero-title, .page-title {
        font-size: 20px !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
        padding: 0 4px !important;
    }
    .hero-subtitle, .page-lead {
        font-size: 12.5px !important;
        padding: 0 4px !important;
    }
    .live-pill {
        font-size: 10.5px !important;
        padding: 4px 10px !important;
    }
    .jackpot-card {
        padding: 16px 10px !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .jackpot-badge-row {
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: center !important;
        margin-bottom: 8px !important;
    }
    .game-badge {
        font-size: 11.5px !important;
        padding: 3px 10px !important;
    }
    .jackpot-estimate-badge {
        font-size: 10px !important;
        letter-spacing: 0.5px !important;
    }
    .jackpot-amount {
        font-size: clamp(28px, 8.5vw, 42px) !important;
        line-height: 1.1 !important;
        word-break: break-word !important;
    }
    .jackpot-cash-value {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
    }

    /* 3D Realistic Lottery Balls on Mobile */
    .balls-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 14px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .balls-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .ball {
        width: 40px !important;
        height: 40px !important;
        font-size: 15.5px !important;
        flex-shrink: 0 !important;
    }
    .small-balls, .wrap-balls {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .small-balls .ball {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
        flex-shrink: 0 !important;
    }
    /* Canada Lotto Max 7+1 Mobile Optimization */
    .canada-balls-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 14px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .canada-balls-container .balls-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .canada-card .ball {
        width: clamp(28px, 7.5vw, 34px) !important;
        height: clamp(28px, 7.5vw, 34px) !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        flex-shrink: 0 !important;
    }
    .canada-balls-container .bonus-ball-wrap {
        flex-basis: 100% !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 10px auto 0 !important;
    }
    .canada-balls-container .bonus-lbl {
        background: rgba(2, 132, 199, 0.2) !important;
        border: 1px solid rgba(56, 189, 248, 0.5) !important;
        color: #38bdf8 !important;
        padding: 3px 10px !important;
        border-radius: 20px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        letter-spacing: 0.6px !important;
        text-shadow: 0 1px 4px rgba(56, 189, 248, 0.4) !important;
    }
    .multiplier-pill {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 8px auto 0 !important;
        width: auto !important;
        max-width: fit-content !important;
        padding: 5px 12px !important;
        border-radius: 30px !important;
        font-size: 11.5px !important;
        flex: 0 0 auto !important;
    }
    .balls-container .multiplier-pill {
        flex-basis: 100% !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin: 8px auto 0 !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }

    /* Double Play */
    .double-play-row {
        flex-direction: column !important;
        gap: 6px !important;
        padding: 8px 10px !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .dp-numbers {
        font-size: 13.5px !important;
        letter-spacing: 1px !important;
        word-break: break-word !important;
    }

    /* Countdown Widget */
    .countdown-widget {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 6px !important;
        box-sizing: border-box !important;
    }
    .countdown-title {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    .countdown-boxes {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: 100% !important;
    }
    .count-box {
        flex: 1 1 0 !important;
        max-width: 60px !important;
        min-width: 0 !important;
        padding: 6px 2px !important;
        text-align: center !important;
    }
    .count-num {
        font-size: 17px !important;
    }
    .count-lbl {
        font-size: 8px !important;
    }
    .count-sep {
        font-size: 14px !important;
    }

    .card-actions {
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .card-actions .btn {
        width: 100% !important;
    }

    /* Secondary Games, Tools & Grids */
    .games-grid, .tools-grid, .news-grid, .stats-grid, .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .game-card, .tool-card, .news-card {
        padding: 16px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .balls-input-row {
        display: flex !important;
        gap: 4px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .ball-input {
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 0 !important;
        height: 38px !important;
        padding: 0 !important;
        text-align: center !important;
        font-size: 14px !important;
    }
    .quickpick-display {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 12px 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .btn-group-row {
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .btn-group-row .btn {
        width: 100% !important;
    }

    /* Stat Cards */
    .stat-balls-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    .stat-balls-row .ball {
        width: 38px !important;
        height: 38px !important;
        font-size: 14.5px !important;
    }

    /* Category Tabs */
    .category-tabs-bar {
        gap: 8px !important;
        padding-bottom: 6px !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .cat-pill {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    /* News & Article Styles */
    .featured-news-card {
        padding: 18px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .featured-title {
        font-size: 17px !important;
        line-height: 1.3 !important;
    }
    .article-meta {
        flex-wrap: wrap !important;
        gap: 6px !important;
        font-size: 11.5px !important;
    }
    .author-bio-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 16px 12px !important;
        gap: 12px !important;
    }

    /* State Directory */
    .state-pills-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .state-pill {
        padding: 8px 10px !important;
        font-size: 11.5px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Table Horizontal Scroll */
    .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
        margin: 15px 0 !important;
    }
    .data-table, .payouts-table {
        min-width: 480px !important;
        width: 100% !important;
    }

    /* Sticky Bottom Bar */
    .floating-sticky-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        padding: 8px 10px !important;
        z-index: 9999 !important;
    }
    .sticky-bar-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    .sticky-text {
        font-size: 11px !important;
        line-height: 1.3 !important;
        justify-content: center !important;
    }
    .sticky-actions {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .sticky-actions .btn {
        flex: 1 !important;
        width: auto !important;
        font-size: 12px !important;
        padding: 7px 10px !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 390px) {
    .container {
        padding: 0 10px !important;
    }
    
.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    transition: transform 0.25s ease;
}
.site-logo:hover .logo-img {
    transform: scale(1.06);
}

.site-logo {
        max-width: calc(100% - 44px) !important;
    }
    .canada-balls-container .balls-row {
        gap: 3px !important;
    }
    .canada-card .ball {
        width: 29px !important;
        height: 29px !important;
        font-size: 11.5px !important;
    }
    .brand-title {
        font-size: 14px !important;
    }
    .ball {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    .balls-row {
        gap: 4px !important;
    }
    .hero-title, .page-title {
        font-size: 18px !important;
    }
    .jackpot-amount {
        font-size: 26px !important;
    }
    .count-box {
        min-width: 36px !important;
        padding: 4px 1px !important;
    }
    .count-num {
        font-size: 15px !important;
    }
    .state-pills-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Footer State Lottery Directory */
.footer-states-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0 20px;
    margin-top: 30px;
}
.footer-states-row h4 {
    font-size: 15px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 6px;
}
.states-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.state-badges-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.state-badge-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.state-badge-item:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}
