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

/* ── TOKENS ────────────────────────────────────────────────────────────── */
:root {
    --primary:       #3b9eff;
    --primary-light: #72c0ff;
    --primary-glow:  rgba(59,158,255,0.40);
    --glass:         rgba(255,255,255,0.52);
    --border:        rgba(255,255,255,0.55);
    --border-soft:   rgba(255,255,255,0.28);
    --ink:           #0b1c2e;
    --ink-mid:       #1a3350;
    --ink-muted:     #2a4a62;
    --shadow:        0 8px 32px rgba(10,40,80,0.13);
    --shadow-lg:     0 20px 60px rgba(10,40,80,0.18);
    /* buyer = sky blue tint, artist = warm peach tint */
    --buyer-tint:    rgba(59,158,255,0.10);
    --buyer-border:  rgba(59,158,255,0.25);
    --artist-tint:   rgba(255,150,80,0.10);
    --artist-border: rgba(255,150,80,0.30);
}

/* ── BASE ──────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    background:
        linear-gradient(to bottom, rgba(200,230,255,0.10), rgba(160,210,255,0.18)),
        url('../assets/images/sky-bg.png') center / cover fixed;
    color: var(--ink);
    overflow-x: hidden;
}
h1, h2 { font-family: 'DM Serif Display', serif; }
h3      { font-family: 'Nunito', sans-serif; font-weight: 700; }
section { padding: 90px 8%; }
body::before {
    content: ""; position: fixed; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.38) 0%, transparent 60%);
    pointer-events: none; z-index: 0;
}

/* ── PARTICLES ─────────────────────────────────────────────────────────── */
.particles { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.particles span {
    position: absolute; bottom: -20px; display: block; border-radius: 50%;
    animation: floatParticle linear infinite;
}
@keyframes floatParticle {
    0%   { transform: translateY(0) scale(0.4); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 0.7; }
    100% { transform: translateY(-105vh) scale(1.1); opacity: 0; }
}

/* ── NAVBAR ────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed; inset: 0 0 auto 0;
    display: flex; align-items: center; gap: 20px;
    padding: 0 5%; height: 64px;
    background: rgba(255,255,255,0.28);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    z-index: 1000; transition: transform 0.4s ease;
}
.navbar.hide { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; cursor: pointer; }
.logo-icon { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(59,158,255,0.5)); }
.logo-text {
    font-family: 'DM Serif Display', serif; font-size: 21px;
    background: linear-gradient(135deg, #0b1c2e 0%, #1a6bb5 60%, #3b9eff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 26px; flex-shrink: 0; }
.nav-links a {
    text-decoration: none; font-weight: 600; font-size: 14px;
    color: var(--ink-mid); position: relative; transition: color 0.2s;
}
.nav-links a::after {
    content: ""; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px; transition: width 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-search { flex: 1; max-width: 340px; position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--ink-muted); pointer-events: none; }
.search-input {
    width: 100%; padding: 8px 36px 8px 36px;
    background: rgba(255,255,255,0.55); backdrop-filter: blur(10px);
    border: 1px solid var(--border); border-radius: 999px;
    font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 500;
    color: var(--ink); outline: none; transition: background 0.2s, box-shadow 0.2s;
}
.search-input::placeholder { color: var(--ink-muted); opacity: 0.8; }
.search-input:focus { background: rgba(255,255,255,0.82); box-shadow: 0 0 0 3px rgba(59,158,255,0.2); }
.search-shortcut {
    position: absolute; right: 12px; font-size: 11px; font-weight: 700;
    color: var(--ink-muted); background: rgba(255,255,255,0.7);
    border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; pointer-events: none;
}
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
    position: relative; overflow: hidden;
    padding: 9px 20px; border-radius: 999px; border: none; cursor: pointer;
    font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn.large { padding: 13px 28px; font-size: 15px; }
.btn.primary { background: linear-gradient(135deg, #3b9eff, #72c0ff); color: #fff; box-shadow: 0 4px 16px var(--primary-glow); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px var(--primary-glow); }
.btn-shine {
    position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
    transform: skewX(-18deg); transition: left 0.5s ease; pointer-events: none;
}
.btn.primary:hover .btn-shine { left: 130%; }
.btn.secondary { background: rgba(255,255,255,0.72); border: 1.5px solid var(--border); color: var(--ink-mid); backdrop-filter: blur(8px); }
.btn.secondary:hover { background: rgba(255,255,255,0.96); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink-mid); font-weight: 600; }
.btn.ghost:hover { color: var(--primary); }
.btn:active { transform: scale(0.96) !important; }

/* ── SECTION LABELS ────────────────────────────────────────────────────── */
.section-label {
    display: inline-block; font-weight: 800; font-size: 11px;
    letter-spacing: 0.20em; text-transform: uppercase; color: var(--ink-mid);
    background: rgba(255,255,255,0.68); border: 1px solid rgba(255,255,255,0.72);
    border-radius: 999px; padding: 4px 14px; backdrop-filter: blur(6px); margin-bottom: 14px;
}
.section-head { margin-bottom: 40px; }
.center-text { text-align: center; }
.center-text .section-sub { margin-left: auto; margin-right: auto; }
.section-head h2 {
    font-family: 'DM Serif Display', serif; font-size: clamp(28px, 4vw, 44px); line-height: 1.2;
    color: var(--ink); text-shadow: 0 2px 20px rgba(255,255,255,0.9), 0 4px 40px rgba(255,255,255,0.5);
    margin-bottom: 10px;
}
.section-sub {
    font-size: 15px; font-weight: 500; line-height: 1.7;
    color: var(--ink-mid); text-shadow: 0 1px 10px rgba(255,255,255,0.85); max-width: 540px;
}

/* ══ HERO ══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative; z-index: 2;
    min-height: 100vh;
    display: grid;
    /* Left = text, Right = card. Right gets more space for showcase feel */
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 48px;
    padding: 110px 6% 60px;
}

