/* Gaming Platform CSS - Mobile First Responsive Design */
/* Browser Compatibility and Hosting Environment Fixes */
html {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100% !important;
    -moz-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    zoom: 1 !important;
    scroll-behavior: smooth;
}

body {
    zoom: 1 !important;
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    transform: scale(1) !important;
    -webkit-transform-origin: 0 0 !important;
    -moz-transform-origin: 0 0 !important;
    -ms-transform-origin: 0 0 !important;
    transform-origin: 0 0 !important;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-text-size-adjust: none !important;
    -moz-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
    text-size-adjust: none !important;
}

/* Hide any loading elements permanently */
[class*="loading"],
[id*="loading"], 
[class*="Loading"],
[id*="Loading"],
.loading-overlay,
.loading-popup,
.loading-message {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

:root {
    /* Gaming Color Palette */
    --primary-orange: #FF6B35;
    --secondary-orange: #F7931E;
    --dark-brown: #8B4513;
    --light-brown: #CD853F;
    --gradient-bg: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #CD853F 100%);
    --dark-gradient: linear-gradient(135deg, #2C1810 0%, #4A2C17 50%, #8B4513 100%);
    --card-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
    --text-light: #FFFFFF;
    --text-dark: #2C1810;
    --background-dark: #2C1810;
    --background-card: #3D2416;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #2C1810;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Header */
.navbar {
    background: var(--dark-gradient);
    padding: 15px 0;
    box-shadow: var(--card-shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    border-bottom: 2px solid var(--primary-orange);
}

/* Scrolling Banner */
.scrolling-banner {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #CD853F 100%);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    border-bottom: 2px solid rgba(255, 107, 53, 0.5);
}

.scrolling-text {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    animation: scroll-left 25s linear infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-orange);
    position: relative;
}

/* Logo carousel animations - Optimized */
.logo::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 3px dotted var(--primary-orange);
    border-radius: 12px;
    animation: diwaliLights 4s infinite;
    z-index: -1;
}

.logo::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 2px dotted var(--secondary-orange);
    border-radius: 15px;
    animation: diwaliLights 4s infinite reverse;
    z-index: -2;
    opacity: 0.7;
}

.logo-carousel {
    position: relative;
    width: 200px;
    height: 40px;
    overflow: visible;
    z-index: 2;
}

.logo-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.logo-image.active {
    opacity: 1;
}

.logo-image.fade-out {
    opacity: 0;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 12px;
    position: relative;
    overflow: visible;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px dotted var(--primary-orange);
    border-radius: 15px;
    opacity: 1;
    z-index: -1;
}

/* Individual animations for each nav item - Optimized */
.nav-item:nth-child(1)::before {
    animation: rulesLight 6s infinite;
}

.nav-item:nth-child(2)::before {
    animation: privacyLight 6s infinite;
}

.nav-item:nth-child(3)::before {
    animation: profileLight 6s infinite;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

/* Enhanced active state for Rules */
.nav-item:nth-child(1).active {
    color: #007BFF;
    background: rgba(0, 123, 255, 0.1);
}

/* Enhanced active state for Privacy */
.nav-item:nth-child(2).active {
    color: #28A745;
    background: rgba(40, 167, 69, 0.1);
}

/* Enhanced active state for Profile */
.nav-item:nth-child(3).active {
    color: #9370DB;
    background: rgba(147, 112, 219, 0.1);
}

.nav-item i {
    font-size: 18px;
    margin-bottom: 5px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 500;
}

/* Hero Section with Draw Announcement */
.hero-section {
    background: #2C1810;
    padding: 130px 0 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-section::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Draw Announcement Section */
.draw-announcement {
    margin-bottom: 40px;
}

.announcement-card {
    background: #2C1810;
    border: 2px solid var(--primary-orange);
    border-radius: 20px;
    padding: 25px;
    padding-top: 45px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    width: 100% !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
}

/* Simple border without animation */
.announcement-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-orange);
    border-radius: 20px;
    z-index: -1;
}

/* Removed borderGlow animation */

/* Chocolate Animated Background */
/* Removed chocolateGradientShift animation */

.announcement-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-orange);
}

.announcement-title {
    letter-spacing: 1px;
}

.live-indicator {
    background: #FF0000;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.winning-numbers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.winning-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2C1810 0%, #4A2C17 100%);
    border: 3px solid var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.winning-number.revealed {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2C1810;
    transform: scale(1.1);
    animation: numberReveal 0.5s ease;
}

@keyframes numberReveal {
    0% { transform: scale(0.8) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(-90deg); opacity: 0.5; }
    100% { transform: scale(1.1) rotate(0deg); opacity: 1; }
}

.announcement-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.announcement-status.winning {
    color: #FFD700;
    animation: celebrateText 1s infinite alternate;
}

@keyframes celebrateText {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Enhanced Hero Section */

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-orange);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Optimized card shine animation */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: cardShine 6s infinite;
}

@keyframes cardShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-orange);
}

.stat-card i {
    font-size: 32px;
    color: var(--primary-orange);
    margin-bottom: 12px;
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 8px;
    position: relative;
}

.animated-counter {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF6B35);
    background-size: 200% 200%;
    animation: gradientCounter 2s infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientCounter {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animated Divider Between Sections */
.animated-divider {
    position: relative;
    height: 8px;
    width: 100%;
    background: #2C1810;
    margin: 0;
    overflow: hidden;
}

/* Track/Rail for the animated line */
.animated-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 53, 0.1) 10%, 
        rgba(255, 107, 53, 0.2) 50%, 
        rgba(255, 107, 53, 0.1) 90%, 
        transparent 100%);
    transform: translateY(-50%);
    z-index: 1;
}

.divider-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #FF6B35 25%, 
        #FFD700 50%, 
        #FF6B35 75%, 
        transparent 100%);
    animation: dividerFlow 4s linear infinite;
    z-index: 2;
}

.divider-glow {
    position: absolute;
    top: -4px;
    left: 0;
    height: 16px;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 53, 0.3) 25%, 
        rgba(255, 215, 0, 0.4) 50%, 
        rgba(255, 107, 53, 0.3) 75%, 
        transparent 100%);
    filter: blur(4px);
    animation: dividerFlow 4s linear infinite;
}

