/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO STYLES — Black & White Tech Aesthetic
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Monochrome Palette - High-End Fashion */
    --black: #000000;
    --black-rich: #0a0a0a;
    --black-soft: #111111;
    --gray-darkest: #161616;
    --gray-darker: #1c1c1c;
    --gray-dark: #222222;
    --gray-medium: #333333;
    --gray: #444444;
    --gray-light: #666666;
    --gray-lighter: #888888;
    --gray-soft: #aaaaaa;
    --gray-pale: #cccccc;
    --gray-snow: #e5e5e5;
    --white-off: #f0f0f0;
    --white: #fafafa;
    --snow: #ffffff;

    /* Accent - Pure White for highlights */
    --accent: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.7);
    --accent-subtle: rgba(255, 255, 255, 0.15);
    --accent-ghost: rgba(255, 255, 255, 0.05);

    /* Vinyl Record Label Colors */
    --vinyl-terracotta: #c46a5a;
    --vinyl-terracotta-dark: #a85545;
    --vinyl-sage: #8fa87a;
    --vinyl-sage-dark: #748c62;
    --vinyl-cobalt: #5a7fa8;
    --vinyl-cobalt-dark: #456a8f;
    --vinyl-gold: #c9a855;
    --vinyl-gold-dark: #a88f42;
    --vinyl-plum: #8a6a8f;
    --vinyl-plum-dark: #6f5573;
    --vinyl-slate: #6a7a85;
    --vinyl-slate-dark: #566570;

    /* Typography - Using only Inter */
    --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-y: auto;
}

body {
    font-family: var(--font-sans);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

::selection {
    background: var(--white);
    color: var(--black);
}

/* ═══════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════════ */

.cursor {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--white);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    opacity: 1;
    border-width: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   NOISE OVERLAY
   ═══════════════════════════════════════════════════════════════ */

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav.menu-open {
    mix-blend-mode: normal;
    z-index: 9990;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition-smooth);
    opacity: 0.95;
}

.logo-img:hover {
    opacity: 1;
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--snow);
    transition: width var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

.nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.nav-link.active::after {
    width: 100%;
}

.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    padding: 10px;
    mix-blend-mode: normal;
}

.nav-menu-btn span {
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: var(--transition-fast);
}

.nav-close-btn {
    display: none;
}

.nav-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(2px, 2px);
}

.nav-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 8% 0 8%;
    overflow: hidden;
    background: url('background-hp.png') no-repeat center center;
    background-size: cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Spotlight Effect - Subtle for background image */
.spotlight {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 40%,
        transparent 70%
    );
    z-index: 3;
}

/* Matrix Background Canvas */
#matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.08;
}

/* Snow Effect */
.snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: var(--white);
    font-size: 1rem;
    opacity: 0;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        opacity: 0;
        transform: translateY(-10px) rotate(0deg);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Street Light */
.street-light {
    position: absolute;
    right: 12%;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.light-post {
    width: 4px;
    height: 250px;
    background: linear-gradient(180deg, var(--gray-medium) 0%, var(--gray-dark) 100%);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.light-arm {
    width: 60px;
    height: 3px;
    background: var(--gray-medium);
    position: absolute;
    bottom: 250px;
    left: -30px;
    border-radius: 2px;
}

.light-lamp {
    width: 20px;
    height: 25px;
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--gray-medium) 100%);
    position: absolute;
    bottom: 225px;
    left: -40px;
    border-radius: 3px 3px 8px 8px;
}

.light-glow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 500px;
    background: radial-gradient(ellipse at top center, rgba(255, 250, 240, 0.08) 0%, rgba(255, 250, 240, 0.03) 30%, transparent 70%);
    pointer-events: none;
}

/* Name Glow - disabled, using lamp glow instead */
.name-glow {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}

/* Floating Geometric Shapes - Hidden for cleaner look */
.floating-shapes {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(45deg);
}

.shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 5%;
    border-radius: 50%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    top: 15%;
    right: 15%;
    animation-delay: -10s;
    animation-duration: 18s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 10%;
    border-radius: 50%;
    animation-delay: -7s;
    animation-duration: 22s;
}

.shape-5 {
    width: 30px;
    height: 30px;
    top: 50%;
    right: 25%;
    transform: rotate(45deg);
    animation-delay: -3s;
    animation-duration: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-40px) rotate(270deg);
        opacity: 0.5;
    }
}

/* Glowing Orbs - Hidden for cleaner look */
.orb {
    display: none;
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 50%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: pulse 12s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    bottom: -150px;
    left: -150px;
    animation: pulse 15s ease-in-out infinite reverse;
}

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

/* Code Tags */
.code-tag {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--gray-light);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.code-tag.closing {
    animation-delay: 1.6s;
}

/* Typing Cursor */
.cursor-blink {
    animation: blink 1s step-end infinite;
    color: var(--white);
}

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

/* Scan Line Effect */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    z-index: 10;
    animation: scan 5s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Glitch Effect on Title */
.hero-title.glitch {
    position: relative;
}

.hero-title.glitch::before,
.hero-title.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.hero-title.glitch::before {
    left: 3px;
    text-shadow: -3px 0 rgba(255, 255, 255, 0.7);
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.hero-title.glitch::after {
    left: -3px;
    text-shadow: 3px 0 rgba(255, 255, 255, 0.7);
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0%, 85%, 100% { transform: translate(0); }
    86% { transform: translate(-5px, -2px); }
    87% { transform: translate(5px, 2px); }
    88% { transform: translate(-3px, 1px); }
    89% { transform: translate(0); }
    90% { transform: translate(3px, -1px); }
}

@keyframes glitch-anim-2 {
    0%, 80%, 100% { transform: translate(0); }
    81% { transform: translate(5px, 2px); }
    82% { transform: translate(-5px, -1px); }
    83% { transform: translate(3px, 1px); }
    84% { transform: translate(-3px, -2px); }
}

.hero-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8rem;
    z-index: 5;
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.hero-content {
    text-align: left;
    position: relative;
}

.hero-text {
    margin-bottom: 0;
}

/* Hero Profile Photo */
.hero-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: photoReveal 1.5s ease forwards 2.5s;
}

@keyframes photoReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.hero-photo-frame {
    width: 200px;
    height: 265px;
    border-radius: 100px 100px 8px 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6), 0 0 120px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    animation: photoFloat 6s ease-in-out infinite 4s;
}

.hero-photo-frame:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6), 0 0 120px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.04);
    transform: scale(1.02);
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dust Motes */
.dust-motes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

.dust-mote {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: dustFloat linear infinite;
}

@keyframes dustFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120px) translateX(40px);
        opacity: 0;
    }
}

