/* ========================================
   RESET & BASE
   ======================================== */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

:root {
    --bg: #0a0a0a;
    --ink: #f0ece3;
    --accent: #ff2d2d;
    --accent2: #ff4242;
    --muted: #2a2a2a;
    --dim: #111111;
    --glow: rgba(255, 45, 45, 0.25);
    --warm: #1a1612;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Mono', monospace;
    overflow-x: hidden;
    cursor: none;
}

/* Noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    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)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9998;
    opacity: 0.4;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor {
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.15s ease;
    transform: translate(-50%, -50%);
    top: 0;
    left: 0;
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent);
    backdrop-filter: blur(2px);
}

/* Nav Logo (transparent PNG, no background) */
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.nav-logo-img {
    width: 44px;
    height: 44px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 45, 45, 0.4));
    transition: filter 0.25s ease, transform 0.25s ease;
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 20px rgba(255, 45, 45, 0.7));
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.5;
    transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 110px 2rem 100px;
}

#hero::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 45, 45, 0.08) 0, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Grid Lines */
.grid-line {
    position: absolute;
    background: var(--muted);
    opacity: 0.2;
}

.grid-line.v {
    width: 1px;
    top: 0;
    bottom: 0;
}

.grid-line.h {
    height: 1px;
    left: 0;
    right: 0;
}

/* Scene */
.scene {
    perspective: 1200px;
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Introducing text */
.introducing-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.2rem;
    user-select: none;
    opacity: 0;
    animation: fadeInDown 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-base {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3em;
    color: #787878;
    display: block;
}

.intro-shine {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3em;
    color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(
        90deg,
        transparent 0,
        transparent 30%,
        rgba(160, 160, 160, 0.1) 40%,
        rgba(210, 210, 210, 0.4) 45%,
        #fff 50%,
        rgba(210, 210, 210, 0.4) 55%,
        rgba(160, 160, 160, 0.1) 60%,
        transparent 70%,
        transparent 100%
    );
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: smoothShine 7s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes smoothShine {
    0% {
        background-position: 150% 0;
    }
    55% {
        background-position: -50% 0;
    }
    100% {
        background-position: -50% 0;
    }
}

/* Hero Name */
.hero-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 13vw, 13rem);
    line-height: 0.88;
    letter-spacing: 0.02em;
    color: var(--ink);
    display: block;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.25),
        1px 1px 0 #1a1a1a,
        2px 2px 0 #151515;
    -webkit-text-stroke: 1px rgba(240, 236, 227, 0.05);
    overflow: hidden;
    opacity: 0;
    transform: perspective(1200px) translateY(160px);
    animation: springUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-name.delay {
    animation-delay: 0.2s;
}

.hero-name.red {
    color: var(--accent);
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.25),
        1px 1px 0 #4a0a0a,
        2px 2px 0 #3d0808;
}

@keyframes springUp {
    0% {
        opacity: 1;
        transform: perspective(1200px) translateY(160px);
    }
    100% {
        opacity: 1;
        transform: perspective(1200px) translateY(0);
    }
}

