:root {
    --primary-yellow: #FFD700;
    /* Gold/Yellow */
    --secondary-yellow: #FFA500;
    /* Orange/Yellow */
    --bg-dark: #0B0B15;
    /* Deep Space Blue/Black */
    --bg-darker: #050508;
    --text-light: #FFFFFF;
    --text-dim: #AAAAAA;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 215, 0, 0.3);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background Stars Animation */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: var(--opacity);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: var(--opacity);
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(0.8);
    }
}

/* Hero Section */
.hero {
    flex: 1;
    /* Takes available space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    min-height: 80vh;
    /* Ensure hero takes most of the screen */
}

.hero-logo {
    max-width: 250px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(80px, 9999px, 90px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    100% {
        clip: rect(90px, 9999px, 30px, 0);
    }
}

/* Countdown */
.countdown-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    min-width: 120px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(5px);
}

.countdown-item span:first-child {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
}

.countdown-item .label {
    color: var(--primary-yellow);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Buttons Container */
.buttons-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    font-size: 1.1rem;
    /* Slightly larger text */
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-yellow);
    z-index: -1;
    transition: width 0.3s ease;
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:hover {
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button i {
    font-size: 1.3rem;
    /* Larger icons */
}

/* Notification Toast */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(11, 11, 21, 0.95);
    border: 1px solid var(--primary-yellow);
    padding: 1rem 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
}

.notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.notification i {
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

.notification span {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1rem;
}

/* Footer */
footer {
    background: transparent;
    padding: 2rem;
    text-align: center;
    width: 100%;
    margin-top: auto;
    /* Pushes footer to bottom in flex container */
    position: relative;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-yellow);
    text-shadow: 0 0 10px var(--primary-yellow);
}

footer p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }

    .countdown-item span:first-child {
        font-size: 2rem;
    }

    .buttons-container {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .cta-button {
        justify-content: center;
        width: 100%;
    }
}