/* ============================================================
   DJ SIMI — djsimi.ch
   Dark · Cinematic · Gold
   ============================================================ */

@font-face {
    font-family: 'Agnostic';
    src: url('/fonts/AgnosticFontDecorative.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --black:        #000000;
    --black-soft:   #0a0a0a;
    --black-card:   #111111;
    --black-line:   #1c1c1c;
    --gold:         #D4A820;
    --gold-light:   #f0c75a;
    --gold-deep:    #8a6a10;
    --white:        #ffffff;
    --grey:         #c8c8c8;
    --grey-mute:    #7a7a7a;

    --serif:  'Playfair Display', Georgia, serif;
    --sans:   'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --brand:  'Agnostic', 'Playfair Display', Georgia, serif;

    --max:    1200px;
    --ease:   cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    background: #000;
    color: var(--white);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

img { -webkit-user-drag: none; user-drag: none; }

/* Stack the page above the fixed fluid canvas */
.site-header,
.hero,
.section,
.site-footer {
    position: relative;
    z-index: 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; cursor: pointer; font: inherit; }

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

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.4rem 0;
    background: transparent;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.9rem 0;
    border-bottom-color: rgba(212, 168, 32, 0.15);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--brand);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    display: flex;
    gap: 0.4rem;
    transition: opacity 0.3s var(--ease);
}
.logo:hover { opacity: 0.85; }
.logo-mark { color: var(--gold); }
.logo-name { color: var(--white); }

.main-nav ul {
    display: flex;
    gap: 2.6rem;
    list-style: none;
}

.main-nav a {
    position: relative;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--grey);
    padding: 0.3rem 0;
    transition: color 0.3s var(--ease);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    transition: width 0.4s var(--ease);
}

.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    /* fluid receives input via window events in fluid.js */
}

.hero-vignette {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 50% 40%, transparent 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 900px;
    animation: heroFadeIn 1.6s var(--ease);
}

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

.hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    padding-left: 0.5em;
    opacity: 0;
    animation: fadeInUp 1.2s var(--ease) 0.3s forwards;
}

.hero-logo {
    font-family: var(--brand);
    font-weight: 400;
    font-size: clamp(4rem, 14vw, 11rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1.4s var(--ease) 0.5s forwards;
}
.hero-logo-dj {
    display: block;
    color: var(--gold);
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(212, 168, 32, 0.35));
}
.hero-logo-simi {
    display: block;
    color: var(--white);
    letter-spacing: 0.16em;
    font-weight: 400;
    font-size: 0.62em;
    margin-top: 0.15em;
}

.hero-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    color: var(--grey);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1.4s var(--ease) 0.8s forwards;
}

.hero-genres {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1rem;
    margin: 0 auto 2.6rem;
    padding: 0;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--grey-mute);
    opacity: 0;
    animation: fadeInUp 1.4s var(--ease) 1s forwards;
}
.hero-genres li {
    position: relative;
    padding: 0 0.5rem;
}
.hero-genres li + li::before {
    content: '·';
    position: absolute;
    left: -0.6rem;
    color: var(--gold);
    opacity: 0.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    border: 1px solid var(--gold);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
    opacity: 0;
    animation: fadeInUp 1.4s var(--ease) 1.25s forwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(212, 168, 32, 0.35);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}

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

.scroll-cue {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.6;
}
.scroll-cue span {
    display: block;
    width: 1px;
    height: 12px;
    background: var(--gold-light);
    animation: scrollCue 2.2s var(--ease) infinite;
}
@keyframes scrollCue {
    0%   { transform: translateY(-12px); opacity: 0; }
    50%  { opacity: 1; }
    100% { transform: translateY(50px); opacity: 0; }
}

/* ============================================================
   SECTION GENERICS
   ============================================================ */

.section {
    padding: 5rem 2rem;
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
}

.section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 60px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

.section-lede {
    margin: 1.6rem auto 0;
    max-width: 540px;
    font-size: 0.95rem;
    color: var(--grey);
    letter-spacing: 0.02em;
}

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   MUSIC — Spotify embed (lazy)
   ============================================================ */