/* Character animation */
.hero-name .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    animation: slideUpChar 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpChar {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ROTATING TEXT
   ======================================== */
.rotating-text-wrapper {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 1s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rotating-text {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(0.85rem, 1.8vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--accent2);
    text-align: center;
    position: absolute;
    white-space: nowrap;
    opacity: 0;
    filter: blur(12px);
    transform: translateX(40px);
    will-change: opacity, filter, transform;
}

.rotating-text.entering {
    animation: textEnter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes textEnter {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        transform: translateX(0);
    }
}

.rotating-text.active {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
}

.rotating-text.exiting {
    animation: textExit 0.6s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes textExit {
    0% {
        opacity: 1;
        filter: blur(0px);
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        filter: blur(12px);
        transform: translateX(-40px);
    }
}

/* Blinking cursor */
.rotating-text.active::after,
.rotating-text.entering::after {
    content: '|';
    color: var(--accent);
    animation: blink 0.8s step-end infinite;
    margin-left: 2px;
    opacity: 0.8;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SCROLL HINT
   ======================================== */
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    animation: fadeIn 1s 2s ease forwards;
    z-index: 10;
}

@keyframes fadeIn {
    to { opacity: 0.3; }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(0.4);
        opacity: 1;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
#about {
    padding: 10rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.section-label {
    font-size: 0.58rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.about-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.92;
    color: var(--ink);
    text-shadow: 2px 2px 0 #1a1a1a, 5px 5px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.8rem;
}

.about-text {
    font-size: 0.82rem;
    line-height: 2.1;
    opacity: 0.7;
    max-width: 46ch;
}

.about-text strong {
    color: var(--accent2);
    opacity: 1;
    font-weight: 500;
}

/* Fun Facts */
.fun-facts {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fun-fact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--dim);
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.fun-fact:first-child {
    border-radius: 8px 8px 0 0;
}

.fun-fact:last-child {
    border-radius: 0 0 8px 8px;
    border-bottom: none;
}

.fun-fact:hover {
    background: var(--warm);
    border-left-color: var(--accent);
    transform: translateX(4px);
}

.fun-fact-icon {
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 45, 45, 0.08);
    border-radius: 6px;
    flex-shrink: 0;
    padding: 0.4rem;
}

.fun-fact-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent2);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fun-fact:hover .fun-fact-icon svg {
    stroke: var(--accent);
}

.fun-fact-text {
    font-size: 0.72rem;
    line-height: 1.5;
    opacity: 0.6;
    letter-spacing: 0.02em;
}

.fun-fact:hover .fun-fact-text {
    opacity: 0.9;
}

/* ========================================
   CURRENTLY SECTION
   ======================================== */
.currently-section {
    padding: 0 3rem 6rem;
    max-width: 1100px;
    margin: -4rem auto 0;
}

.currently-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.currently-card {
    background: var(--dim);
    padding: 2.2rem 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.currently-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.currently-card:hover::before {
    opacity: 1;
}

.currently-card:hover {
    background: var(--warm);
    transform: translateY(-2px);
}

.currently-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 45, 45, 0.08);
    border-radius: 8px;
    padding: 6px;
}

.currently-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.currently-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.currently-desc {
    font-size: 0.68rem;
    line-height: 1.7;
    opacity: 0.45;
}

/* ========================================
   WORK SECTION
   ======================================== */
#work {
    padding: 8rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.work-header {
    margin-bottom: 3.5rem;
}

.work-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.9;
    text-shadow: 2px 2px 0 #1a1a1a, 6px 6px 12px rgba(0, 0, 0, 0.6);
    margin-bottom: 1rem;
}

.work-description {
    font-size: 0.78rem;
    line-height: 1.9;
    opacity: 0.6;
    max-width: 60ch;
    margin-bottom: 1rem;
}

.work-count {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    opacity: 0.25;
}

/* Projects */
.projects {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.project-row {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 2rem;
    background: var(--dim);
    padding: 1.8rem 2rem;
    border-left: 2px solid transparent;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
    text-decoration: none;
    color: var(--ink);
}

.project-row:hover {
    background: var(--warm);
    border-left-color: var(--accent);
    transform: translateX(6px);
}

.proj-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    opacity: 0.25;
    transition: opacity 0.2s, color 0.2s;
}

.project-row:hover .proj-num {
    opacity: 1;
    color: var(--accent);
}

.proj-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.proj-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    letter-spacing: 0.04em;
}

.proj-note {
    font-size: 0.65rem;
    opacity: 0.35;
    line-height: 1.5;
}

.proj-tag {
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.3;
    border: 1px solid var(--muted);
    padding: 0.3rem 0.8rem;
    transition: border-color 0.2s, opacity 0.2s;
    white-space: nowrap;
}

.project-row:hover .proj-tag {
    border-color: rgba(255, 45, 45, 0.3);
    opacity: 0.7;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
    padding: 8rem 3rem 6rem;
    position: relative;
    overflow: hidden;
}

.contact-bg-text {
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(8rem, 22vw, 24rem);
    color: #0f0f0f;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
    z-index: 0;
    -webkit-text-stroke: 1px rgba(255, 45, 45, 0.05);
}

.contact-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.contact-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 9rem);
    line-height: 0.9;
    color: var(--ink);
    text-shadow:
        3px 3px 0 #1a1a1a,
        7px 7px 0 #101010,
        10px 10px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Wave Icon */
.wave-icon {
    width: clamp(2.5rem, 6vw, 5rem);
    height: clamp(2.5rem, 6vw, 5rem);
    display: inline-flex;
    animation: wave 2.5s ease-in-out infinite;
    transform-origin: 70% 70%;
}