/* Hero Welcome Line */
.hero-welcome {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    min-height: 1.4em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    font-weight: 700;
    font-style: normal;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    white-space: nowrap;
    position: relative;
    z-index: 5;
    overflow: visible;
    min-height: 1.2em;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffe082 12%,
        #ffd54f 25%,
        #ffffff 38%,
        #ffca28 50%,
        #ffffff 62%,
        #ffd54f 75%,
        #ffe082 88%,
        #ffffff 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: waveShimmer 10s linear infinite;
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin-left: 2px;
    animation: blink 0.8s step-end infinite;
    vertical-align: baseline;
}

.hero-title .typewriter-cursor {
    height: 0.85em;
    width: 2px;
    -webkit-text-fill-color: initial;
    background: rgba(255, 243, 196, 0.9);
}

.hero-welcome .typewriter-cursor {
    height: 0.9em;
    width: 1px;
}

/* Wave Motion Animation */
@keyframes waveMotion {
    0%, 100% {
        transform: translateY(0) skewX(0deg);
        filter: brightness(1);
    }
    25% {
        transform: translateY(-3px) skewX(0.5deg);
        filter: brightness(1.1);
    }
    50% {
        transform: translateY(0) skewX(0deg);
        filter: brightness(1.2);
    }
    75% {
        transform: translateY(3px) skewX(-0.5deg);
        filter: brightness(1.1);
    }
}

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

@keyframes shimmerText {
    0%, 100% {
        background-position: 100% center;
    }
    50% {
        background-position: 0% center;
    }
}

@keyframes waveShimmer {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 200% center;
    }
}
.hero-title .line:nth-child(3) .word { animation-delay: 1.1s; }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.hero-scroll {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.5s;
}

.hero-scroll span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-lighter);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gray-lighter), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}


/* Hero Subtitle - typed intro line */
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  position: relative;
  display: block;
  text-align: left;
  min-height: 1.6em;
}

.hero-subtitle .typewriter-cursor {
  height: 1em;
}

/* Hero Tagline */
.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.3s;
}

/* Hero Links */
.hero-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-links.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-social-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 220, 120, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-social-icon {
    display: none;
    width: 18px;
    height: 18px;
}

.hero-social-link:hover {
    color: rgba(255, 235, 160, 1);
    border-bottom-color: rgba(255, 220, 120, 0.4);
}

.hero-link-divider {
    color: rgba(255, 220, 120, 0.25);
    font-size: 0.75rem;
    font-weight: 200;
    user-select: none;
}

/* Subtitle Lines */
.subtitle-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-light), transparent);
    vertical-align: middle;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION COMMON STYLES
   ═══════════════════════════════════════════════════════════════ */

section {
    padding: 8rem 4rem;
}

.page-section {
    min-height: 100vh;
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 5;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #d4a574;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION - TERMINAL STYLE
   ═══════════════════════════════════════════════════════════════ */

.about {
    background: #000000;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,0.9) 0%, transparent 100%),
        radial-gradient(2px 2px at 30% 60%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 70% 40%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 25% 90%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 35%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 5% 55%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 95% 45%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 55% 85%, rgba(255,255,255,0.7) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    animation: starFieldTwinkle 4s ease-in-out infinite;
}

/* Stars background for all sections */
.work::before,
.projects-section::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.9) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 50%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 70% 90%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 50%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 90% 10%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 40%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 15% 60%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 45% 15%, rgba(255,255,255,0.7) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    animation: starFieldTwinkle 4s ease-in-out infinite;
}

@keyframes starFieldTwinkle {
    0%, 100% { opacity: 0.5; }
    25% { opacity: 0.8; }
    50% { opacity: 1; }
    75% { opacity: 0.7; }
}

/* About Layout */
.about-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
    align-items: start;
}

.about-layout--full {
    grid-template-columns: 1fr;
}

.about-layout--full .terminal-container {
    max-width: 100%;
}

/* About Photo Section */
.about-photo-section {
    position: sticky;
    top: 8rem;
}

.photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.photo-frame-artistic {
    position: relative;
    width: 280px;
    height: 280px;
    margin-bottom: 1.5rem;
}

.photo-frame-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.photo-frame-svg circle {
    stroke: rgba(255, 255, 255, 0.1);
}

.rotating-dash {
    transform-origin: center;
    stroke: rgba(255, 255, 255, 0.15) !important;
}

.about-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 230px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.photo-frame-artistic:hover .about-photo {
    transform: translate(-50%, -50%) scale(1.03);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.photo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
}

.photo-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: #f8f8f2;
    margin-bottom: 1rem;
}

.label-bracket {
    color: #f1c40f;
}

.photo-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #50fa7b;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(80, 250, 123, 0.4);
    border-radius: 20px;
    background: rgba(80, 250, 123, 0.1);
    text-shadow: 0 0 10px rgba(80, 250, 123, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #50fa7b;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(80, 250, 123, 0.8);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(80, 250, 123, 0.8); }
    50% { opacity: 0.6; box-shadow: 0 0 20px rgba(80, 250, 123, 0.4); }
}

.terminal-container {
    max-width: 100%;
}

.terminal {
    background: #0a0a0a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 238, 140, 0.2);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 238, 140, 0.05);
}

.terminal-header {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-close { background: #ff5f57; border-color: #e0443e; }
.btn-minimize { background: #febc2e; border-color: #d4a028; }
.btn-maximize { background: #28c840; border-color: #1aab29; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.prompt {
    color: #FFEE8C;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 238, 140, 0.5);
}

.directory {
    color: #ffffff;
    font-weight: bold;
}

.command {
    font-size: 1rem;
    font-weight: 600;
    color: #f8f8f2;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    animation: commandShine 3s ease-in-out infinite;
}

@keyframes commandShine {
    0%, 100% { text-shadow: 0 0 8px rgba(255, 255, 255, 0.3); }
    50% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 25px rgba(255, 255, 255, 0.3); }
}

.terminal-output {
    padding: 12px 0 24px 24px;
    color: rgba(255, 255, 255, 0.9);
    border-left: 2px solid #FFEE8C;
    margin-left: 8px;
    margin-bottom: 16px;
}

.terminal-output .highlight {
    color: #FFEE8C;
    background: rgba(255, 238, 140, 0.15);
    padding: 2px 8px;
    border-radius: 3px;
    text-shadow: 0 0 8px rgba(255, 238, 140, 0.4);
}

.terminal-output .highlight::after {
    display: none;
}

.about-output p {
    margin-bottom: 4px;
}

.passion-output {
    border-left-color: #FFEE8C;
}

.passion-text {
    color: #FFEE8C;
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.8;
    text-shadow: 0 0 15px rgba(255, 238, 140, 0.3);
}

/* Skills Grid */
.skill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-item {
    background: rgba(255, 238, 140, 0.1);
    border: 1px solid rgba(255, 238, 140, 0.4);
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 0.85rem;
    color: #FFEE8C;
    transition: var(--transition-fast);
}

.skill-item:hover {
    background: rgba(255, 238, 140, 0.25);
    border-color: rgba(255, 238, 140, 0.8);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 238, 140, 0.3);
}

.skill-item.soft {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.skill-item.soft:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFEE8C;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* JSON Output Styling */
.hobbies-output {
    border-left-color: #FFEE8C;
}

.json-output {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #ffffff;
}

.json-key {
    color: #FFEE8C;
    text-shadow: 0 0 8px rgba(255, 238, 140, 0.3);
}

.json-value {
    color: #FFEE8C;
    text-shadow: 0 0 6px rgba(255, 238, 140, 0.3);
}

.json-string {
    color: rgba(255, 255, 255, 0.7);
}

/* Terminal Cursor */
.terminal-body .cursor {
    color: #FFEE8C;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 238, 140, 0.8);
    margin-left: 2px;
}

.terminal-body .cursor-blink {
    color: #FFEE8C;
    animation: blink 1s step-end infinite;
    text-shadow: 0 0 10px rgba(255, 238, 140, 0.8);
}

/* Interactive terminal styling */
.terminal-body {
    max-height: 500px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 238, 140, 0.3);
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 238, 140, 0.5);
}