/* ── Hero left ── */
.hero-content { display: flex; flex-direction: column; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 16px; background: rgba(255,255,255,0.72); border: 1px solid rgba(255,255,255,0.82);
    border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.10em;
    color: var(--ink-mid); backdrop-filter: blur(8px); margin-bottom: 20px; align-self: flex-start;
}
.hero-content h1 {
    font-family: 'DM Serif Display', serif; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.12;
    color: var(--ink); text-shadow: 0 2px 24px rgba(255,255,255,0.9), 0 6px 50px rgba(255,255,255,0.5);
    margin-bottom: 16px;
}
.hero-sub {
    font-size: 16px; font-weight: 500; line-height: 1.75; color: var(--ink-mid);
    text-shadow: 0 1px 12px rgba(255,255,255,0.90); margin-bottom: 30px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══ TRENDING ARTIST CARD — rebuilt ═══════════════════════════════════════ */
.hero-artist-card {
    background: rgba(255,255,255,0.52);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.70);
    border-radius: 26px;
    padding: 16px 16px 14px;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.85);
    animation: gentleFloat 7s ease-in-out infinite;
    display: flex; flex-direction: column; gap: 12px;
    /* Ensure card takes full column height up to a max */
    min-height: 480px;
}

@keyframes gentleFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

/* Header: label + identity row side by side */
.hac-header {
    display: flex; flex-direction: column; gap: 10px;
}

.hac-label {
    display: flex; align-items: center; gap: 7px;
    font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--ink-muted);
}
.hac-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--primary); box-shadow: 0 0 8px var(--primary-glow);
    animation: pulse 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse {
    0%,100% { box-shadow: 0 0 6px var(--primary-glow); }
    50%      { box-shadow: 0 0 16px rgba(59,158,255,0.7); }
}

/* Identity row: avatar + name + role + followers + button — all in one line */
.hac-identity {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.50); border: 1px solid rgba(255,255,255,0.65);
    border-radius: 16px; padding: 10px 14px;
    flex-wrap: nowrap;
}

