/* ============================================================
   P77PLAY — COMPONENTS
   Buttons · Nav · Footer · Cards · Badges · Telegram
   ============================================================ */

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-fast),
              box-shadow var(--transition-fast), color var(--transition-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(100deg, var(--color-accent-gold), var(--color-accent-gold-dim));
  color: #12100A;
  box-shadow: var(--shadow-glow-gold);
}
.btn--gold:hover { color: #12100A; box-shadow: 0 0 28px rgba(240, 180, 41, 0.55); }

.btn--ghost {
  background: transparent;
  color: var(--color-accent-gold);
  border: 1.5px solid var(--color-border-strong);
}
.btn--ghost:hover { background: rgba(240, 180, 41, 0.08); color: var(--color-accent-gold); border-color: var(--color-accent-gold); }

.btn--blue { background: var(--color-accent-blue); color: #fff; }
.btn--blue:hover { background: #2563EB; color: #fff; }

.btn--lg { padding: 16px 34px; font-size: 1.0625rem; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }

.btn .icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ------------------------------------------------------------
   TELEGRAM BUTTON
   ------------------------------------------------------------ */
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-telegram);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-telegram:hover {
  background: var(--color-telegram-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}
.btn-telegram .icon { width: 20px; height: 20px; }
.btn-telegram--pulse { animation: tgPulse 2.4s ease-in-out 1; }

@keyframes tgPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43, 165, 225, 0.55); }
  50%      { box-shadow: 0 0 0 12px rgba(43, 165, 225, 0); }
}

/* Floating telegram button (all pages) */
.telegram-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-telegram);
  border: 2px solid var(--color-accent-gold);
  border-radius: 50%;
  box-shadow: var(--shadow-elevated);
  animation: tgBounce 5s ease-in-out infinite;
}
.telegram-float:hover { background: var(--color-telegram-hover); }
.telegram-float .icon { width: 28px; height: 28px; }

@keyframes tgBounce {
  0%, 88%, 100% { transform: translateY(0); }
  92%           { transform: translateY(-8px); }
  96%           { transform: translateY(-3px); }
}

/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}
.site-header.is-stuck {
  position: fixed;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
/* pages that aren't full-bleed hero use a solid header from the start */
.site-header--solid {
  position: sticky;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Logo asset is a wide "77 + P77.COM" wordmark PNG; crop to reveal only the
   icon mark on the left since the page already sets its own "P77Play" text. */
.brand-mark { object-fit: cover; object-position: left center; flex-shrink: 0; }
.brand-mark--38 { width: 44px; height: 38px; }
.brand-mark--40 { width: 47px; height: 40px; }
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}
.nav__logo-text span { color: var(--color-accent-gold); }

.nav__menu { display: flex; align-items: center; gap: var(--space-lg); list-style: none; }
.nav__link {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color var(--transition-fast);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--color-text-primary); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-accent-gold);
  transition: width var(--transition-base);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: var(--space-md); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(8px);
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a.mobile-menu__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--color-text-primary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu a.mobile-menu__link:hover { color: var(--color-accent-gold); }
.mobile-menu .btn-telegram { margin-top: var(--space-md); justify-content: center; }

@media (max-width: 899px) {
  .nav__menu, .nav__actions .btn-telegram { display: none; }
  .nav__toggle { display: flex; }
}

/* ------------------------------------------------------------
   BADGES / PILLS
   ------------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  line-height: 1;
}
.badge--cat   { background: rgba(240, 180, 41, 0.12); color: var(--color-accent-gold); border: 1px solid var(--color-border); }
.badge--live  { background: rgba(34, 211, 160, 0.14); color: var(--color-neon-green); }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-neon-green); box-shadow: 0 0 6px var(--color-neon-green); animation: livePulse 1.6s infinite; }
.badge--hot   { background: rgba(239, 68, 68, 0.14); color: #FF7A7A; }
.badge--soon  { background: rgba(107, 107, 128, 0.18); color: var(--color-text-secondary); }

@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.trust-badges { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
}
.trust-badge strong { color: var(--color-text-primary); }

/* ------------------------------------------------------------
   GAME CARD
   ------------------------------------------------------------ */
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-elevated), var(--shadow-glow-gold);
}
.game-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-bg-tertiary); }
.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.game-card:hover .game-card__media img { transform: scale(1.06); }
.game-card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.game-card__body { padding: var(--space-md); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--color-text-primary); }
.game-card__meta { font-size: 0.8125rem; color: var(--color-text-secondary); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.game-card__stats { font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-text-muted); }
.game-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--color-accent-gold);
  padding-top: 4px;
}
.game-card__cta:hover { color: #FFE08A; }
.game-card__cta .arrow { transition: transform var(--transition-fast); }
.game-card:hover .game-card__cta .arrow { transform: translateX(4px); }

/* Grid layouts */
.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 560px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }
.card-grid--3 { }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------
   FEATURE CARD / STEP CARD
   ------------------------------------------------------------ */
