/* ==========================================================================
   Syamkumar Sasidharan — Minimal Luxury Portfolio Landing Page (syamks.com)
   ========================================================================== */

:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #111115;
    --text-primary: #f6f4ef;
    --text-muted: #8b8a90;
    --accent-gold: #d4af37;
    --border-subtle: rgba(255, 255, 255, 0.075);
    
    --font-handwritten: 'Allison', cursive;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
    height: 100%;
    width: 100%;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Subtle Ambient Luxury Lighting */
.ambient-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 68vw;
    height: 68vh;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.055) 0%, rgba(10, 10, 12, 0) 68%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle Film Grain Texture */
.grain-overlay {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.028'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Main Centered Layout */
.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 1.25rem 2.5rem;
    text-align: center;
}

/* Hero Section */
.hero-content {
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    width: 100%;
}

.intro-label {
    font-family: var(--font-sans);
    font-size: clamp(0.8rem, 1.2vw, 0.98rem);
    font-weight: 300;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.signature-name {
    font-family: var(--font-handwritten);
    /* Scales smoothly to stay strictly on a single line across desktop, tablet, and mobile */
    font-size: clamp(2.85rem, 9.2vw, 7.2rem);
    font-weight: 400;
    line-height: 1.08;
    white-space: nowrap;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.55);
    padding: 0 0.75rem;
}

/* Minimal Hairline Divider */
.divider {
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 1.65rem 0 1.45rem;
    opacity: 0.65;
}

/* Coming Soon Pill */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.52rem 1.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #cfcdc8;
}

.pulse-dot {
    width: 5.5px;
    height: 5.5px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
    animation: pulse 2.6s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Social Media Footer */
.social-footer {
    width: 100%;
    padding-top: 2rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.35rem;
}

.social-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.social-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.social-item:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.social-item:hover .social-icon {
    opacity: 1;
    transform: scale(1.08);
}

.separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    user-select: none;
}

/* Entrance Animations */
.fade-up {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.35s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.85s; }

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

/* Responsive Adjustments */
@media (max-width: 640px) {
    .container {
        padding: 2.25rem 1rem 2rem;
    }

    .signature-name {
        font-size: clamp(2.4rem, 10.5vw, 3.6rem);
    }
    
    .separator {
        display: none;
    }
    
    .social-links {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .social-item {
        font-size: 0.83rem;
    }
}
