:root {
    --bg-color: #09090B;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-blue: rgba(59, 130, 246, 0.8);
    --accent-blue-glow: rgba(59, 130, 246, 0.3);
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow: hidden;
    position: relative;
    cursor: crosshair;
}

/* Background Effects */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    animation: fadeInBackground 2s ease forwards;
}

.ambient-light {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0.5;
    animation: pulseAmbient 10s infinite alternate ease-in-out;
}

@keyframes pulseAmbient {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.grid-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

#stars-canvas, #mouse-trail-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#mouse-trail-canvas {
    z-index: 10;
}

/* Main Content */
.hero {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    flex-direction: column;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 20px;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px var(--accent-blue-glow);
    display: flex;
    align-items: center;
    min-height: 1.2em;
    margin-bottom: 0.5rem;
}

.cursor {
    display: inline-block;
    width: 4px;
    height: 0.9em;
    background-color: var(--text-primary);
    margin-left: 8px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.status-outline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    letter-spacing: 4px;
    margin-top: 1rem;
    text-transform: uppercase;
}

.coming-soon {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-btn img, .social-icon-img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    object-fit: contain; /* Ensures the image fits perfectly */
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 20px -10px var(--accent-blue), 0 0 15px var(--accent-blue-glow);
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn:hover img, .social-btn:hover .social-icon-img {
    transform: scale(1.1);
}

/* Footer */
.footer {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    z-index: 5;
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.heart {
    display: inline-block;
    color: #ef4444;
    animation: pulseHeart 2s infinite;
}

@keyframes pulseHeart {
    0% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Animation Timelines */
@keyframes fadeInBackground {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-1 { animation: fadeIn 1.5s ease forwards 0.5s; opacity: 0; }
/* Title handled by JS typing */
.fade-up { animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 3.8s; opacity: 0; transform: translateY(20px); }
.fade-in-3 { animation: fadeIn 1.2s ease forwards 4.8s; opacity: 0; }
.fade-up-staggered .social-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpBtn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-4 { animation: fadeIn 1.5s ease forwards 6.5s; opacity: 0; }

@keyframes fadeIn {
    to { opacity: 1; }
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-texture {
        background-size: 40px 40px;
    }
    .social-btn {
        width: 50px;
        height: 50px;
    }
}