/* Avatar: fixed small size */
.hac-avatar {
    width: 40px; height: 40px; min-width: 40px; max-width: 40px;
    border-radius: 50%; object-fit: cover;
    border: 2.5px solid rgba(255,255,255,0.95);
    box-shadow: 0 3px 10px rgba(0,0,0,0.14);
    flex-shrink: 0;
}
.hac-identity-text {
    display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0;
}
.hac-name {
    font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hac-role-tag {
    display: inline-block; font-size: 11px; font-weight: 700;
    background: rgba(59,158,255,0.12); border: 1px solid rgba(59,158,255,0.30);
    color: var(--primary); border-radius: 999px; padding: 1px 9px; letter-spacing: 0.03em;
    align-self: flex-start;
}
.hac-followers {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 600; color: var(--ink-muted);
    flex-shrink: 0; white-space: nowrap;
}
.hac-follower-avatars { display: flex; }
.hac-follower-avatars img {
    width: 20px; height: 20px; border-radius: 50%; object-fit: cover;
    border: 2px solid white; margin-left: -5px;
}
.hac-follower-avatars img:first-child { margin-left: 0; }
.hac-btn { padding: 7px 14px; font-size: 12px; flex-shrink: 0; }

/* Main art: fills available space, large */
.hac-main-art {
    position: relative; border-radius: 18px; overflow: hidden;
    /* flex-grow so it takes all remaining vertical space */
    flex: 1;
    min-height: 280px;
    cursor: zoom-in;
    box-shadow: 0 10px 40px rgba(0,0,0,0.20);
}
.hac-main-art img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.hac-main-art:hover img { transform: scale(1.03); }

.hac-zoom-btn {
    position: absolute; top: 10px; right: 10px;
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.72); backdrop-filter: blur(8px);
    border: 1px solid var(--border); border-radius: 8px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: var(--ink-mid); transition: background 0.2s, transform 0.2s; z-index: 2;
}
.hac-zoom-btn:hover { background: rgba(255,255,255,0.96); transform: scale(1.1); }

/* Thumbnail strip */
.hac-thumbs {
    display: flex; gap: 8px;
}
.hac-thumb {
    flex: 1; height: 62px; border-radius: 12px; overflow: hidden;
    cursor: pointer; border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hac-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.hac-thumb:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.14); }
.hac-thumb:hover img { transform: scale(1.08); }
.hac-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }

/* ── WORLDS ────────────────────────────────────────────────────────────── */
.worlds { position: relative; z-index: 2; }
.world-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.world-card {
    position: relative; height: 154px; border-radius: 20px;
    overflow: hidden; cursor: pointer; border: 1px solid var(--border);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
    user-select: none;
}
.world-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; pointer-events: none; }
.world-card:hover .world-bg { transform: scale(1.08); }
.world-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(5,18,40,0.38) 0%, rgba(5,18,40,0.70) 100%); pointer-events: none; transition: background 0.3s; }
.world-card:hover .world-overlay { background: linear-gradient(160deg, rgba(5,18,40,0.25) 0%, rgba(5,18,40,0.55) 100%); }
.world-overlay--solid { background: linear-gradient(135deg, rgba(59,158,255,0.38), rgba(114,192,255,0.25)); backdrop-filter: blur(4px); }
.world-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 14px; z-index: 2; pointer-events: none; }
.world-icon { font-size: 18px; margin-bottom: 5px; display: block; }
.see-all-icon { font-size: 26px; color: #a8d8ff; text-shadow: 0 0 20px rgba(59,158,255,0.8); }
.world-body h3 { font-family: 'DM Serif Display', serif; font-size: 13px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5); margin-bottom: 2px; }
.world-body p { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.76); line-height: 1.4; }
.world-card--see-all { background: rgba(255,255,255,0.18); border: 1.5px dashed rgba(59,158,255,0.45); backdrop-filter: blur(10px); }
.world-card--see-all .world-body { justify-content: center; align-items: center; text-align: center; }
.world-card:hover { transform: translateY(-10px) scale(1.03); box-shadow: 0 20px 48px rgba(10,30,70,0.20), 0 0 0 1px rgba(255,255,255,0.30); }
.world-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.16) 50%, transparent 70%);
    transform: translateX(-100%); transition: transform 0.55s ease; z-index: 3; pointer-events: none;
}
.world-card:hover::before { transform: translateX(100%); }

