:root {
    --bg-white: #FFFFFF;
    --bg-light-gray: #F7F7F7;
    --bg-pink: #FDF4F6;
    --text-dark: #111111;
    --text-pink: #D9A0B0;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
}

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

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Utility Classes */
.bg-white { background-color: var(--bg-white); }
.bg-light-gray { background-color: var(--bg-light-gray); }
.bg-pink { background-color: var(--bg-pink); }
.bg-dark { background-color: #111111; }
.text-light { color: #f7f7f7; }
.border-top { border-top: 1px solid rgba(0,0,0,0.05); }

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 2rem 3rem;
    display: flex; justify-content: space-between;
    z-index: 100;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    mix-blend-mode: difference;
    color: white;
    pointer-events: none;
}

/* Preloader */
.preloader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--bg-pink);
    z-index: 9999; display: flex; justify-content: center; align-items: center;
}
.preloader-content { text-align: center; }
.preloader-title {
    font-family: var(--font-serif); font-size: clamp(4rem, 8vw, 8rem);
    line-height: 0.9; text-align: center; opacity: 0; transform: translateY(30px);
}
.enter-btn {
    font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.2em;
    text-transform: uppercase; background: transparent; border: 1px solid var(--text-dark);
    padding: 1.2rem 3rem; border-radius: 50px; cursor: pointer; margin-top: 3rem;
    opacity: 0; transition: all 0.4s ease; display: inline-block;
}
.enter-btn:hover { background: var(--text-dark); color: var(--bg-white); }

/* Spotify Player API Embed */
.spotify-player {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #282828;
}
.spotify-player.visible {
    opacity: 1;
    pointer-events: all;
}
.spotify-player.minimized {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}
.mini-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.mini-btn:hover { opacity: 1; }

.maximize-player {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1DB954;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    border: none;
    z-index: 99;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.maximize-player.visible {
    opacity: 1;
    pointer-events: all;
}

/* Core Layout */
.section {
    padding: 15vh 5vw;
    position: relative;
    z-index: 2;
}
.section-fullscreen {
    height: 100vh; padding: 0 5vw;
}
.flex-center {
    display: flex; justify-content: center; align-items: center;
}

/* Hero Typography */
.section-hero {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; padding-top: 10vh; padding-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 0;
    overflow: hidden;
    background-image: url('hero-bg.jpg?v=7');
    background-size: cover;
    background-position: center;
}
.section-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: transparent;
    z-index: 0;
}
.hero-container {
    position: relative;
    z-index: 1;
    display: flex; flex-direction: column; width: 100%;
}
.hero-footer {
    position: relative;
    z-index: 1;

}
.hero-huge-text {
    font-family: var(--font-serif); font-size: clamp(5rem, 16vw, 20rem);
    line-height: 0.8; text-transform: uppercase; overflow: hidden;
}
.text-indent { text-align: right; padding-right: 2vw; }
.hero-huge-text .char { display: inline-block; transform: translateY(100%); }

.hero-footer {
    position: absolute; bottom: 2rem; left: 3rem; right: 3rem;
    display: flex; justify-content: space-between;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
    border-top: 1px solid rgba(0,0,0,0.1); padding-top: 1rem;
}

/* Typographic Treatments */
.text-container { max-width: 1400px; margin: 0 auto; width: 100%; }
.center { text-align: center; }
.right { text-align: right; }

.editorial-text {
    font-family: var(--font-serif); font-weight: 400;
    font-size: clamp(3rem, 6vw, 7rem); line-height: 1.1;
}
.editorial-text.large {
    font-size: clamp(2.5rem, 5vw, 6rem); max-width: 1200px; margin: 0 auto;
}
.editorial-text.italic { font-style: italic; }

.impact-text {
    font-family: var(--font-sans); font-weight: 500;
    font-size: clamp(3rem, 10vw, 13rem); line-height: 1; letter-spacing: -0.02em;
}

.small-caps {
    font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0.2em;
    text-transform: uppercase; margin-bottom: 1.5rem; color: rgba(0,0,0,0.5);
}

/* Animation utilities */
.fade-text .line, .fade-up-stagger .line { 
    overflow: hidden; display: block; padding-bottom: 0.1em; margin-bottom: -0.1em;
}
.fade-text .line-inner, .fade-up-stagger .line-inner { 
    display: block; transform: translateY(110%); 
}
.blur-text { filter: blur(20px); opacity: 0; }
.scale-text { transform: scale(0.9); opacity: 0; }

/* Timeline Photos Section */
.section-timeline {
    padding: 0;
}
.timeline-container {
    display: flex;
    flex-direction: column;
}
.timeline-frame {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.photo-placeholder {
    width: 35vw;
    height: 45vw;
    min-width: 280px;
    min-height: 380px;
    max-width: 450px;
    max-height: 600px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(5px);
    position: relative;
}
.photo-placeholder::after {
    content: '';
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}
.timeline-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

/* Preloader Elements */
.loader-counter {
    font-family: var(--font-sans);
    font-size: clamp(5rem, 15vw, 12rem);
    color: var(--text-dark);
    font-weight: 200;
    line-height: 1;
}

/* The Drop Section */
.section-drop {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; overflow: hidden; padding: 0;
}
.marquee-container {
    width: 100vw; display: flex; flex-direction: column; gap: 2rem;
    transform: rotate(-2deg) scale(1.1);
}
.marquee {
    display: flex; white-space: nowrap; font-family: var(--font-sans);
    font-size: clamp(4rem, 8vw, 10rem); font-weight: 500;
    color: var(--text-pink); opacity: 0.6;
    animation: marquee 25s linear infinite;
}
.marquee-reverse {
    font-family: var(--font-serif); font-style: italic;
    color: var(--text-dark); opacity: 0.15;
    animation: marquee-reverse 35s linear infinite; font-size: clamp(3rem, 6vw, 8rem);
}

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-reverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.final-action { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 100%; 
    margin-top: auto; 
    margin-bottom: 5vh; 
    z-index: 10; 
}
.spotify-recommendations {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}
.spotify-item {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.recommendation-text {
    color: var(--bg-white);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.8rem, 4vw, 3rem);
    opacity: 0.8;
    margin-bottom: 2rem;
    text-align: center;
}
.magnetic-btn {
    font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--bg-white); color: var(--text-dark); border: none;
    padding: 2rem 5rem; border-radius: 100px; cursor: pointer; font-style: italic;
    transition: transform 0.1s, box-shadow 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
}
.magnetic-btn:hover {
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header { padding: 1.5rem 1rem; }
    .hero-footer { flex-direction: column; gap: 1rem; left: 1rem; right: 1rem; bottom: 1rem; text-align: center; }
    .section { padding: 15vh 1rem; }
    .text-indent { padding-right: 0; text-align: left; }
    .hero-huge-text { font-size: 22vw; }
}
