/* ===============================
   KENO PAGE STYLES
   =============================== */

/* Global Variables */
:root {
    --primary-color: #e8c742;
    --secondary-color: #f4d03f;
    --accent-color: #dc2626;
    --golden-color: #fbbf24;
    --lucky-green: #059669;
    --power-purple: #7c3aed;
    --speed-red: #dc2626;
    --classic-brown: #8b5a2b;
    --dark-bg: #0a0a0a;
    --darker-bg: #1a1a1a;
    --light-text: #ffffff;
    --muted-text: #cccccc;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(220, 38, 38, 0.3);
    --golden-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    --lucky-gradient: linear-gradient(135deg, #059669 0%, #065f46 50%, #064e3b 100%);
    --power-gradient: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%);
    --speed-gradient: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    --keno-animation: kenoFloat 4s ease-in-out infinite;
}

/* ===============================
   PAGE HEADER
   =============================== */

.page-header {
    background: 
        linear-gradient(135deg, var(--dark-bg) 0%, var(--classic-brown) 50%, var(--golden-color) 100%),
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.2) 0%, transparent 50%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="8" fill="%23fbbf24" opacity="0.4"/><circle cx="80" cy="30" r="6" fill="%23dc2626" opacity="0.3"/><circle cx="30" cy="70" r="10" fill="%23059669" opacity="0.3"/><circle cx="70" cy="80" r="7" fill="%237c3aed" opacity="0.4"/><path d="M10 50 Q 50 30 90 50 Q 50 70 10 50" stroke="%23fbbf24" stroke-width="2" fill="none" opacity="0.2"/></svg>');
    background-size: 150px 150px;
    animation: floatNumbers 25s linear infinite;
}

@keyframes floatNumbers {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(30px) translateY(-20px); }
    50% { transform: translateX(60px) translateY(10px); }
    75% { transform: translateX(30px) translateY(-10px); }
    100% { transform: translateX(0) translateY(0); }
}

.page-header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-breadcrumb {
    margin-bottom: 2rem;
    color: var(--muted-text);
    font-size: 1rem;
}

.page-breadcrumb a {
    color: var(--golden-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
    color: var(--light-text);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--muted-text);
}

.breadcrumb-current {
    color: var(--golden-color);
    font-weight: 600;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--light-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-title-icon {
    font-size: 3.5rem;
    opacity: 0.9;
    animation: targetSpin 6s linear infinite;
}

@keyframes targetSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===============================
   KENO STATS SECTION
   =============================== */

.keno-stats {
    padding: 4rem 0;
    background: var(--golden-gradient);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.4);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: kenoFloat 3s ease-in-out infinite;
}

@keyframes kenoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ===============================
   LIVE KENO SECTION
   =============================== */

.live-keno {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.keno-board {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.keno-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05), rgba(220, 38, 38, 0.03));
    opacity: 0.5;
}

.keno-board-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.round-info, .draw-time, .next-draw {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.round-label, .time-label, .next-label {
    display: block;
    font-size: 0.9rem;
    color: var(--muted-text);
    margin-bottom: 0.5rem;
}

.round-number, .time-value, .countdown {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--golden-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown {
    animation: pulse 2s infinite;
}

.keno-numbers {
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.number-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-text);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.number-ball::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.number-ball.drawn {
    background: var(--golden-gradient);
    border-color: var(--golden-color);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    animation: numberGlow 2s ease-in-out infinite alternate;
}

.number-ball.drawn::before {
    width: 100%;
    height: 100%;
}

@keyframes numberGlow {
    0% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.6); }
    100% { box-shadow: 0 0 30px rgba(251, 191, 36, 0.8), 0 0 40px rgba(251, 191, 36, 0.4); }
}

.number-ball:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

.keno-stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--muted-text);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item .stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--golden-color);
}

/* ===============================
   KENO GAMES SECTION
   =============================== */

.keno-games {
    padding: 4rem 0;
    background: var(--golden-gradient);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(220, 38, 38, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 25px 50px rgba(251, 191, 36, 0.3);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card.featured {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.3);
}

.game-card.featured::after {
    content: '🌟 FEATURED';
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--golden-gradient);
    color: var(--dark-bg);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 3;
}

.game-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.game-info p {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.game-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.play-btn, .demo-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.play-btn {
    background: var(--golden-gradient);
    color: var(--dark-bg);
}

.demo-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--light-text);
}

.play-btn:hover, .demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

.game-details {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.game-stats .stat {
    text-align: center;
}

.game-stats .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.25rem;
}

