/* ============================================
   WOD — Design Tokens
   Palette: charcoal black + white, monochrome throughout;
   muted green/red reserved strictly for verified/flagged states.
   Type: Barlow Condensed (display, board/ticker energy) + Inter (body)
         + IBM Plex Mono (data — order numbers, entry counts, stats)
   ============================================ */
:root {
  --bg: #0A0A0A;
  --bg-panel: #141414;
  --bg-panel-raised: #1C1C1C;
  --border: #2B2B2B;

  --text-primary: #F5F5F5;
  --text-muted: #9B9B9B;

  --accent-gold: #E5E5E5;
  --accent-gold-hover: #FFFFFF;
  --accent-green: #35C48A;
  --accent-red: #E14F4F;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 10px;
  --max-width: 1160px;
}

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

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.88), rgba(10,10,10,0.94)),
    url('assets/bg-market.png');
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

h2 { font-size: 2.25rem; text-align: center; margin-bottom: 0.5rem; }
h3 { font-size: 1.4rem; }

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

a { color: inherit; text-decoration: none; }

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent-gold); color: var(--bg); }
.btn-primary:hover { background: var(--accent-gold-hover); }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--text-primary); }
.btn-secondary:hover { border-color: var(--accent-gold); }
.btn-glow {
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.btn-glow:hover {
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.2);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.center-btn { display: flex; margin: 2.5rem auto 0; width: fit-content; }
.btn-discord {
  background: #fff;
  color: var(--bg);
  gap: 0.5rem;
  border-radius: 999px;
}
.btn-discord:hover { background: #d9d9d9; }
.btn-discord .discord-icon { height: 18px; width: 18px; flex-shrink: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.nav-links { display: flex; gap: 1.75rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent-gold); }

/* ---------- Signature: Logo Carousel ----------
   Replaced by a self-contained, JS-driven swipe carousel — see
   logo-carousel.js. It injects its own styles + markup at runtime
   (same technique as the reference site's promo bar: two absolutely
   positioned slides swapped on a timer via inline transform, not a
   CSS keyframe track). Nothing to style here anymore. */

/* ---------- Hero ---------- */
.hero { text-align: center; padding-top: 4.5rem; }
.hero h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
.hero .accent { color: var(--accent-gold); }
.hero-sub {
  color: var(--text-muted);
  max-width: 520px;
  margin: 1.25rem auto 2rem;
  font-size: 1.1rem;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-image {
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 3rem auto 1.5rem;
  display: block;
  background: var(--bg-panel);
  aspect-ratio: 3/2;
  object-fit: cover;
}
.stat-block { margin-top: 1.5rem; }
.stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--accent-gold);
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.feature-card .link-arrow {
  margin-top: auto;
}
.feature-card p { color: var(--text-muted); margin: 0.5rem 0 1rem; font-size: 0.95rem; }
.link-arrow { color: var(--accent-gold); font-weight: 600; font-size: 0.9rem; }
.link-arrow.center { display: block; text-align: center; margin-top: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Standalone draw countdown ----------
   Sits above the promo cards as its own big centered block, rather
   than tucked inside the first card — the draw deadline is the most
   important number on the page, so it gets top billing. */
.draw-countdown {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}
.draw-countdown-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.draw-countdown-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.draw-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  min-width: 76px;
}
.draw-countdown-unit span {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.draw-countdown-unit small {
  margin-top: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 480px) {
  .draw-countdown-unit { min-width: 62px; padding: 0.6rem 0.9rem; }
  .draw-countdown-unit span { font-size: 1.6rem; }
}

/* ---------- Draw Countdown + Discord Promo Widget ----------
   Two-card CTA band on the giveaways page (draw countdown + Discord
   promo), modeled on the reference site's compact top-of-page promo
   bar rather than the old boxed countdown-banner layout. */
.promo-widget {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}
.promo-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.promo-card-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.promo-timer-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
  margin-right: 6px;
  animation: promo-pulse 1.4s ease-in-out infinite;
}
@keyframes promo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.promo-body {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.promo-logos {
  display: flex;
  flex: none;
}
.promo-logos img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--bg-panel);
  background: var(--bg);
  margin-left: -14px;
}
.promo-logos img:first-child { margin-left: 0; }
.promo-discord-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.promo-discord-icon svg { width: 24px; height: 24px; color: var(--bg); }
.promo-text { flex: 1; min-width: 200px; }
.promo-text h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.promo-text p { color: var(--text-muted); font-size: 0.9rem; }
.promo-code {
  color: #fff;
  font-weight: 700;
}
.promo-cta {
  flex: none;
  background: #fff;
  color: var(--bg);
  white-space: nowrap;
  border-radius: 999px;
}
.promo-cta:hover { background: #d9d9d9; }
@media (max-width: 640px) {
  .promo-body, .promo-card-row { flex-direction: column; align-items: flex-start; }
  .promo-cta { width: 100%; }
}

/* ---------- Top Picks ---------- */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.pick-card-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: card-glow 2.6s ease-in-out infinite;
}
.pick-card-image:hover { transform: translateY(-4px); }
.pick-card-img { display: block; width: 100%; height: auto; }
.pick-img-buy {
  position: absolute;
  left: 10.7%;
  top: 78.1%;
  width: 79.1%;
  height: 8.8%;
  cursor: pointer;
}
.pick-img-copy {
  position: absolute;
  left: 66%;
  top: 67%;
  width: 7%;
  height: 7%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.copy-toast {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--accent-gold);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}
.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
@keyframes card-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(255, 255, 255, 0); }
  50% { box-shadow: 0 0 24px rgba(255, 255, 255, 0.35), 0 0 60px rgba(255, 255, 255, 0.12); }
}

