/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    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;
    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-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 {
    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,255,0.2);
    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);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.date-display {
    text-align: center;
    margin: 1.5rem 0;
    font-size: 1.3rem;
    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;
}

.numbers-section {
    background: linear-gradient(135deg, white 0%, #fff0f0 100%); /* Default, overridden in specific CSS */
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* Default, overridden in specific CSS */
    max-width: 800px;
    border: 1px solid rgba(0,0,0,0.2); /* Default, overridden in specific CSS */
    position: relative;
    overflow: hidden;
}

.numbers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.section-title {
    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;
    border-radius: 2px;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.number-circle {
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3); /* Default, overridden in specific CSS */
    position: relative;
    overflow: hidden;
    border: 4px solid white;
    transition: all 0.3s ease;
}

.number-circle:hover {
    transform: scale(1.1) rotate(10deg);
}

.number-circle::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;
}

.numbers-description {
    text-align: center;
    margin-top: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}

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;
}

.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 {
    transform: translateY(-3px);
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .number-circle {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .logo {
        width: 160px;
        height: 80px;
    }
    
    /* 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;
        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;
    }
}