.game-stats .stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--golden-color);
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.tag.hot {
    background: var(--speed-gradient);
    border-color: var(--speed-red);
    animation: pulse 2s infinite;
}

.tag.classic {
    background: linear-gradient(135deg, var(--classic-brown), #a16207);
    border-color: var(--classic-brown);
}

.tag.jackpot {
    background: var(--golden-gradient);
    color: var(--dark-bg);
    border-color: var(--golden-color);
    animation: jackpotGlow 2s ease-in-out infinite alternate;
}

.tag.fast {
    background: var(--speed-gradient);
    border-color: var(--speed-red);
}

.tag.frequent {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    border-color: #0ea5e9;
}

.tag.new {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
}

.tag.power {
    background: var(--power-gradient);
    border-color: var(--power-purple);
}

.tag.lucky {
    background: var(--lucky-gradient);
    border-color: var(--lucky-green);
}

.tag.bonus {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-color: #8b5cf6;
}

.tag.multiplier {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #f59e0b;
}

@keyframes jackpotGlow {
    from { box-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
    to { box-shadow: 0 0 20px rgba(251, 191, 36, 0.8), 0 0 30px rgba(251, 191, 36, 0.4); }
}

/* ===============================
   KENO BETTING SECTION
   =============================== */

.keno-betting {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.betting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.betting-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.betting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(220, 38, 38, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.betting-card:hover {
    transform: translateY(-8px);
    border-color: var(--golden-color);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.3);
}

.betting-card:hover::before {
    opacity: 1;
}

.betting-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: kenoFloat 4s ease-in-out infinite;
}

.betting-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.betting-card p {
    color: var(--muted-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.betting-payout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.payout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.payout-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

.payout-label {
    font-size: 0.9rem;
    color: var(--muted-text);
    font-weight: 600;
}

.payout-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--golden-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===============================
   KENO HISTORY SECTION
   =============================== */

.keno-history {
    padding: 4rem 0;
    background: var(--golden-gradient);
}

.history-table {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 2rem;
}

.table-header {
    display: grid;
    grid-template-columns: auto auto 2fr auto auto auto;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-item {
    font-size: 1rem;
    font-weight: 700;
    color: var(--light-text);
    text-align: center;
}

.table-body {
    max-height: 400px;
    overflow-y: auto;
}

.table-row {
    display: grid;
    grid-template-columns: auto auto 2fr auto auto auto;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.1);
}

.table-cell {
    font-size: 0.9rem;
    color: var(--muted-text);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
}

.mini-number {
    width: 25px;
    height: 25px;
    background: var(--golden-gradient);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.result-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--light-text);
}

.result-badge.up {
    background: var(--lucky-gradient);
}

.result-badge.down {
    background: var(--speed-gradient);
}

.result-badge.tie {
    background: var(--power-gradient);
}

.result-badge.even {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
}

.result-badge.odd {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.result-badge.total {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* ===============================
   KENO TIPS SECTION
   =============================== */

.keno-tips {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(220, 38, 38, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-8px);
    border-color: var(--golden-color);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.3);
}

.tip-card:hover::before {
    opacity: 1;
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: kenoFloat 3s ease-in-out infinite;
}

.tip-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.tip-card p {
    color: var(--muted-text);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ===============================
   KENO PROMOTIONS SECTION
   =============================== */

.keno-promotions {
    padding: 4rem 0;
    background: var(--golden-gradient);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.promotion-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(220, 38, 38, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.promotion-card:hover {
    transform: translateY(-10px);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 25px 50px rgba(251, 191, 36, 0.3);
}

.promotion-card:hover::before {
    opacity: 1;
}

.promotion-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.promotion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promotion-card:hover .promotion-image img {
    transform: scale(1.1);
}

.promotion-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.promotion-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.promotion-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.promotion-bonus, .promotion-condition {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.bonus-label, .condition-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.bonus-value, .condition-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--golden-color);
}

.claim-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--golden-gradient);
    color: var(--dark-bg);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.4);
}

/* ===============================
   SECTION TITLE STYLES
   =============================== */

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.title-icon {
    font-size: 3rem;
    opacity: 0.9;
    animation: kenoFloat 3s ease-in-out infinite;
}

/* ===============================
   MOBILE BOTTOM NAVIGATION
   =============================== */

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(10, 10, 10, 0.95));
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 0.75rem 0;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--muted-text);
    font-size: 0.7rem;
    font-weight: 500;
    min-width: 60px;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
    background: rgba(251, 191, 36, 0.2);
    color: var(--golden-color);
    transform: translateY(-2px);
}

