:root {
    --primary-color: #6a1b9a;
    --secondary-color: #9c4dcc;
    --accent-color: #ffab00;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --success-color: #4caf50;
    --info-color: #2196f3;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --jackpot-color: #ffd700;
}

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

body {
    background: linear-gradient(135deg, #f8f5ff 0%, #eef2ff 100%);
    color: var(--dark-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Floating numbers background */
.background-numbers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.number-bubble {
    position: absolute;
    background: rgba(106, 27, 154, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-20px) translateX(10px) rotate(5deg); }
    50% { transform: translateY(10px) translateX(-15px) rotate(-5deg); }
    75% { transform: translateY(-15px) translateX(-10px) rotate(3deg); }
}

header {
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.9) 0%, rgba(156, 77, 204, 0.9) 100%), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="%23ffffff" stroke-width="2" fill="none" opacity="0.2"/><circle cx="20" cy="20" r="8" stroke="%23ffffff" stroke-width="1" fill="none" opacity="0.2"/></svg>');
    background-size: cover;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    color: white;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 2;
}

/* Fixed Feature Banner */
.feature-banner {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem auto;
    max-width: 800px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 70px;
    position: relative;
    overflow: hidden;
}

.feature-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    gap: 15px;
}

.feature-item.active {
    opacity: 1;
    transform: translateY(0);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.logo {
    width: 200px;
    height: 100px;
    cursor: pointer;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 0.5rem;
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: center;
    background-color: rgba(0,0,0,0.2);
    padding: 0.5rem;
    border-radius: 50px;
    max-width: 800px;
    margin: 1.5rem auto 0;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    margin: 0 0.2rem;
    border-radius: 30px;
    transition: all 0.3s;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: -1;
}

nav a:hover, nav a.active {
    background: rgba(255,255,180,0.6);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

nav a:hover::before, nav a.active::before {
    transform: translateX(0);
}
nav2 {
    display: flex;
    justify-content: center;
    background-color: rgba(0,0,0,0.2);
    padding: 0.5rem;
    border-radius: 50px;
    max-width: 800px;
    margin: 1.5rem auto 0;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

nav2 a {
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    margin: 0 0.2rem;
    border-radius: 30px;
    transition: all 0.3s;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

nav2 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: -1;
}

nav2 a:hover, nav a.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

nav2 a:hover::before, nav a.active::before {
    transform: translateX(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.date-display {
    text-align: center;
    margin: 1.5rem 0;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: bold;
    background: white;
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: inline-block;
    width: 100%;
    max-width: 500px;
    margin: 1.5rem auto;
}

.about-section {
    background: linear-gradient(135deg, white 0%, #f9f5ff 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 10px 25px rgba(106, 27, 154, 0.15);
    max-width: 800px;
    border: 1px solid rgba(156, 77, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.about-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    width: 100%;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-text {
    flex: 1;
}

.about-image {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 15px rgba(106, 27, 154, 0.3);
}

.about-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(106, 27, 154, 0.3);
    margin-top: 1rem;
}

.about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(106, 27, 154, 0.4);
}

.todays-result {
    background: linear-gradient(135deg, white 0%, #f9f5ff 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem auto;
    box-shadow: 0 10px 25px rgba(106, 27, 154, 0.15);
    max-width: 800px;
    border: 1px solid rgba(156, 77, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.todays-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.section-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.rounds {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.round {
    text-align: center;
    padding: 1.5rem;
    background: rgba(156, 77, 204, 0.05);
    border-radius: 12px;
    flex: 1;
    min-width: 250px;
    margin: 0.5rem;
    transition: transform 0.3s;
}

.round:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(106, 27, 154, 0.1);
}

.round-title {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.number {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto;
    box-shadow: 0 8px 15px rgba(106, 27, 154, 0.3);
    position: relative;
    overflow: hidden;
    border: 4px solid white;
}

.number::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    animation: rotate 5s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.quick-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
    gap: 1.5rem;
}

.quick-link {
    background: linear-gradient(135deg, white 0%, #f9f5ff 100%);
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 8px 20px rgba(106, 27, 154, 0.1);
    text-align: center;
    width: 100%;
    max-width: 300px;
    transition: all 0.4s ease;
    border: 1px solid rgba(156, 77, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
}

.quick-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(106, 27, 154, 0.2);
}

.quick-link h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.quick-link p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.quick-link a {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(106, 27, 154, 0.3);
}

.quick-link a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(106, 27, 154, 0.4);
}

footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

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

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Loading spinner */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .rounds {
        flex-direction: column;
    }
    
    .round {
        margin-bottom: 1.5rem;
    }
    
    .quick-links {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        width: 160px;
        height: 80px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        margin-top: 1rem;
    }
    
    /* Hamburger menu */
    .hamburger {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 250px;
        flex-direction: column;
        align-items: center;
        padding-top: 4rem;
        background: rgba(106, 27, 154, 0.95);
        border-radius: 0;
        z-index: 999;
        transition: right 0.3s ease;
    }
    
    nav.active {
        right: 0;
    }
    
    nav a {
        width: 80%;
        text-align: center;
        margin: 0.5rem 0;
        padding: 1rem;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .feature-banner {
        height: 60px;
        padding: 0.5rem;
    }
    
    .feature-item {
        font-size: 1.1rem;
    }
    
    .feature-item i {
        font-size: 1.5rem;
    }
}