/* =============================================
   SHREYA BIRTHDAY — STYLE.CSS  v5 (clean)
   ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --rose: #f2a7b8;
    --rose-deep: #c2607a;
    --gold: #f6d16a;
    --lavender: #c9b8f7;
    --bg: #06030a;
    --fg: #f5eef8;
    --fg-dim: rgba(245, 238, 248, 0.55);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-serif: 'Cormorant Garamond', serif;
    --font-script: 'Dancing Script', cursive;
    --font-sans: 'Inter', sans-serif;
    --col-gap: 32px;
}

html {
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── PROGRESS BAR ─────────────────────────── */
#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--rose-deep), var(--gold), var(--lavender));
    z-index: 9999;
    pointer-events: none;
    will-change: width;
}

/* ── STAR CANVAS ──────────────────────────── */
#starCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── HERO ─────────────────────────────────── */
.hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: orbDrift 16s ease-in-out infinite alternate;
}

.orb-a {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(194, 96, 122, 0.38) 0%, transparent 70%);
    top: -100px;
    left: -120px;
}

.orb-b {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(246, 209, 106, 0.22) 0%, transparent 70%);
    bottom: -70px;
    right: -90px;
    animation-duration: 12s;
    animation-delay: -5s;
}

.orb-c {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(201, 184, 247, 0.28) 0%, transparent 70%);
    top: 45%;
    left: 58%;
    animation-duration: 19s;
    animation-delay: -9s;
}

@keyframes orbDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(45px, 35px) scale(1.1);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    opacity: 0;
    transform: translateY(40px);
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: clamp(0.68rem, 2vw, 0.82rem);
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--rose);
    opacity: 0.85;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--fg);
    text-shadow: 0 0 70px rgba(242, 167, 184, 0.3);
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 55%, var(--lavender) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-family: var(--font-script);
    font-size: clamp(1.05rem, 3.5vw, 1.75rem);
    color: var(--fg-dim);
    max-width: 480px;
    line-height: 1.55;
}

.hero-divider {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose), transparent);
    opacity: 0.6;
}

.hero-hint {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.hint-arrow {
    font-size: 1.3rem;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(9px);
    }
}

/* ── GALLERY ──────────────────────────────── */
.gallery-section {
    position: relative;
    z-index: 1;
    padding: 80px 24px 100px;
}

.gallery-heading {
    text-align: center;
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.gallery-heading .g-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--rose);
    opacity: 0.75;
}

.gallery-heading h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--fg);
}

.gallery-heading h2 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 60%, var(--lavender) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-heading .g-rule {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose), transparent);
    opacity: 0.55;
}

/* ── GALLERY SCROLL HINT ──────────────────── */
.gallery-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 0 48px;
    opacity: 1;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.gallery-scroll-hint.hidden {
    opacity: 0;
}

.gsh-arrow {
    font-size: 1.6rem;
    color: var(--rose);
    animation: gshBounce 1.8s ease-in-out infinite;
    display: block;
    text-shadow: 0 0 18px rgba(242, 167, 184, 0.55);
}

@keyframes gshBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