.output-wrapper {
    margin-bottom: 8px;
}

.terminal .command {
    display: inline;
    white-space: pre;
}

/* Scan effect on terminal */
.terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        transparent 50%,
        rgba(0, 0, 0, 0.05) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1;
}

.terminal {
    position: relative;
}

/* Glow effect */
.terminal::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 238, 140, 0.1) 50%,
        transparent 70%
    );
    border-radius: 8px;
    pointer-events: none;
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ═══════════════════════════════════════════════════════════════
   WORK / EXPERIENCE SECTION
   ═══════════════════════════════════════════════════════════════ */

.work {
    background-color: #000000;
    position: relative;
    overflow: hidden;
}


.work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-dark), transparent);
}

/* Roadmap timeline — alternating left/right */
.roadmap {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.roadmap-curve-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 2;
}

.roadmap-node {
    position: relative;
    display: flex;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

/* SVG dots styled via JS — no CSS dot needed */
.roadmap-svg-dot {
    transition: all 0.3s ease;
}

/* Left-side nodes: content on left half */
.roadmap-left .roadmap-content {
    width: calc(50% - 2rem);
    margin-right: auto;
}

/* Right-side nodes: content on right half */
.roadmap-right .roadmap-content {
    width: calc(50% - 2rem);
    margin-left: auto;
}

/* Content card */
.roadmap-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.roadmap-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: none;
}

.roadmap-node:hover .roadmap-content::before {
    animation: cardShimmer 0.8s ease forwards;
}

@keyframes cardShimmer {
    to { left: 150%; }
}

/* Glow line on top edge */
.roadmap-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.roadmap-node:hover .roadmap-content::after {
    opacity: 1;
}

.roadmap-node:hover .roadmap-content {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.1);
}

.roadmap-left:hover .roadmap-content {
    transform: translateX(-6px) scale(1.02);
}

.roadmap-right:hover .roadmap-content {
    transform: translateX(6px) scale(1.02);
}

/* Staggered scroll-in animation */
.roadmap-node {
    opacity: 0;
    transform: translateY(30px);
    animation: roadmapSlideIn 0.6s ease forwards;
}

.roadmap-node:nth-child(2) { animation-delay: 0.1s; }
.roadmap-node:nth-child(3) { animation-delay: 0.2s; }
.roadmap-node:nth-child(4) { animation-delay: 0.3s; }
.roadmap-node:nth-child(5) { animation-delay: 0.4s; }
.roadmap-node:nth-child(6) { animation-delay: 0.5s; }

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

/* Highlight card (AI Engineer) — yellow */
.roadmap-highlight .roadmap-content {
    background: rgba(255, 238, 140, 0.04);
    border-color: rgba(255, 238, 140, 0.2);
}

.roadmap-highlight .roadmap-content::after {
    background: linear-gradient(90deg, transparent, rgba(255, 238, 140, 0.5), transparent);
    opacity: 0.6;
}

.roadmap-highlight:hover .roadmap-content::after {
    opacity: 1;
}

.roadmap-highlight:hover .roadmap-content {
    border-color: rgba(255, 238, 140, 0.4);
    box-shadow: 0 8px 30px rgba(255, 238, 140, 0.1), 0 0 40px rgba(255, 238, 140, 0.05);
}

.roadmap-highlight .roadmap-title {
    color: #FFEE8C;
}

.roadmap-highlight .roadmap-date {
    color: rgba(255, 238, 140, 0.7);
}

/* Text styles */
.roadmap-date {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--gray-lighter);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

.roadmap-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.roadmap-company {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--gray-lighter);
    letter-spacing: 0.05em;
}

.roadmap-summary {
    font-size: 0.75rem;
    color: var(--gray-soft);
    line-height: 1.5;
    margin-top: 0.4rem;
}


/* ═══════════════════════════════════════════════════════════════
   PROJECTS SECTION
   ═══════════════════════════════════════════════════════════════ */

