/* ============================================================
   THEME — Lucky7Box brand. Everything below reads from these.
   ============================================================ */
:root {
  --yellow:        #FFE302;   /* brand vivid yellow */
  --orange:        #F1731E;   /* brand vivid orange */
  --black:         #000000;   /* brand black */

  --bg:            var(--black);
  --surface:       #111111;   /* cards on black */
  --text:          #fffdf2;
  --text-muted:    #c9c3ad;
  --ink:           #000000;   /* comic outline */

  --youtube:       #ff0000;   /* platform icon colors */
  --rumble:        #85c742;

  --font-heading:  "Bangers", "Impact", "Arial Black", sans-serif;
  --font-body:     system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius:        16px;
  --outline:       3px;
  --max:           1100px;

  /* halftone dot helper: background-image + background-size */
  --dots-size:     14px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; letter-spacing: .03em; line-height: 1.05; margin: 0 0 .4em; }
a { color: inherit; }
.seven { color: var(--orange); }

/* Comic wordmark: yellow fill, black outline, orange drop */
.wordmark, .section-title {
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--orange), 6px 6px 0 var(--ink);
  transform: skewX(-8deg);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1rem;
  padding: .55rem 1rem;
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(8px);
  border-bottom: var(--outline) solid var(--orange);
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; }
.brand-logo { width: 44px; height: 44px; }
.brand-name { font-family: var(--font-heading); font-size: 1.7rem; letter-spacing: .04em; color: var(--yellow); }
.header-nav { display: flex; gap: 1.2rem; }
.header-nav a { text-decoration: none; font-weight: 700; color: var(--text-muted); }
.header-nav a:hover { color: var(--yellow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: var(--outline) solid var(--ink);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn .icon { width: 1.25em; height: 1.25em; flex: none; }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.btn-small { padding: .4rem .95rem; font-size: .92rem; }
.btn-large { padding: 1rem 2.1rem; font-size: 1.25rem; }

/* primary = yellow comic button with orange + black offset shadow */
.btn-primary {
  background: var(--yellow); color: var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--orange); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--orange); }

/* dark = on black, yellow outline */
.btn-dark {
  background: var(--surface); color: var(--text);
  border-color: var(--yellow);
}
.btn-dark:hover { background: #1d1d1d; transform: translateY(-2px); }
.icon-yt { color: var(--youtube); }
.icon-rumble { color: var(--rumble); }

/* black = on orange sections */
.btn-black {
  background: var(--ink); color: var(--yellow);
  box-shadow: 5px 5px 0 var(--yellow);
}
.btn-black:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--yellow); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(calc(100svh - 62px), 920px);
  display: grid; place-items: center;
  padding: 3rem 1rem 4rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 38%, rgba(241, 115, 30, .35), transparent 55%),
    var(--bg);
}
/* halftone dots fading out from the center */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, var(--yellow) 22%, transparent 24%);
  background-size: var(--dots-size) var(--dots-size);
  opacity: .22;
  -webkit-mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, transparent 62%);
          mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, transparent 62%);
}
/* fade the hero into the black section below */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
/* comic burst rays behind the logo */
.hero-rays {
  position: absolute; z-index: -2;
  left: 50%; top: 36%;
  width: 180vmax; height: 180vmax;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 227, 2, .10) 0 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 45%);
          mask-image: radial-gradient(circle, #000 0%, transparent 45%);
  animation: spin 80s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.hero-inner { max-width: 760px; }
.hero-logo {
  width: min(340px, 70vw); margin: 0 auto -.5rem;
  filter: drop-shadow(0 10px 30px rgba(241, 115, 30, .45));
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -10px; } }
.wordmark { font-size: clamp(3.6rem, 13vw, 7.5rem); margin-bottom: .1em; }
.wordmark .seven { color: var(--orange); }
.tagline {
  font-family: var(--font-heading); letter-spacing: .05em;
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  color: var(--text); margin: 0 0 1.8rem;
}
.hero-cta { margin-bottom: 1.6rem; }
.hero-sub { color: var(--text-muted); font-size: .98rem; margin: 1rem auto 0; max-width: 34ch; }
.platforms { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* floating decorative stars */
.float-star { position: absolute; z-index: 0; pointer-events: none; opacity: .9; animation: drift 7s ease-in-out infinite; }
.fs-1 { width: 90px;  left: 7%;  top: 18%; rotate: -14deg; }
.fs-2 { width: 64px;  right: 9%; top: 26%; rotate: 18deg; animation-delay: -2s; }
.fs-3 { width: 110px; right: 6%; bottom: 10%; rotate: -8deg; animation-delay: -4s; }
@keyframes drift { 50% { translate: 0 -14px; } }

/* ---------- sections ---------- */
.section { padding: 5rem 1rem; max-width: var(--max); margin: 0 auto; text-align: center; }
.section-title { font-size: clamp(2.6rem, 7vw, 4rem); display: inline-block; }
.section-lead { color: var(--text-muted); max-width: 620px; margin: .6rem auto 2.8rem; }

/* comic panel cards */
.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  max-width: 820px; margin: 0 auto;
}
.panel {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 2.2rem 1.5rem 1.8rem;
  border: var(--outline) solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle, rgba(0,0,0,.14) 22%, transparent 24%) 0 0 / 10px 10px,
    var(--yellow);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 7px 7px 0 var(--orange);
  transition: transform .12s ease, box-shadow .12s ease;
}
.panel:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 10px 10px 0 var(--orange); }
.panel:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
.panel-icon {
  width: 72px; height: 72px; padding: 14px;
  background: var(--ink); border-radius: 50%;
  margin-bottom: .8rem;
}
.panel-youtube .panel-icon { color: var(--youtube); }
.panel-rumble  .panel-icon { color: var(--rumble); }
.panel h3 { font-size: 2.4rem; margin: 0; }
.panel p { margin: 0 0 1.2rem; font-weight: 700; opacity: .75; }
.panel-cta {
  font-family: var(--font-heading); font-size: 1.4rem; letter-spacing: .05em;
  background: var(--ink); color: var(--yellow);
  padding: .3rem 1.2rem; border-radius: 999px;
}