.gsh-text {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

/* ── MASONRY GRID ─────────────────────────── */
.masonry {
    column-count: 3;
    column-gap: var(--col-gap);
    max-width: 1200px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: var(--col-gap);
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    /* Start: hidden + contracted — GSAP scales up on load */
    opacity: 0;
    transform: scale(0.88);
    transform-origin: center bottom;
    will-change: transform, opacity;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.masonry-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    filter: drop-shadow(0 6px 24px rgba(242, 167, 184, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.masonry-item .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(6, 3, 10, 0.72);
    border: 1px solid rgba(242, 167, 184, 0.25);
    color: var(--rose);
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.masonry-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 3, 10, 0.72) 0%, rgba(6, 3, 10, 0.15) 55%, transparent 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    padding: 16px 14px;
}

.overlay-caption {
    font-family: var(--font-script);
    font-size: clamp(0.9rem, 1.6vw, 1.15rem);
    color: var(--fg);
    line-height: 1.45;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
    transform: translateY(8px);
    transition: transform 0.4s var(--ease);
}

@media (hover: hover) {
    .masonry-item:hover {
        transform: rotate(1.5deg) scale(1.005);
    }

    .masonry-item:nth-child(even):hover {
        transform: rotate(-1.5deg) scale(1.005);
    }

    .masonry-item:hover img {
        transform: scale(1.05);
        filter: drop-shadow(0 0 28px rgba(242, 167, 184, 0.95)) drop-shadow(0 0 60px rgba(246, 209, 106, 0.5)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.65));
    }

    .masonry-item:hover .overlay {
        opacity: 1;
    }

    .masonry-item:hover .badge {
        opacity: 1;
    }

    .masonry-item:hover .overlay-caption {
        transform: translateY(0);
    }
}

/* Touch tap feedback — mobile */
.masonry-item:active {
    transform: rotate(1deg) scale(1.03);
    transition: transform 0.2s ease;
}

.masonry-item:nth-child(even):active {
    transform: rotate(-1deg) scale(1.03);
}

@media (hover: none) {
    .masonry-item .badge {
        opacity: 0.85;
    }
}

@media (max-width: 900px) {
    .masonry {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .masonry {
        column-count: 2;
        column-gap: 16px;
        --col-gap: 16px;
    }

    .gallery-section {
        padding: 60px 12px 80px;
    }
}

/* ── FINALE ───────────────────────────────── */
.finale {
    position: relative;
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.finale-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    animation: orbDrift 22s ease-in-out infinite alternate;
}

.orb-fa {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(194, 96, 122, 0.3) 0%, transparent 70%);
    top: -120px;
    right: -110px;
}

.orb-fb {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(246, 209, 106, 0.2) 0%, transparent 70%);
    bottom: -90px;
    left: -90px;
    animation-delay: -11s;
}

.finale-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    max-width: 720px;
    opacity: 0;
    transform: translateY(50px);
}

.finale-eyebrow {
    font-family: var(--font-sans);
    font-size: clamp(0.62rem, 2vw, 0.78rem);
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--rose);
    opacity: 0.7;
}

.finale-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 6.5vw, 5.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--fg);
    text-shadow: 0 0 80px rgba(242, 167, 184, 0.35);
}

.finale-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 50%, var(--lavender) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.finale-rule {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.6;
}

.finale-sub {
    font-family: var(--font-script);
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    color: var(--rose);
    text-shadow: 0 0 30px rgba(242, 167, 184, 0.42);
}

.finale-sig {
    font-family: var(--font-sans);
    font-size: clamp(0.72rem, 1.8vw, 0.88rem);
    color: var(--fg-dim);
    letter-spacing: 0.06em;
    margin-top: 6px;
}

/* ── MODAL ────────────────────────────────── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.38s var(--ease);
}

.modal.open {
    pointer-events: all;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 2, 8, 0.92);
    backdrop-filter: blur(22px) saturate(0.6);
    -webkit-backdrop-filter: blur(22px) saturate(0.6);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--fg);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.3s;
}

.modal-close:hover {
    background: rgba(242, 167, 184, 0.22);
    transform: rotate(90deg);
}

.modal-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    width: min(94vw, 800px);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.45s var(--ease);
}

.modal.open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-content img {
    max-width: 100%;
    max-height: 75svh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 0 34px rgba(242, 167, 184, 0.5));
    pointer-events: none;
}

.modal-caption {
    font-family: var(--font-script);
    font-size: clamp(1.05rem, 3.2vw, 1.55rem);
    color: var(--rose);
    text-align: center;
    line-height: 1.5;
    text-shadow: 0 0 18px rgba(242, 167, 184, 0.38);
}

/* ── SCROLLBAR ────────────────────────────── */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--rose-deep);
    border-radius: 4px;
}


/* =============================================
   FLOATING MUSIC PLAYER — compact + draggable
   ============================================= */