@keyframes dividerFlow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Featured Games Section */
.featured-section {
    padding: 10px 0;
    background: #2C1810;
}

.section-header {
    margin: 20px 0 40px 0;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 30px;
    margin: 0;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    overflow: visible;
    flex-wrap: nowrap;
}

/* Animated dotted border around section header - Optimized */
.section-header h2::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 3px dotted var(--primary-orange);
    border-radius: 20px;
    animation: sectionHeaderLights 4s infinite;
    z-index: -1;
}

.section-header h2::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 2px dotted var(--secondary-orange);
    border-radius: 25px;
    animation: sectionHeaderLights 4s infinite reverse;
    z-index: -2;
    opacity: 0.7;
}

/* Animation for section header dotted borders - Optimized */
@keyframes sectionHeaderLights {
    0% {
        border-color: var(--primary-orange);
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
    }
    50% {
        border-color: #FFD700;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
    100% {
        border-color: var(--primary-orange);
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
    }
}

/* Blinking cursor animation for typing effect */
@keyframes blink {
    0%, 50% { 
        border-color: var(--primary-orange); 
        opacity: 1;
    }
    51%, 100% { 
        border-color: transparent; 
        opacity: 0;
    }
}

/* Section title text container */
#section-title-text {
    display: inline;
    position: relative;
}

/* Game Card Animated Badges */
.game-badge {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: gameBadgeGlow 2s ease-in-out infinite alternate;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: gameBadgeShine 3s infinite;
}

.premium-badge {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C00 50%, #FFD700 100%);
    color: white;
}

.gold-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #2C1810;
}

.diamond-badge {
    background: linear-gradient(135deg, #E0E0E0 0%, #B8B8B8 50%, #FFFFFF 100%);
    color: #2C1810;
}

.vip-badge {
    background: linear-gradient(135deg, #9370DB 0%, #8A2BE2 50%, #4B0082 100%);
    color: white;
}

.game-badge:hover {
    transform: scale(1.1) translateY(-1px);
    animation: gameBadgePulse 0.6s ease-in-out;
}

/* Game Badge Animations */
@keyframes gameBadgeGlow {
    0% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
}

@keyframes gameBadgeShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes gameBadgePulse {
    0% {
        transform: scale(1.1) translateY(-1px);
    }
    50% {
        transform: scale(1.15) translateY(-2px);
    }
    100% {
        transform: scale(1.1) translateY(-1px);
    }
}

.section-header h2 i {
    color: var(--primary-orange);
    margin-right: 10px;
}

/* Professional NEW Badge */
.new-badge {
    background: linear-gradient(135deg, #FF4444 0%, #FF6B35 50%, #FF8C00 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-left: 12px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(255, 68, 68, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: newBadgeGlow 2s ease-in-out infinite alternate;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.new-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: newBadgeShine 3s infinite;
}

.new-badge::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FF4444, #FF6B35, #FF8C00, #FFD700);
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    animation: newBadgeHalo 2s ease-in-out infinite alternate;
}

.new-badge:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 68, 68, 0.6),
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: newBadgePulse 0.6s ease-in-out;
}

/* NEW Badge Animations */
@keyframes newBadgeGlow {
    0% {
        box-shadow: 
            0 4px 15px rgba(255, 68, 68, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 6px 25px rgba(255, 68, 68, 0.7),
            0 3px 12px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes newBadgeShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes newBadgeHalo {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

@keyframes newBadgePulse {
    0% {
        transform: scale(1.1) translateY(-2px);
    }
    50% {
        transform: scale(1.15) translateY(-3px);
    }
    100% {
        transform: scale(1.1) translateY(-2px);
    }
}

/* Game Cards Grid - Now 4 cards */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.game-card {
    background: var(--background-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
    border-color: var(--primary-orange);
}

.game-image {
    height: 120px;
    background: url('../images/satta_king_bg.jpg') center/cover, var(--gradient-bg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Individual game card backgrounds */
.game-card:nth-child(1) .game-image {
    background: url('../images/0-TO-100.jpg') center/cover, var(--gradient-bg);
}

.game-card:nth-child(2) .game-image {
    background: url('../images/0-TO-50.jpg') center/cover, var(--gradient-bg);
}

.game-card:nth-child(3) .game-image {
    background: url('../images/0-TO-25.jpg') center/cover, var(--gradient-bg);
}

.game-card:nth-child(4) .game-image {
    background: url('../images/0-TO-15.jpg') center/cover, var(--gradient-bg);
}

/* Premium Badge Styles */
.premium-badge {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C00 50%, #FFD700 100%);
    color: white;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.premium-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: premiumShine 2s infinite;
}

@keyframes premiumShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.gold-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #2C1810;
    font-weight: 800;
    position: relative;
    overflow: hidden;
}

.gold-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: goldShine 1.8s infinite;
}

@keyframes goldShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.diamond-badge {
    background: linear-gradient(135deg, #E0E0E0 0%, #C0C0C0 50%, #A0A0A0 100%);
    color: #2C1810;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    border: 1px solid #B0B0B0;
}

.diamond-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: diamondShine 2.2s infinite;
}

@keyframes diamondShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.vip-badge {
    background: linear-gradient(135deg, #8B00FF 0%, #9932CC 50%, #BA55D3 100%);
    color: white;
    font-weight: 800;
    animation: vipPulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.vip-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: vipShine 2.5s infinite;
}

@keyframes vipPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 5px rgba(139, 0, 255, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 15px rgba(139, 0, 255, 0.8); }
}

@keyframes vipShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.platinum-badge {
    background: linear-gradient(135deg, #F5F5DC 0%, #E6E6FA 50%, #D3D3D3 100%);
    color: #2C1810;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    border: 1px solid #C0C0C0;
}

.platinum-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    animation: platinumShine 1.5s infinite;
}

@keyframes platinumShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    background: var(--primary-orange);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: var(--secondary-orange);
    transform: scale(1.1);
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-light);
}

.game-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.game-stats span {
    display: flex;
    align-items: center;
}

.game-stats i {
    margin-right: 5px;
    color: var(--primary-orange);
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: rgba(255, 107, 53, 0.05);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--background-card);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-orange);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.category-icon i {
    font-size: 24px;
    color: white;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-light);
}

.category-card span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Tournaments Section */
.tournaments-section {
    padding: 60px 0;
    background: var(--background-dark);
}

.tournaments-grid {
    display: grid;
    gap: 20px;
}

.tournament-card {
    background: var(--background-card);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.tournament-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF4444;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.tournament-badge.upcoming {
    background: var(--primary-orange);
    animation: none;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.tournament-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-light);
}

.tournament-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.tournament-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 12px;
}

