/* Color Variables */
:root {
    --yellow-primary: #FFFF00;
    --yellow-light: #FFF9C4;
    --yellow-gold: #FFD700;
    --yellow-deep: #FDD835;
    --white: #FFFFFF;
    --dark: #1A1A1A;
    --gray-light: #EEEEEE;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--yellow-light);
    background-image: radial-gradient(circle, #fff59d 1px, transparent 1px);
    background-size: 20px 20px;
    min-height: 100vh;
    color: var(--dark);
    overflow-x: hidden;
}

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

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--yellow-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5),
                 0 0 20px rgba(255, 215, 0, 0.3);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--yellow-primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a.active {
    color: var(--yellow-gold);
}

nav ul li a:hover {
    color: var(--yellow-deep);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--yellow-primary);
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.7);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--yellow-primary);
    color: var(--dark);
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.7);
    border: 2px solid var(--yellow-gold);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 255, 0, 0.9),
                0 0 40px rgba(255, 255, 0, 0.6);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Hero Section */
.hero {
    padding: 80px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.jackpot-display {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin: 40px auto 50px;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.jackpot-label {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 10px;
}

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

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
    min-width: 80px;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.3);
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.countdown-label {
    font-size: 0.9rem;
    color: #555;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.card-title {
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--yellow-primary);
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.7);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.game-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.game-header {
    background-color: var(--yellow-primary);
    color: var(--dark);
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.game-body {
    padding: 20px;
}

.game-info {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.info-label {
    color: #555;
    font-weight: 600;
}

.info-value {
    font-weight: 700;
    color: var(--dark);
}

.game-footer {
    text-align: center;
    padding: 15px 0 0;
}

/* Game Tabs */
.game-tabs {
    display: flex;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
    font-weight: 600;
}

.tab-btn.active {
    background: var(--yellow-primary);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.7);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Game Sections */
.game-section {
    display: none;
}

.game-section.active {
    display: block;
}

.bet-options {
    margin: 20px 0;
}

.quick-bet {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bet-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
    font-weight: 600;
}

.bet-btn.active {
    background: var(--yellow-primary);
    color: var(--dark);
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.bet-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Number Selection */
.number-selection {
    margin: 20px 0;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.number-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
    font-size: 1.1rem;
}

.number-btn.selected {
    background: var(--yellow-primary);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.7);
    color: var(--dark);
    transform: scale(1.1);
}

.prediction-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.prediction-option.selected {
    transform: scale(1.05);
}

.prediction-btn {
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.3);
}

.prediction-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.7);
}

/* Ticket Display */
.ticket {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.selected-numbers {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.number-chip {
    background: var(--yellow-primary);
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
    min-width: 50px;
}

/* Results Section */
.results-filters {
    margin-bottom: 30px;
}

.result-category {
    margin-bottom: 30px;
}

.result-category:not(.active) {
    display: none;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.draw-date {
    font-weight: 600;
    min-width: 200px;
}

.winning-numbers {
    display: flex;
    gap: 8px;
}

.result-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--yellow-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 15px;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.7);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--yellow-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: 700;
    color: var(--dark);
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.author-info p {
    color: #555;
    font-size: 0.9rem;
}

/* Winners Page */
.winner-list {
    margin: 20px 0;
}

.winner-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.winner-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.winner-prize {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--yellow-gold);
}

.winner-game {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
    align-self: center;
}

.winner-details {
    display: flex;
    gap: 15px;
}

.winner-avatar {
    width: 60px;
    height: 60px;
    background: var(--yellow-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
}

.winner-info h3 {
    margin-bottom: 5px;
    color: var(--dark);
}

.winner-date {
    color: #555;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.winner-quote {
    color: #555;
    font-style: italic;
}

/* Quick Deposit Buttons */
.quick-deposit {
    flex: 1;
    min-width: 120px;
}

/* Form Elements */
input, select {
    outline: none;
}

input:focus, select:focus {
    border-color: var(--yellow-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--yellow-primary);
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.7);
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-column ul li a i {
    margin-right: 10px;
    color: var(--yellow-primary);
}

.footer-column ul li a:hover {
    color: var(--yellow-deep);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--dark);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--yellow-primary);
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.7);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--dark);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        margin-top: 10px;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .jackpot-amount {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 8px 10px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .number-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .game-tabs {
        justify-content: center;
    }
    
    .steps, .testimonials {
        grid-template-columns: 1fr;
    }
    
    .draw-date {
        min-width: auto;
        margin-bottom: 10px;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .winner-header, .winner-details {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .winner-header {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 60px 0 30px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .jackpot-display {
        padding: 20px 15px;
    }
    
    .jackpot-amount {
        font-size: 2rem;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .auth-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .btn-primary, .btn-outline {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-bet {
        justify-content: center;
    }
    
    .bet-btn {
        flex: 1;
        min-width: 70px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}