/* ---------- video ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 900px;
  margin: 3rem auto 0;
  border: var(--outline) solid var(--yellow);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 8px 8px 0 var(--orange);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- patreon ---------- */
.patreon {
  position: relative;
  padding: 5.5rem 1rem;
  text-align: center;
  background:
    radial-gradient(circle, rgba(255, 227, 2, .35) 22%, transparent 24%) 0 0 / var(--dots-size) var(--dots-size),
    var(--orange);
  border-top: 6px solid var(--ink);
  border-bottom: 6px solid var(--ink);
}
.patreon-inner { max-width: var(--max); margin: 0 auto; }
.section-lead.on-orange { color: var(--ink); font-weight: 600; }
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  margin-bottom: 3rem;
  text-align: left;
}
.reason {
  background: var(--ink);
  border: var(--outline) solid var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: 7px 7px 0 var(--yellow);
}
.reason-star { width: 72px; height: 72px; margin-bottom: .6rem; }
.reason h3 { font-size: 1.9rem; color: var(--yellow); }
.reason p { margin: 0; color: var(--text-muted); }

/* ---------- footer ---------- */
.site-footer {
  padding: 3rem 1rem 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
}
.footer-logo { width: 56px; height: 56px; margin: 0 auto 1rem; }
.socials { display: flex; gap: .9rem; justify-content: center; margin-bottom: 1rem; }
.socials a {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 2px solid var(--yellow); border-radius: 50%;
  color: var(--yellow);
  transition: background .12s ease, color .12s ease, transform .12s ease;
}
.socials a:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.socials a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.socials svg { width: 22px; height: 22px; }

/* ---------- work-in-progress notice (comic caption box) ---------- */
.wip {
  position: relative; z-index: 5;
  padding: .7rem 1rem;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--yellow) 14px 28px);
}
.wip p {
  display: inline-block;
  margin: 0; padding: .45rem 1rem;
  max-width: 760px;
  background: var(--yellow); color: var(--ink);
  border: var(--outline) solid var(--ink);
  font-weight: 600; font-size: .95rem; line-height: 1.4;
}
.wip strong { font-family: var(--font-heading); font-weight: 400; font-size: 1.2rem; letter-spacing: .05em; margin-right: .3rem; }

