/* ============================================
   TheFiveSpot — Premium Pink + Black
   ============================================ */

:root {
    --black: #0a0a0a;
    --black-soft: #141414;
    --black-muted: #1c1c1c;
    --pink: #E8A0BF;
    --pink-soft: #f0c4d8;
    --pink-deep: #c47a9a;
    --white: #faf9f7;
    --off-white: #f5f3f0;
    --text: #f0ebe6;
    --text-muted: #9a8f8a;
    --border: rgba(232, 160, 191, 0.15);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --max-width: 1200px;
    --header-h: 72px;
    --radius: 4px;
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--pink);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--white);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--pink);
}

.nav-cta {
    color: var(--pink);
    border: 1px solid var(--pink);
    padding: 6px 14px;
    border-radius: var(--radius);
}

.nav-cta:hover {
    background: var(--pink);
    color: var(--black);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 70%, var(--black) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 80px 0;
}

.hero-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 420px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--pink);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--pink-soft);
    color: var(--black);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
    border-color: var(--pink);
    color: var(--pink);
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-label {
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--white);
}

.section-desc {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 480px;
}

/* ---------- Featured Moment ---------- */
.featured-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.featured-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/5;
    cursor: pointer;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-image:hover img {
    transform: scale(1.03);
}

.featured-meta {
    padding: 20px 0;
}

.featured-date {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 12px;
}

.featured-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 16px;
}

.featured-caption {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ---------- Highlights ---------- */
.highlights-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.highlights-scroll::-webkit-scrollbar {
    height: 3px;
}

.highlights-scroll::-webkit-scrollbar-track {
    background: var(--black-muted);
}

.highlights-scroll::-webkit-scrollbar-thumb {
    background: var(--pink);
}

.highlight-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 3/4;
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.highlight-card:hover img {
    transform: scale(1.05);
}

.highlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.highlight-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--white);
}

.highlight-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---------- Moments Gallery ---------- */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.moment-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1;
    cursor: pointer;
}

.moment-item:nth-child(4n+1) {
    grid-row: span 2;
    aspect-ratio: auto;
}

.moment-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.moment-item:hover img {
    transform: scale(1.04);
}

.moment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.5);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: opacity var(--transition);
}

.moment-item:hover .moment-overlay {
    opacity: 1;
}

.moment-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--white);
}

/* ---------- The Circle (Members) ---------- */
/* Layout 2-2-1 centered when 5 members:
   0 0
   0 0
     0  */
.members-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 48px;
    max-width: 560px;
    margin: 0 auto;
}

.member-card {
    text-align: center;
    flex: 0 0 calc(50% - 24px);
    max-width: 220px;
}

/* Odd last item centered (5th, 3rd of 3, etc.) */
.members-grid .member-card:last-child:nth-child(odd) {
    flex-basis: 100%;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.member-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 1px solid var(--border);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 4px;
}

.member-role {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 8px;
}

.member-bio {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 520px) {
    .members-grid {
        gap: 32px 20px;
        max-width: 100%;
    }
    .member-card {
        flex: 0 0 calc(50% - 10px);
        max-width: none;
    }
    .member-photo {
        width: 110px;
        height: 110px;
    }
}

/* ---------- Favorite Song ---------- */
.song-block {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--black-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
}

.song-cover {
    width: 240px;
    height: 240px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-info {
    flex: 1;
}

.song-label {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 8px;
}

.song-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 4px;
}

.song-artist {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.song-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.spotify-embed {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

/* ---------- NGL CTA ---------- */
.ngl-cta {
    text-align: center;
    padding: 80px 24px;
    background: var(--black-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ngl-cta .section-title {
    margin-bottom: 12px;
}

.ngl-cta p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ---------- NGL Page ---------- */
.ngl-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 40px) 24px 60px;
}

.ngl-card {
    width: 100%;
    max-width: 440px;
    background: var(--black-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 32px;
}

.ngl-card h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 8px;
}

.ngl-card .subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.btn-block {
    width: 100%;
}

.ngl-success {
    text-align: center;
    padding: 40px 20px;
}

.ngl-success h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--pink);
    margin-bottom: 12px;
}

.ngl-success p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}

.share-btn {
    padding: 10px 16px;
    font-size: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.share-btn:hover {
    border-color: var(--pink);
    color: var(--pink);
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-brand p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state p {
    font-size: 0.9375rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .featured-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .featured-image {
        aspect-ratio: 16/10;
    }

    .moments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .moment-item:nth-child(4n+1) {
        grid-row: span 1;
        aspect-ratio: 1;
    }

    .song-block {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .song-cover {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .footer-content {
        flex-direction: column;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .moments-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .highlight-card {
        flex: 0 0 240px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