.projects-section {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.project-card {
    --card-accent: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.25rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--card-accent) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.project-card:hover {
    border-color: var(--card-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px color-mix(in srgb, var(--card-accent) 15%, transparent);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover::after {
    opacity: 0.04;
}

/* Accent colors per card */
.project-card:nth-child(1) { --card-accent: #4ade80; }
.project-card:nth-child(2) { --card-accent: #818cf8; }
.project-card:nth-child(3) { --card-accent: #f472b6; }
.project-card:nth-child(4) { --card-accent: #38bdf8; }
.project-card:nth-child(5) { --card-accent: #fb923c; }

/* Staggered fade-in */
.project-card {
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }

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

.project-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.project-icon-badge {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--card-accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--card-accent) 25%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--card-accent);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.project-card:hover .project-icon-badge {
    background: color-mix(in srgb, var(--card-accent) 20%, transparent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--card-accent) 30%, transparent);
}

.project-icon-badge svg {
    width: 14px;
    height: 14px;
    stroke: var(--card-accent);
}

.project-ext-link {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-lighter);
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
}

.project-ext-link:hover {
    color: var(--card-accent);
    border-color: var(--card-accent);
    background: color-mix(in srgb, var(--card-accent) 8%, transparent);
}

.project-info {
    padding: 0;
    position: relative;
    z-index: 1;
}

.project-date {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--gray-lighter);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin: 0.4rem 0 0.5rem;
    line-height: 1.3;
}

.project-desc {
    font-size: 0.72rem;
    color: var(--gray-lighter);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.project-tags span {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.45rem;
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--card-accent) 20%, transparent);
    border-radius: 2px;
    color: var(--gray-soft);
    transition: var(--transition-fast);
}

.project-card:hover .project-tags span {
    border-color: color-mix(in srgb, var(--card-accent) 35%, transparent);
    color: color-mix(in srgb, var(--card-accent) 60%, var(--gray-soft));
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════ */

.contact {
    background-image: url('background-contact.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow-y: auto;
}

.contact-layout {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-layout .section-number {
    margin-bottom: 0.5rem;
}

.contact-layout .section-title {
    margin-bottom: 2rem;
}

.contact-content {
    max-width: 800px;
    position: relative;
    z-index: 5;
    margin-left: 0;
}

.contact-text {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.contact-email-link {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #ffd9a0;
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-email-link:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 220, 160, 0.5);
}

.contact-social {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #ffd9a0;
    transition: var(--transition-fast);
}

.contact-social:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 220, 160, 0.5);
}

.resume-link {
    display: inline-block;
}

/* Keep old styles for backwards compatibility */
.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-style: italic;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-medium);
    transition: var(--transition-smooth);
    margin-bottom: 4rem;
}

.contact-email:hover {
    gap: 2rem;
    border-bottom-color: var(--snow);
}

.contact-email:hover .email-arrow {
    transform: translateX(0.5rem);
}

.email-arrow {
    transition: var(--transition-smooth);
}

.contact-links {
    display: flex;
    gap: 3rem;
}

.social-link {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-lighter);
    position: relative;
    transition: var(--transition-fast);
}

.social-link::before {
    content: '[';
    margin-right: 0.25rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.social-link::after {
    content: ']';
    margin-left: 0.25rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--snow);
}

.social-link:hover::before,
.social-link:hover::after {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
    padding: 2rem 4rem;
    border-top: 1px solid var(--gray);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-lighter);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-time {
    font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .nav {
        padding: 1.5rem 2rem;
    }

    section {
        padding: 6rem 2rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-photo-section {
        position: static;
    }

    .terminal-body {
        padding: 16px;
        font-size: 0.8rem;
    }

    .hero-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.8rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        z-index: 9991;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-close-btn {
        display: block;
        position: absolute;
        top: 2rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: var(--white);
        cursor: pointer;
        width: 28px;
        height: 28px;
        padding: 0;
    }

    .nav-close-btn svg {
        width: 100%;
        height: 100%;
    }

    .nav-links .nav-link {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }

    .nav-menu-btn {
        display: flex;
    }

    .hero {
        padding: 0 6%;
        align-items: center;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-photo {
        order: -1;
        justify-content: center;
    }

    .hero-photo-frame {
        width: 180px;
        height: 240px;
        border-radius: 90px 90px 6px 6px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        white-space: normal;
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .about-layout--full {
        grid-template-columns: 1fr;
    }

    .hero-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-social-icon {
        display: block;
    }

    .hero-social-text {
        display: none;
    }

    .hero-link-divider {
        display: none;
    }

    .hero-social-link {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-links {
        justify-content: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .scene {
        right: 5%;
        width: 250px;
        height: 300px;
        opacity: 0.7;
    }

    .lamp-post {
        height: 200px;
    }

    .lamp-arm {
        width: 50px;
        bottom: 200px;
        left: -45px;
    }

    .lamp-head {
        width: 20px;
        height: 28px;
        bottom: 190px;
        left: -55px;
    }

    .lamp-glow {
        left: -120px;
        width: 250px;
        height: 220px;
    }

    .bench {
        width: 80px;
        height: 45px;
    }

    .bench-seat {
        width: 80px;
        height: 6px;
        bottom: 18px;
    }

    .bench-back {
        width: 70px;
        height: 22px;
        bottom: 24px;
    }

    .sitting-figure {
        left: 15px;
        bottom: 24px;
        transform: scale(0.7);
    }

    .hero-links {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-link {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .photo-frame-artistic {
        width: 180px;
        height: 180px;
    }

    .about-photo {
        width: 140px;
        height: 140px;
        filter: grayscale(0%) contrast(1);
    }

    .photo-overlay {
        width: 140px;
        height: 140px;
    }

    .roadmap {
        padding-left: 1.5rem;
    }

    .roadmap {
        padding-left: 1.5rem;
    }

    .roadmap-line {
        left: 6px;
        transform: none;
    }


    .roadmap-left .roadmap-content,
    .roadmap-right .roadmap-content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .roadmap-left:hover .roadmap-content,
    .roadmap-right:hover .roadmap-content {
        transform: translateX(4px);
    }

    .terminal-body {
        padding: 12px;
        font-size: 0.75rem;
    }

    .terminal-output {
        padding: 8px 0 16px 12px;
    }

    .skill-item {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .json-output {
        font-size: 0.7rem;
    }

    .project {
        grid-template-columns: 1fr;
    }

    .project-index {
        padding-top: 0;
    }

    .contact-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }

    section {
        padding: 4rem 1rem;
    }

    .section-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .project {
        padding: 2rem 1rem;
    }

    .footer {
        padding: 1.5rem 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS ON SCROLL (to be triggered by JS)
   ═══════════════════════════════════════════════════════════════ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ═══════════════════════════════════════════════════════════════
   ATMOSPHERIC SCENE - Street Lamp, Bench, Sitting Figure
   ═══════════════════════════════════════════════════════════════ */

/* Stars Container */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.star {
    position: absolute;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Star variations */
.star.twinkle {
    animation: starTwinkle 2s ease-in-out infinite;
}

.star.shine {
    animation: starShine 3s ease-in-out infinite;
}

.star.pulse {
    animation: starPulse 4s ease-in-out infinite;
}

.star.drift {
    animation: starDrift 8s ease-in-out infinite, starTwinkle 2s ease-in-out infinite;
}

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

@keyframes starShine {
    0%, 100% {
        opacity: 0.4;
        box-shadow: 0 0 4px rgba(255, 255, 255, 0.5), 0 0 8px rgba(255, 255, 255, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 220, 180, 0.6), 0 0 30px rgba(255, 200, 150, 0.3);
    }
}

@keyframes starPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.3);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    75% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes starDrift {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(3px, -2px);
    }
    50% {
        transform: translate(-2px, 3px);
    }
    75% {
        transform: translate(2px, 2px);
    }
}

/* Shooting Stars - Soft gliding streak */
.shooting-star {
    position: absolute;
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.8) 80%,
        rgba(255, 255, 255, 1) 100%
    );
    border-radius: 50%;
    transform: rotate(135deg);
    opacity: 0;
    pointer-events: none;
    filter: blur(0.5px);
}

.shooting-star::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -2px;
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
    border-radius: 50%;
}

.shooting-star.animate {
    animation: shootingStar 2s ease-out forwards;
}

@keyframes shootingStar {
    0% {
        opacity: 0;
        transform: rotate(135deg) translate(0, 0);
    }
    10% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: rotate(135deg) translate(500px, 0);
    }
}

/* Scene Container - Hidden when using background image */
.scene {
    display: none;
    position: absolute;
    right: 10%;
    bottom: 0;
    width: 400px;
    height: 450px;
    z-index: 4;
    pointer-events: none;
}

/* Street Lamp */
.lamp {
    position: absolute;
    right: 50px;
    bottom: 0;
    z-index: 5;
}

.lamp-post {
    width: 6px;
    height: 320px;
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.lamp-arm {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2a2a2a, #3a3a3a);
    position: absolute;
    bottom: 320px;
    left: -75px;
    border-radius: 2px;
    transform-origin: right center;
    transform: rotate(-5deg);
}

.lamp-head {
    width: 30px;
    height: 40px;
    background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 30%, #2a2a2a 100%);
    position: absolute;
    bottom: 310px;
    left: -90px;
    border-radius: 5px 5px 15px 15px;
    box-shadow: 0 5px 20px rgba(255, 200, 100, 0.3);
}

.lamp-light {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background: linear-gradient(180deg, #fff9e6 0%, #ffcc66 100%);
    border-radius: 0 0 10px 10px;
    box-shadow:
        0 0 20px rgba(255, 200, 100, 0.8),
        0 0 40px rgba(255, 200, 100, 0.5),
        0 0 60px rgba(255, 180, 80, 0.3);
    animation: lampFlicker 4s ease-in-out infinite;
}

@keyframes lampFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
    52% { opacity: 1; }
    54% { opacity: 0.85; }
    56% { opacity: 1; }
}

/* Lamp Glow - Warm Light Cone */
.lamp-glow {
    position: absolute;
    bottom: 0;
    left: -200px;
    width: 400px;
    height: 350px;
    background: radial-gradient(
        ellipse 60% 80% at 50% 10%,
        rgba(255, 210, 120, 0.15) 0%,
        rgba(255, 200, 100, 0.08) 30%,
        rgba(255, 180, 80, 0.03) 50%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 3;
}

/* Bench Area */
.bench-area {
    position: absolute;
    bottom: 0;
    left: 50px;
    z-index: 4;
}

/* Bench */
.bench {
    position: relative;
    width: 120px;
    height: 60px;
}

.bench-seat {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 120px;
    height: 8px;
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
    border-radius: 2px;
}

.bench-back {
    position: absolute;
    bottom: 33px;
    left: 5px;
    width: 110px;
    height: 30px;
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
    border-radius: 3px 3px 0 0;
    transform: rotate(-5deg);
    transform-origin: bottom center;
}

.bench-leg {
    position: absolute;
    bottom: 0;
    width: 6px;
    height: 25px;
    background: linear-gradient(180deg, #333 0%, #222 100%);
    border-radius: 0 0 2px 2px;
}

.bench-leg.leg-1 { left: 10px; }
.bench-leg.leg-2 { right: 10px; }

.bench-arm {
    position: absolute;
    bottom: 25px;
    width: 8px;
    height: 25px;
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
    border-radius: 2px 2px 0 0;
}

.bench-arm.arm-1 { left: 0; }
.bench-arm.arm-2 { right: 0; }

/* Sitting Figure Silhouette */
.sitting-figure {
    position: absolute;
    bottom: 33px;
    left: 30px;
    z-index: 5;
}

.figure-head {
    width: 22px;
    height: 22px;
    background: #1a1a1a;
    border-radius: 50%;
    position: absolute;
    bottom: 55px;
    left: 10px;
}

.figure-hair {
    position: absolute;
    bottom: 60px;
    left: 5px;
    width: 32px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 50% 50% 30% 30%;
    transform: rotate(-5deg);
}

/* Long flowing hair */
.figure-hair::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -8px;
    width: 20px;
    height: 45px;
    background: #1a1a1a;
    border-radius: 0 0 40% 20%;
    transform: rotate(15deg);
}

.figure-body {
    width: 30px;
    height: 35px;
    background: #1a1a1a;
    border-radius: 10px 10px 5px 5px;
    position: absolute;
    bottom: 22px;
    left: 8px;
    transform: rotate(-5deg);
}

.figure-legs {
    position: absolute;
    bottom: 0;
    left: 5px;
    width: 35px;
    height: 22px;
    background: #1a1a1a;
    border-radius: 5px;
}

/* Legs crossed effect */
.figure-legs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25px;
    width: 25px;
    height: 12px;
    background: #1a1a1a;
    border-radius: 0 0 10px 0;
}

/* Ground Glow - Warm light reflection */
.ground-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 200, 100, 0.05) 50%,
        rgba(255, 180, 80, 0.08) 100%
    );
    pointer-events: none;
}

/* Terminal Click to Start */
.terminal-click-prompt .click-hint {
    color: rgba(255, 238, 140, 0.5);
    font-style: italic;
    animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.terminal:not(.terminal-active) {
    cursor: pointer;
}

.terminal:not(.terminal-active):hover {
    border-color: rgba(255, 238, 140, 0.4);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 238, 140, 0.1);
}

.terminal:not(.terminal-active):hover .click-hint {
    color: rgba(255, 238, 140, 0.8);
}

.terminal-active {
    cursor: default;
}

/* ═══════════════════════════════════════════════════════════════
   HOBBIES SECTION - VINYL PLAYER
   ═══════════════════════════════════════════════════════════════ */

.hobbies {
    min-height: 100vh;
    padding: 8rem 5%;
    position: relative;
    overflow: hidden;
    background-color: #000000;
}


.hobbies .section-header {
    flex-wrap: wrap;
}

.hobbies .section-intro {
    width: 100%;
    color: var(--gray-soft);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: normal;
    margin-top: 0.5rem;
}

.vinyl-container {
    position: relative;
    max-width: 1600px;
    margin: 6rem auto 0;
    padding: 0 2% 12rem;
    min-height: 700px;
}

/* Spotify Player - Hidden but functional */
.vinyl-spotify-section {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2rem;
    width: 320px;
    z-index: 10;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.vinyl-spotify-wrapper {
    background: rgba(22, 22, 22, 0.95);
    border: 1px solid var(--gray-dark);
    border-radius: 16px;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.vinyl-spotify-wrapper.visible {
    opacity: 1;
    visibility: visible;
}

.vinyl-now-playing-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.vinyl-now-playing-icon {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 18px;
}

.vinyl-sound-bar {
    width: 3px;
    background: #FFEE8C;
    border-radius: 2px;
    animation: vinylSoundBar 0.5s ease infinite alternate;
}

.vinyl-sound-bar:nth-child(1) { animation-delay: 0s; height: 60%; }
.vinyl-sound-bar:nth-child(2) { animation-delay: 0.1s; height: 100%; }
.vinyl-sound-bar:nth-child(3) { animation-delay: 0.2s; height: 40%; }
.vinyl-sound-bar:nth-child(4) { animation-delay: 0.3s; height: 80%; }

@keyframes vinylSoundBar {
    from { transform: scaleY(0.3); }
    to { transform: scaleY(1); }
}

.vinyl-now-playing-text {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--white);
}

.vinyl-now-playing-text span {
    color: #FFEE8C;
}

.vinyl-spotify-embed {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.vinyl-spotify-embed iframe {
    display: block;
    width: 100%;
    height: 152px;
}

/* Turntable Section */
.vinyl-turntable-section {
    position: absolute;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.vinyl-instruction {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--gray-soft);
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    transition: opacity 0.4s ease;
}

.vinyl-instruction.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Turntable */
.vinyl-turntable {
    position: relative;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
    /* Outer glow for premium feel */
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.3));
}

.vinyl-turntable-base {
    width: 100%;
    height: 100%;
    /* Brushed metal texture - horizontal grain */
    background:
        /* Subtle horizontal brushed lines */
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 1px,
            rgba(255, 255, 255, 0.02) 1px,
            rgba(255, 255, 255, 0.02) 2px,
            transparent 2px,
            transparent 4px
        ),
        /* Primary brushed metal gradient */
        linear-gradient(180deg,
            #3a3a3a 0%,
            #2d2d2d 2%,
            #252525 5%,
            #1f1f1f 50%,
            #1a1a1a 95%,
            #151515 100%
        );
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Multiple layered shadows for physical depth/height */
    box-shadow:
        /* Elevation shadows - makes it look 15-20px tall */
        0 40px 80px rgba(0, 0, 0, 0.7),
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        /* Bottom edge shadow for thickness */
        0 2px 0 #0a0a0a,
        0 3px 0 #080808,
        0 4px 0 #050505,
        /* Inner highlights */
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}

/* Top rim highlight for thickness illusion */
.vinyl-turntable-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 10%,
        rgba(255, 255, 255, 0.25) 30%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.25) 70%,
        rgba(255, 255, 255, 0.15) 90%,
        transparent 100%
    );
    border-radius: 16px 16px 0 0;
    z-index: 10;
}

