/* ═══════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto !important;
}

body {
    background: #00C9C8;
    color: #F2EBE0;
    overflow-x: hidden;
    cursor: none;
    cursor: url('assets/img/hand.png'), auto;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
════════════════════════════════════════════ */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease,
        height 0.3s ease, background 0.3s ease;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease,
        height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}

.cursor.hovering {
    width: 20px;
    height: 20px;
}

.cursor-ring.hovering {
    width: 60px;
    height: 60px;
    opacity: 0.5;
}

/* ═══════════════════════════════════════════
   LOADER
════════════════════════════════════════════ */
#loader {
    position: fixed;
    inset: 0;
    background: #0E1320;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
}

#loader.fade {
    opacity: 0;
    pointer-events: none;
}

.loader-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* ═══════════════════════════════════════════
   VIBE SECTION — UNTOUCHED
════════════════════════════════════════════ */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

#mask-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#lazy-text,
#ek-text {
    position: absolute;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: clamp(4rem, 13vw, 18rem);
    line-height: 0.8;
    color: #F5FF3C;
    pointer-events: none;
    z-index: 10;
    opacity: 0.85;
}

#lazy-text {
    top: 25%;
    left: 2%;
    letter-spacing: -0.02em;
}

#ek-text {
    bottom: 28%;
    right: 8%;
}

#scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 20;
    transition: opacity 0.5s ease;
}

#scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

#scroll-hint span {
    font-family: "Inter", sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.3);
}

.hint-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: fall 1.8s ease-in-out infinite;
}

@keyframes fall {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scaleY(1);
        transform-origin: top;
    }
}

/* DARK NAV (appears over VIBE section) */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4vw;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

#main-nav.visible {
    opacity: 1;
    pointer-events: all;
}

#main-nav .nav-logo {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    color: white;
}

#main-nav .nav-links {
    display: flex;
    gap: 2.5rem;
}

#main-nav .nav-links a {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s;
}

#main-nav .nav-links a:hover {
    color: white;
}

/* ═══════════════════════════════════════════
   HOMEPAGE SECTION — Shane cream aesthetic
════════════════════════════════════════════ */
#homepage {
    width: 100vw;
    background: #111111;
    min-height: 100vh;
    height: auto;
    overflow: visible;
    position: relative;
    padding-top: 15vh;
    padding-bottom: 0;
    z-index: 2;
}

/* Homepage bg video — fixed viewport background */
#homepage-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center bottom;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

#homepage-bg-video.active {
    opacity: 1;
}

/* Subtle grain texture overlay */
#homepage::before {
    content: '';
    position: absolute;
    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.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}



/* ── HERO CONTENT ── */
.home-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 4vw;
    gap: 4vw;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 58px);
}

.headline-wrap {
    max-width: 70vw;
}

.cr-scene {
    position: relative;
    cursor: none;
    width: max-content;
    margin-bottom: 2rem;
    user-select: none;
    z-index: 3;
}

.cr-base-layer {
    display: flex;
    flex-direction: column;
    line-height: 0.88;
    pointer-events: none;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 3;
}

.cr-reveal-layer {
    display: flex;
    flex-direction: column;
    line-height: 0.88;
    pointer-events: none;
}

.cr-reveal-layer {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: circle(0px at 50% 50%);
    transition: none;
    will-change: clip-path;
    z-index: 3;
}

.cr-base-layer span,
.cr-reveal-layer span {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: clamp(5rem, 12vw, 14rem);
    line-height: 0.88;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    display: block;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    min-width: max-content;
    width: max-content;
}

.cr-inline-row {
    display: flex;
    align-items: baseline;
    gap: 0.3em;
    white-space: nowrap;
}

.cr-typewriter-slot {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1A1A1A;
    align-self: flex-end;
    padding-bottom: 0.4em;
    -webkit-text-stroke: 0;
}

.cr-type-red {
    color: #CC0000;
}

.cr-base-layer span {
    color: #F5FF3C;
    text-shadow: 0 0 20px rgba(245, 255, 60, 0.5);
}