.tournament-stats span {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.tournament-stats i {
    margin-right: 5px;
    color: var(--primary-orange);
}

.tournament-time {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.tournament-time i {
    margin-right: 5px;
}

.join-btn {
    background: var(--gradient-bg);
    border: none;
    border-radius: 15px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Bottom Navigation */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    background: var(--dark-gradient);
    padding: 15px 0 25px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 2px solid var(--primary-orange);
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 12px;
    position: relative;
    overflow: visible;
}

.bottom-nav-item::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px dotted var(--primary-orange);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
}

/* Bottom nav individual animations */
.bottom-nav-item:nth-child(1)::before {
    animation: gamesLight 3s infinite;
}

.bottom-nav-item:nth-child(2)::before {
    animation: rewardsLight 3s infinite;
}

.bottom-nav-item:nth-child(3)::before {
    animation: rewardsLight 3s infinite;
}

.bottom-nav-item:nth-child(4)::before {
    animation: profileLight 3s infinite;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--primary-orange);
    transform: translateY(-3px);
}

.bottom-nav-item i {
    font-size: 18px;
    margin-bottom: 3px;
}

.bottom-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tournaments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .bottom-nav {
        display: none;
    }
    
    .nav-menu {
        display: flex;
    }
    
    body {
        padding-bottom: 0;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .hero-content h1 {
        font-size: 56px;
    }
    
    .navbar {
        z-index: 1001;
    }
    
    .scrolling-banner {
        top: 78px;
        padding: 15px 0;
        z-index: 1000;
    }
    
    .scrolling-text {
        font-size: 18px;
    }
    
    .hero-section {
        padding: 140px 0 20px;
    }
    
    .announcement-card {
        max-width: 700px;
        padding: 30px;
        padding-top: 50px;
    }
    
    /* Desktop Timer Spacing */
    .time-label-compact {
        margin-bottom: 8px !important;
        font-size: 8px;
    }
    
    .time-value-compact {
        font-size: 16px;
        padding: 5px 8px;
        min-width: 30px;
    }
    
    .time-unit-compact {
        min-width: 40px;
    }
    
    .timer-compact {
        gap: 15px;
        top: 18px;
    }
    
    .waiting-numbers {
        margin-bottom: 8px;
        margin-top: 50px;
        gap: 15px !important;
    }
    
    .winning-number {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
    
    .hero-stats {
        max-width: 800px;
        gap: 30px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
}

/* Mobile First - Body padding for bottom nav */
body {
    padding-bottom: 100px;
}

/* Mobile logo size */
@media (max-width: 767px) {
    .hero-section {
        padding: 110px 0 20px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        min-height: 40px;
        gap: 10px;
    }
    
    .hero-content p {
        font-size: 16px;
        min-height: 25px;
    }
    
    .new-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .scrolling-banner {
        top: 64px;
        padding: 10px 0;
        z-index: 1000;
    }
    
    .navbar {
        z-index: 1001;
    }
    
    .scrolling-text {
        font-size: 14px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-item::before {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border-width: 1px;
        opacity: 1;
    }
    
    .nav-item {
        padding: 6px 8px;
    }
    
    .nav-item i {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .nav-item span {
        font-size: 9px;
    }
    
    .logo-carousel {
        width: 120px;
        height: 30px;
    }
    
    .logo-image {
        height: 30px;
        max-width: 120px;
    }
    
    .logo::before {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-width: 2px;
    }
    
    .logo::after {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-width: 1px;
    }
    
    /* Mobile section header adjustments */
    .section-header h2 {
        font-size: 16px;
        line-height: 1.2;
        word-break: keep-all;
        white-space: nowrap;
        overflow: visible;
        padding: 12px 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .section-header h2::before {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-width: 2px;
        border-radius: 15px;
    }
    
    .section-header h2::after {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-width: 1px;
        border-radius: 18px;
    }
    
    /* Mobile NEW badge adjustments */
    .new-badge {
        font-size: 8px;
        padding: 3px 8px;
        margin-left: 6px;
        letter-spacing: 0.8px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    /* Mobile game card adjustments */
    .game-info h3 {
        font-size: 12px;
        line-height: 1.1;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        padding-right: 60px;
        font-weight: 600;
    }
    
    /* Mobile game badge adjustments */
    .game-badge {
        font-size: 6px;
        padding: 2px 5px;
        margin-left: 4px;
        letter-spacing: 0.5px;
        flex-shrink: 0;
        white-space: nowrap;
        position: absolute;
        top: 5px;
        right: 5px;
        z-index: 10;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        border-radius: 8px;
    }
    
    /* Mobile game info positioning */
    .game-info {
        position: relative;
        padding: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes diwaliLights {
    0% {
        border-color: var(--primary-orange);
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
    }
    20% {
        border-color: #FFD700;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
    40% {
        border-color: #FF1493;
        box-shadow: 0 0 15px rgba(255, 20, 147, 0.5);
    }
    60% {
        border-color: #00CED1;
        box-shadow: 0 0 15px rgba(0, 206, 209, 0.5);
    }
    80% {
        border-color: #32CD32;
        box-shadow: 0 0 15px rgba(50, 205, 50, 0.5);
    }
    100% {
        border-color: var(--primary-orange);
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
    }
}

/* Rules - Blue Theme */
@keyframes rulesLight {
    0% {
        border-color: #007BFF;
        box-shadow: 0 0 12px rgba(0, 123, 255, 0.6);
    }
    33% {
        border-color: #0056B3;
        box-shadow: 0 0 12px rgba(0, 86, 179, 0.6);
    }
    66% {
        border-color: #6DB3F2;
        box-shadow: 0 0 12px rgba(109, 179, 242, 0.6);
    }
    100% {
        border-color: #007BFF;
        box-shadow: 0 0 12px rgba(0, 123, 255, 0.6);
    }
}

/* Privacy - Green Theme */
@keyframes privacyLight {
    0% {
        border-color: #28A745;
        box-shadow: 0 0 12px rgba(40, 167, 69, 0.6);
    }
    33% {
        border-color: #1E7E34;
        box-shadow: 0 0 12px rgba(30, 126, 52, 0.6);
    }
    66% {
        border-color: #71DD8A;
        box-shadow: 0 0 12px rgba(113, 221, 138, 0.6);
    }
    100% {
        border-color: #28A745;
        box-shadow: 0 0 12px rgba(40, 167, 69, 0.6);
    }
}

/* Games - Red & Orange Theme */
@keyframes gamesLight {
    0% {
        border-color: #FF4500;
        box-shadow: 0 0 12px rgba(255, 69, 0, 0.6);
    }
    33% {
        border-color: #FF6347;
        box-shadow: 0 0 12px rgba(255, 99, 71, 0.6);
    }
    66% {
        border-color: #FF8C00;
        box-shadow: 0 0 12px rgba(255, 140, 0, 0.6);
    }
    100% {
        border-color: #FF4500;
        box-shadow: 0 0 12px rgba(255, 69, 0, 0.6);
    }
}

/* Rewards - Gold & Yellow Theme */
@keyframes rewardsLight {
    0% {
        border-color: #FFD700;
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    }
    33% {
        border-color: #FFA500;
        box-shadow: 0 0 12px rgba(255, 165, 0, 0.6);
    }
    66% {
        border-color: #FFFF00;
        box-shadow: 0 0 12px rgba(255, 255, 0, 0.6);
    }
    100% {
        border-color: #FFD700;
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    }
}

/* Profile - Purple & Pink Theme */
@keyframes profileLight {
    0% {
        border-color: #9370DB;
        box-shadow: 0 0 12px rgba(147, 112, 219, 0.6);
    }
    33% {
        border-color: #BA55D3;
        box-shadow: 0 0 12px rgba(186, 85, 211, 0.6);
    }
    66% {
        border-color: #DDA0DD;
        box-shadow: 0 0 12px rgba(221, 160, 221, 0.6);
    }
    100% {
        border-color: #9370DB;
        box-shadow: 0 0 12px rgba(147, 112, 219, 0.6);
    }
}

.game-card,
.category-card,
.tournament-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-orange);
}

/* Rules and Privacy Pages Styling */
.rules-section,
.privacy-section {
    padding: 120px 0 60px;
    background: var(--background-dark);
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-header h1 i {
    color: var(--primary-orange);
    margin-right: 15px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.rules-content,
.privacy-content {
    display: grid;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.rule-card,
.privacy-card {
    background: var(--background-card);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rule-card:hover,
.privacy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-orange);
}

.rule-header,
.privacy-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rule-header i,
.privacy-header i {
    font-size: 24px;
    color: var(--primary-orange);
    margin-right: 15px;
    background: rgba(255, 107, 53, 0.1);
    padding: 10px;
    border-radius: 10px;
}

.rule-header h3,
.privacy-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-light);
}

.rule-content ul,
.privacy-text ul {
    list-style: none;
    padding: 0;
}

.rule-content li,
.privacy-text li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    position: relative;
    padding-left: 25px;
}

.rule-content li:before,
.privacy-text li:before {
    content: '•';
    color: var(--primary-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.rule-content li:last-child,
.privacy-text li:last-child {
    border-bottom: none;
}

.privacy-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Mobile responsive for Rules and Privacy pages */
@media (max-width: 767px) {
    .rules-section,
    .privacy-section {
        padding: 110px 0 60px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .rule-card,
    .privacy-card {
        padding: 20px;
        margin: 0 20px;
    }
    
    .rule-header h3,
    .privacy-header h3 {
        font-size: 18px;
    }
    
    .rule-content li,
    .privacy-text li {
        font-size: 14px;
        padding: 10px 0 10px 20px;
    }
}

/* Simple Privacy Cards - No Animations */
.privacy-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.privacy-card-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 107, 53, 0.1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Corner Lines - Different Colors for Each Card */
.privacy-card-item:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, #ff0080 0%, #ff0080 30px, transparent 30px, transparent calc(100% - 30px), #ff0080 calc(100% - 30px), #ff0080 100%) top / 100% 3px no-repeat,
        linear-gradient(90deg, #ff0080 0%, #ff0080 30px, transparent 30px, transparent calc(100% - 30px), #ff0080 calc(100% - 30px), #ff0080 100%) bottom / 100% 3px no-repeat,
        linear-gradient(0deg, #ff0080 0%, #ff0080 30px, transparent 30px, transparent calc(100% - 30px), #ff0080 calc(100% - 30px), #ff0080 100%) left / 3px 100% no-repeat,
        linear-gradient(0deg, #ff0080 0%, #ff0080 30px, transparent 30px, transparent calc(100% - 30px), #ff0080 calc(100% - 30px), #ff0080 100%) right / 3px 100% no-repeat;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.privacy-card-item:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, #0080ff 0%, #0080ff 30px, transparent 30px, transparent calc(100% - 30px), #0080ff calc(100% - 30px), #0080ff 100%) top / 100% 3px no-repeat,
        linear-gradient(90deg, #0080ff 0%, #0080ff 30px, transparent 30px, transparent calc(100% - 30px), #0080ff calc(100% - 30px), #0080ff 100%) bottom / 100% 3px no-repeat,
        linear-gradient(0deg, #0080ff 0%, #0080ff 30px, transparent 30px, transparent calc(100% - 30px), #0080ff calc(100% - 30px), #0080ff 100%) left / 3px 100% no-repeat,
        linear-gradient(0deg, #0080ff 0%, #0080ff 30px, transparent 30px, transparent calc(100% - 30px), #0080ff calc(100% - 30px), #0080ff 100%) right / 3px 100% no-repeat;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.privacy-card-item:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, #ffff00 0%, #ffff00 30px, transparent 30px, transparent calc(100% - 30px), #ffff00 calc(100% - 30px), #ffff00 100%) top / 100% 3px no-repeat,
        linear-gradient(90deg, #ffff00 0%, #ffff00 30px, transparent 30px, transparent calc(100% - 30px), #ffff00 calc(100% - 30px), #ffff00 100%) bottom / 100% 3px no-repeat,
        linear-gradient(0deg, #ffff00 0%, #ffff00 30px, transparent 30px, transparent calc(100% - 30px), #ffff00 calc(100% - 30px), #ffff00 100%) left / 3px 100% no-repeat,
        linear-gradient(0deg, #ffff00 0%, #ffff00 30px, transparent 30px, transparent calc(100% - 30px), #ffff00 calc(100% - 30px), #ffff00 100%) right / 3px 100% no-repeat;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.privacy-card-item:nth-child(4)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, #00ff00 0%, #00ff00 30px, transparent 30px, transparent calc(100% - 30px), #00ff00 calc(100% - 30px), #00ff00 100%) top / 100% 3px no-repeat,
        linear-gradient(90deg, #00ff00 0%, #00ff00 30px, transparent 30px, transparent calc(100% - 30px), #00ff00 calc(100% - 30px), #00ff00 100%) bottom / 100% 3px no-repeat,
        linear-gradient(0deg, #00ff00 0%, #00ff00 30px, transparent 30px, transparent calc(100% - 30px), #00ff00 calc(100% - 30px), #00ff00 100%) left / 3px 100% no-repeat,
        linear-gradient(0deg, #00ff00 0%, #00ff00 30px, transparent 30px, transparent calc(100% - 30px), #00ff00 calc(100% - 30px), #00ff00 100%) right / 3px 100% no-repeat;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.privacy-card-item:nth-child(5)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, #ff8000 0%, #ff8000 30px, transparent 30px, transparent calc(100% - 30px), #ff8000 calc(100% - 30px), #ff8000 100%) top / 100% 3px no-repeat,
        linear-gradient(90deg, #ff8000 0%, #ff8000 30px, transparent 30px, transparent calc(100% - 30px), #ff8000 calc(100% - 30px), #ff8000 100%) bottom / 100% 3px no-repeat,
        linear-gradient(0deg, #ff8000 0%, #ff8000 30px, transparent 30px, transparent calc(100% - 30px), #ff8000 calc(100% - 30px), #ff8000 100%) left / 3px 100% no-repeat,
        linear-gradient(0deg, #ff8000 0%, #ff8000 30px, transparent 30px, transparent calc(100% - 30px), #ff8000 calc(100% - 30px), #ff8000 100%) right / 3px 100% no-repeat;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.privacy-card-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.privacy-card-item .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
}

.privacy-card-item h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.privacy-card-item p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #F7931E 0%, #FF6B35 100%);
}

/* Policy Detail View */
.policy-detail {
    max-width: 800px;
    margin: 40px auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.back-button {
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #FF6B35;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #FF6B35;
    color: white;
    transform: translateX(-5px);
}

.policy-content h2 {
    color: #FF6B35;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.policy-content h3 {
    color: #F7931E;
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

.policy-content h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.policy-content p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-content ul {
    margin: 15px 0;
    padding-left: 0;
}

.policy-content li {
    color: #b0b0b0;
    list-style: none;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.policy-content li:before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #FF6B35;
    position: absolute;
    left: 0;
}

.policy-content strong {
    color: #F7931E;
}

.error-message {
    text-align: center;
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 71, 87, 0.2);
}

/* Responsive Design for Privacy Cards */
@media (max-width: 1024px) {
    .privacy-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    /* Tablet Announcement Card Styles */
    .announcement-card {
        padding: 22px 18px;
        padding-top: 40px;
        margin: 0 20px;
        max-width: calc(100% - 40px);
        overflow: visible;
        position: relative;
    }
    
    .announcement-header {
        font-size: 16px;
        margin-bottom: 22px;
        gap: 10px;
    }
    
    .waiting-numbers {
        gap: 15px !important;
        margin-bottom: 5px;
        margin-top: 45px;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 5;
        display: flex;
        width: 100%;
        padding: 0 20px;
    }
    
    .waiting-text {
        width: 70px;
        font-size: 11px;
        min-width: 70px;
        flex: 0 0 70px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.5px;
    }
    
    .waiting-boxes {
        gap: 15px !important;
        margin-bottom: 18px;
        margin-top: 0px;
        justify-content: center;
        align-items: center;
    }
    
    .waiting-box {
        width: 70px;
        height: 70px;
        font-size: 20px !important;
        border-radius: 13px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        position: relative;
        vertical-align: middle;
        transform: translateX(0) translateY(0) !important;
    }
}

@media (max-width: 768px) {
    .privacy-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
    
    .privacy-card-item {
        padding: 25px 15px;
    }
    
    .privacy-card-item .card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .privacy-card-item h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .privacy-card-item p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .read-more-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .policy-detail {
        margin: 20px;
        padding: 25px 20px;
    }
    
    .policy-content h2 {
        font-size: 1.6rem;
    }
    
    .policy-content h3 {
        font-size: 1.2rem;
    }
    
    /* Mobile Announcement Card Styles */
    .announcement-card {
        padding: 18px 12px;
        padding-top: 35px;
        margin: 0 15px;
        max-width: calc(100% - 30px);
        overflow: visible;
        position: relative;
    }
    
    .announcement-header-outside {
        font-size: 14px;
        margin-bottom: 15px;
        gap: 8px;
    }
    
    .announcement-header {
        font-size: 12px;
        margin-bottom: 20px;
        gap: 6px;
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    
    .corner-live {
        top: 10px;
        right: 8px;
        padding: 2px 5px;
        font-size: 8px;
        border-radius: 5px;
        z-index: 15;
    }
    
    .announcement-title {
        letter-spacing: 1px;
        flex-shrink: 0;
    }
    
    .live-indicator {
        padding: 2px 6px;
        font-size: 10px;
        flex-shrink: 0;
    }
    
    .waiting-numbers {
        gap: 8px !important;
        margin-bottom: 3px;
        margin-top: 28px;
        justify-content: center;
        align-items: center;
        padding: 0 15px;
        position: relative;
        z-index: 5;
        display: flex;
        width: 100%;
    }
    
    .waiting-text {
        width: 60px;
        font-size: 10px;
        min-width: 60px;
        flex: 0 0 60px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.5px;
    }
    
    .waiting-boxes {
        gap: 8px !important;
        margin-bottom: 15px;
        margin-top: 0px;
        justify-content: center;
        align-items: center;
        padding: 0 15px;
        display: flex;
        width: 100%;
    }
    
    .waiting-box {
        width: 60px;
        height: 60px;
        font-size: 18px !important;
        border-radius: 12px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        position: relative;
        vertical-align: middle;
        transform: translateX(0) translateY(0) !important;
    }
}

/* Number Opening Section Styles */
.draw-announcement {
    margin-bottom: 40px;
}

.announcement-card {
    background: #2C1810;
    border: 2px solid var(--primary-orange);
    border-radius: 20px;
    padding: 25px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-orange);
    border-radius: 20px;
    z-index: -1;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* Draw Announcement Outside Header */
.announcement-header-outside {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 18px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    flex-wrap: nowrap;
}

.announcement-header-outside .announcement-title {
    letter-spacing: 2px;
    text-transform: uppercase;
}

.announcement-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    font-weight: 800;
    font-size: 18px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    flex-wrap: nowrap;
}

.announcement-title {
    letter-spacing: 2px;
    text-transform: uppercase;
}

.live-indicator {
    background: #FF0000;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    animation: livePulse 1.5s infinite;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.corner-live {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 8px;
    z-index: 15;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); }
    50% { opacity: 0.8; transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 0, 0, 0.8); }
}

/* Countdown Timer Styles - Outside Card */
.countdown-timer-outside {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.4);
    max-width: 600px;
    margin: 0 auto 25px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Keep old countdown-timer class for backward compatibility */
.countdown-timer {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.timer-label {
    font-size: 16px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.timer-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.time-value {
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    padding: 8px 12px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: timerPulse 2s infinite;
}

.time-label {
    font-size: 10px;
    font-weight: 600;
    color: #FFD700;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-separator {
    font-size: 20px;
    font-weight: 800;
    color: #FFD700;
    animation: separatorBlink 1s infinite;
}

@keyframes timerPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    }
}

@keyframes separatorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes timerUrgent {
    0%, 100% { 
        background: linear-gradient(135deg, #FF0000 0%, #FF6B35 100%);
        transform: scale(1); 
        box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
    }
    50% { 
        background: linear-gradient(135deg, #FF6B35 0%, #FFD700 100%);
        transform: scale(1.1); 
        box-shadow: 0 6px 20px rgba(255, 0, 0, 0.8);
    }
}

/* Timer Label Outside */
.timer-label-outside {
    text-align: center;
    margin-bottom: 15px;
    max-width: 600px;
    margin: 0 auto 15px auto;
}

.timer-label-outside .timer-label {
    font-size: 16px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

/* Animated Timer Label with Dotted Border */
.animated-label {
    position: relative;
    display: inline-block;
    padding: 12px 80px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    overflow: visible;
    font-size: 16px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    min-width: 400px;
    text-align: center;
}

/* Dotted border animation exactly like announcement card */
.animated-label::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px dotted var(--primary-orange);
    border-radius: 18px;
    animation: sectionHeaderLights 4s infinite;
    z-index: -1;
}

.animated-label::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px dotted var(--secondary-orange);
    border-radius: 20px;
    animation: sectionHeaderLights 4s infinite reverse;
    z-index: -2;
    opacity: 0.7;
}

/* Text switching animation */
.label-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    white-space: nowrap;
}

.label-text.active {
    opacity: 1;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

/* Compact Timer Inside Card */
.timer-compact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: auto !important;
    height: auto !important;
    font-size: 16px !important;
    min-height: 45px;
}

.time-unit-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 100%;
}

.time-value-compact {
    font-size: 14px !important;
    font-weight: 800;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    padding: 4px 6px !important;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    animation: timerPulseCompact 2s infinite;
    min-width: 25px !important;
    text-align: center;
    width: auto !important;
    height: auto !important;
}

.time-label-compact {
    font-size: 7px !important;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: auto !important;
    height: auto !important;
}

.time-separator-compact {
    font-size: 12px;
    font-weight: 800;
    color: #FFD700;
    animation: separatorBlinkCompact 1s infinite;
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    line-height: 1;
    vertical-align: baseline;
    height: 100%;
    margin-bottom: 12px;
    transform: translateY(-6px);
}

@keyframes timerPulseCompact {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 3px 10px rgba(255, 107, 53, 0.5);
    }
}

@keyframes separatorBlinkCompact {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes timerUrgentCompact {
    0%, 100% { 
        background: linear-gradient(135deg, #FF0000 0%, #FF6B35 100%);
        transform: scale(1); 
        box-shadow: 0 2px 6px rgba(255, 0, 0, 0.5);
    }
    50% { 
        background: linear-gradient(135deg, #FF6B35 0%, #FFD700 100%);
        transform: scale(1.1); 
        box-shadow: 0 3px 10px rgba(255, 0, 0, 0.8);
    }
}

/* Waiting Texts Above Boxes */
.waiting-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px !important;
    margin-bottom: 0px;
    margin-top: 65px;
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

.waiting-text {
    font-size: 12px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.7;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    width: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    flex: 0 0 80px;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.waiting-text.animated {
    opacity: 1;
    animation: waitingGlow 2s infinite;
}

.waiting-text.opened {
    color: #00FF00;
    animation: openedPulse 0.5s ease;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

@keyframes waitingGlow {
    0%, 100% { 
        opacity: 0.7; 
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    50% { 
        opacity: 1; 
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    }
}

@keyframes openedPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Waiting Boxes */
.waiting-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px !important;
    margin-bottom: 20px;
    margin-top: 0px;
    position: relative;
    z-index: 5;
}

.waiting-box {
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, #2C1810 0%, #4A2C17 100%);
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    vertical-align: middle;
    transform: translateX(0) translateY(0) !important;
}

.waiting-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: boxShine 3s infinite;
}

@keyframes boxShine {
    0% { transform: translateX(-100%) skewX(-15deg); }
    50% { transform: translateX(100%) skewX(-15deg); }
    100% { transform: translateX(100%) skewX(-15deg); }
}

.waiting-box.pulsing {
    border-color: var(--primary-orange);
    animation: boxPulse 1.5s infinite;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

@keyframes boxPulse {
    0%, 100% { 
        transform: scale(1); 
        border-color: var(--primary-orange);
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    }
    50% { 
        transform: scale(1.05); 
        border-color: #FFD700;
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.7);
    }
}

.waiting-box.revealed {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2C1810;
    transform: scale(1.1);
    border-color: #FFD700;
    animation: numberReveal 0.8s ease;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

@keyframes numberReveal {
    0% { 
        transform: scale(0.8) rotate(-180deg); 
        opacity: 0;
        background: linear-gradient(135deg, #2C1810 0%, #4A2C17 100%);
    }
    25% { 
        transform: scale(1.2) rotate(-90deg); 
        opacity: 0.5;
        background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    }
    75% { 
        transform: scale(1.15) rotate(-30deg); 
        opacity: 0.8;
        background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    }
    100% { 
        transform: scale(1.1) rotate(0deg); 
        opacity: 1;
    }
}

/* Game Names Section - Below Waiting Boxes */
.game-names {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px !important;
    margin-top: 15px;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
    padding: 0 10px;
}

.game-name {
    width: 80px !important;
    height: auto !important;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.6);
    border-radius: 8px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--primary-orange);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.2 !important;
    padding: 8px 4px !important;
    margin: 0 !important;
    backdrop-filter: blur(5px);
}

.game-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: gameNameShine 4s infinite;
}

@keyframes gameNameShine {
    0% { transform: translateX(-100%) skewX(-15deg); }
    50% { transform: translateX(100%) skewX(-15deg); }
    100% { transform: translateX(100%) skewX(-15deg); }
}

.game-name:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}



/* Mobile Responsive for Number Opening */
@media (max-width: 768px) {
    .draw-announcement {
        margin-bottom: 30px;
    }
    
    .announcement-card {
        padding: 25px 20px;
        padding-top: 40px;
        margin: 0 15px;
        max-width: calc(100% - 30px);
        overflow: visible;
        position: relative;
    }
    
    .announcement-header {
        font-size: 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .announcement-title {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .live-indicator {
        font-size: 10px;
        padding: 2px 8px;
    }
    
    /* Mobile Countdown Timer - Outside Card */
    .countdown-timer-outside {
        margin-bottom: 20px;
        padding: 15px;
        margin: 0 15px 20px 15px;
        max-width: calc(100% - 30px);
    }
    
    /* Mobile Countdown Timer - Legacy */
    .countdown-timer {
        margin-bottom: 15px;
        padding: 12px;
    }
    
    .timer-label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .timer-display {
        gap: 8px;
    }
    
    .time-unit {
        min-width: 50px;
    }
    
    .time-value {
        font-size: 20px;
        padding: 6px 10px;
    }
    
    .time-label {
        font-size: 9px;
    }
    
    .time-separator {
        font-size: 16px;
    }
    
    /* Mobile Timer Label Outside */
    .timer-label-outside {
        margin-bottom: 12px;
        margin: 0 15px 12px 15px;
    }
    
    .timer-label-outside .timer-label {
        font-size: 14px;
    }
    
    /* Mobile Animated Timer Label with responsive border */
    .animated-label {
        padding: 8px 20px;
        font-size: 14px;
        min-width: auto;
        max-width: calc(100% - 30px);
        margin: 0 auto;
        overflow: visible;
        position: relative;
    }
    
    .animated-label::before {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border: 1px dotted var(--primary-orange);
        border-radius: 12px;
    }
    
    .animated-label::after {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border: 1px dotted var(--secondary-orange);
        border-radius: 14px;
        opacity: 0.6;
    }
    
    /* Mobile Compact Timer */
    .timer-compact {
        gap: 8px;
        top: 12px;
    }
    
    .time-unit-compact {
        min-width: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .time-value-compact {
        font-size: 12px;
        padding: 3px 5px;
        border-radius: 5px;
        min-width: 22px;
    }
    
    .time-label-compact {
        font-size: 6px;
        margin-bottom: 3px;
    }
    
    .time-separator-compact {
        font-size: 10px;
        margin: 0 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
        line-height: 1;
        vertical-align: baseline;
        height: 100%;
        margin-bottom: 8px;
        transform: translateY(-4px);
    }
    
    .waiting-numbers {
        gap: 8px;
        margin-bottom: 0px;
        margin-top: 45px;
        position: relative;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0 15px;
    }
    
    .waiting-text {
        font-size: 10px;
        width: 60px;
        min-width: 60px;
        flex: 0 0 60px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.5px;
    }
    
    .waiting-boxes {
        gap: 15px !important;
        margin-bottom: 15px;
        margin-top: 0px;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box !important;
        text-align: center !important;
        position: relative;
        left: 0 !important;
        right: 0 !important;
        transform: translateX(0) !important;
    }
    
    /* Mobile Game Names */
    .game-names {
        gap: 15px !important;
        margin-top: 10px;
        margin-bottom: 0;
        padding: 0 15px;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        box-sizing: border-box !important;
    }
    
    .game-name {
        width: 60px !important;
        font-size: 10px !important;
        padding: 6px 3px !important;
        border-radius: 6px;
        line-height: 1.1 !important;
    }
    
    .waiting-box {
        width: 60px !important;
        height: 60px !important;
        font-size: 18px !important;
        border-width: 3px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        position: relative;
        vertical-align: middle;
        transform: translateX(0) translateY(0) !important;
    }
    
    .hero-section {
        padding: 120px 0 20px;
    }
}

@media (max-width: 480px) {
    .privacy-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .privacy-card-item {
        padding: 20px 12px;
    }
    
    .privacy-card-item .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .privacy-card-item h3 {
        font-size: 1rem;
    }
    
    .privacy-card-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .read-more-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    /* Enhanced Mobile Alignment for Very Small Screens */
    .announcement-card {
        padding: 20px 10px;
        padding-top: 35px;
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }
    
    .waiting-numbers {
        gap: 6px !important;
        margin-bottom: 0px;
        margin-top: 40px;
        padding: 0 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        position: relative;
        z-index: 5;
    }
    
    .waiting-text {
        width: 55px;
        min-width: 55px;
        flex: 0 0 55px;
        font-size: 9px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.3px;
    }
    
    .waiting-boxes {
        gap: 6px !important;
        margin-bottom: 15px;
        margin-top: 0px;
        padding: 0 10px;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        box-sizing: border-box !important;
        text-align: center !important;
        position: relative;
    }
    
    /* Mobile Game Names for Very Small Screens */
    .game-names {
        gap: 6px !important;
        margin-top: 8px;
        margin-bottom: 0;
        padding: 0 10px;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        box-sizing: border-box !important;
    }
    
    .game-name {
        width: 55px !important;
        font-size: 9px !important;
        padding: 5px 2px !important;
        border-radius: 5px;
        line-height: 1.1 !important;
        border-width: 1px;
    }
    
    .waiting-box {
        width: 55px !important;
        height: 55px !important;
        font-size: 16px !important;
        border-width: 3px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        position: relative;
        vertical-align: middle;
        transform: translateX(0) translateY(0) !important;
    }
    
    /* Small Mobile Countdown Timer - Outside Card */
    .countdown-timer-outside {
        margin-bottom: 15px;
        padding: 12px;
        margin: 0 10px 15px 10px;
        max-width: calc(100% - 20px);
    }
    
    /* Small Mobile Countdown Timer - Legacy */
    .countdown-timer {
        margin-bottom: 12px;
        padding: 10px;
    }
    
    .timer-label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .timer-display {
        gap: 6px;
    }
    
    .time-unit {
        min-width: 45px;
    }
    
    .time-value {
        font-size: 18px;
        padding: 5px 8px;
    }
    
    .time-label {
        font-size: 8px;
    }
    
    .time-separator {
        font-size: 14px;
    }
    
    /* Small Mobile Timer Label Outside */
    .timer-label-outside {
        margin-bottom: 10px;
        margin: 0 10px 10px 10px;
    }
    
    .timer-label-outside .timer-label {
        font-size: 12px;
    }
    
    /* Small Mobile Animated Timer Label with tighter border */
    .animated-label {
        padding: 6px 15px;
        font-size: 12px;
        min-width: auto;
        max-width: calc(100% - 20px);
        margin: 0 auto;
        overflow: visible;
        position: relative;
    }
    
    .animated-label::before {
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border: 1px dotted var(--primary-orange);
        border-radius: 10px;
    }
    
    .animated-label::after {
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border: 1px dotted var(--secondary-orange);
        border-radius: 12px;
        opacity: 0.5;
    }
    
    /* Small Mobile Compact Timer */
    .timer-compact {
        gap: 6px;
        top: 10px;
    }
    
    .time-unit-compact {
        min-width: 28px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .time-value-compact {
        font-size: 11px;
        padding: 2px 4px;
        border-radius: 4px;
        min-width: 20px;
    }
    
    .time-label-compact {
        font-size: 5px;
        margin-bottom: 3px;
    }
    
    .time-separator-compact {
        font-size: 9px;
        margin: 0 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
        line-height: 1;
        vertical-align: baseline;
        height: 100%;
        margin-bottom: 7px;
        transform: translateY(-3px);
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .announcement-card {
        padding: 15px 8px;
        padding-top: 30px;
        margin: 0 8px;
        max-width: calc(100% - 16px);
    }
    
    .waiting-numbers {
        gap: 4px !important;
        padding: 0 8px;
        margin-top: 24px;
        margin-bottom: 2px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .waiting-text {
        width: 50px;
        min-width: 50px;
        flex: 0 0 50px;
        font-size: 8px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.2px;
    }
    
    .waiting-boxes {
        gap: 4px !important;
        padding: 0 8px;
        margin-top: 0px;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        box-sizing: border-box !important;
        text-align: center !important;
        position: relative;
    }
    
    .waiting-box {
        width: 50px !important;
        height: 50px !important;
        font-size: 14px !important;
        border-width: 2px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        position: relative;
        vertical-align: middle;
        transform: translateX(0) translateY(0) !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Extra Small Mobile Countdown Timer - Outside Card */
    .countdown-timer-outside {
        margin-bottom: 12px;
        padding: 10px;
        margin: 0 8px 12px 8px;
        max-width: calc(100% - 16px);
    }
    
    /* Extra Small Mobile Countdown Timer - Legacy */
    .countdown-timer {
        margin-bottom: 10px;
        padding: 8px;
    }
    
    .timer-label {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    .timer-display {
        gap: 4px;
    }
    
    .time-unit {
        min-width: 40px;
    }
    
    .time-value {
        font-size: 16px;
        padding: 4px 6px;
    }
    
    .time-label {
        font-size: 7px;
    }
    
    .time-separator {
        font-size: 12px;
    }
    
    /* Extra Small Mobile Timer Label Outside */
    .timer-label-outside {
        margin-bottom: 8px;
        margin: 0 8px 8px 8px;
    }
    
    .timer-label-outside .timer-label {
        font-size: 11px;
    }
    
    /* Extra Small Mobile Animated Timer Label with minimal border */
    .animated-label {
        padding: 5px 12px;
        font-size: 11px;
        min-width: auto;
        max-width: calc(100% - 16px);
        margin: 0 auto;
        overflow: visible;
        position: relative;
    }
    
    .animated-label::before {
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border: 1px dotted var(--primary-orange);
        border-radius: 8px;
    }
    
    .animated-label::after {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border: 1px dotted var(--secondary-orange);
        border-radius: 10px;
        opacity: 0.4;
    }
    
    /* Extra Small Mobile Compact Timer */
    .timer-compact {
        gap: 4px;
        top: 8px;
    }
    
    .time-unit-compact {
        min-width: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .time-value-compact {
        font-size: 10px;
        padding: 2px 3px;
        border-radius: 3px;
        min-width: 18px;
    }
    
    .time-label-compact {
        font-size: 4px;
        margin-bottom: 2px;
    }
    
    .time-separator-compact {
        font-size: 8px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
        line-height: 1;
        vertical-align: baseline;
        height: 100%;
        margin-bottom: 6px;
        transform: translateY(-2px);
    }
}