.feature-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--color-border-strong); }
.feature-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: rgba(240, 180, 41, 0.1);
  border: 1px solid var(--color-border);
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}
.feature-card h3 { margin-bottom: var(--space-sm); }
.feature-card p { font-size: 0.95rem; }

.step {
  position: relative;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
}
.step__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-dim));
  color: #12100A;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-glow-gold);
}
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; }

/* ------------------------------------------------------------
   STATS BAR
   ------------------------------------------------------------ */
.stats-bar {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  padding-block: var(--space-xl);
}
@media (min-width: 768px) { .stats-bar__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat__value { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--color-accent-gold); line-height: 1; }
.stat__label { margin-top: 8px; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-secondary); }

/* ------------------------------------------------------------
   BLOG CARD
   ------------------------------------------------------------ */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.post-card:hover { transform: translateY(-6px); border-color: var(--color-border-strong); }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-bg-tertiary); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: var(--space-lg); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--color-text-primary); }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--color-accent-gold); }
.post-card__excerpt { font-size: 0.9rem; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--color-text-muted); margin-top: auto; }
.post-card__author { display: flex; align-items: center; gap: 8px; }
.post-card__avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-blue)); display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; color: #000; font-family: var(--font-display); }

/* ------------------------------------------------------------
   CTA BANNER
   ------------------------------------------------------------ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--color-bg-tertiary), var(--color-bg-secondary));
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(240, 180, 41, 0.14), transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { margin-bottom: var(--space-sm); }
.cta-banner p { max-width: 560px; margin: 0 auto var(--space-lg); }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }

/* ------------------------------------------------------------
   PAGE HERO (compact) — inner pages
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(240, 180, 41, 0.10), transparent 70%),
    var(--color-bg-primary);
}
.page-hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240,180,41,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,180,41,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift { from { background-position: 0 0; } to { background-position: 44px 44px; } }
.page-hero__inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.page-hero__inner h1 { margin-bottom: var(--space-md); }
.page-hero__inner p { font-size: 1.0625rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: var(--space-md); }
.breadcrumb a { color: var(--color-text-secondary); }
.breadcrumb a:hover { color: var(--color-accent-gold); }

/* ------------------------------------------------------------
   SIGNATURE SCAN LINE (hero, once on load)
   ------------------------------------------------------------ */
.scan-line {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-gold) 45%, #FFF3C4 50%, var(--color-accent-gold) 55%, transparent);
  box-shadow: 0 0 16px 2px rgba(240, 180, 41, 0.55);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}
.scan-line--run { animation: scanSweep 1.5s var(--ease-out) forwards; }
@keyframes scanSweep {
  0%   { opacity: 0; transform: translateY(0); }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(min(72vh, 620px)); }
}

/* ------------------------------------------------------------
   FILTER PILLS
   ------------------------------------------------------------ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: var(--space-lg); }
.filter-pill {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}
.filter-pill:hover { color: var(--color-text-primary); border-color: var(--color-border-strong); }
.filter-pill.is-active { background: linear-gradient(100deg, var(--color-accent-gold), var(--color-accent-gold-dim)); color: #12100A; border-color: transparent; }

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-2xl);
  margin-top: var(--space-3xl);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.footer__brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-md); }
.footer__brand-logo img { height: 40px; }
.footer__brand-logo .nav__logo-text { font-size: 1.5rem; }
.footer__tagline { font-size: 0.9rem; max-width: 300px; margin-bottom: var(--space-md); }
.footer__col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-primary); margin-bottom: var(--space-md); }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--color-text-secondary); font-size: 0.9rem; }
.footer__col a:hover { color: var(--color-accent-gold); }
.footer__social { display: flex; gap: 10px; margin-top: var(--space-sm); }

.footer__notices { display: flex; flex-direction: column; gap: var(--space-md); padding-block: var(--space-lg); border-top: 1px solid var(--color-border); }
.notice {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}
.notice strong { color: var(--color-text-primary); display: block; margin-bottom: 4px; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; }
.notice--affiliate { border-left: 3px solid var(--color-accent-gold); }
.notice--geo { border-left: 3px solid var(--color-danger); }

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.footer__bottom nav { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.footer__bottom a { color: var(--color-text-muted); }
.footer__bottom a:hover { color: var(--color-accent-gold); }

/* ------------------------------------------------------------
   INFO BOX (safety notice etc.)
   ------------------------------------------------------------ */