.music-player {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 500;

    /* collapsed: tiny pill showing only the button */
    width: 64px;
    overflow: hidden;

    background: rgba(10, 3, 18, 0.50);
    border: 1px solid rgba(255, 107, 157, 0.18);
    border-radius: 40px;
    padding: 10px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 180, 200, 0.05) inset;

    display: flex;
    flex-direction: column;
    gap: 10px;

    /* entrance — drops in from top */
    transform: translateY(-50px);
    opacity: 0;
    transition:
        width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease,
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
    pointer-events: none;
    cursor: grab;
    user-select: none;
}

/* collapsed: hide secondary rows */
.music-player .mp-meta,
.music-player .music-bars,
.music-player .mp-seek-row {
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* visible (entrance done) */
.music-player.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* expanded on hover OR .expanded class */
.music-player.expanded,
.music-player:hover {
    width: 282px;
    border-radius: 20px;
    padding: 14px 16px 12px;
    background: rgba(10, 3, 18, 0.95);
    box-shadow:
        0 16px 60px rgba(0, 0, 0, 0.82),
        0 0 0 1px rgba(255, 180, 200, 0.08) inset,
        0 0 70px rgba(180, 30, 90, 0.12);
}

/* reveal hidden rows */
.music-player.expanded .mp-meta,
.music-player:hover .mp-meta,
.music-player.expanded .music-bars,
.music-player:hover .music-bars,
.music-player.expanded .mp-seek-row,
.music-player:hover .mp-seek-row {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    transition-delay: 0.1s;
}

/* while dragging */
.music-player.dragging {
    cursor: grabbing;
    opacity: 0.88;
    transition: none;
}

/* ── Top row ─────────────────────────────── */
.mp-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Album art */
.mp-art {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, #a01550 0%, #400020 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(194, 24, 78, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mp-meta {
    flex: 1;
    min-width: 0;
}

.music-title {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    color: #ff8ab0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 2px;
}

/* ── PLAY / PAUSE BUTTON ★ ─────────────── */
.music-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(145deg, #ff6b9d 0%, #e01e5a 42%, #8b0a3c 76%, #5c0028 100%);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 5px 24px rgba(224, 30, 90, 0.65),
        0 2px 8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition:
        transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
    overflow: hidden;
    z-index: 2;
}

.music-btn::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -80%;
    width: 55%;
    height: 220%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.30) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.music-btn:hover::before {
    left: 130%;
}

.music-btn:hover {
    transform: scale(1.14);
    box-shadow:
        0 0 0 9px rgba(255, 107, 157, 0.18),
        0 10px 36px rgba(224, 30, 90, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.music-btn:active {
    transform: scale(0.9);
}

/* Ripple ring when playing */
.music-ripple {
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 157, 0.6);
    opacity: 0;
    transform: scale(1);
    pointer-events: none;
}

.music-btn.playing .music-ripple {
    animation: ripplePulse 1.7s ease-out infinite;
}

@keyframes ripplePulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    100% {
        transform: scale(1.95);
        opacity: 0;
    }
}

/* ── Equalizer bars ──────────────────────── */
.music-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 10px;
    padding: 0 2px;
    flex-shrink: 0;
}

.music-bars span {
    display: block;
    flex: 1;
    background: linear-gradient(to top, #e01e5a, #ffacd0);
    border-radius: 3px;
    height: 2px;
    transition: height 0.3s;
}

.music-bars.playing span:nth-child(1) {
    animation: eqBar 0.85s ease-in-out infinite alternate;
}

.music-bars.playing span:nth-child(2) {
    animation: eqBar 0.65s ease-in-out 0.10s infinite alternate;
}

.music-bars.playing span:nth-child(3) {
    animation: eqBar 1.05s ease-in-out 0.20s infinite alternate;
}

.music-bars.playing span:nth-child(4) {
    animation: eqBar 0.75s ease-in-out 0.05s infinite alternate;
}

.music-bars.playing span:nth-child(5) {
    animation: eqBar 0.95s ease-in-out 0.15s infinite alternate;
}

@keyframes eqBar {
    0% {
        height: 2px;
    }

    100% {
        height: 10px;
    }
}

/* ── Seek row ─────────────────────────────── */
.mp-seek-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mp-time {
    font-family: var(--font-sans);
    font-size: 0.58rem;
    color: rgba(255, 210, 230, 0.55);
    white-space: nowrap;
    min-width: 26px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.mp-slider-wrap {
    position: relative;
    flex: 1;
    height: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.mp-seek {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
    margin: 0;
}

.mp-slider-wrap::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    z-index: 1;
}

.mp-seek-fill {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #c2184e 0%, #ff6b9d 55%, #ffb347 100%);
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
    transition: width 0.1s linear;
}

.mp-slider-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--thumb-pos, 0%);
    transform: translate(-50%, -50%);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.25), 0 0 10px rgba(255, 107, 157, 0.6);
    z-index: 4;
    pointer-events: none;
    transition: left 0.1s linear;
}

