/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --neon-pink: #ff00ff;
    --neon-cyan: #00ffff;
    --neon-purple: #8b5cf6;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===== Background Effects ===== */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Gradient Blobs */
.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    mix-blend-mode: multiply;
}

.blob-1 {
    width: 50vw;
    height: 50vw;
    background: var(--neon-purple);
    top: -20%;
    left: -10%;
    animation: float-blob-1 15s ease-in-out infinite;
}

.blob-2 {
    width: 40vw;
    height: 40vw;
    background: var(--neon-cyan);
    top: -10%;
    right: -10%;
    animation: float-blob-2 18s ease-in-out infinite;
}

.blob-3 {
    width: 60vw;
    height: 60vw;
    background: var(--neon-pink);
    bottom: -20%;
    left: 20%;
    animation: float-blob-3 20s ease-in-out infinite;
}

@keyframes float-blob-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, 50px) scale(1.2);
    }
}

@keyframes float-blob-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-100px, 100px) scale(1.1);
    }
}

@keyframes float-blob-3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -50px) scale(1.3);
    }
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(0);
        opacity: 0.1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-150px);
        opacity: 0.1;
    }
}

/* Noise Texture */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(16px);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: transform 0.3s ease;
}

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

.logo-accent {
    color: var(--neon-pink);
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--neon-cyan);
}

.nav-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.nav-button:hover {
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.6);
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
}

.title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple), var(--neon-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 80px rgba(255, 0, 255, 0.5);
    margin-bottom: 3rem;
    letter-spacing: -0.03em;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 30px rgba(255, 0, 255, 0.8));
    }

    50% {
        filter: drop-shadow(0 0 60px rgba(255, 0, 255, 1));
    }
}

.animated-text-container {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.animated-text {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple), var(--neon-cyan));
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.9));
    animation: gradient-shift 3s ease infinite, text-slide-in 0.6s ease;
    letter-spacing: -0.04em;
    display: inline-block;
    transition: filter 0.3s ease;
}

.animated-text:hover {
    filter: drop-shadow(0 0 60px rgba(255, 0, 255, 1));
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes text-slide-in {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hint {
    color: var(--text-gray);
    font-size: 1rem;
    animation: pulse-opacity 2s ease-in-out infinite;
}

@keyframes pulse-opacity {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===== Footer ===== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(16px);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-gray);
    font-size: 0.75rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .title {
        margin-bottom: 2rem;
    }

    .animated-text-container {
        min-height: 150px;
        margin-bottom: 2rem;
    }
}