/* Side edge bevel */
.vinyl-turntable-base::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.vinyl-platter {
    width: 300px;
    height: 300px;
    /* Heavy aluminum platter appearance */
    background:
        /* Surface light reflection */
        radial-gradient(ellipse at 30% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
        /* Concentric machining marks (subtle) */
        repeating-radial-gradient(
            circle at center,
            transparent 0px,
            transparent 8px,
            rgba(255, 255, 255, 0.015) 8px,
            rgba(255, 255, 255, 0.015) 9px
        ),
        /* Base metal gradient */
        radial-gradient(ellipse at 50% 50%,
            #4a4a4a 0%,
            #3d3d3d 30%,
            #2f2f2f 60%,
            #252525 100%
        );
    border-radius: 50%;
    position: relative;
    /* Heavy platter floating above base - dramatic shadow */
    box-shadow:
        /* Main elevation shadow */
        0 12px 40px rgba(0, 0, 0, 0.8),
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.4),
        /* Tight shadow directly under platter */
        0 2px 4px rgba(0, 0, 0, 0.9),
        /* Edge thickness shadows */
        0 1px 0 #1a1a1a,
        0 2px 0 #151515,
        0 3px 0 #101010,
        /* Inner bevel highlights */
        inset 0 2px 6px rgba(255, 255, 255, 0.1),
        inset 0 -3px 8px rgba(0, 0, 0, 0.4),
        /* Outer rim highlight */
        inset 0 0 0 2px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.vinyl-platter.spinning,
.vinyl-platter.is-playing {
    animation: vinylPlatterSpin 2s linear infinite;
}

@keyframes vinylPlatterSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Center label area - recessed mat */
.vinyl-platter::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    /* Rubber mat texture */
    background:
        radial-gradient(ellipse at 35% 35%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 50%;
    box-shadow:
        inset 0 3px 10px rgba(0, 0, 0, 0.6),
        inset 0 -1px 2px rgba(255, 255, 255, 0.05),
        0 -1px 2px rgba(0, 0, 0, 0.3);
}

/* Center spindle - polished metal */
.vinyl-platter::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    /* Chrome spindle */
    background:
        radial-gradient(ellipse at 30% 25%,
            #ffffff 0%,
            #e0e0e0 20%,
            #a0a0a0 50%,
            #707070 80%,
            #505050 100%
        );
    border-radius: 50%;
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.vinyl-platter-grooves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    /* Refined concentric groove pattern */
    background: repeating-radial-gradient(
        circle at center,
        transparent 0px,
        transparent 3px,
        rgba(0, 0, 0, 0.08) 3.5px,
        transparent 4px,
        transparent 6px,
        rgba(255, 255, 255, 0.02) 6.5px,
        transparent 7px
    );
    /* Recessed groove area effect */
    box-shadow:
        inset 0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* Control Panel Elements */
.vinyl-power-led {
    position: absolute;
    bottom: 25px;
    left: 30px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 30% 30%, #00ff00, #008800);
    border-radius: 50%;
    box-shadow:
        0 0 8px rgba(0, 255, 0, 0.6),
        0 0 15px rgba(0, 255, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    z-index: 5;
}

.vinyl-speed-selector {
    position: absolute;
    bottom: 22px;
    left: 55px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.vinyl-speed-mark {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: #505050;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.vinyl-speed-mark.active {
    color: #909090;
}

.vinyl-start-stop-btn {
    position: absolute;
    bottom: 20px;
    right: 30px;
    width: 24px;
    height: 24px;
    /* Machined metal button */
    background:
        radial-gradient(ellipse at 35% 35%,
            #5a5a5a 0%,
            #404040 40%,
            #2a2a2a 100%
        );
    border-radius: 50%;
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

/* Button center dot */
.vinyl-start-stop-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 30% 30%, #3a3a3a, #1a1a1a);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.vinyl-drop-zone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 2px dashed transparent;
    transition: all 0.2s ease;
    pointer-events: none;
}

.vinyl-drop-zone.active {
    border-color: #FFEE8C;
    background: rgba(255, 238, 140, 0.05);
}

/* Tonearm - SVG based with counterweight */
.vinyl-tonearm {
    position: absolute;
    top: 25px;
    right: 20px;
    width: 160px;
    height: 60px;
    transform-origin: 140px 30px; /* Pivot from the base mount point */
    transform: rotate(-25deg); /* Rest position - off the record */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}

/* Playing state - tonearm on record */
.vinyl-tonearm.playing,
.vinyl-tonearm.is-playing {
    transform: rotate(15deg); /* On the record */
}

.vinyl-tonearm-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* Hide old div-based tonearm elements if any remain */
.vinyl-tonearm-arm,
.vinyl-tonearm-head,
.vinyl-tonearm-base {
    display: none;
}

/* Scattered Records - Left Side Layout */
.vinyl-records-orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    pointer-events: none;
}

.vinyl-records-orbit .vinyl-record {
    pointer-events: auto;
}

/* Legacy shelf styles - kept for compatibility */
.vinyl-records-shelf {
    display: none;
}

.vinyl-shelf-title {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--gray-soft);
    text-align: center;
}

.vinyl-records-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Draggable Record */
.vinyl-record {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    cursor: grab;
    position: absolute;
    transition: transform 0.3s ease, filter 0.3s ease, z-index 0s;
    user-select: none;
    /* Default shadow - overridden by position classes */
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.5));
}