.cr-reveal-layer span {
    color: #FF00C8;
    text-shadow: 0 0 25px rgba(255, 0, 200, 0.6);
}

.cr-dot {
    position: fixed;
    width: 12px;
    height: 12px;
    background: #CC0000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cr-dot.on {
    transform: translate(-50%, -50%) scale(1);
}

.headline-sub {
    margin-top: 1rem;
}

.headline-sub p {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: #F2EBE0;
    opacity: 0.7;
    margin-bottom: 0.3rem;
}

/* Move music player under the text */
#music-player-placeholder {
    margin-top: 2rem;
}

.type-cursor {
    display: inline-block;
    font-weight: 300;
    color: #FF7518;
    animation: blink 0.8s step-end infinite;
    margin-left: 1px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 2;
    height: 100%;
}

.portrait-circle {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #F5C518;
    overflow: hidden;
    border: 6px solid #F5C518;
    box-shadow: 0 0 0 3px #1A1A1A;
    flex-shrink: 0;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.portrait-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.1rem;
    line-height: 1;
}

.p-name-full {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1A1A1A;
    line-height: 1;
    text-align: center;
    display: block;
    margin-top: 0.5rem;
}

/* Remove old name styles */
.p-name-first,
.p-name-last {
    display: none;
}

/* ── MARQUEE STRIP ── */
.marquee-strip {
    background: #1A1A1A;
    color: #F2EBE0;
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform-origin: center;
    border-top: 1px solid rgba(242, 235, 224, 0.1);
    border-bottom: 1px solid rgba(242, 235, 224, 0.1);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: marquee 22s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track span,
.marquee-track a {
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #F2EBE0;
    padding: 0 1.2rem;
    text-decoration: none;
    white-space: nowrap;
}

.marquee-track a {
    opacity: 0.65;
    transition: opacity 0.3s;
}

.marquee-track a:hover {
    opacity: 1;
}

.marquee-track .dot {
    padding: 0 0.2rem;
    opacity: 0.3;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════════════
   MUSIC PLAYER — floating
   Appears when homepage section is in view
════════════════════════════════════════════ */
/* ─────────────────────────────────────────── */

.player-top {
    margin-bottom: 0.9rem;
}

.now-playing-label {
    font-family: "Inter", sans-serif;
    font-size: 0.48rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    opacity: 0.38;
    margin-bottom: 0.3rem;
}

.song-name {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.ctrl-btn {
    background: none;
    border: none;
    color: #F2EBE0;
    cursor: pointer;
    padding: 0.3rem;
    opacity: 0.55;
    transition: opacity 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctrl-btn:hover {
    opacity: 1;
    transform: scale(1.18);
}

.play-pause {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #F2EBE0 !important;
    color: #1A1A1A !important;
    opacity: 1 !important;
    padding: 0 !important;
}

.play-pause:hover {
    transform: scale(1.1) !important;
}

.shuffle-btn.active {
    opacity: 1;
    color: #90d48a;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(242, 235, 224, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #F2EBE0;
    border-radius: 2px;
    transition: width 0.5s linear;
}

/* ═══════════════════════════════════════════
   MAGNETIC BUTTON EFFECT (homepage buttons)
════════════════════════════════════════════ */
.magnetic {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ═══════════════════════════════════════════
   CONNECT BUTTON
════════════════════════════════════════════ */
.connect-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.connect-btn {
    padding: 0.8rem 2.2rem;
    background: #1A1A1A;
    color: #F2EBE0;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease;
    background-size: 200% 200%;
    position: relative;
    overflow: hidden;
}

.connect-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #c84b00, #e87722, #ff9a3c, #c84b00);
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradShift 2s ease infinite;
}

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

.connect-btn span {
    position: relative;
    z-index: 1;
}

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

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

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

.contact-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.contact-reveal.open {
    max-height: 120px;
    opacity: 1;
}

.contact-link {
    display: none;
    /* replaced by social icons */
}

/* ── SOCIAL ICONS (uiverse david-mohseni style) ── */
.social-wrapper {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
    justify-content: center;
}

.social-icon {
    position: relative;
    background: #F5C518;
    border-radius: 50%;
    margin: 6px;
    width: 50px;
    height: 50px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: #1A1A1A;
}

.social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #1A1A1A;
    text-decoration: none;
}

.social-tooltip {
    position: absolute;
    top: 0;
    font-size: 13px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    background: #F5C518;
    color: #1A1A1A;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    white-space: nowrap;
}

.social-tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #F5C518;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-icon:hover .social-tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.s-instagram:hover,
.s-instagram:hover .social-tooltip,
.s-instagram:hover .social-tooltip::before {
    background: #e4405f;
    color: #fff;
}

.s-instagram:hover a {
    color: #fff;
}

.s-linkedin:hover,
.s-linkedin:hover .social-tooltip,
.s-linkedin:hover .social-tooltip::before {
    background: #0077b5;
    color: #fff;
}

.s-linkedin:hover a {
    color: #fff;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION REDESIGN
════════════════════════════════════════════ */
#about-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #c8102e;
    z-index: 3;
    clip-path: inset(100% 0 0 0);
    will-change: clip-path;
}

#snow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.about-opener {
    width: 100%;
    height: 100vh;
    background: #c8102e;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.about-opener-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            #e8152f 0%,
            #a50d26 60%,
            #7a0a1c 100%);
    z-index: 0;
}

/* Grain texture overlay for premium feel */
.about-opener-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='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.08'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 2;
}

.about-opener-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.about-eyebrow {
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(242, 235, 224, 0.5);
    opacity: 0;
}

.about-big-text {
    font-family: "Cormorant Garamond", serif;
    font-weight: 900;
    font-size: clamp(5rem, 14vw, 14rem);
    line-height: 0.88;
    letter-spacing: -0.03em;
    color: #F2EBE0;
    opacity: 0;
    transform: translateY(80px);
}

.about-big-text em {
    font-style: italic;
    display: block;
}

/* Animated scroll line */
.about-scroll-indicator {
    width: 1px;
    height: 80px;
    background: rgba(242, 235, 224, 0.15);
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.scroll-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(242, 235, 224, 0.7);
    animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

.about-header {
    text-align: center;
    padding-top: 8vh;
    margin-bottom: 6vh;
}

.about-label {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 8rem);
    color: #F2EBE0;
    opacity: 0;
    display: inline-block;
    transform: translateY(60px);
    letter-spacing: -0.02em;
}

.blur-confessions span {
    display: inline-block;
    filter: blur(12px);
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

.sticky-board {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: transparent;
    padding: 10vh 4vw 16vh;
    overflow: visible;
    z-index: 1;
}

.sticky-board>.board-title {
    display: block !important;
}

.board-title {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(3rem, 7vw, 7rem);
    color: rgba(242, 235, 224, 0.1);
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
    margin-bottom: 6vh;
    pointer-events: none;
    user-select: none;
    display: block;
}


.sticky-note {
    position: absolute;
    top: var(--top);
    left: var(--left);
    width: 220px;
    min-height: 200px;
    background: #fef9c3;
    padding: 2rem 1.4rem 1.4rem;
    border-radius: 2px;
    filter: drop-shadow(3px 6px 12px rgba(0, 0, 0, 0.35)) drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
    transform: rotate(var(--rot)) translateY(40px);
    cursor: grab;
    user-select: none;
    z-index: 10;
    transition: filter 0.2s ease,
        transform 0.2s ease;
    opacity: 0;
}

/* Torn bottom edge effect */
.sticky-note::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 10px;
    background: inherit;
    clip-path: polygon(0% 0%, 4% 100%, 8% 20%, 12% 90%,
            16% 10%, 20% 80%, 24% 30%, 28% 95%,
            32% 15%, 36% 85%, 40% 25%, 44% 100%,
            48% 5%, 52% 90%, 56% 20%, 60% 75%,
            64% 35%, 68% 95%, 72% 10%, 76% 80%,
            80% 30%, 84% 100%, 88% 15%, 92% 85%,
            96% 25%, 100% 0%);
}

/* Slightly crumpled top-left corner */
.sticky-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.12) 45%,
            transparent 50%);
    z-index: 1;
}