/* ── Mobile ───────────────────────────────── */
@media (max-width: 480px) {
    .music-player {
        top: 12px;
        right: 12px;
    }

    .music-player.expanded,
    .music-player:hover {
        width: 248px;
    }

    .music-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .mp-art {
        width: 38px;
        height: 38px;
    }
}


/* ══════════════════════════════════════════
   TEASE GATE — "There are moments only we know…"
══════════════════════════════════════════ */
.tl-tease {
    position: relative;
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    background:
        radial-gradient(ellipse 85% 60% at 50% 50%, rgba(100, 6, 48, 0.42) 0%, transparent 72%),
        linear-gradient(180deg, var(--bg) 0%, #08011a 50%, var(--bg) 100%);
}

.tlt-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    animation: orbDrift 20s ease-in-out infinite alternate;
}

.tlt-a {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(170, 10, 60, 0.32) 0%, transparent 65%);
    top: -90px;
    right: -100px;
}

.tlt-b {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(246, 185, 110, 0.14) 0%, transparent 65%);
    bottom: -50px;
    left: -70px;
    animation-duration: 15s;
    animation-delay: -8s;
}

.tlt-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    padding: 48px 32px;
}

.tlt-eyebrow {
    font-family: var(--font-sans);
    font-size: clamp(0.65rem, 2vw, 0.78rem);
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--rose);
    opacity: 0.75;
    animation: tltFadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.tlt-line {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 5.5vw, 3.4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--fg);
    line-height: 1.4;
    text-shadow:
        0 0 80px rgba(242, 107, 157, 0.32),
        0 2px 40px rgba(0, 0, 0, 0.6);
    animation: tltFadeUp 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

@keyframes tltFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Reveal Button ──────────────────────── */
.tlt-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    border: none;
    border-radius: 60px;
    background: linear-gradient(135deg, rgba(176, 10, 62, 0.88) 0%, rgba(105, 3, 42, 0.96) 60%, rgba(55, 1, 28, 1) 100%);
    color: #fce8ef;
    font-family: var(--font-sans);
    font-size: clamp(0.76rem, 2.2vw, 0.9rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 125, 165, 0.28),
        0 8px 40px rgba(176, 10, 62, 0.52),
        0 0 65px rgba(242, 107, 157, 0.18);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        opacity 0.6s ease;
    animation: tltFadeUp 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
}

