:root {
    --primary-blue: #2b294e;
    --dark-blue: #2b294e;
    --gold: #FFD700;
    --dark-gold: #FBC02D;
    --success-green: #4CAF50;
    --alert-red: #E53935;
    --light-gray: #F5F5F5;
    --modern-green: #2b294e;
    --dark-green: #059669;
    --light-green: #2b294e;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}




body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 80px;
}


 .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--dark-blue));
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }
        .loader.hidden {
            opacity: 0;
            visibility: hidden;
        }
        .loader-content {
            text-align: center;
            color: white;
        }
        .loader-logo {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            animation: pulse 1.5s infinite;
        }
        .loader-logo span {
            color: var(--gold);
        }
        .loader-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid rgba(255, 255, 255, 0.3);
            border-top: 5px solid var(--gold);
            border-radius: 50%;
            margin: 0 auto 20px;
            animation: spin 1s linear infinite;
        }
        .loader-text {
            font-size: 1rem;
            font-weight: 500;
            letter-spacing: 1px;
            animation: fadeIn 1s ease-in-out;
        }
       


.main-background {
   background-image: url('/static/img/bg4.jpeg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 100vh; /* Ensures the section is tall enough for parallax effect */
    padding: 5rem 0; /* Maintains existing padding */
}



.lucky{

   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/static/img/bg2.jpeg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 100vh; /* Ensures the section is tall enough for parallax effect */
    padding: 5rem 0; /* Maintains existing padding */
    color: #ffffff; /* Ensures text is white for high contrast and readability */


}
.main-container {
    max-width: 100%; /* Use full width of parent */
    padding: 0 15px;
    margin: 0 auto; /* Center container */
}

/* Dashboard Wrapper */
.dashboard-wrapper {
    min-height: calc(100vh - 300px); /* Adjust based on header/footer height */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/bgg.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

/* Modern Navigation Styles */
.modern-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1030;
    height: 80px;
}

.modern-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.main-heading {
    text-align: center;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 2rem;
    background-clip: text;
    animation: fadeIn 1s ease-in-out;
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 2rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-navbar .navbar-brand {
    color: var(--modern-green) !important;
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.3s ease;
}

.modern-navbar .navbar-brand:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.05);
    text-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
}

.modern-navbar .navbar-brand .text-gold {
    color: var(--modern-green) !important;
    background: linear-gradient(135deg, var(--modern-green), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-navbar .nav-link {
    color: var(--modern-green) !important;
    font-weight: 600;
    position: relative;
    padding: 12px 20px !important;
    margin: 0 5px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.modern-navbar .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
    border-radius: 12px;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.modern-navbar .nav-link:hover::before,
.modern-navbar .nav-link.active::before {
    transform: scale(1);
}

.modern-navbar .nav-link:hover {
    color: var(--dark-green) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.modern-navbar .nav-link.active {
    color: var(--dark-green) !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.15));
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-modern-green {
    background: linear-gradient(135deg, var(--modern-green), var(--light-green));
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.btn-modern-green:hover::before {
    left: 100%;
}

.btn-modern-green:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, var(--dark-green), var(--modern-green));
}

.btn-outline-modern {
    border: 2px solid var(--modern-green);
    color: var(--modern-green);
    background: transparent;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--modern-green), var(--light-green));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-outline-modern:hover::before {
    width: 100%;
}

.btn-outline-modern:hover {
    color: white;
    border-color: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.navbar-toggler:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.2));
    transform: scale(1.05);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2816, 185, 129, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.mobile-nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    padding-top: env(safe-area-inset-top, 0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991.98px) {
    body {
        padding-top: calc(80px + env(safe-area-inset-top, 0));
    }
    
    .modern-navbar {
        top: calc(80px + env(safe-area-inset-top, 0));
        height: calc(100vh - 80px - env(safe-area-inset-top, 0));
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
    }
    
    .modern-navbar.show {
        transform: translateX(0);
    }
    
    .modern-navbar .navbar-nav {
        padding: 20px 0 40px;
        text-align: center;
    }
    
    .modern-navbar .nav-link {
        font-size: 1.2rem;
        margin: 10px 0;
        padding: 15px 30px !important;
        border-radius: 20px;
    }
    
    .mobile-close-btn {
        position: absolute;
        top: calc(20px + env(safe-area-inset-top, 0));
        right: 20px;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--modern-green);
        z-index: 10001;
    }
    
    body.mobile-menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

