/* ===================================
   Reset & Base Styles
   =================================== */

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0a0a1a;
    color: #ffffff;
    position: relative;
}

/* ===================================
   Hero Section - Full Screen
   =================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    /* Subtle animated gradient background */
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a0a1a 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

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

/* ===================================
   Particle Canvas
   =================================== */

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ===================================
   Hero Content
   =================================== */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

.hero-title {
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #7c3aed;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.5),
                 0 0 40px rgba(124, 58, 237, 0.3);
    cursor: default;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

/* Text hover effects */
.hero-title:hover {
    color: #00eaff;
    text-shadow: 0 0 30px rgba(0, 234, 255, 0.6),
                 0 0 60px rgba(0, 234, 255, 0.4);
    animation: glowPulse 1.5s ease-out;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(1.2);
    }
}

/* Letter dance effect (activated via JS) */
.hero-title.dancing .letter {
    display: inline-block;
    animation: letterDance 0.5s ease;
}

@keyframes letterDance {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    75% { transform: translateY(-5px); }
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 1.5rem;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: default;
}

.footer-text:hover {
    color: #7c3aed;
    transform: rotate(2deg);
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

/* ===================================
   Easter Egg Smiley
   =================================== */

.easter-egg {
    position: fixed;
    font-size: 48px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.easter-egg.show {
    opacity: 1;
    right: 30px;
    animation: floatIn 3s ease-in-out;
}

@keyframes floatIn {
    0% {
        right: -60px;
        transform: translateY(-50%) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) rotate(10deg);
    }
    100% {
        right: 30px;
        transform: translateY(-50%) rotate(0deg);
    }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .site-footer {
        padding: 1rem;
    }
    
    .footer-text {
        font-size: 12px;
    }
    
    .easter-egg {
        font-size: 36px;
    }
}

/* ===================================
   Accessibility
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.hero-title:focus,
.footer-text:focus {
    outline: 2px solid #7c3aed;
    outline-offset: 4px;
}