.tlt-btn-ring {
    position: absolute;
    inset: -6px;
    border-radius: 66px;
    border: 1.5px solid rgba(255, 125, 158, 0.55);
    animation: tltRingPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes tltRingPulse {

    0%,
    100% {
        opacity: 0.65;
        transform: scale(1);
        box-shadow: 0 0 16px rgba(242, 107, 157, 0.38);
    }

    50% {
        opacity: 0.12;
        transform: scale(1.07);
        box-shadow: 0 0 42px rgba(242, 107, 157, 0.14);
    }
}

.tlt-btn-icon {
    font-size: 1.1rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.tlt-btn:hover {
    transform: scale(1.07) translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(255, 158, 188, 0.46),
        0 14px 55px rgba(196, 12, 72, 0.66),
        0 0 90px rgba(242, 107, 157, 0.28);
}

.tlt-btn:hover .tlt-btn-icon {
    transform: rotate(-12deg) scale(1.2);
}

.tlt-btn:active {
    transform: scale(0.97) translateY(0);
}

.tlt-btn.fading {
    opacity: 0 !important;
    transform: scale(0.9) translateY(10px) !important;
    pointer-events: none;
}

.tl-tease.fading-out {
    opacity: 0;
    transition: opacity 0.8s ease 0.25s;
    pointer-events: none;
}


/* ══════════════════════════════════════════
   REVEAL WRAPPER — hidden until clicked
══════════════════════════════════════════ */
.tl-reveal-wrap {
    opacity: 0;
    transform: translateY(32px);
    pointer-events: none;
    transition:
        opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tl-reveal-wrap.revealed {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}


/* ══════════════════════════════════════════
   TIMELINE SECTION
══════════════════════════════════════════ */
.timeline-section {
    position: relative;
    z-index: 1;
    padding: 100px 24px 120px;
}

.tl-heading {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tl-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--rose);
    opacity: 0.78;
}

.tl-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 5.5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--fg);
}

.tl-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 55%, var(--lavender) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tl-rule {
    width: 55px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose), transparent);
    opacity: 0.55;
}

/* ── Track with central spine line ─────── */
.tl-track {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* The vertical spine */
.tl-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    transform: translateX(-50%);
    width: 1px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(242, 107, 157, 0.35) 8%,
            rgba(242, 107, 157, 0.35) 92%,
            transparent 100%);
}

/* ── Each timeline row ──────────────────── */
.tl-item {
    display: grid;
    grid-template-columns: 1fr 28px 1fr;
    align-items: center;
    gap: 0;
    padding: 28px 0;
}

/* left-side card: card is in col-1, dot in col-2 */
.tl-item[data-side="left"] .tl-card {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    padding-right: 36px;
}

.tl-item[data-side="left"] .tl-dot {
    grid-column: 2;
    grid-row: 1;
}

/* right-side card: dot in col-2, card in col-3 */
.tl-item[data-side="right"] .tl-dot {
    grid-column: 2;
    grid-row: 1;
}

.tl-item[data-side="right"] .tl-card {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    padding-left: 36px;
}

/* ── Dot on the spine ───────────────────── */
.tl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--rose);
    background: var(--bg);
    box-shadow: 0 0 0 4px rgba(242, 107, 157, 0.14),
        0 0 18px rgba(242, 107, 157, 0.35);
    justify-self: center;
    align-self: center;
    flex-shrink: 0;
    transition: box-shadow 0.4s ease;
}

/* ── Card ───────────────────────────────── */
.tl-card {
    background: rgba(18, 6, 30, 0.72);
    border: 1px solid rgba(242, 107, 157, 0.14);
    border-radius: 16px;
    padding: 26px 28px;
    max-width: 380px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 8px 36px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(242, 107, 157, 0.06) inset;
    opacity: 0;
    transform: translateY(30px);
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.tl-card:hover {
    border-color: rgba(242, 107, 157, 0.32);
    box-shadow:
        0 14px 55px rgba(0, 0, 0, 0.65),
        0 0 55px rgba(242, 107, 157, 0.14),
        0 0 0 1px rgba(242, 107, 157, 0.14) inset;
}

.tl-card-emoji {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.tl-card-date {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--rose);
    opacity: 0.8;
    margin-bottom: 10px;
}

.tl-card-text {
    font-family: var(--font-serif);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 300;
    color: var(--fg);
    line-height: 1.65;
    opacity: 0.88;
}

/* ── Mobile: single column ──────────────── */
@media (max-width: 640px) {
    .tl-track::before {
        left: 18px;
    }

    .tl-item {
        grid-template-columns: 28px 1fr;
        padding: 18px 0;
    }

    .tl-item[data-side="left"] .tl-dot,
    .tl-item[data-side="right"] .tl-dot {
        grid-column: 1;
        grid-row: 1;
    }

    .tl-item[data-side="left"] .tl-card,
    .tl-item[data-side="right"] .tl-card {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        padding-left: 20px;
        padding-right: 0;
        max-width: 100%;
    }
}