/* ---------- hosts flanking the hero (wide screens only) ---------- */
.host {
  position: absolute; bottom: 0; z-index: 1;
  margin: 0;
  display: none;           /* enabled at >=1180px below */
}
.host img { display: block; width: 100%; height: auto; }
.host-left  { left: 0;  width: min(34vw, 520px); }
.host-right { right: 2vw; width: min(22vw, 300px); bottom: 2rem; }
.pixel { image-rendering: pixelated; }
.host-right img { filter: drop-shadow(6px 6px 0 var(--ink)); }

.name-tag {
  position: absolute; bottom: 1.2rem;
  font-family: var(--font-heading); font-size: 1.8rem; letter-spacing: .05em; line-height: 1;
  color: var(--ink); background: var(--yellow);
  border: var(--outline) solid var(--ink);
  border-radius: 10px;
  padding: .35rem .8rem .3rem;
  box-shadow: 4px 4px 0 var(--orange);
  transform: rotate(-4deg);
}
.name-tag span { display: block; font-size: .95rem; color: var(--orange); -webkit-text-stroke: 0; }
.host-left .name-tag  { right: 8%; }
.host-right .name-tag { left: -1rem; bottom: -1rem; transform: rotate(4deg); }

@media (min-width: 1180px) {
  .host { display: block; }
  .crew { display: none; }
  .fs-1, .fs-3 { display: none; }  /* the hosts take those spots */
}

/* ---------- meet the crew (narrow screens) ---------- */
.crew { padding: 3.5rem 1rem 1rem; text-align: center; }
.crew-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  max-width: 560px; margin: 1.4rem auto 0;
}
.crew-card {
  margin: 0;
  display: flex; flex-direction: column;
  border: var(--outline) solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(0,0,0,.14) 22%, transparent 24%) 0 0 / 10px 10px,
    var(--yellow);
  box-shadow: 6px 6px 0 var(--orange);
}
.crew-card img { width: 100%; aspect-ratio: 1; object-fit: contain; object-position: bottom; padding-top: .6rem; }
.crew-card figcaption {
  background: var(--ink); color: var(--text-muted);
  padding: .6rem .5rem .7rem; font-size: .9rem; line-height: 1.3;
  margin-top: auto;
}
.crew-card strong {
  display: block;
  font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem; letter-spacing: .05em;
  color: var(--yellow);
}

/* ---------- giveaway + shop ---------- */
.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  padding-top: 1rem;
  text-align: left;
}
.feature {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--surface);
  border: var(--outline) solid var(--yellow);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: 7px 7px 0 var(--orange);
  scroll-margin-top: 90px;
}
.feature h2 { font-size: 2.4rem; color: var(--yellow); }
.feature p { color: var(--text-muted); margin: 0 0 1.2rem; }
.feature .btn { margin-top: auto; }
.feature-icon { width: 56px; height: 56px; color: var(--orange); margin-bottom: .8rem; }
.badge {
  position: absolute; top: -1rem; right: 1.4rem;
  margin: 0 !important;
  font-family: var(--font-heading); font-size: 1.15rem; letter-spacing: .06em;
  background: var(--orange); color: var(--ink) !important;
  border: var(--outline) solid var(--ink);
  padding: .2rem .8rem; border-radius: 999px;
  transform: rotate(3deg);
}
.fine { font-size: .85rem; opacity: .8; }
.site-footer .fine { max-width: 520px; margin: .4rem auto 0; font-size: .78rem; }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  .wip p { font-size: .88rem; }
  .duo { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .brand-name { font-size: 1.4rem; }
  .platforms .btn { flex: 1 1 100%; }
  .fs-1 { width: 56px; left: 3%; top: 8%; }
  .fs-2 { width: 44px; right: 4%; top: 12%; }
  .fs-3 { display: none; }
  .wordmark { -webkit-text-stroke-width: 1.5px; text-shadow: 3px 3px 0 var(--orange), 5px 5px 0 var(--ink); }
}
@media (max-width: 380px) {
  .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-rays, .hero-logo, .float-star { animation: none; }
  .btn, .panel, .socials a { transition: none; }
}