/* ---------- Giveaway Mechanics ---------- */
.prizes-heading { text-align: center; margin-bottom: 1.5rem; }
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.prize-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}
.prize-card img { height: 40px; object-fit: contain; margin-bottom: 0.4rem; }
.prize-firm { font-weight: 600; }
.prize-detail { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.85rem; }

.how-it-works {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 560px;
  margin: 0 auto;
}
.how-it-works h3 { text-align: center; margin-bottom: 1rem; }
.entry-rules { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.entry-rules li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}
.entry-rules li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}
.entry-rules li strong { color: var(--text-primary); }

/* ---------- Winners Strip ---------- */
.winners-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.winners-strip img {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  flex-shrink: 0;
  background: var(--bg-panel);
}

/* ---------- Discord Banner ---------- */
.discord-banner {
  text-align: center;
  background: var(--bg-panel);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- FAQ ---------- */
.faq { max-width: 720px; }
/* On giveaways.html the prizes recap sits directly above the FAQ with
   no section in between — tighten that specific gap so it doesn't
   read as two unrelated blocks of empty space. */
.giveaway + .faq { padding-top: 2rem; }
.giveaway:has(+ .faq) { padding-bottom: 2.5rem; }
/* On referral.html the hero's paragraph sits directly above the
   "Get your referral link" panel — same deal, close the gap. */
.hero:has(+ .entry-section) { padding-bottom: 1.5rem; }
.hero + .entry-section { padding-top: 1.5rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--accent-gold);
  font-family: var(--font-mono);
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--text-muted); margin-top: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.8;
}
.site-footer p { margin: 0 0 1.2rem 0; max-width: 100%; }
.site-footer > p:nth-child(1) { text-align: center; }
.site-footer > p:nth-child(2) { text-align: center; }
.site-footer a { color: var(--accent-gold); text-decoration: none; }
.site-footer a:hover { color: var(--accent-gold-hover); text-decoration: underline; }
.footer-socials { display: flex; gap: 1.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.footer-socials a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-muted); text-decoration: none; font-size: 0.8rem; }
.footer-socials a:hover { color: var(--accent-gold); }
.social-icon { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Disclosure Banner (affiliate / risk) ---------- */
.disclosure-banner {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  padding: 0.9rem 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}
.disclosure-banner a { color: var(--accent-gold); text-decoration: underline; }

/* ---------- Legal Pages ---------- */
.legal-page { max-width: 780px; }
.legal-updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.3rem; text-align: left; margin: 2.5rem 0 0.75rem; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; color: var(--text-primary); }
.legal-page p { color: var(--text-muted); line-height: 1.7; margin: 0 0 1rem; }
.legal-page ul, .legal-page ol { color: var(--text-muted); line-height: 1.7; margin: 0 0 1rem; padding-left: 1.4rem; }
.legal-page li { margin-bottom: 0.5rem; }
.legal-page strong { color: var(--text-primary); }
.legal-page a { color: var(--accent-gold); text-decoration: underline; }
.legal-callout {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.7;
}
.legal-toc {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
}
.legal-toc p { margin: 0 0 0.6rem; color: var(--text-primary); font-weight: 600; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; }
.legal-toc li { margin-bottom: 0.35rem; }
.legal-toc a { color: var(--text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--accent-gold); }
.legal-placeholder { color: var(--accent-red); font-weight: 600; }

/* ---------- Copy Code Button ---------- */
.code-copy-btn {
  background: none;
  border: none;
  color: var(--accent-gold);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: inline;
  font-size: inherit;
  font-family: inherit;
  transition: color 0.2s;
}
.code-copy-btn:hover {
  color: var(--accent-gold-hover);
}
.code-copy-btn:active {
  color: var(--text-primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .picks-grid, .prizes-grid, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .countdown-timer { gap: 0.85rem; }
  .countdown-value { font-size: 1.5rem; }
}
