/* =====================================================
   NORGATES — STYLES
   EASY SETTINGS at the top: colors and logo sizes.
   Everything below is the layout, section by section.
   ===================================================== */

/* Shown in place of an image file that isn't in /images yet */
.placeholder.preview {
  aspect-ratio: 16 / 7;
}

/* =====================================================
   EASY SETTINGS — change colors and sizes here
   ===================================================== */
:root {
  --bg: #000000;          /* page background */
  --panel: #161616;       /* big rounded panels */
  --card: #232323;        /* cards & dark buttons */
  --muted: #2b2b2b;       /* placeholder boxes */
  --text: #ffffff;
  --text-muted: #9a9a9a;
  --border: #3a3a3a;
  --accent: #6d3df5;      /* purple buttons */
  --glow: #bfbfbf;        /* gray-white glow */
  --star: #f2e14c;        /* yellow stars */

  --logo-height: 34px;        /* top bar logo size */
  --footer-logo-height: 56px; /* footer logo size */
  --font: "Manrope", system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); padding: 8px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 900px; margin: 0 auto; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; line-height: 1.1; }
h2.big { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.lead { color: var(--text-muted); max-width: 560px; margin: 20px auto 0; }
.muted { color: var(--text-muted); margin-top: 14px; max-width: 760px; }
.small { font-size: .875rem; }
.bold { font-weight: 700; margin-top: 12px; }
.label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 8px; z-index: 20; height: 56px; display: flex; align-items: center; justify-content: flex-end; padding: 0 8px; background: var(--panel); border-radius: 10px; }
.topbar-logo { position: absolute; left: 50%; transform: translateX(-50%); }
.topbar-logo img { height: var(--logo-height); width: auto; }
.topbar-buttons { display: flex; gap: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; font: 600 .875rem var(--font); padding: 9px 20px; border-radius: 999px; color: var(--text);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s cubic-bezier(.22,1,.36,1), background-color .45s, opacity .45s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); transition-duration: .15s; }
.btn-lg { padding: 13px 26px; }
.btn-dark { background: var(--card); }
.btn-dark:hover { background: var(--muted); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn-white { background: var(--text); color: var(--bg); }
.btn-white:hover { box-shadow: 0 8px 30px rgba(255,255,255,.25); }
.btn-soft { background: linear-gradient(180deg, var(--text), var(--glow)); color: var(--bg); }
.btn-soft:hover { box-shadow: 0 8px 28px color-mix(in srgb, var(--glow) 45%, transparent); }
.full { width: 100%; }
.row { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }

/* ---------- Layout ---------- */
.panel { background: var(--panel); border-radius: 10px; margin-top: 8px; overflow: hidden; }
section { padding: 64px 24px; }
.center { text-align: center; padding: 96px 24px; }
.narrow { max-width: 1150px; margin: 0 auto; }
.glow { background: radial-gradient(ellipse 60% 55% at 50% 0%, color-mix(in srgb, var(--glow) 55%, transparent), transparent 70%); }
.hero { text-align: center; padding: 112px 24px 64px; }
.hero .btn { margin-top: 32px; }
.cta { text-align: center; margin: 0 8px 8px; border-radius: 14px; padding: 96px 24px; }

/* ---------- Placeholders ---------- */
.placeholder { display: grid; place-items: center; border: 1px dashed var(--border); background: var(--muted); color: var(--text-muted); font-size: .65rem; letter-spacing: .1em; border-radius: 8px; }

/* ---------- Artists (endless, clickable) ---------- */
.artists-wrap { position: relative; max-width: 1150px; margin: 64px auto 0; }
.artists { overflow: hidden; padding-bottom: 6px; mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent); }
.artists-track { display: flex; gap: 12px; will-change: transform; }
.copy { display: contents; }
/* four whole cards show at a time; the next one peeks, faded, on each side */
.artist { flex: 0 0 calc(100% / 5 - 12px); }
.artist:nth-child(even) { margin-top: 24px; }
.artist .cover { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 8px; }
.artist p { font-size: .75rem; font-weight: 700; padding: 8px 2px 4px; }
@media (max-width: 980px) { .artist { flex-basis: calc(100% / 4 - 12px); } }
@media (max-width: 620px) { .artist { flex-basis: calc(100% / 3 - 12px); } }

.scroller { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(6px); color: var(--text); cursor: pointer;
  transition: transform .45s cubic-bezier(.22,1,.36,1), background-color .45s, opacity .45s; }
.scroller:hover { background: var(--muted); transform: translateY(-50%) scale(1.08); }
.scroller:active { transform: translateY(-50%) scale(.92); transition-duration: .15s; }
.scroller:disabled { opacity: .28; pointer-events: none; }
.scroller svg { width: 18px; height: 18px; }
.scroller.prev { left: -10px; }
.scroller.next { right: -10px; }
.artists-wrap.no-scroll .scroller { display: none; }

/* ---------- Platform marquee ---------- */
.marquee-wrap { margin-top: 48px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee { display: flex; width: max-content; animation: scroll 270s linear infinite; will-change: transform; }
.marquee .group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee .logo { height: 44px; width: auto; min-width: 44px; object-fit: contain; }
.marquee .placeholder.logo { width: 44px; border-color: rgba(255,255,255,.4); font-size: 8px; }
.star { font-size: 1.25rem; line-height: 1; }
@keyframes scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------- Dashboard preview ---------- */
.preview { width: 100%; max-width: 900px; margin: 40px auto 0; border-radius: 12px; object-fit: cover; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.card { background: var(--card); padding: 20px; border-radius: 12px; }
.card .muted { margin-top: 4px; }
.yellow { color: var(--star); font-size: 1.25rem; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 64px 24px; }
.footer-top, .footer-bottom { max-width: 1150px; margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-bottom { margin-top: 64px; align-items: center; }
.footer-logo { height: var(--footer-logo-height); width: auto; }
.footer-links { width: 55%; min-width: 260px; }
.footer-links ul { list-style: none; padding: 0; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 64px; font-size: .875rem; }
.footer-links a { color: var(--text-muted); transition: color .45s; }
.footer-links a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--card); color: var(--text-muted); transition: color .45s, transform .45s cubic-bezier(.22,1,.36,1); }
.socials a:hover { color: var(--text); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Mobile navbar */
@media (max-width: 768px) {
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .topbar-logo {
    margin-left: 0;
    margin-right: auto;
    position: static;
    transform: none;
  }

  .topbar-buttons {
    margin-left: auto;
  }
}