.vinyl-record:hover {
    z-index: 50 !important;
}

.vinyl-record.dragging {
    cursor: grabbing;
    filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.7)) !important;
    z-index: 100 !important;
}

/* Scattered left-side positions - hand-placed look */
/* Position 1: Top area, Terracotta - highest hover */
.vinyl-pos-1 {
    top: 8%;
    left: 15%;
    transform: rotate(-7deg);
    z-index: 6;
    filter: drop-shadow(0 28px 35px rgba(0, 0, 0, 0.55));
}
.vinyl-pos-1:hover {
    transform: rotate(-7deg) scale(1.08);
    filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.65));
}

/* Position 2: Upper-middle, Sage - medium-high hover */
.vinyl-pos-2 {
    top: 18%;
    left: 38%;
    transform: rotate(4deg);
    z-index: 5;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5));
}
.vinyl-pos-2:hover {
    transform: rotate(4deg) scale(1.08);
    filter: drop-shadow(0 32px 40px rgba(0, 0, 0, 0.6));
}

/* Position 3: Middle-left, Cobalt - medium hover */
.vinyl-pos-3 {
    top: 38%;
    left: 8%;
    transform: rotate(-3deg);
    z-index: 4;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.48));
}
.vinyl-pos-3:hover {
    transform: rotate(-3deg) scale(1.08);
    filter: drop-shadow(0 28px 35px rgba(0, 0, 0, 0.58));
}