.mobile-bottom-nav .nav-icon {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.mobile-bottom-nav .nav-icon img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* Tablet */
@media (max-width: 1024px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .betting-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .numbers-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .table-header, .table-row {
        grid-template-columns: auto auto 1fr auto auto auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }
    
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .page-title-icon {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .title-icon {
        font-size: 2rem;
    }
    
    .keno-stats {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .keno-board {
        padding: 1.5rem;
    }
    
    .keno-board-header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.5rem;
    }
    
    .number-ball {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .keno-stats-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .live-keno {
        padding: 3rem 0;
    }
    
    .keno-games {
        padding: 3rem 0;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card {
        max-width: 100%;
    }
    
    .game-image {
        height: 200px;
    }
    
    .game-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .game-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .keno-betting {
        padding: 3rem 0;
    }
    
    .betting-grid {
        grid-template-columns: 1fr;
    }
    
    .betting-card {
        padding: 1.5rem;
    }
    
    .betting-icon {
        font-size: 2.5rem;
    }
    
    .betting-card h3 {
        font-size: 1.3rem;
    }
    
    .keno-history {
        padding: 3rem 0;
    }
    
    .history-table {
        overflow-x: auto;
    }
    
    .table-header, .table-row {
        grid-template-columns: auto auto 1fr auto auto auto;
        gap: 0.5rem;
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .mini-numbers {
        flex-wrap: wrap;
        gap: 0.2rem;
    }
    
    .mini-number {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }
    
    .keno-tips {
        padding: 3rem 0;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .tip-card {
        padding: 1.5rem;
    }
    
    .tip-icon {
        font-size: 2.5rem;
    }
    
    .tip-card h3 {
        font-size: 1.3rem;
    }
    
    .keno-promotions {
        padding: 3rem 0;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .promotion-card {
        max-width: 100%;
    }
    
    .promotion-image {
        height: 180px;
    }
    
    .promotion-content {
        padding: 1.5rem;
    }
    
    .promotion-content h3 {
        font-size: 1.3rem;
    }
    
    .promotion-bonus, .promotion-condition {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .title-icon {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .keno-board {
        padding: 1rem;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.3rem;
    }
    
    .number-ball {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .keno-stats-summary {
        grid-template-columns: 1fr;
    }
    
    .game-details {
        padding: 1.5rem;
    }
    
    .game-tags {
        justify-content: center;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .betting-card {
        padding: 1.25rem;
    }
    
    .betting-icon {
        font-size: 2rem;
    }
    
    .betting-card h3 {
        font-size: 1.2rem;
    }
    
    .table-header, .table-row {
        padding: 0.75rem;
        font-size: 0.7rem;
    }
    
    .mini-number {
        width: 18px;
        height: 18px;
        font-size: 0.55rem;
    }
    
    .tip-card {
        padding: 1.25rem;
    }
    
    .tip-icon {
        font-size: 2rem;
    }
    
    .tip-card h3 {
        font-size: 1.2rem;
    }
    
    .promotion-content {
        padding: 1.25rem;
    }
    
    .promotion-content h3 {
        font-size: 1.2rem;
    }
    
    .claim-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Landscape orientation fixes for mobile */
@media (orientation: landscape) and (max-height: 500px) {
    .mobile-bottom-nav {
        padding: 0.4rem 0;
    }
    
    .mobile-bottom-nav .nav-item {
        font-size: 0.6rem;
        padding: 0.3rem;
    }
    
    .mobile-bottom-nav .nav-icon {
        font-size: 1rem;
    }
    
    body {
        padding-bottom: 60px;
    }
}

/* ===============================
   UTILITIES
   =============================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--golden-gradient);
    color: var(--dark-bg);
}

.btn-outline {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(220, 38, 38, 0.05));
    border: 2px solid rgba(251, 191, 36, 0.3);
    color: var(--golden-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.3);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-top: 2px solid var(--golden-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--golden-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Selection Styles */
::selection {
    background: var(--golden-color);
    color: var(--dark-bg);
}

::-moz-selection {
    background: var(--golden-color);
    color: var(--dark-bg);
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--golden-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .mobile-bottom-nav,
    .game-actions,
    .claim-btn {
        display: none !important;
    }
    
    .game-card,
    .betting-card,
    .tip-card,
    .promotion-card {
        break-inside: avoid;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .betting-icon,
    .stat-icon,
    .tip-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --border-color: rgba(255, 255, 255, 0.15);
        --shadow-color: rgba(251, 191, 36, 0.4);
    }
}