.sticky-note:nth-child(2) {
    background: #fef9c3;
}

.sticky-note:nth-child(3) {
    background: #fce7f3;
}

.sticky-note:nth-child(4) {
    background: #d1fae5;
}

.sticky-note:nth-child(5) {
    background: #dbeafe;
}

.sticky-note:nth-child(6) {
    background: #fef3c7;
}

.sticky-note:nth-child(7) {
    background: #ede9fe;
}

.sticky-note:active {
    cursor: grabbing;
    box-shadow:
        8px 8px 20px rgba(0, 0, 0, 0.3),
        0 0 4px rgba(0, 0, 0, 0.15);
    transform: rotate(var(--rot)) scale(1.04);
    z-index: 100;
}

.sticky-pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #c8102e;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sticky-text {
    font-family: "Caveat", cursive;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.6;
    color: #1A1A1A;
    margin: 0 0 1rem;
}

.sticky-tag {
    font-family: "Caveat", cursive;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.45);
    display: block;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    padding-top: 0.6rem;
}

/* ═══════════════════════════════════════════
   RHUMB REVEAL ANIMATIONS
════════════════════════════════════════════ */
.rhumb-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.rhumb-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.rhumb-reveal:nth-child(1) {
    transition-delay: 0s;
}

.rhumb-reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.rhumb-reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.rhumb-reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* ═══════════════════════════════════════════
   MAC OS STYLE DOCK