/* Position 4: Center-ish, Gold - overlaps others, high z-index */
.vinyl-pos-4 {
    top: 42%;
    left: 32%;
    transform: rotate(6deg);
    z-index: 3;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45));
}
.vinyl-pos-4:hover {
    transform: rotate(6deg) scale(1.08);
    filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.55));
}

/* Position 5: Lower-left, Plum - lower hover */
.vinyl-pos-5 {
    bottom: 18%;
    left: 12%;
    transform: rotate(-5deg);
    z-index: 2;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.42));
}
.vinyl-pos-5:hover {
    transform: rotate(-5deg) scale(1.08);
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.52));
}

/* Position 6: Bottom area, Slate - lowest hover, back of pile */
.vinyl-pos-6 {
    bottom: 12%;
    left: 35%;
    transform: rotate(2deg);
    z-index: 1;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.38));
}
.vinyl-pos-6:hover {
    transform: rotate(2deg) scale(1.08);
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.48));
}

.vinyl-record.on-platter {
    position: absolute;
    /* Reset all position offsets from orbit positions */
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 260px;
    height: 260px;
    cursor: pointer;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    z-index: 10 !important;
}

.vinyl-record.on-platter.spinning,
.vinyl-record.on-platter.is-playing {
    animation: vinylRecordSpin 2s linear infinite;
}

@keyframes vinylRecordSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.vinyl-record-disc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 30% 30%, #2a2a2a 0%, #1a1a1a 30%, #0d0d0d 70%, #050505 100%);
    position: relative;
    /* Hovering 20px above background with realistic shadow */
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 5px 10px rgba(0, 0, 0, 0.3),
        /* Inner shadow for depth and edge */
        inset 0 2px 4px rgba(255, 255, 255, 0.08),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

/* Grooves effect with repeating radial gradient and inner shadow */
.vinyl-record-disc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at center,
        transparent 0px,
        transparent 1px,
        rgba(0, 0, 0, 0.3) 1.5px,
        transparent 2px,
        transparent 3px,
        rgba(255, 255, 255, 0.04) 3.5px,
        transparent 4px
    );
    /* Inner shadow to enhance groove depth */
    box-shadow:
        inset 0 0 60px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Gloss overlay at 45-degree angle */
.vinyl-record-disc::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.08) 55%,
        transparent 60%,
        transparent 100%
    );
    pointer-events: none;
}

.vinyl-record-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    box-shadow:
        inset 0 3px 8px rgba(0, 0, 0, 0.4),
        inset 0 -2px 4px rgba(255, 255, 255, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.3);
    /* Subtle gloss on label */
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 40%,
        transparent 60%
    );
    background-blend-mode: overlay;
}

.vinyl-record-label::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background:
        radial-gradient(ellipse at 30% 30%,
            rgba(60, 60, 60, 1) 0%,
            rgba(20, 20, 20, 1) 60%,
            rgba(0, 0, 0, 1) 100%
        );
    border-radius: 50%;
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Record Colors */
/* Record Label Colors - Using CSS Variables */
.vinyl-record-1 .vinyl-record-label {
    background: linear-gradient(145deg, var(--vinyl-terracotta), var(--vinyl-terracotta-dark));
}

.vinyl-record-2 .vinyl-record-label {
    background: linear-gradient(145deg, var(--vinyl-sage), var(--vinyl-sage-dark));
}

.vinyl-record-3 .vinyl-record-label {
    background: linear-gradient(145deg, var(--vinyl-cobalt), var(--vinyl-cobalt-dark));
}

.vinyl-record-4 .vinyl-record-label {
    background: linear-gradient(145deg, var(--vinyl-gold), var(--vinyl-gold-dark));
}

.vinyl-record-5 .vinyl-record-label {
    background: linear-gradient(145deg, var(--vinyl-plum), var(--vinyl-plum-dark));
}

.vinyl-record-6 .vinyl-record-label {
    background: linear-gradient(145deg, var(--vinyl-slate), var(--vinyl-slate-dark));
}

.vinyl-record-song {
    font-family: var(--font-serif);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
    line-height: 1.2;
}