.info-box {
  background: rgba(240, 180, 41, 0.05);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent-gold);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  font-size: 0.95rem;
}
.info-box--danger { background: rgba(239, 68, 68, 0.05); border-color: rgba(239,68,68,0.2); border-left-color: var(--color-danger); }
.info-box h3 { font-size: 1.15rem; margin-bottom: 8px; }

/* ------------------------------------------------------------
   FAQ / ACCORDION
   ------------------------------------------------------------ */
.faq-list { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--color-bg-secondary); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-lg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.4rem; color: var(--color-accent-gold); transition: transform var(--transition-fast); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 var(--space-lg) var(--space-lg); }
.faq-item__body p { font-size: 0.95rem; }

/* ------------------------------------------------------------
   TABLE
   ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
table.data-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.data-table th, .data-table td { padding: 14px var(--space-md); text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.92rem; }
.data-table thead th { background: var(--color-bg-tertiary); color: var(--color-text-primary); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; }
.data-table td { color: var(--color-text-secondary); }
.data-table tr:last-child td { border-bottom: none; }
.data-table td:first-child { color: var(--color-text-primary); font-weight: 500; }

/* ------------------------------------------------------------
   PROSE (blog / legal content)
   ------------------------------------------------------------ */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-md); scroll-margin-top: 100px; }
.prose h3 { margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.prose p { margin-bottom: var(--space-md); color: var(--color-text-secondary); line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 var(--space-md) var(--space-lg); display: flex; flex-direction: column; gap: 8px; }
.prose ul li { list-style: disc; color: var(--color-text-secondary); }
.prose ol li { list-style: decimal; color: var(--color-text-secondary); }
.prose li::marker { color: var(--color-accent-gold); }
.prose strong { color: var(--color-text-primary); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--color-accent-gold); padding: var(--space-sm) var(--space-lg); margin: var(--space-lg) 0; background: rgba(240,180,41,0.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p { margin: 0; color: var(--color-text-primary); font-style: italic; }

/* ------------------------------------------------------------
   APP PHONE MOCKUP SHOWCASE (hero)
   ------------------------------------------------------------ */
.phone-showcase {
  position: relative;
  width: clamp(220px, 30vw, 300px);
  perspective: 1400px;
  animation: phoneIntro 1.1s var(--ease-out) both, phoneIdle 6s ease-in-out 1.15s infinite;
}
@keyframes phoneIntro {
  from { opacity: 0; transform: translateY(36px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes phoneIdle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.phone-mockup__glow {
  position: absolute;
  inset: -15% -30%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.38), transparent 65%);
  filter: blur(28px);
  z-index: -1;
  animation: glowPulse 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.9;  transform: scale(1.08); }
}

.phone-mockup__device {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(160deg, #20202f, #0a0a0f 70%);
  border-radius: 42px;
  padding: 14px 11px;
  border: 1px solid var(--color-border-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.03), var(--shadow-glow-gold);
}
.phone-mockup__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 20px;
  background: #05050a;
  border-radius: 14px;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
}
.phone-mockup__notch::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1a1a26;
  box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.3);
}
.phone-mockup__side { position: absolute; background: linear-gradient(180deg, #2a2a3a, #16161f); border-radius: 3px; }
.phone-mockup__side--power { right: -2px; top: 90px; width: 3px; height: 46px; }
.phone-mockup__side--vol1  { left: -2px; top: 80px; width: 3px; height: 30px; }
.phone-mockup__side--vol2  { left: -2px; top: 118px; width: 3px; height: 30px; }

.phone-mockup__screen {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 9 / 18;
  background: #050508;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone-mockup__screen img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: auto;
  animation: appScroll 13s ease-in-out infinite;
}
@keyframes appScroll {
  0%, 10%  { transform: translateY(0); }
  50%, 60% { transform: translateY(-17%); }
  100%     { transform: translateY(0); }
}
.phone-mockup__screen::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, transparent 22%, transparent 78%, rgba(255, 255, 255, 0.06) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Floating claim badges around the phone */
.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(19, 19, 28, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-primary);
  white-space: nowrap;
  box-shadow: var(--shadow-elevated);
  z-index: 4;
  animation: badgeFloat 5s ease-in-out infinite;
}
.float-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-neon-green);
  box-shadow: 0 0 6px var(--color-neon-green);
  animation: livePulse 1.6s infinite;
  flex-shrink: 0;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float-badge--payout  { top: 6%;    left: -6%;  animation-delay: 0s; }
.float-badge--players { bottom: 12%; right: -8%; animation-delay: 1.1s; }
.float-badge--live    { top: 46%;   right: -10%; animation-delay: 2.2s; }

@media (max-width: 639px) {
  .float-badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .phone-showcase, .phone-mockup__screen img, .phone-mockup__glow, .float-badge, .float-badge .dot {
    animation: none !important;
  }
}