.announcement-bar {
    background: linear-gradient(135deg, var(--modern-green), var(--light-green));
    color: white;
    padding: 12px 0;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    margin-top: calc(-1px + env(safe-area-inset-top, 0));
}

.announcement-bar::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: shimmer 3s infinite;
}

.bgbacground {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1)), url('img/bgg.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bg-primary-blue {
    background-color: var(--primary-blue);
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

.bg-gold {
    background-color: var(--gold);
}

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

.btn-gold {
    background-color: var(--gold);
    color: #000;
    font-weight: 600;
}

.btn-gold:hover {
    background-color: var(--dark-gold);
}

.winner-card {
    border-left: 5px solid var(--gold);
}

footer {
    background-color: var(--dark-blue);
    color: white;
}

.footer-link {
    color: var(--light-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Hero Section Styles */
.lottery-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateX(0deg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.lottery-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);
    transition: left 0.5s;
}

.lottery-card:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.lottery-card:hover::before {
    left: 100%;
}

.card-header {
    background: var(--light-gray);
    border-radius: 50px;
    padding: 15px 30px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-blue);
    box-shadow: var(--shadow-light);
    animation: fadeInDown 0.8s ease;
}

.date-text {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.1rem;
    animation: fadeIn 1s ease 0.2s both;
}

.letter-balls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.letter-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    box-shadow: var(--shadow-medium);
    position: relative;
    transform: perspective(500px) rotateY(0deg);
    transition: all 0.3s ease;
    animation: bounceIn 0.8s ease;
}

.letter-ball:nth-child(1) { animation-delay: 0.1s; }
.letter-ball:nth-child(2) { animation-delay: 0.2s; }
.letter-ball:nth-child(3) { animation-delay: 0.3s; }
.letter-ball:nth-child(4) { animation-delay: 0.4s; }
.letter-ball:nth-child(5) { animation-delay: 0.5s; }
.letter-ball:nth-child(6) { animation-delay: 0.6s; }

.letter-ball:hover {
    transform: perspective(500px) rotateY(180deg) scale(1.1);
}

.letter-ball.white {
    background: linear-gradient(135deg, var(--light-gray), var(--dark-blue));
    color: white;
}

.letter-ball.gold {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
}

.special-letter {
    background: var(--gold);
    color: var(--dark-blue);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    background: var(--dark-blue);
    color: white;
    padding: 6px 3px;
    min-width: 80px;
    box-shadow: var(--shadow-medium);
    transform: perspective(500px) rotateX(0deg);
    transition: all 0.3s ease;
    animation: flipIn 0.8s ease;
}

.countdown-item:hover {
    transform: perspective(500px) rotateX(15deg) translateY(-5px);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.jackpot-section {
    text-align: center;
    margin-bottom: -11px;
}

.jackpot-label {
    background: var(--dark-blue);
    color: var(--gold);
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    animation: glow 2s ease-in-out infinite alternate;
}

.jackpot-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: scaleIn 1s ease;
}

.cash-value-label {
    background: var(--dark-blue);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.cash-value-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    animation: scaleIn 1s ease 0.2s both;
}

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

.winner-category {
    margin-bottom: 23px;
    padding: -3px;
    background: rgba(245, 245, 245, 0.5);
    border-radius: 15px;
    animation: slideInUp 0.8s ease;
}

