﻿/* tap-light — tokens, shell, prose (game-deal energy) */
:root {
  --tt-olive: #5a7a3a;
  --tt-olive-dark: #45612c;
  --tt-olive-deep: #2f4a22;
  --tt-soft: #e8efe0;
  --tt-bg: #f2f4ee;
  --tt-surface: #ffffff;
  --tt-ink: #2f3a28;
  --tt-muted: #6a7a5c;
  --tt-border: #d5ddd0;
  --tt-promo: #c45c26;
  --tt-deal: #e85d2c;
  --tt-withdraw: #2f8f4e;
  --tt-rank: #b8c4ae;
  --tt-gold: #f0b429;
  --tt-gold-hi: #ffe7a8;
  --tt-gold-lo: #e09812;
  --tt-shell-max: 1200px;
  /* Primary CTA = gold claim button */
  --tt-dl-bg: linear-gradient(180deg, #ffe7a8 0%, #f0b429 48%, #e09812 100%);
  --tt-dl-color: #3d2a12;
  /* Promo surfaces */
  --tt-panel-deal: linear-gradient(
    115deg,
    #2f4a22 0%,
    #45612c 28%,
    #5a7a3a 58%,
    #6b8f45 78%,
    #8a6a1a 100%
  );
  --tt-stripe: repeating-linear-gradient(
    -28deg,
    transparent 0 10px,
    rgb(255 255 255 / 0.28) 10px 12px
  );
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

/* Lucide: avoid empty boxes before hydrate; never override Tailwind size utilities */
i[data-lucide] {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  color: inherit;
  line-height: 0;
}

i[data-lucide]:not(:has(svg)) {
  opacity: 0;
}

svg.lucide {
  display: block;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg.lucide.fill-current,
.fill-current.lucide {
  fill: currentColor;
}

:focus-visible {
  outline: 2px solid var(--tt-gold);
  outline-offset: 2px;
}

.tt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tt-shell {
  width: 100%;
  max-width: var(--tt-shell-max);
  min-width: 0;
  overflow-x: clip;
}

@media (max-width: 767px) {
  .tt-shell {
    max-width: 100%;
  }
}

/* Shared deal-surface utilities */
.tt-deal-surface {
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgb(255 220 140 / 0.35);
  background:
    radial-gradient(120% 160% at 100% 0%, rgb(240 180 41 / 0.32) 0%, transparent 42%),
    radial-gradient(90% 120% at 0% 100%, rgb(107 143 69 / 0.5) 0%, transparent 50%),
    var(--tt-panel-deal);
  box-shadow:
    0 12px 28px rgb(47 58 40 / 0.18),
    0 1px 0 rgb(255 255 255 / 0.18) inset;
}

.tt-deal-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  background: var(--tt-stripe);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.tt-deal-surface > * {
  position: relative;
  z-index: 1;
}

.tt-deal-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.05rem;
  padding: 0.12rem 0.45rem;
  border-radius: 0.3rem 0.3rem 0.3rem 0;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, #e85d2c 0%, #c45c26 55%, #a34418 100%);
  border: 1px solid rgb(255 255 255 / 0.35);
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.25);
}

/* Section title band — dock-style impact strip */
.tt-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
}

.tt-band__main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
}

.tt-band__title {
  margin: 0;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .tt-band__title {
    font-size: 1.2rem;
  }
}

.tt-band__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--tt-dl-color);
  background-image: var(--tt-dl-bg);
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.tt-band__link:hover {
  filter: brightness(1.05);
}

/* Page hero banner */
.tt-page-hero {
  margin-bottom: 1rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 1rem;
}

.tt-page-hero__eyebrow {
  margin: 0 0 0.4rem;
  display: inline-flex;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3d2a12;
  background-image: var(--tt-dl-bg);
}

.tt-page-hero__title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

@media (min-width: 768px) {
  .tt-page-hero__title {
    font-size: 2rem;
  }
}

.tt-page-hero__count {
  margin-left: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: rgb(255 255 255 / 0.7);
  vertical-align: middle;
}

.tt-page-hero__lead {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.85);
}

.tt-prose {
  line-height: 1.7;
  color: var(--tt-ink);
  font-size: 0.95rem;
}

.tt-prose h1,
.tt-prose h2,
.tt-prose h3,
.tt-prose h4 {
  font-weight: 700;
  color: var(--tt-ink);
  line-height: 1.25;
  margin: 1.2em 0 0.5em;
}

.tt-prose p,
.tt-prose ul,
.tt-prose ol {
  margin: 0 0 1em;
}

.tt-prose a {
  color: var(--tt-olive);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tt-prose img {
  border-radius: 0.5rem;
  margin: 1em 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