.vinyl-record-artist {
    font-family: var(--font-sans);
    font-size: 0.5rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vinyl-record.on-platter .vinyl-record-song {
    font-size: 0.95rem;
}

.vinyl-record.on-platter .vinyl-record-artist {
    font-size: 0.65rem;
}

/* Remove/Put Back Button */
.vinyl-remove-record {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-dark);
    border: 1px solid var(--gray-medium);
    color: var(--gray-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
}

.vinyl-record.on-platter:hover .vinyl-remove-record,
.vinyl-remove-record:focus {
    opacity: 1;
}

.vinyl-remove-record:hover {
    background: var(--gray-medium);
    color: var(--white);
    border-color: var(--gray-light);
}

.vinyl-remove-record svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 1200px) {
    .vinyl-container {
        min-height: 600px;
    }

    .vinyl-spotify-section {
        width: 240px;
    }

    .vinyl-turntable-section {
        left: 68%;
    }

    .vinyl-turntable {
        width: 350px;
        height: 350px;
    }

    .vinyl-platter {
        width: 260px;
        height: 260px;
    }

    .vinyl-tonearm {
        width: 140px;
        height: 52px;
        top: 20px;
        right: 15px;
        transform-origin: 122px 26px;
    }

    .vinyl-power-led {
        bottom: 20px;
        left: 25px;
        width: 6px;
        height: 6px;
    }

    .vinyl-speed-selector {
        bottom: 18px;
        left: 45px;
    }

    .vinyl-speed-mark {
        font-size: 0.5rem;
    }

    .vinyl-start-stop-btn {
        bottom: 16px;
        right: 25px;
        width: 20px;
        height: 20px;
    }

    .vinyl-record.on-platter {
        width: 220px;
        height: 220px;
    }

    .vinyl-record {
        width: 130px;
        height: 130px;
    }

    .vinyl-records-orbit {
        width: 52%;
    }

    /* Adjusted scattered positions for medium screens */
    .vinyl-pos-1 { top: 8%; left: 10%; }
    .vinyl-pos-2 { top: 12%; left: 45%; }
    .vinyl-pos-3 { top: 38%; left: 3%; }
    .vinyl-pos-4 { top: 42%; left: 38%; }
    .vinyl-pos-5 { bottom: 18%; left: 8%; }
    .vinyl-pos-6 { bottom: 10%; left: 40%; }
}

@media (max-width: 1024px) {
    .vinyl-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .vinyl-spotify-section {
        order: 3;
        width: 100%;
        max-width: 350px;
    }

    .vinyl-turntable-section {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        order: 1;
    }

    /* Switch to horizontal strip below turntable on tablet */
    .vinyl-records-orbit {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem 1rem;
        order: 2;
    }

    .vinyl-records-orbit .vinyl-record {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        /* Reset individual shadows to uniform height */
        filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45));
    }

    /* Keep unique tilts for hand-placed look */
    .vinyl-pos-1 { transform: rotate(-7deg); }
    .vinyl-pos-2 { transform: rotate(4deg); }
    .vinyl-pos-3 { transform: rotate(-3deg); }
    .vinyl-pos-4 { transform: rotate(6deg); }
    .vinyl-pos-5 { transform: rotate(-5deg); }
    .vinyl-pos-6 { transform: rotate(2deg); }
}

@media (max-width: 768px) {
    .vinyl-turntable {
        width: 300px;
        height: 300px;
    }

    .vinyl-platter {
        width: 220px;
        height: 220px;
    }

    .vinyl-platter-grooves {
        width: 200px;
        height: 200px;
    }

    .vinyl-drop-zone {
        width: 200px;
        height: 200px;
    }

    .vinyl-tonearm {
        width: 120px;
        height: 45px;
        top: 15px;
        right: 12px;
        transform-origin: 105px 22px;
    }

    .vinyl-power-led {
        bottom: 15px;
        left: 20px;
        width: 5px;
        height: 5px;
    }

    .vinyl-speed-selector {
        display: none;
    }

    .vinyl-start-stop-btn {
        bottom: 12px;
        right: 20px;
        width: 18px;
        height: 18px;
    }

    .vinyl-record.on-platter {
        width: 180px;
        height: 180px;
    }

    .vinyl-record {
        width: 110px;
        height: 110px;
    }

    .vinyl-records-orbit {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .vinyl-records-orbit {
        gap: 0.75rem;
        padding: 1.5rem 0.5rem;
    }

    .vinyl-record {
        width: 90px;
        height: 90px;
    }

    .vinyl-turntable {
        width: 260px;
        height: 260px;
    }

    .vinyl-platter {
        width: 200px;
        height: 200px;
    }

    .vinyl-tonearm {
        width: 100px;
        height: 38px;
        top: 12px;
        right: 10px;
        transform-origin: 88px 19px;
    }

    .vinyl-power-led,
    .vinyl-speed-selector,
    .vinyl-start-stop-btn {
        display: none;
    }

    .vinyl-platter-grooves {
        width: 180px;
        height: 180px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════════════ */

.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: none;
}

.landing-page.hidden {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.landing-scene {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* ---- Puppy (pure silhouette) ---- */

.landing-puppy {
    position: absolute;
    width: 50px;
    height: 75px;
    pointer-events: none;
    z-index: 10002;
    transform: translate(-50%, -50%);
    transition: transform 0.08s linear;
}

.landing-puppy svg {
    width: 100%;
    height: 100%;
}

.landing-puppy.face-left svg {
    transform: scaleX(-1);
}

/* Breathing pulse */
.landing-puppy .puppy-svg {
    animation: puppyBreathe 3s ease-in-out infinite;
}

@keyframes puppyBreathe {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.02) translateY(-1px); }
}

/* (tail wag removed — girl figure) */

/* Puppy bounce when moving */
.landing-puppy.moving .puppy-svg {
    animation: puppyBounce 0.3s ease-in-out infinite;
}

@keyframes puppyBounce {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(0, -4px); }
}

/* Puppy celebration at gate */
.landing-puppy.at-gate .puppy-svg {
    animation: puppyCelebrate 0.5s ease-in-out infinite;
}

@keyframes puppyCelebrate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: translateY(-10px) rotate(-6deg) scale(1.06); }
    75% { transform: translateY(-10px) rotate(6deg) scale(1.06); }
}

/* ---- Puppy Ground Shadow (simple oval) ---- */

.landing-puppy-shadow {
    position: absolute;
    width: 30px;
    height: 8px;
    pointer-events: none;
    z-index: 10001;
    background: radial-gradient(ellipse, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.04) 50%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, 0);
}

/* ---- Hint Typography ---- */

.landing-hint {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10003;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    opacity: 0;
    animation: hintFadeIn 2s ease 2s forwards;
    pointer-events: none;
    white-space: nowrap;
}

@keyframes hintFadeIn {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---- Transition ---- */

.landing-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 10004;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.landing-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* HTML gate (used on mobile where SVG slice crops the SVG gate) */
.landing-gate-html {
    display: none;
    position: absolute;
    z-index: 10001;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .landing-puppy {
        width: 38px;
        height: 57px;
    }

    .landing-puppy-shadow {
        width: 24px;
        height: 6px;
    }

    .landing-hint {
        font-size: 0.6rem;
        letter-spacing: 3px;
        bottom: 12%;
    }

    /* Hide SVG gate, show HTML gate on mobile */
    .landing-scene path {
        display: none;
    }

    .landing-gate-html {
        display: block;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        height: 105px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .landing-gate-html {
        top: 8%;
        width: 60px;
        height: 90px;
    }
}