.winner-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.winner-prize {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.winner-count {
    color: var(--modern-green);
    font-weight: 600;
}

.action-btn {
    width: 100%;
    padding: 17px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

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

.btn-primary {
    background: var(--dark-blue);
    color: white;
}

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

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

/* Lucky Spotlight Carousel Styles */
.lucky-spotlight-carousel {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    border-radius: 20px;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 400px;
    overflow: hidden;
    position: relative;
}

.carousel-item {
    padding: 40px;
    min-height: 400px;
}

.spotlight-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.spotlight-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
    color: white;
}

.winner-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.prize-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFE082;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.view-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.view-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.winner-photo {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 100%;
    height: 300px;
    background: #f8f9fa;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
    border-radius: 15px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.winner-celebration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.game-type {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Lottery Selector Styles */
.lottery-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.main-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.left-panel {
    padding: 2rem;
    background-color: var(--light-gray);
}

.right-panel {
    padding: 2rem;
    background-color: white;
}

.numbers-header {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    border-bottom: 3px solid var(--gold);
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.page-indicator {
    float: right;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

.number-btn {
    aspect-ratio: 1;
    border: 2px solid var(--primary-blue);
    background: white;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.number-btn:hover {
    background-color: var(--light-green);
    border-color: var(--modern-green);
    transform: translateY(-2px);
}

.number-btn.selected {
    background-color: var(--success-green);
    color: white;
    border-color: var(--dark-green);
    box-shadow: var(--shadow-medium);
}

.number-btn.clicked {
    animation: pulse 0.3s ease;
}

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

.line-cost {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.clear-link {
    color: var(--modern-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.clear-link:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

.lines-info {
    margin-top: 2rem;
    color: var(--primary-blue);
    font-weight: 500;
}

.alphabet-display {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    box-shadow: var(--shadow-light);
}

.alphabet-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.alphabet-row:hover {
    transform: translateY(-2px);
}

.alphabet-row.active {
    background-color: var(--light-green);
}

/* add to cart */

/* Cart Icon Styles */
.cart-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-icon .badge {
    font-size: 0.7rem;
    padding: 0.3em 0.5em;
    background-color: var(--alert-red);
    color: white;
    transition: all 0.3s ease;
}

.cart-icon .badge:empty {
    display: none;
}

.row-number {
    background-color: var(--primary-blue);
    color: white;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 1rem;
    min-width: 40px;
    text-align: center;
}

.alphabet-slots {
    display: flex;
    gap: 12px;
    flex: 1;
}

.alphabet-slot {
    width: 44px;
    height: 44px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-blue);
    background: white;
    transition: all 0.3s ease;
}

.alphabet-slot.filled {
    background-color: var(--success-green);
    color: white;
    border-color: var(--dark-green);
    animation: fillAnimation 0.3s ease;
}

.alphabet-slot.placeholder {
    color: #ccc;
    font-size: 1.3rem;
}

@keyframes fillAnimation {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.trash-icon {
    color: #666;
    font-size: 1.3rem;
    cursor: pointer;
    transition: color transform 0.2s ease;
    margin-left: 15px;
}

.trash-icon:hover {
    color: var(--alert-red);
    transform: scale(1.1);
}

.progress-section {
    margin-bottom: 1.5rem;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background-color: var(--light-gray);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--success-green), var(--modern-green));
    transition: width 0.5s ease;
    border-radius: 5px;
}

.progress-text {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 500;
}

.extra-shot-section {
    border: 2px solid var(--modern-green);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    background: var(--bg-light-gray);
    box-shadow: var(--shadow-light);
}

.extra-shot-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-light);
}

.extra-shot-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Custom Toggle Switch */
.extra-shot-checkbox {
    appearance: none;
    width: 48px;
    height: 24px;
    background-color: #ccc;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all background-color ease 0.3s;
}

.extra-shot-checkbox:checked {
    background-color: var(--success-green);
}

.extra-shot-checkbox::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-light);
}

.extra-shot-checkbox:checked::before {
    transform: translateX(24px);
}

.cart-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.total-price {
    font-size: 1.75rem;
    font-weight: bold 700;
    color: var(--primary-blue);
}



.clear-all-btn {
    background: var(--alert-red);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 5px 20px;
    font-size: 0.9rem;
    font-weight: bold 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: var(--shadow);
}

.clear-all-btn:hover {
    background: #C62828;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .numbers-grid {
        grid-template-columns: repeat(5, auto 1fr);
        gap: 10px;
    }

    .alphabet-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .cart-section {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .left-panel, .right-panel {
        padding: 1.5rem;
    }
}

/* Alphabet Selector Background */
.bgselect {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1)), url('img/b-bgback.png');
    background-size: cover;
    min-height: 100vh;
    background-position: center;
    position: relative;
}

@media (max-width: 768px) {
    .carousel-card {
        padding: 15px;
        text-align: center;
    }
    
    .spotlight-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    /* .spotlight-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    } */
    
    .view-btn {
        padding: 10px 30px;
        font-size: 1rem;
    }
    
    .winner-photo {
        margin-top: 30px;
        height: 250px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 576px) {
    .spotlight-content h2 {
        font-size: 1.8rem;
    }
    
    .carousel-item {
        padding: 25px 15px;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
}


/* Modern Responsive Footer Styles */
.leta-bet-footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--text-light, #e2e8f0);
    padding: 60px 0 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

.leta-bet-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(251, 191, 36, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

.leta-bet-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 24px;
}

.logo-text {
    color: var(--gold, #fbbf24);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: #ffffff;
}

.logo-subtext {
    color: var(--text-muted, #94a3b8);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.social-icons a:hover {
    background: var(--modern-green, #10b981);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.footer-section h5 {
    color: var(--gold, #fbbf24);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--modern-green, #10b981);
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-light, #e2e8f0);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section ul li a:hover {
    color: var(--gold, #fbbf24);
    padding-left: 8px;
}

.contact-info {
    font-size: 14px;
    line-height: 1.7;
}

.contact-item {
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--gold, #fbbf24);
    font-size: 15px;
}

.contact-item a {
    color: var(--text-light, #e2e8f0);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--modern-green, #10b981);
}

.lottery-chat-btn {
    background: linear-gradient(135deg, var(--modern-green, #10b981), var(--light-green, #34d399));
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin-top: 16px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.lottery-chat-btn:hover {
    background: linear-gradient(135deg, var(--dark-green, #047857), var(--modern-green, #10b981));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    margin: 0;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .logo-text {
        font-size: 28px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .leta-bet-footer {
        padding: 40px 0 0 0;
    }

    .leta-bet-footer .container {
        padding: 0 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
        order: -1;
    }

    .logo-text {
        font-size: 26px;
    }

    .logo-subtext {
        font-size: 13px;
    }

    .social-icons {
        justify-content: center;
        gap: 20px;
    }

    .social-icons a {
        width: 48px;
        height: 48px;
    }

    .footer-section h5 {
        font-size: 16px;
        text-align: center;
    }

    .footer-section h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-item {
        text-align: left;
        margin-bottom: 16px;
    }

    .lottery-chat-btn {
        max-width: 200px;
        margin: 16px auto 0;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .leta-bet-footer {
        padding: 32px 0 0 0;
    }

    .footer-grid {
        gap: 24px;
    }

    .logo-text {
        font-size: 24px;
    }

    .logo-subtext {
        font-size: 12px;
    }

    .social-icons a {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .footer-section h5 {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .footer-section ul li {
        margin-bottom: 10px;
    }

    .footer-section ul li a {
        font-size: 13px;
    }

    .contact-item {
        padding: 12px;
    }

    .contact-item strong {
        font-size: 14px;
    }

    .lottery-chat-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}

/* Large Screen Enhancements */
@media (min-width: 1200px) {
    .leta-bet-footer .container {
        max-width: 1400px;
    }

    .footer-grid {
        gap: 60px;
    }

    .logo-text {
        font-size: 36px;
    }

    .logo-subtext {
        font-size: 15px;
    }

    .footer-section h5 {
        font-size: 19px;
    }

    .footer-section ul li a {
        font-size: 15px;
    }

    .contact-info {
        font-size: 15px;
    }
}

/* Hover Effects and Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(2) { animation-delay: 0.1s; }
.footer-section:nth-child(3) { animation-delay: 0.2s; }
.footer-section:nth-child(4) { animation-delay: 0.3s; }
.footer-section:nth-child(5) { animation-delay: 0.4s; }

/* Existing Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); opacity: translateY(-50px); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes flipIn {
    from { transform: perspective(400px) rotateX(90deg); opacity: 0; }
    to { transform: perspective(400px) rotateX(0deg); opacity: 1; }
}

@keyframes glow {
    from { box-shadow: 0 0 5px var(--gold); }
    to { box-shadow: 0 0 20px var(--gold); }
}

@keyframes scaleIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(-30px); opacity: -0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
    from0%, 100% { transform: translateY(0px); }
    to { transform: translateY(-10px); }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

/* Promo Section Styles */
.promo-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 40px 20px;
    padding-top: calc(40px + env(safe-area-inset-top));
    min-height: 400px;
    display: flex;
    align-items: center;
}

.promo-card {
    border-radius: 20px;
    padding: 40px 20px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    align-items: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow: 0 0 0.3s ease-in-out;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 25px rgba(0,0,0,0.3);
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20100%20100%22><circle%20cx=%2220%22%20cy=%2220%22%20r=%222%22%20fill=%22rgba(255,255,255,0.1)%22/><circle%20cx=%2280%22%20cy=%2240%22%20r=%221.5%22%20fill=%22rgba(255,255,255,0.1)%22/><circle%20cx=%2240%22%20cy=%2280%22%20r=%221%22%20fill=%22rgba(255,255,255,0.1)%22/><path%20d=%22M10,10%20Q50,5%2090,20%20Q95,50%2080,90%20Q50,50%200,80%20Q5,50%2010,10%22%20fill=%22none%22%20stroke=%22rgba(255,255,255,0.05)%22%20stroke-width=%220.5px%22/></svg>');
        pointer-events: none;
}

.card-promos {
    background: linear-gradient(135deg, var(--modern-green) 0%, var(--dark-green) 100%);
}

.card-scratch {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
}

.card-events {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.card-win {
    background: linear-gradient(135deg, var(--success-green) 0%, var(--dark-green) 100%);
}

.card-title {
    font-size: 25px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.card-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 19px;
    flex-grow: 1;
}

.card-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 14px;
    border-radius: 4px 10px;
    font-weight: bold 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    backdrop-filter: blur(10px);
}

.card-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

.search-icon {
    position: fixed;
    top: calc(100px + env(safe-area-inset-top));
    right: 20px;
    width: 40px 50px;
    height: 40px 50px;
    background: var(--bg-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-20px) scale(0);
    z-index: 1000;
}

.search-icon:hover {
    background: var(--dark-gold);
    transform: scale(1.1);
}

.search-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--dark-blue);
    stroke-width: 2;
}

/* Scroll Animation Styles */
.animate-card {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.4s cubic-bezier(0, 0.4, 0, 1);
}

.animate-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-card:nth-child(1) { transition-delay: 0.1s; }
.animate-card:nth-child(2) { transition-delay: 0.2s; }
.animate-card:nth-child(3) { transition-delay: 0.3s; }
.animate-card:nth-child(4) { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .promo-section {
        padding: 20px 15px;
    }
    
    .promo-card {
        height: auto;
        min-height: 240px;
        margin-bottom: 20px;
        padding: 20px 15px;
    }
    
    .card-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .card-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .search-btn {
        width: 15px;
        height: 15px;
        top: calc(10px + env(safe-area-inset-top));
        right: 10px;
    }
}

@media (max-width: 576px) {
    .card-title {
        font-size: 1.6rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
    
    .card-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .lottery-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .letter-ball {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .jackpot-amount {
        font-size: 2rem;
    }
    
    .cash-amount {
        font-size: 1rem;
    }
    
    .countdown-number {
        font-size: 1rem;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 10px 15px;
        min-width: 70px;
    }
}

@media (max-width: 576px) {
    .letter-balls {
        gap: 10px;
    }
    
    .letter-ball {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .countdown-container {
        gap: 8px;
    }
    
    .jackpot-amount {
        font-size: 1.8rem;
    }
}

/* Dashboard Wrapper */
.dashboard-wrapper {
    min-height: calc(100vh - 300px); /* Adjust based on header/footer height */
    display: flex;
    justify-content: center; /* Center content horizontally */
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    padding: 2rem 0;
    max-width: 1200px; /* Ensure content doesn't stretch too wide */
    margin: 0 auto; /* Center content */
}

/* Main Container */
.main-container {
    max-width: 100%; /* Use full width of parent */
    padding: 0 15px;
    margin: 0 auto; /* Center container */
}

/* Remove Sidebar Styles */
.dashboard-sidebar,
.sidebar-header,
.sidebar-logo,
.sidebar-toggle,
.sidebar-nav,
.sidebar-item,
.sidebar-link,
.dashboard-content.shifted {
    display: none; /* Ensure sidebar styles are removed */
}

/* Profile Content */
.profile-content {
    padding: 1rem;
}

.profile-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.profile-detail span:first-child {
    font-weight: bold 600;
}

/* Draw Item */
.draw-item {
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    background: white;
}

.draw-date {
    font-weight: bold;
    color: var(--primary-blue);
}

.draw-jackpot {
    color: var(--success-green);
    margin: 0.5rem 0;
}

/* Existing Cart Icon Styles (for reference) */
.cart-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-icon .badge {
    font-size: 0.7rem;
    padding: 0.3em 0.5em;
    background-color: var(--alert-red);
    color: white;
    transition: all 0.3s ease;
}

.cart-icon .badge:empty {
    display: none;
}

.wallet-balance-btn {
    color: #059669;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Quick Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center; /* Center grid items */
}

.stat-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 4px 12px;
    border: 1px solid var(--border);
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* CSS from index.html <style> tag */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --bg-primary: #f8fafc;
    --bg-white: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 1.125rem;
    font-weight: bold 600;
    display: flex;
    align-items: center;
    gap: 0.5px;
}

/* Grid System */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid-cols-2, .grid-cols-3, .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Wallet Cards */
.grid-card {
    display: grid;
    text-align: center;
    padding: 1rem 2rem;
}

.wallet-amount {
    font-size: 2.5rem;
    font-weight: bold 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.wallet-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px 8px;
    border: none;
    font-weight: normal 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5px;
    text-decoration: none;
    font-size: 0.875rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-outline {
    background: var(--dark-blue);
    border: 1px solid var(--border);
    color: var(--bg-primary);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* Action Buttons Grid */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center; /* Center buttons */
}


/* user auth css such as login, register, and forgot password */
 .auth-wrapper {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
        }
        .auth-wrapper::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(52, 211, 153, 0.05));
            background-size: cover;
            opacity: 0.1;
            z-index: 1;
        }
        .auth-container {
            max-width: 450px;
            width: 100%;
            position: relative;
            z-index: 2;
        }
        .auth-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 40px 35px;
            box-shadow: var(--shadow-heavy);
            border: 1px solid rgba(16, 185, 129, 0.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            animation: slideUp 0.6s ease-out;
        }
        .auth-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.3);
        }
        .auth-header {
            text-align: center;
            margin-bottom: 35px;
        }
        .auth-logo {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--modern-green);
            margin-bottom: 15px;
            background: linear-gradient(135deg, var(--modern-green), var(--light-green));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: fadeInScale 0.8s ease-out;
        }
        .auth-title {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--modern-green);
            margin-bottom: 8px;
            animation: fadeIn 1s ease-out 0.2s both;
        }
        .auth-subtitle {
            color: #6b7280;
            font-size: 0.95rem;
            animation: fadeIn 1s ease-out 0.4s both;
        }
        .form-group {
            margin-bottom: 24px;
            position: relative;
        }
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--modern-green);
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        .form-control {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0, 0, 0, 0);
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
        }
        .form-control:focus {
            outline: none;
            border-color: var(--modern-green);
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.95);
        }
        .form-control::placeholder {
            color: #9ca3af;
            transition: all 0.3s ease;
        }
        .form-control:focus::placeholder {
            opacity: 0.7;
            transform: translateX(5px);
        }
        .phone-input-group {
            display: flex;
            gap: 12px;
        }
        .country-code {
            flex: 0 0 100px;
            background: var(--modern-green);
            color: white;
            border: 2px solid var(--modern-green);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
        }
        .phone-number {
            flex: 1;
        }
        .btn-auth-primary {
            width: 100%;
            background: linear-gradient(135deg, var(--modern-green), var(--light-green));
            border: none;
            color: white;
            font-weight: 600;
            padding: 14px 24px;
            border-radius: 12px;
            font-size: 1rem;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            margin-bottom: 20px;
        }
        .btn-auth-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s;
        }
        .btn-auth-primary:hover::before {
            left: 100%;
        }
        .btn-auth-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
            background: linear-gradient(135deg, var(--dark-green), var(--modern-green));
        }
        .btn-auth-primary:active {
            transform: translateY(0);
        }
        .btn-google {
            width: 100%;
            background: white;
            border: 2px solid #e5e7eb;
            color: #374151;
            font-weight: 600;
            padding: 14px 24px;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 25px;
        }
        .btn-google:hover {
            border-color: #d1d5db;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            background: #f9fafb;
        }
        .google-icon {
            width: 20px;
            height: 20px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%234285F4" d="M22.56 12.25c0-.78-.07-1.53-.20-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/><path fill="%2334A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/><path fill="%23FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/><path fill="%23EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/></svg>') no-repeat center;
            background-size: contain;
        }
        .btn-nav {
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin: 0 5px;
        }
        .btn-next {
            background: linear-gradient(135deg, var(--modern-green), var(--light-green));
            color: white;
            border: none;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
        }
        .btn-next:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
            background: linear-gradient(135deg, var(--dark-green), var(--modern-green));
        }
        .btn-previous {
            background: white;
            border: 2px solid var(--modern-green);
            color: var(--modern-green);
        }
        .btn-previous:hover {
            background: var(--modern-green);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
        }
        .form-step {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        .form-step.hidden {
            display: none;
        }
        .divider {
            text-align: center;
            margin: 25px 0;
            position: relative;
        }
        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e5e7eb;
        }
        .divider span {
            background: rgba(255, 255, 255, 0.95);
            padding: 0 20px;
            color: #6b7280;
            font-size: 0.9rem;
            font-weight: 500;
        }
        .switch-form {
            text-align: center;
            margin-top: 25px;
            padding-top: 25px;
            border-top: 1px solid #e5e7eb;
        }
        .switch-form a {
            color: var(--modern-green);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .switch-form a:hover {
            color: var(--dark-green);
            text-decoration: underline;
        }
        .resend-otp {
            text-align: center;
            margin-top: 15px;
        }
        .resend-otp a {
            color: var(--modern-green);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        .resend-otp a:hover {
            color: var(--dark-green);
            text-decoration: underline;
        }
        .success-message {
            background: linear-gradient(135deg, var(--success-green), #45a049);
            color: white;
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 25px;
            text-align: center;
            font-weight: 600;
            animation: slideUp 0.5s ease-out;
            max-width: 450px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            z-index: 1000;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeInScale {
            from { opacity: 0; transform: scale(0.8); }
            to { opacity: 1; transform: scale(1); }
        }
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(50px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.05); }
        }
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        @media (max-width: 768px) {
            .auth-card {
                padding: 30px 25px;
                margin: 10px;
            }
            .auth-logo {
                font-size: 1.8rem;
            }
            .auth-title {
                font-size: 1.5rem;
            }
            .form-control {
                padding: 12px 16px;
            }
            .phone-input-group {
                flex-direction: column;
                gap: 8px;
            }
            .country-code {
                flex: none;
                padding: 12px 16px;
            }
            .btn-nav {
                width: 100%;
                margin-bottom: 10px;
            }
            .success-message {
                width: 90%;
                padding: 12px 15px;
                font-size: 0.9rem;
            }
        }
        .hidden {
            display: none !important;
        }
        .form-control.error {
            border-color: var(--alert-red);
            box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.1);
        }
        .error-message {
            color: var(--alert-red);
            font-size: 0.85rem;
            margin-top: 5px;
            font-weight: 500;
        }

/* here is where the css for faq and how it work */



.how-to-play-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/static/img/bg2.jpeg');
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.how-to-play-hero::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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

.hero-title .text-gold {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.enhanced-lottery-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateX(0deg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-lottery-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);
    transition: left 0.5s;
}

.enhanced-lottery-card:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.enhanced-lottery-card:hover::before {
    left: 100%;
}

.enhanced-card-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 50px;
    padding: 20px 40px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.enhanced-card-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.step-container {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(229, 231, 235, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.step-container:hover {
    box-shadow: var(--shadow-medium);
    transform: translateX(8px);
}

.step-container:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 3rem;
    top: 100%;
    width: 2px;
    height: 1.5rem;
    background: linear-gradient(to bottom, var(--primary-blue), transparent);
}

.enhanced-number-circle {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: var(--shadow-medium);
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.enhanced-number-circle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    z-index: -1;
    opacity: 0.3;
}

.enhanced-number-circle:hover {
    transform: scale(1.1) rotate(10deg);
}

.step-content h5 {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.step-content p {
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.enhanced-key-points {
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 1.5rem;
    border-left: 6px solid var(--gold);
    box-shadow: var(--shadow-light);
}

.enhanced-key-points ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.enhanced-key-points li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.enhanced-key-points li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.2rem;
}

.enhanced-alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: none;
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
    border-left: 6px solid var(--gold);
    box-shadow: var(--shadow-light);
}

.enhanced-alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: none;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border-left: 6px solid var(--success-green);
    box-shadow: var(--shadow-medium);
}

.enhanced-btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border: none;
    color: var(--primary-blue);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.enhanced-btn-gold:hover::before {
    left: 100%;
}

.enhanced-btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, var(--dark-gold), var(--gold));
    color: var(--primary-blue);
}

.enhanced-cta-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.enhanced-cta-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 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.05"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="100" cy="900" r="200" fill="url(%23b)"/><circle cx="900" cy="100" r="300" fill="url(%23b)"/></svg>');
    pointer-events: none;
}

.enhanced-cta-content {
    position: relative;
    z-index: 1;
}

.enhanced-feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.enhanced-feature-icon:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-heavy);
}

.accordion-button {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--primary-blue) !important;
    border-radius: 15px !important;
    box-shadow: var(--shadow-light) !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--light-gray), #ffffff) !important;
    color: var(--primary-blue) !important;
}