════════════════════════════════════════════ */
#dock {
    position: fixed;
    bottom: 2.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#dock.visible {
    opacity: 1;
    pointer-events: all;
}

.dock-inner {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    background: rgba(242, 235, 224, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 999px;
    padding: 0.6rem 1rem;
}

.dock-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.08);
    color: #1A1A1A;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
        width 0.2s ease,
        height 0.2s ease,
        background 0.2s ease;
    transform-origin: bottom center;
}

.dock-item:hover {
    transform: scale(1.6) translateY(-8px);
    background: rgba(26, 26, 26, 0.15);
}

.dock-item::after {
    content: attr(data-label);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #1A1A1A;
    color: #F2EBE0;
    font-family: "Inter", sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.dock-item:hover::after {
    opacity: 1;
}

.dock-item:hover+.dock-item,
.dock-item:has(+ .dock-item:hover) {
    transform: scale(1.3) translateY(-4px);
}

/* ═══════════════════════════════════════════
   MUSIC TRIGGER WRAP + UIVERSE BUTTON
════════════════════════════════════════════ */
#music-trigger-wrap {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1rem;
}

#music-trigger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 0 10px;
    height: 54px;
    color: white;
    text-shadow: 2px 2px rgb(116, 116, 116);
    text-transform: uppercase;
    cursor: pointer;
    border: solid 2px black;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 17px;
    font-family: "Barlow Condensed", sans-serif;
    background-color: hsl(49deg 98% 60%);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

#music-trigger-btn:active {
    transform: scale(0.9);
    transition: all 100ms ease;
}

#music-trigger-btn svg {
    transition: all 0.5s ease;
    z-index: 2;
    flex-shrink: 0;
}

#music-trigger-btn .play {
    transition: all 0.5s ease;
    transition-delay: 300ms;
}

#music-trigger-btn:hover svg {
    transform: scale(3) translate(50%);
}

#music-trigger-btn .now {
    position: absolute;
    left: 0;
    transform: translateX(-100%);
    transition: all 0.5s ease;
    z-index: 2;
}

#music-trigger-btn:hover .now {
    transform: translateX(10px);
    transition-delay: 300ms;
}

#music-trigger-btn:hover .play {
    transform: translateX(200%);
    transition-delay: 300ms;
}

/* Music player hidden by default, reveals on click */
#music-player {
    width: 280px;
    background: #1A1A1A;
    border-radius: 16px;
    padding: 1.2rem 1.4rem 1rem;
    color: #F2EBE0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

#music-player.open {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}