.wave-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes wave {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(14deg); }
    30% { transform: rotate(-8deg); }
    45% { transform: rotate(14deg); }
    60% { transform: rotate(-4deg); }
    75% { transform: rotate(10deg); }
    85% { transform: rotate(0); }
}

.contact-description {
    font-size: 0.82rem;
    line-height: 2;
    opacity: 0.6;
    margin-bottom: 2.5rem;
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form */
.contact-form {
    text-align: left;
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.58rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.4;
}

.form-group input,
.form-group textarea {
    background: var(--dim);
    border: 1px solid var(--muted);
    color: var(--ink);
    font-family: 'DM Mono', monospace;
    font-size: 0.78rem;
    padding: 0.9rem 1.1rem;
    outline: 0;
    border-radius: 4px;
    transition: border-color 0.2s, background 0.2s;
    resize: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    opacity: 0.25;
    font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255, 45, 45, 0.4);
    background: var(--warm);
}

/* Form validation feedback */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(255, 45, 45, 0.6);
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent);
    color: #fff;
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
}

.form-submit:hover {
    background: var(--accent2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 45, 45, 0.25);
}

.form-submit svg {
    transition: transform 0.2s;
}

.form-submit:hover svg {
    transform: translateX(4px);
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 45, 45, 0.05);
    border: 1px solid rgba(255, 45, 45, 0.15);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: rgba(255, 45, 45, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-success-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.form-success-text {
    font-size: 0.72rem;
    opacity: 0.5;
    line-height: 1.7;
}

/* Divider */
.contact-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0.2;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--muted);
}

.contact-divider span {
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    opacity: 0.4;
    transition: opacity 0.2s, color 0.2s, transform 0.3s, border-color 0.2s;
    padding: 0.7rem 1.3rem;
    border: 1px solid var(--muted);
    border-radius: 4px;
}

.social-link:hover {
    opacity: 1;
    color: var(--accent);
    border-color: rgba(255, 45, 45, 0.3);
    transform: scale(1.05);
}

.social-link .link-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    flex-shrink: 0;
}

.social-link .link-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--muted);
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    opacity: 0.25;
    text-transform: uppercase;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.6;
    filter: drop-shadow(0 0 4px rgba(255, 45, 45, 0.3));
    transition: opacity 0.25s ease;
}

.footer-left:hover .footer-logo {
    opacity: 1;
}

.footer-middle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-heart {
    width: 14px;
    height: 14px;
    display: inline-flex;
    animation: heartbeat 2s ease-in-out infinite;
}

.footer-heart svg {
    width: 100%;
    height: 100%;
    fill: var(--accent);
    stroke: var(--accent);
    stroke-width: 1;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer-coffee {
    width: 14px;
    height: 14px;
    display: inline-flex;
}

.footer-coffee svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    *,
    *::after,
    *::before {
        cursor: auto !important;
    }

    .cursor {
        display: none;
    }

    nav {
        padding: 1.2rem 1.5rem;
    }

    .nav-logo-img {
        width: 38px;
        height: 38px;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .intro-base,
    .intro-shine {
        font-size: 1.1rem;
    }

    .rotating-text {
        font-size: 0.85rem !important;
        white-space: normal;
        max-width: 90vw;
    }

    .rotating-text-wrapper {
        height: 60px;
    }

    #hero {
        padding: 90px 1.5rem 90px;
    }

    #about {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 6rem 1.5rem;
    }

    .currently-grid {
        grid-template-columns: 1fr;
    }

    .currently-section {
        padding: 0 1.5rem 4rem;
    }

    #work {
        padding: 6rem 1.5rem;
    }

    .project-row {
        grid-template-columns: 40px 1fr;
        gap: 0.8rem;
        padding: 1.2rem 1rem;
    }

    .proj-tag {
        display: none;
    }

    .proj-note {
        display: block;
        font-size: 0.6rem;
        opacity: 0.35;
        line-height: 1.5;
    }

    #contact {
        padding: 6rem 1.5rem 4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-heading {
        flex-direction: column;
        gap: 0.5rem;
    }

    footer {
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-left {
        justify-content: center;
    }

    .footer-logo {
        width: 18px;
        height: 18px;
    }

    .social-links {
        gap: 0.7rem;
    }
}