.featured-player {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.spotify-embed {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(212, 168, 32, 0.15);
    transition: box-shadow 0.5s var(--ease);
}
.spotify-embed:hover {
    box-shadow: 0 24px 70px rgba(0,0,0,0.7), 0 0 0 1px rgba(212, 168, 32, 0.35);
}
.spotify-embed iframe {
    display: block;
    width: 100%;
    border: 0;
}
.spotify-embed--tall { min-height: 520px; }
.spotify-embed--tall iframe { min-height: 520px; }

.embed-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background:
        radial-gradient(circle at 50% 40%, rgba(212, 168, 32, 0.08), transparent 60%),
        var(--black-card);
    color: var(--grey-mute);
    transition: opacity 0.4s var(--ease);
}
.spotify-embed.loaded .embed-placeholder {
    opacity: 0;
    pointer-events: none;
}
.embed-spinner {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(212, 168, 32, 0.18);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.embed-hint {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.open-spotify {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 2rem;
    padding: 0.65rem 1.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(212, 168, 32, 0.4);
    transition: all 0.3s var(--ease);
}
.open-spotify:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(212, 168, 32, 0.25);
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
    background: transparent;
    text-align: center;
}

.about-inner {
    max-width: 780px;
    margin: 0 auto;
}

.artist-portrait {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2.5rem;
    border-radius: 50%;
}
.artist-portrait-frame {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background:
        conic-gradient(from 180deg, var(--gold-deep) 0deg, var(--gold-light) 90deg, var(--gold) 180deg, var(--gold-deep) 270deg, var(--gold-light) 360deg);
    opacity: 0.55;
    filter: blur(0.5px);
    animation: spinFrame 18s linear infinite;
}
@keyframes spinFrame {
    to { transform: rotate(360deg); }
}
.artist-portrait-img {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 30%, rgba(212, 168, 32, 0.18), transparent 70%),
        var(--black-card);
    box-shadow:
        inset 0 0 0 2px var(--black),
        0 18px 50px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(212, 168, 32, 0.18);
}
.artist-portrait-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    line-height: 1.55;
    color: var(--white);
    margin: 2.5rem 0 1.5rem;
    font-weight: 400;
}
.about-text-sub {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey);
    letter-spacing: 0.02em;
}

.highlight {
    color: var(--gold);
    font-style: italic;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: transparent;
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
}

.contact-email {
    display: inline-block;
    margin: 3rem 0 2.5rem;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.4rem, 3.6vw, 2.4rem);
    color: var(--white);
    position: relative;
    padding-bottom: 0.4rem;
    letter-spacing: 0.02em;
    transition: color 0.3s var(--ease);
}
.contact-email::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.45s var(--ease);
}
.contact-email:hover { color: var(--gold); }
.contact-email:hover::after { width: 100%; }

.socials {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    list-style: none;
    margin-top: 1rem;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border: 1px solid rgba(212, 168, 32, 0.3);
    border-radius: 50%;
    color: var(--grey);
    transition: all 0.35s var(--ease);
}
.socials a:hover {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(212, 168, 32, 0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2.5rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--brand);
    font-weight: 400;
    letter-spacing: 0.14em;
    font-size: 1.15rem;
}
.footer-logo span { color: var(--gold); }

.footer-meta {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--grey-mute);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .section { padding: 4rem 1.5rem; }
    .spotify-embed--tall,
    .spotify-embed--tall iframe { min-height: 480px; }
}

@media (max-width: 700px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 0; right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(0,0,0,0.97);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-left: 1px solid rgba(212, 168, 32, 0.15);
        transform: translateX(100%);
        transition: transform 0.45s var(--ease);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 90;
    }
    .main-nav.open { transform: translateX(0); }

    .main-nav ul {
        flex-direction: column;
        gap: 2.4rem;
        text-align: center;
    }
    .main-nav a {
        font-size: 1rem;
        letter-spacing: 0.3em;
    }

    .header-inner { padding: 0 1.5rem; }
    .section-head { margin-bottom: 2.5rem; }
    .section { padding: 3.5rem 1.25rem; }
    .spotify-embed--tall,
    .spotify-embed--tall iframe { min-height: 460px; }

    .hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.4em; }

    .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