.accordion-body {
    background: white;
    border-radius: 0 0 15px 15px;
    padding: 1.5rem;
    color: #6b7280;
    font-size: 1.1rem;
}

.enhanced-main-background {
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.5) 0%, #ffffff 100%);
    min-height: 100vh;
    position: relative;
}

.enhanced-main-background::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23f0f0f0" stroke-width="0.5"/></patternritional

System: pattern></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.enhanced-footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.enhanced-footer::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 1000 1000"><defs><radialGradient id="c" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.05"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="100" cy="100" r="200" fill="url(%23c)"/><circle cx="900" cy="900" r="300" fill="url(%23c)"/></svg>');
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.footer-links h6 {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.social-icons a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--gold);
    transform: scale(1.2);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .how-to-play-hero {
        min-height: 60vh;
        text-align: center;
    }

    .hero-image-container {
        margin-top: 2rem;
        transform: none;
    }

    .step-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .step-container::after {
        display: none;
    }

    .enhanced-number-circle {
        align-self: center;
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

    .enhanced-lottery-card {
        padding: 25px;
        margin: 0 1rem 2rem;
    }

    .enhanced-card-header {
        padding: 15px 25px;
        font-size: 1.2rem;
    }

    .enhanced-key-points {
        padding: 1.5rem;
    }

    .enhanced-key-points li {
        font-size: 1rem;
    }

    .enhanced-footer {
        padding: 3rem 0 1.5rem;
    }

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

    .footer-links {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-links a {
        margin-bottom: 0.5rem;
    }

    .social-icons {
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .enhanced-lottery-card {
        padding: 20px;
        margin: 0 0.5rem 1.5rem;
    }

    .enhanced-alert-warning,
    .enhanced-alert-success {
        padding: 1rem;
    }

    .step-content h5 {
        font-size: 1.2rem;
    }

    .step-content p {
        font-size: 1rem;
    }

    .enhanced-card-header {
        font-size: 1.1rem;
    }
}