/* ── FEATURED ──────────────────────────────────────────────────────────── */
.featured { position: relative; z-index: 2; }
.carousel-wrapper { position: relative; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.carousel-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.65); backdrop-filter: blur(10px);
    border: 1px solid var(--border); color: var(--ink-mid); font-size: 22px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s; font-family: sans-serif;
}
.carousel-btn:hover { background: rgba(255,255,255,0.96); transform: scale(1.08); }
.artist-carousel {
    display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 12px;
    scrollbar-width: none; -ms-overflow-style: none;
    scroll-snap-type: x mandatory; cursor: grab;
}
.artist-carousel:active { cursor: grabbing; }
.artist-carousel::-webkit-scrollbar { display: none; }
.artist-card {
    flex: 0 0 270px; scroll-snap-align: start;
    position: relative; border-radius: 22px; overflow: hidden; height: 300px;
    box-shadow: var(--shadow); border: 1px solid var(--border-soft);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease; cursor: pointer;
}
.artist-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,15,35,0.65) 0%, transparent 55%);
    z-index: 1; pointer-events: none;
}
.artist-card:hover { transform: translateY(-10px) scale(1.03); box-shadow: 0 28px 60px rgba(10,30,70,0.20), 0 0 40px rgba(59,158,255,0.12); }
.artist-card > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; cursor: zoom-in; }
.artist-card:hover > img { transform: scale(1.07); }
.artist-info {
    position: absolute; bottom: 12px; left: 12px; right: 12px;
    display: flex; align-items: center; gap: 9px; padding: 7px 10px;
    background: rgba(255,255,255,0.90); backdrop-filter: blur(14px);
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.6);
    z-index: 3; cursor: pointer; transition: background 0.2s;
}
.artist-info:hover { background: rgba(255,255,255,1); }
.artist-avatar { width: 34px !important; height: 34px !important; min-width: 34px !important; max-width: 34px !important; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.9); flex-shrink: 0; pointer-events: none; display: block; }
.artist-text { flex: 1; min-width: 0; pointer-events: none; }
.artist-text h3 { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.artist-text p  { font-size: 11px; font-weight: 500; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.artist-tag { background: linear-gradient(135deg, #3b9eff, #72c0ff); color: #fff; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.05em; flex-shrink: 0; pointer-events: none; }
.artist-tag--new { background: linear-gradient(135deg, #34c98a, #5ee8a8); }
.featured-cta { text-align: center; margin-top: 36px; }

/* ══ HOW IT WORKS — DUAL POV ══════════════════════════════════════════════ */
.how-it-works { position: relative; z-index: 2; }

.hiw-dual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

/* Each side */
.hiw-side {
    background: rgba(255,255,255,0.42);
    backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 28px 26px 30px;
    box-shadow: var(--shadow);
}

.hiw-side-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 800; letter-spacing: 0.04em;
    margin-bottom: 24px; padding: 8px 16px;
    border-radius: 12px;
}
.hiw-side-label.buyer {
    background: var(--buyer-tint); border: 1px solid var(--buyer-border); color: #1a6bb5;
}
.hiw-side-label.artist {
    background: var(--artist-tint); border: 1px solid var(--artist-border); color: #a0500a;
}

.hiw-steps { display: flex; flex-direction: column; gap: 0; }

.hiw-step {
    display: flex; gap: 14px; align-items: flex-start; padding: 10px 0;
}
.hiw-step-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.buyer-icon  { background: var(--buyer-tint);  border: 1px solid var(--buyer-border); }
.artist-icon { background: var(--artist-tint); border: 1px solid var(--artist-border); }

.hiw-step-body h3 {
    font-size: 15px; font-weight: 700; color: var(--ink);
    margin-bottom: 5px;
    text-shadow: 0 1px 8px rgba(255,255,255,0.7);
}
.hiw-step-body p {
    font-size: 13px; font-weight: 500; color: var(--ink-muted);
    line-height: 1.65; text-shadow: 0 1px 6px rgba(255,255,255,0.65);
}

.hiw-connector {
    width: 2px; height: 24px; margin-left: 22px;
    background: linear-gradient(to bottom, rgba(59,158,255,0.20), rgba(59,158,255,0.05));
    border-radius: 2px;
}
.hiw-side:last-child .hiw-connector {
    background: linear-gradient(to bottom, rgba(255,150,80,0.20), rgba(255,150,80,0.05));
}

/* Center divider */
.hiw-divider {
    display: flex; flex-direction: column; align-items: center;
    gap: 0; padding: 0 24px; align-self: stretch; justify-content: center;
}
.hiw-divider-line { flex: 1; width: 1px; background: rgba(255,255,255,0.5); min-height: 40px; }
.hiw-divider-dot {
    font-size: 20px; color: rgba(255,255,255,0.7);
    text-shadow: 0 0 12px rgba(59,158,255,0.5);
    padding: 8px 0; flex-shrink: 0;
}

/* ── JOIN CTA ──────────────────────────────────────────────────────────── */
.join-cta { position: relative; z-index: 2; padding: 60px 8%; }
.join-cta-inner {
    background: rgba(255,255,255,0.48);
    backdrop-filter: blur(30px) saturate(1.5);
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 32px; padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.85);
    max-width: 680px; margin: 0 auto;
}
.join-cta-inner .section-label { margin-bottom: 16px; }
.join-cta-inner h2 {
    font-family: 'DM Serif Display', serif; font-size: clamp(28px, 4vw, 44px); line-height: 1.2;
    color: var(--ink); text-shadow: 0 2px 20px rgba(255,255,255,0.8); margin-bottom: 14px;
}
.join-cta-inner p {
    font-size: 15px; font-weight: 500; line-height: 1.75;
    color: var(--ink-mid); text-shadow: 0 1px 8px rgba(255,255,255,0.8);
    margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.join-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══ ART VIEWER ════════════════════════════════════════════════════════════ */
.art-viewer {
    position: fixed; inset: 0; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.viewer-backdrop { position: absolute; inset: 0; background: rgba(4,10,22,0.92); backdrop-filter: blur(28px) saturate(0.7); cursor: pointer; }
.art-viewer.active { opacity: 1; visibility: visible; }

.close-viewer {
    position: absolute; top: 22px; right: 28px; width: 44px; height: 44px;
    border-radius: 50%; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.20);
    color: white; font-size: 22px; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s; font-family: sans-serif;
}
.close-viewer:hover { background: rgba(255,255,255,0.22); transform: scale(1.1) rotate(90deg); }

/* Prev / Next arrows */
.viewer-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.20);
    color: white; font-size: 28px; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s; font-family: sans-serif;
    line-height: 1;
}
.viewer-nav:hover { background: rgba(255,255,255,0.25); }
.viewer-prev { left: 24px; }
.viewer-next { right: 24px; }
.viewer-nav.hidden { opacity: 0; pointer-events: none; }

/* Main image */
.viewer-content {
    position: relative; z-index: 2;
    max-width: min(78vw, 880px); max-height: 62vh;
    transform: scale(0.84) translateY(22px); opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
}
.art-viewer.active .viewer-content { transform: scale(1) translateY(0); opacity: 1; }
.art-viewer.closing .viewer-content { transform: scale(0.9) translateY(12px); opacity: 0; transition: transform 0.28s ease, opacity 0.28s ease; }
.viewer-content img { max-width: 100%; max-height: 62vh; width: auto; height: auto; border-radius: 18px; box-shadow: 0 40px 100px rgba(0,0,0,0.65); display: block; }

/* Gallery strip — thumbnails below image in viewer */
.viewer-gallery-strip {
    position: relative; z-index: 2;
    display: flex; gap: 8px; align-items: center;
    margin-top: 14px;
    padding: 6px 8px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    max-width: min(78vw, 880px);
    overflow-x: auto; scrollbar-width: none;
    transform: translateY(8px); opacity: 0;
    transition: transform 0.45s ease 0.12s, opacity 0.35s ease 0.12s;
}
.viewer-gallery-strip::-webkit-scrollbar { display: none; }
.art-viewer.active .viewer-gallery-strip { transform: translateY(0); opacity: 1; }
.art-viewer.closing .viewer-gallery-strip { transform: translateY(6px); opacity: 0; transition: transform 0.22s ease, opacity 0.22s ease; }
.viewer-gallery-strip.empty { display: none; }

.vgs-thumb {
    width: 58px; height: 42px; border-radius: 8px; overflow: hidden;
    cursor: pointer; flex-shrink: 0;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    opacity: 0.65; transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.vgs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vgs-thumb:hover { opacity: 1; transform: scale(1.05); }
.vgs-thumb.active { border-color: var(--primary); opacity: 1; box-shadow: 0 0 0 1px var(--primary); }

/* Artist info strip */
.viewer-artist-info {
    position: relative; z-index: 2; display: flex; align-items: center; gap: 12px;
    margin-top: 12px; padding: 10px 16px;
    background: rgba(255,255,255,0.09); backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.14); border-radius: 999px;
    transform: translateY(12px); opacity: 0;
    transition: transform 0.45s ease 0.1s, opacity 0.35s ease 0.1s;
}
.art-viewer.active .viewer-artist-info { transform: translateY(0); opacity: 1; }
.art-viewer.closing .viewer-artist-info { transform: translateY(8px); opacity: 0; transition: transform 0.22s ease, opacity 0.22s ease; }
#viewerArtistAvatar { width: 36px; height: 36px; min-width: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.35); flex-shrink: 0; }
.viewer-artist-text { display: flex; flex-direction: column; gap: 1px; }
#viewerArtistName { color: #fff; font-weight: 700; font-size: 14px; }
#viewerArtistRole { color: rgba(255,255,255,0.55); font-size: 12px; }
.viewer-profile-btn { padding: 7px 16px; font-size: 13px; margin-left: 6px; }

/* ══ FOOTER — light glass to match landing page ════════════════════════════ */
/*
  Changed from dark navy to a light frosted glass so it blends with the
  sky background instead of hard-cutting with a dark block at the bottom.
*/
.footer {
    position: relative; z-index: 2;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border-top: 1px solid rgba(255,255,255,0.65);
}

.footer-top {
    display: flex; gap: 60px; flex-wrap: wrap;
    padding: 56px 8% 40px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.footer-brand { flex: 0 0 220px; display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 9px; }
.footer-logo img { width: 26px; }
.footer-logo span { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--ink); }

.footer-tagline { font-size: 13px; line-height: 1.6; color: var(--ink-muted); font-weight: 500; }

.footer-socials { display: flex; gap: 8px; margin-top: 4px; }
.social-btn {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.60); border: 1px solid rgba(255,255,255,0.70);
    color: var(--ink-mid); font-size: 14px; text-decoration: none;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.social-btn:hover { background: rgba(59,158,255,0.18); transform: translateY(-2px); color: var(--primary); }

.footer-links-group { flex: 1; display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 110px; }
.footer-col h4 {
    font-family: 'DM Serif Display', serif; font-size: 14px; color: var(--ink); margin-bottom: 4px;
}
.footer-col a {
    font-size: 13px; font-weight: 500; color: var(--ink-muted);
    text-decoration: none; transition: color 0.2s; line-height: 1.5;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 8%; font-size: 12px; font-weight: 500;
    color: var(--ink-muted); flex-wrap: wrap; gap: 8px;
}

/* ── FADE-IN ────────────────────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }