/* The Slot Amigos — one-page preview */

:root {
  --bg: #07111f;
  --bg-2: #0b1a2e;
  --bg-card: #10233c;
  --navy: #102445;
  --cream: #f6efe3;
  --cream-dim: #c4b8a4;
  --orange: #ff6a1a;
  --gold: #f0b429;
  --gold-soft: #e8c878;
  --red: #e2261c;
  --yt: #e0002b;
  --line: rgba(240, 180, 41, 0.3);
  --text: #f6efe3;
  --muted: #c4b8a4;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --header-h: 3.75rem;
  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --max: 40rem;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(240, 180, 41, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 18%, rgba(255, 106, 26, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 30% at 0% 30%, rgba(16, 52, 100, 0.45), transparent 60%);
  min-height: 100vh;
  min-height: 100dvh;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23f6efe3'/%3E%3C/svg%3E");
}

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

a { color: var(--gold-soft); }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: 0.4rem;
}
.skip-link:focus { top: 0.75rem; }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--header-h);
  padding: 0 1rem;
  padding-top: env(safe-area-inset-top);
  background: rgba(7, 17, 31, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  min-width: 0;
}

.brand img {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px rgba(232, 200, 120, 0.45);
}

.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.92rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--bg);
  background: var(--gold);
  outline: none;
}

/* ----- Layout ----- */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.wide {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
}

main { position: relative; z-index: 1; }

/* ----- Hero ----- */
.hero {
  text-align: center;
  padding: 1.75rem 0 3rem;
}

.logo-wrap {
  width: min(78vw, 20.5rem);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
}

.logo-wrap img {
  width: 100%;
  aspect-ratio: 1;
}

.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--gold);
  margin: 0 auto 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.flourish::before,
.flourish::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.tagline {
  margin: 0 auto 0.85rem;
  max-width: 22rem;
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--cream);
}

.crew {
  margin: 0 0 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.btn-yt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: min(100%, 22rem);
  min-height: 3.35rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff3a3a 0%, #c40020 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(196, 0, 32, 0.38), inset 0 1px 0 rgba(255,255,255,0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-yt:hover,
.btn-yt:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 32px rgba(196, 0, 32, 0.48), inset 0 1px 0 rgba(255,255,255,0.28);
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.btn-yt:active { transform: translateY(0); }

.btn-yt svg { width: 1.45rem; height: 1.45rem; flex-shrink: 0; }

.socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 22rem);
  margin: 1.25rem auto 0;
  gap: 0.5rem;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.5rem 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(16, 35, 60, 0.55);
  color: var(--cream);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.84rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.social:hover,
.social:focus-visible {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  outline: none;
}

.social svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }

/* ----- Merch ----- */
.merch {
  padding: 0.5rem 0 3.5rem;
}

.merch-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.merch-head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 6vw, 2.25rem);
  letter-spacing: 0.03em;
  color: var(--cream);
}

.merch-head p {
  margin: 0 auto;
  max-width: 24rem;
  color: var(--muted);
  font-size: 1rem;
}

#merch-catalog,
#store-root {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.product-card {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 46, 78, 0.9), rgba(10, 22, 40, 0.95));
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.35rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
}

.product-card[data-status="coming-soon"] {
  cursor: default;
}

.product-art {
  width: min(100%, 13.5rem);
  margin: 0.4rem auto 0.85rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.product-art svg,
.product-art img {
  width: 100%;
  height: 100%;
}

.product-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.product-card .product-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: rgba(240, 180, 41, 0.12);
  border: 1px solid rgba(240, 180, 41, 0.55);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----- Footer ----- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
}

.site-footer p {
  margin: 0 auto 0.65rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer .helpline {
  color: var(--cream-dim);
  font-weight: 600;
  text-decoration: none;
}

.site-footer .helpline:hover,
.site-footer .helpline:focus-visible {
  color: var(--gold);
}

.legal {
  color: var(--cream-dim) !important;
  opacity: 0.8;
}

@media (max-width: 39.9rem) {
  .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}

@media (min-width: 640px) {
  :root { --max: 44rem; }

  .brand-name { font-size: 1.05rem; }

  .hero { padding: 2.4rem 0 4rem; }

  .logo-wrap { width: min(70vw, 23.5rem); }

  .tagline { font-size: 1.28rem; max-width: 26rem; }

  .socials { width: min(100%, 28rem); gap: 0.65rem; }
  .social { padding: 0.5rem 0.95rem; font-size: 0.92rem; gap: 0.45rem; }

  #merch-catalog,
  #store-root {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

@media (min-width: 960px) {
  .site-header { padding-inline: 1.75rem; }

  .logo-wrap { width: 24rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-yt { transition: none; }
  .btn-yt:hover, .btn-yt:focus-visible { transform: none; }
}
