/* Import retro fonts */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Bungee+Shade&family=Audiowide&family=Orbitron:wght@400;700;900&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Star animation background */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Cursor trail canvas */
#cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.glitch-wrapper {
    margin-bottom: 20px;
}

.glitch-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    text-shadow:
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 30px #ff00de,
        0 0 40px #ff00de,
        0 0 50px #ff00de;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

.chrome-text h2 {
    font-family: 'Bungee Shade', cursive;
    font-size: clamp(2rem, 6vw, 5rem);
    background: linear-gradient(180deg, #ffffff 0%, #c0c0c0 50%, #808080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.7));
    margin-bottom: 30px;
    animation: shine 3s infinite;
}

@keyframes shine {
    0%, 100% {
        filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.7)) brightness(1);
    }
    50% {
        filter: drop-shadow(2px 2px 8px rgba(255,255,255,0.8)) brightness(1.2);
    }
}

.retro-marquee {
    background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0, #ff0080);
    background-size: 200% 100%;
    animation: marqueeGradient 3s linear infinite;
    padding: 15px 0;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: bold;
    margin: 20px 0;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    width: 100%;
}

@keyframes marqueeGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Y2K Button */
.cta-button-container {
    margin: 40px 0;
}

.y2k-button {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 20px 50px;
    background: linear-gradient(145deg, #00d4ff, #0080ff, #00d4ff);
    background-size: 200% 200%;
    border: 3px solid #fff;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(0, 212, 255, 0.6),
        inset 0 0 20px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    animation: buttonPulse 2s ease infinite;
}

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

.y2k-button:hover {
    transform: scale(1.1) !important;
    box-shadow:
        0 0 40px rgba(0, 212, 255, 1),
        inset 0 0 30px rgba(255,255,255,0.4);
}

.button-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: buttonShine 3s infinite;
}

@keyframes buttonShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.scroll-indicator {
    margin-top: 50px;
    animation: bounce 2s infinite;
}

.arrow-down {
    font-size: 2rem;
    opacity: 0.8;
}

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

/* Details Section */
.details-section {
    min-height: 100vh;
    padding: 80px 20px;
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.rainbow-text {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(1.5rem, 5vw, 3rem);
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowSlide 3s linear infinite;
}

@keyframes rainbowSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.under-construction {
    margin-top: 10px;
}

.sparkle {
    animation: sparkle 1s infinite;
    display: inline-block;
    margin: 0 5px;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 0.7; }
}

.details-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.detail-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 0 20px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    animation: cardFloat 3s ease-in-out infinite;
}

.detail-card:nth-child(2) {
    animation-delay: 1s;
}

.detail-card:nth-child(3) {
    animation-delay: 2s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.detail-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow:
        0 12px 48px rgba(255,255,255,0.3),
        inset 0 0 30px rgba(255,255,255,0.2);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: iconBounce 2s infinite;
}

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

.neon-text {
    font-family: 'Audiowide', cursive;
    font-size: 1.8rem;
    color: #00ffff;
    text-shadow:
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 30px #00ffff;
    margin-bottom: 15px;
}

.detail-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blink-text {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 60px;
    font-weight: bold;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.email-link {
    color: #ffff00;
    text-decoration: none;
    text-shadow: 0 0 10px #ffff00;
}

.email-link:hover {
    text-decoration: underline;
}

/* Countdown Section */
.countdown-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    position: relative;
    z-index: 10;
}

.metallic-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    background: linear-gradient(180deg, #ffd700 0%, #ffed4e 30%, #ff8c00 60%, #ff6347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 60px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.8));
}

.countdown-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.countdown-box {
    background: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    border: 3px solid rgba(255,255,255,0.4);
    border-radius: 15px;
    padding: 30px 20px;
    min-width: 120px;
    text-align: center;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.4),
        inset 0 0 20px rgba(255,255,255,0.1);
}

.countdown-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #00ff00;
    text-shadow:
        0 0 10px #00ff00,
        0 0 20px #00ff00;
    margin-bottom: 10px;
}

.countdown-label {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 2px;
}

.countdown-separator {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    margin: 0 10px;
}

/* Footer */
.retro-footer {
    background: linear-gradient(90deg, #000, #1a1a1a, #000);
    padding: 40px 20px;
    text-align: center;
    border-top: 5px solid #fff;
    position: relative;
    z-index: 10;
}

.footer-marquee {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    color: #00ff00;
    margin: 20px 0;
}

.visitor-counter {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-container {
        gap: 10px;
    }

    .countdown-box {
        min-width: 80px;
        padding: 20px 10px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-separator {
        font-size: 2rem;
    }

    .detail-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .countdown-box {
        min-width: 65px;
        padding: 15px 8px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.6rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
        margin: 0 5px;
    }
}
