/* ============================================================
   TheSportBros — Styles
   Color scheme: red / white / black
   ============================================================ */

/* ---------- Design tokens (red / white / black) ---------- */
:root {
  --black:      #0d0d0f;
  --black-2:    #141417;
  --black-3:    #1c1c21;
  --red:        #EA2F14;
  --red-dark:   #b8240e;
  --red-soft:   rgba(234, 47, 20, 0.12);
  --white:      #ffffff;
  --grey:       #b6b6bd;
  --grey-dark:  #82828c;
  --line:       rgba(255, 255, 255, 0.08);
  --radius:     16px;
  --shadow:     0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-sm:  0 6px 18px rgba(0, 0, 0, 0.28);
  --shadow-lg:  0 30px 60px rgba(0, 0, 0, 0.5);
  --ease:       cubic-bezier(.4, .14, .3, 1);
  --maxw:       1200px;

  /* fonts — Poppins everywhere */
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;

  /* themeable surfaces */
  --header-bg:        rgba(13, 13, 15, 0.85);
  --header-bg-scroll: rgba(13, 13, 15, 0.96);
}

/* ---------- LIGHT THEME ---------- */
:root[data-theme="light"] {
  --black:      #ffffff;          /* page background */
  --black-2:    #f1f3f7;          /* alternating section bands + some cards */
  --black-3:    #ffffff;          /* cards that sit on the grey bands */
  --red:        #EA2F14;          /* accent stays the same */
  --red-dark:   #b8240e;
  --red-soft:   rgba(234, 47, 20, 0.10);
  --white:      #17181d;          /* primary text (now dark) */
  --grey:       #565a64;          /* secondary text */
  --grey-dark:  #8a8d96;
  --line:       rgba(17, 18, 24, 0.10);
  --shadow:     0 18px 40px rgba(20, 22, 35, 0.12);
  --shadow-sm:  0 6px 18px rgba(20, 22, 35, 0.07);
  --shadow-lg:  0 28px 55px rgba(20, 22, 35, 0.15);

  --header-bg:        rgba(255, 255, 255, 0.82);
  --header-bg-scroll: rgba(255, 255, 255, 0.96);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* everything is Poppins; headings just go bolder */
h3, h4, .logo, .btn { font-family: var(--font-body); }
h1, h2 { font-family: var(--font-body); font-weight: 800; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section { padding: 112px 0; }

/* ---------- Section heading helper (NO glass effect, plain & human) ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 66px; }
.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
}
.section-head h2 span { color: var(--red); }
.section-head p { color: var(--grey); margin-top: 14px; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #ff5a44 0%, #c0260f 100%);
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(234, 47, 20, 0.38);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(234, 47, 20, 0.5);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: var(--red);
  border-color: var(--red) !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(234, 47, 20, 0.35);
}

/* ================= HEADER ================= */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
header.scrolled { border-bottom-color: var(--line); background: var(--header-bg-scroll); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}
.logo i { color: var(--red); }
.logo span { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--grey);
  border-radius: 8px;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px; bottom: 2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: calc(100% - 32px); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ================= HERO SLIDER ================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(13,13,15,0.95) 0%, rgba(13,13,15,0.78) 45%, rgba(13,13,15,0.4) 100%);
}
.slide.active { opacity: 1; visibility: visible; }

/* background layer — pops up from the bottom-right (where the thumbs sit) */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform-origin: bottom right;
}
.slide.active .slide-bg { animation: bgPop 1.15s cubic-bezier(.16, .84, .34, 1) both; }
@keyframes bgPop {
  from { transform: scale(.45) translate(38%, 38%); border-radius: 30px; opacity: .2; }
  to   { transform: scale(1) translate(0, 0); border-radius: 0; opacity: 1; }
}

.slide-inner { position: relative; z-index: 2; max-width: 640px; padding: 36px 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(234,47,20,0.3);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 7px 15px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}
.badge i { font-size: 0.7rem; }
.slide h1 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}
.slide h1 span { color: var(--red); }
.slide p {
  color: var(--grey);
  font-size: 1.08rem;
  max-width: 500px;
  margin-bottom: 34px;
}
.slide-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* content slides up from the bottom each time a slide becomes active */
.slide.active .slide-inner > * { animation: rise .85s cubic-bezier(.2, .7, .2, 1) both; }
.slide.active .badge       { animation-delay: .12s; }
.slide.active h1           { animation-delay: .26s; }
.slide.active p            { animation-delay: .42s; }
.slide.active .slide-btns  { animation-delay: .56s; }
@keyframes rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: translateY(0); } }

/* slider thumbnail cards (bottom-right) — these act as the slides */
.slide-thumbs {
  position: absolute;
  right: 40px; bottom: 46px;
  z-index: 6;
  display: flex;
  gap: 16px;
}
.thumb {
  position: relative;
  z-index: 1;
  width: 130px; height: 150px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  filter: grayscale(0.4) brightness(0.7);
  transition: transform .35s ease, filter .35s ease, border-color .35s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,15,0.92), rgba(13,13,15,0.1) 65%);
}
.thumb:hover { filter: grayscale(0) brightness(0.95); transform: translateY(-4px); }
.thumb.active {
  filter: grayscale(0) brightness(1);
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(234, 47, 20, 0.18);
  z-index: 3;
}

.thumb-info {
  position: absolute;
  left: 12px; bottom: 16px;
  z-index: 2;
  text-align: left;
  line-height: 1.25;
}
.thumb-info small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.thumb-info strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: var(--white);
}

/* ================= STATS BAR ================= */
.stats { background: var(--black-2); padding: 34px 0; border-block: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background-color .3s ease, border-color .3s ease;
}
.stat:hover {
  background: var(--black-3);
  border-color: rgba(234, 47, 20, 0.35);
}
.stat-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.1rem;
  transition: transform .3s var(--ease);
}
.stat:hover .stat-icon { transform: scale(1.1); }
.stat-text { text-align: left; }
.stat h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat p {
  color: var(--grey);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 2px;
}

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/3.4;
  box-shadow: var(--shadow-lg);
}
.about-media img { transition: transform .6s var(--ease); }
.about-media:hover img { transform: scale(1.03); }

.about-media .float-card {
  position: absolute;
  bottom: -16px; left: -16px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--red);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.about-media .float-card i { font-size: 1.25rem; opacity: .9; }
.about-media .float-card strong {
  font-family: 'Poppins';
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.about-media .float-card span { font-size: 0.72rem; opacity: 0.92; }

/* ---- scoped scroll-in animations: image from left, content from right ---- */
.about-anim-left,
.about-anim-right {
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: transform, opacity;
}
.about-anim-left  { transform: translateX(-60px); }
.about-anim-right { transform: translateX(60px); }
.about-anim-left.in-view,
.about-anim-right.in-view { opacity: 1; transform: translateX(0); }

.about-text .eyebrow { text-align: left; }
.about-text h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 18px;
}
.about-text h2 span { color: var(--red); }
.about-text > p { color: var(--grey); margin-bottom: 22px; }
.about-list { display: grid; gap: 16px; margin-bottom: 30px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list i {
  color: var(--red);
  background: var(--red-soft);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.about-list strong { display: block; font-family: 'Poppins'; font-weight: 600; }
.about-list small { color: var(--grey); font-size: 0.88rem; }

/* ================= GAMES ================= */
.games { background: var(--black-2); }
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  background: var(--black-3);
  border: 1px solid var(--line);
  color: var(--grey);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { color: var(--white); border-color: var(--red); }
.filter-btn.active { background: var(--red); color: var(--white); border-color: var(--red); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* full-image card: image + text overlaid at the bottom */
.game-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), border-color .35s ease, box-shadow .4s ease;
}
.game-card:hover { transform: translateY(-10px); border-color: rgba(234,47,20,0.55); box-shadow: var(--shadow-lg); }

.game-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.game-card:hover .game-img { transform: scale(1.08); }

/* gradient so the text stays readable; darkens a touch on hover */
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,15,0.95) 8%, rgba(13,13,15,0.35) 48%, rgba(13,13,15,0) 78%);
  transition: background .4s ease;
}
.game-card:hover::after {
  background: linear-gradient(to top, rgba(13,13,15,0.92), rgba(13,13,15,0.55));
}

/* difficulty badge — one of the "other things" that hides on hover */
.diff-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(13,13,15,0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
}
.game-card:hover .diff-badge { opacity: 1; transform: translateY(0); }
.diff-easy { color: #4ade80; }
.diff-medium { color: #ff6a52; }

/* content overlaid on the image, anchored to the bottom */
.game-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 22px;
}
.game-title {
  font-family: 'Poppins';
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.game-title i { color: var(--red); }

/* description — hidden on hover */
.game-desc {
  color: rgba(255,255,255,0.82);
  font-size: 0.86rem;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
  transition: opacity .35s ease, max-height .45s ease, margin .45s ease;
}
.game-card:hover .game-desc { opacity: 1; max-height: 140px; margin-top: 10px; }

/* Play Now: a solid button by default (the clean "home" look); arrow nudges on hover */
.play-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 22px;
  border-radius: 50px;
  background: var(--red);
  font-family: 'Poppins';
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(234,47,20,0.32);
  transition: box-shadow .3s ease, transform .25s ease;
}
.play-link i { transition: transform .25s ease; }
.game-card:hover .play-link { box-shadow: 0 12px 26px rgba(234,47,20,0.5); }
.game-card:hover .play-link i { transform: translateX(4px); }

/* split entrance: first 4 cards drop in from the top, last 4 rise from the bottom */
.card-from-top:not(.in-view),
.card-from-bottom:not(.in-view) { opacity: 0; }
.card-from-top.in-view    { animation: cardDrop .75s var(--ease); }
.card-from-bottom.in-view { animation: cardRise .75s var(--ease); }
@keyframes cardDrop { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cardRise { from { opacity: 0; transform: translateY(60px);  } to { opacity: 1; transform: translateY(0); } }

/* ================= WHY CHOOSE US ================= */
.features {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(234, 47, 20, 0.08), transparent 55%),
    var(--black);
}
/* dotted pattern that fades from the top of the section down to the bottom */
.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}
.features .container { position: relative; z-index: 1; }

/* give this heading room to stay on a single line */
.features .section-head { max-width: 760px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .3s ease, border-color .3s ease;
}
/* gradient that fades in on hover */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff6a3d 0%, var(--red) 45%, #c0260f 100%);
  opacity: 0;
  transition: opacity .35s ease;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover::before { opacity: 1; }

.feature-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-lg); }
.feature-card:hover h3 { color: #fff; }
.feature-card:hover p { color: rgba(255, 255, 255, 0.9); }
.feature-card:hover .icon { background: #fff; color: var(--red); transform: scale(1.08) rotate(-6deg); }

/* "Why Play Bros Games Here": keep the FIRST card in its active (hover) colours by
   default — works on the home page only (not the game pages' feature cards). The red
   gradient + white text are theme-independent; only the glow is tuned per theme. */
.features:not(.gp-section) .feature-card:first-child::before { opacity: 1; }
.features:not(.gp-section) .feature-card:first-child {
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(234, 47, 20, 0.32);
}
.features:not(.gp-section) .feature-card:first-child h3 { color: #fff; }
.features:not(.gp-section) .feature-card:first-child p { color: rgba(255, 255, 255, 0.9); }
.features:not(.gp-section) .feature-card:first-child .icon { background: #fff; color: var(--red); }
/* light mode: softer red glow so the active card sits well on the light background */
:root[data-theme="light"] .features:not(.gp-section) .feature-card:first-child {
  box-shadow: 0 16px 32px rgba(234, 47, 20, 0.20);
}

.feature-card .icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: background .3s ease, color .3s ease, transform .35s var(--ease);
}
.feature-card h3 { font-family: 'Poppins'; font-size: 1.15rem; margin-bottom: 10px; transition: color .3s ease; }
.feature-card p { color: var(--grey); font-size: 0.9rem; transition: color .3s ease; }

/* ================= PRO TIPS ================= */
.tips {
  position: relative;
  background:
    linear-gradient(rgba(13,13,15,0.93), rgba(13,13,15,0.97)),
    url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?w=1600&q=80') center/cover no-repeat;
}
/* graph-paper grid pattern layered over the photo */
.tips::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}
.tips .container { position: relative; z-index: 1; }

.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tip-card {
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s ease, box-shadow .35s ease;
}
/* red accent bar that grows down the left edge on hover */
.tip-card::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 4px; height: 0;
  background: linear-gradient(var(--red), #ff6a52);
  transition: height .45s var(--ease);
}
.tip-card:hover { transform: translateY(-10px); border-color: rgba(234,47,20,0.55); box-shadow: var(--shadow-lg); }
.tip-card:hover::after { height: 100%; }

.tip-num {
  font-family: 'Poppins';
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ff8a72 0%, var(--red) 48%, #8a1a08 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: transform .3s var(--ease);
}
.tip-card:hover .tip-num { transform: scale(1.06); }
.tip-card h3 { font-family: 'Poppins'; font-size: 1.18rem; margin-bottom: 10px; }
.tip-card p { color: var(--grey); font-size: 0.9rem; }

/* featured checklist with icons */
.tip-list { list-style: none; margin-top: 18px; display: grid; gap: 11px; }
.tip-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.86rem;
  color: var(--grey);
  transition: color .2s ease, transform .2s ease;
}
.tip-list li i {
  color: var(--red);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.tip-list li:hover { color: var(--white); transform: translateX(5px); }
.tip-list li:hover i { transform: scale(1.25); }

/* ================= BLOG SLIDER ================= */
.blog-slider-wrap { position: relative; overflow: hidden; }
.blog-track {
  display: flex;
  gap: 24px;
  transition: transform .5s ease;
}
.blog-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.blog-card:hover { transform: translateY(-10px); border-color: rgba(234,47,20,0.55); box-shadow: var(--shadow-lg); }
.blog-thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.08); }
.blog-body { padding: 22px; }
.blog-meta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--grey-dark); margin-bottom: 12px; }
.blog-meta span i { color: var(--red); margin-right: 5px; }
.blog-body h3 { font-family: 'Poppins'; font-size: 1.08rem; line-height: 1.35; margin-bottom: 10px; }
.blog-body p { color: var(--grey); font-size: 0.88rem; margin-bottom: 14px; }
.read-more { color: var(--red); font-weight: 600; font-size: 0.88rem; display: inline-flex; gap: 7px; align-items: center; }
.read-more i { transition: transform .2s ease; }
.read-more:hover i { transform: translateX(5px); }

.blog-nav { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.blog-nav button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--black-3);
  color: var(--white);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.blog-nav button:hover {
    background: #EA2F14 !important;
    border-color: var(--red);
    }

.filter-btn:hover {
     background: #EA2F14 !important;
}


/* ================= NEWSLETTER ================= */
.newsletter {
  background:
    linear-gradient(rgba(13,13,15,0.9), rgba(13,13,15,0.94)),
    url('https://images.unsplash.com/photo-1517649763962-0c623066013b?w=1400&q=80') center/cover;
  border-radius: 15px !important;
  padding: 60px 40px !important;
  text-align: center !important;
}
.newsletter h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.newsletter h2 span { color: var(--red); }
.newsletter p { color: var(--grey); max-width: 520px; margin: 0 auto 28px; }
.news-form {
  display: flex !important;
  gap: 12px !important;
  max-width: 480px !important;
  margin: 0 auto !important;
}
.news-form input {
  flex: 1;
  background: var(--black-3);
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  font-family: var(--font-body);
}
.news-form input:focus { outline: none !important; border-color: var(--red) !important; }

/* ================= FOOTER ================= */
footer { background: var(--black-2); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--grey); font-size: 0.92rem; max-width: 320px; margin-bottom: 20px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--black-3);
  border: 1px solid var(--line);
  color: var(--grey);
  transition: all .2s ease;
}
.socials a:hover { background: var(--red); color: var(--white); border-color: var(--red); transform: translateY(-3px); }

.footer-col h4 { font-family: 'Poppins'; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--grey); font-size: 0.9rem; transition: color .2s ease, padding .2s ease; }
.footer-col a:hover { color: var(--red); padding-left: 5px; }

.footer-note {
  background: var(--red-soft);
  border: 1px solid rgba(234,47,20,0.25);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.86rem;
  color: var(--grey);
}
.footer-note strong { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--grey-dark);
  font-size: 0.85rem;
}

/* ================= VIDEO HIGHLIGHTS ================= */
.videos { position: relative; overflow: hidden; }
.videos::before {
  content: "";
  position: absolute;
  top: -140px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(234, 47, 20, 0.18), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.video-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.video-intro { text-align: left; }
.video-cta { margin-top: 28px; }
.video-intro .eyebrow { text-align: left; }
.video-intro h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.14;
  margin-top: 6px;
}
.video-intro h2 span { color: var(--red); }
.video-intro p { color: var(--grey); margin-top: 16px; font-size: 1.02rem; max-width: 460px; }

.video-side { display: grid; gap: 18px; }
.video-facade.main { aspect-ratio: 16/9; border-color: rgba(234, 47, 20, 0.4); }
.video-facade.main:hover { border-color: var(--red); box-shadow: 0 18px 40px rgba(234, 47, 20, 0.28); }

/* continuously-moving card carousel under the main video */
.video-carousel { overflow: hidden; }
.video-track { display: flex; gap: 16px; }
.video-card {
  flex: 0 0 calc((100% - 32px) / 3);   /* ~3 cards visible; the 4th scrolls in */
  aspect-ratio: 16/10;
  border-width: 2px;
  padding: 0;
}
.video-card.active {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(234, 47, 20, 0.22);
}
/* small video icon in the top-right corner of each card */
.video-tag {
  position: absolute;
  top: 9px; right: 9px;
  z-index: 3;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(13, 13, 15, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.78rem;
  transition: background .25s ease, transform .25s ease;
}
.video-card:hover .video-tag,
.video-card.active .video-tag { background: var(--red); transform: scale(1.08); }

.video-facade {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16/9;
}
.video-facade > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.video-facade:hover > img { transform: scale(1.05); }
.video-facade::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,15,0.88), rgba(13,13,15,0.15) 70%);
  transition: opacity .3s ease;
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.25rem;
  box-shadow: 0 12px 30px rgba(234,47,20,0.5);
  transition: transform .25s ease, background .2s ease;
}
.video-facade.main .video-play { width: 72px; height: 72px; font-size: 1.35rem; }
.video-card .video-play { width: 44px; height: 44px; font-size: 0.9rem; }
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.12); }
/* pulsing ring on the main play button */
.video-facade.main .video-play::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: vidPulse 2.2s ease-out infinite;
}
@keyframes vidPulse {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}
.video-facade.main.playing .video-play::after { display: none; }
.video-cap { position: absolute; left: 18px; bottom: 16px; z-index: 2; text-align: left; }
.video-card .video-cap { left: 14px; bottom: 12px; }
.video-card .video-cap strong { font-size: 0.85rem; }
.video-card .video-cap small { font-size: 0.62rem; }
.video-cap small {
  display: block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--red);
}
.video-cap strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
}
/* once clicked, the iframe fills the box and the overlay is gone */
.video-facade.playing::after,
.video-facade.playing .video-play,
.video-facade.playing .video-cap { display: none; }
.video-facade iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ================= TESTIMONIALS ================= */
.testimonials { background: var(--black-2); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  position: relative;
  overflow: hidden;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .3s ease, border-color .3s ease, background-color .4s ease;
}
/* accent bar that sweeps across the top on hover */
.testi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red), #ff6a3d);
  transition: width .45s var(--ease);
}
.testi-card:hover::before { width: 100%; }
.testi-card:hover { transform: translateY(-10px); border-color: rgba(234,47,20,0.55); box-shadow: var(--shadow-lg); }

.testi-card .quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--red-soft);
  margin-bottom: 6px;
  transition: transform .4s var(--ease), color .3s ease;
}
.testi-card:hover .quote-mark { color: var(--red); transform: scale(1.18) translateY(-2px); }

.testi-stars { color: #f5b623; font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 2px; transition: transform .3s ease; }
.testi-card:hover .testi-stars { transform: scale(1.05); }
.testi-card p { color: var(--grey); font-size: 0.94rem; margin-bottom: 22px; }
.testi-user { display: flex; align-items: center; gap: 13px; }
.testi-user img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
  transition: transform .4s var(--ease), box-shadow .3s ease;
}
.testi-card:hover .testi-user img { transform: scale(1.1); box-shadow: 0 0 0 4px rgba(234, 47, 20, 0.22); }
.testi-user strong { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; }
.testi-user span { color: var(--grey-dark); font-size: 0.82rem; }

/* ================= FAQ ================= */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s ease, background-color .4s ease;
}
.faq-item.open { border-color: rgba(234,47,20,0.5); }
.faq-q {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  background: none !important;
  border: none!important;
  cursor: pointer!important;
  padding: 20px 22px!important;
  text-align: left!important;
  font-family: var(--font-body);
  font-weight: 600!important;
  font-size: 1rem!important;
  color: #fff !important;
}
.faq-q i { color: var(--red); transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 22px 22px; color: var(--grey); font-size: 0.92rem; }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .games-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .blog-card { flex: 0 0 calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .video-layout { grid-template-columns: 1fr; gap: 36px; }
  .video-intro { text-align: center; }
  .video-intro .eyebrow { text-align: center; }
  .video-intro p { margin-left: auto; margin-right: auto; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-links {
    position: fixed;
    top: 74px; right: 0;
    flex-direction: column;
    align-items: stretch;
    width: 250px;
    height: calc(100vh - 74px);
    background: var(--black-2);
    border-left: 1px solid var(--line);
    padding: 20px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 16px; border-radius: 8px; }
  .nav-links a:hover { background: var(--black-3); }

  .hamburger { display: flex; }
  .nav-cta .btn-nav { display: none; }

  .tips-grid { grid-template-columns: 1fr; }

  /* Entrance animations slide vertically on mobile. The desktop horizontal slide
     (translateX ±60px) pushed full-width content past the narrow viewport edge,
     which read as "content outside the container". */
  .about-anim-left, .about-anim-right { transform: translateY(30px); }
  .about-anim-left.in-view, .about-anim-right.in-view { transform: translateY(0); }

  /* hero: content sits below the fixed header; the CTAs show stacked, and the
     slider thumbs pin to the bottom of the banner. Fixed 100vh height keeps the
     layout stable as slides auto-rotate (no jump) and clear of the thumbs. */
  /* use a normal block flow on mobile so the container constrains its width
     properly (inside the flex slide the content was overflowing the viewport) */
  .slide { display: block; }
  .slide .container { width: 100%; max-width: 100%; }
  .slide-inner { padding: 104px 0 40px; max-width: 100%; }
  .slide h1 { font-size: clamp(1.9rem, 7vw, 2.7rem); }
  .slide p { font-size: 0.98rem; margin-bottom: 22px; max-width: 100%; }

  /* hero CTAs: stacked, full-width and easy to tap on mobile */
  .slide-btns { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
  .slide-btns .btn { width: 100%; justify-content: center; }

  /* hide the slider thumbnail cards on mobile — they crowd the banner and
     hurt the responsive layout. The slides still auto-rotate on their own. */
  .slide-thumbs { display: none; }
}

@media (max-width: 560px) {
  .games-grid, .features-grid, .stats-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .video-card { flex: 0 0 calc((100% - 16px) / 2); }
  .blog-card { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .about-media .float-card { left: 50%; transform: translateX(-50%); bottom: -22px; }

  /* hero tuning for small phones */
  .slide-inner { padding: 92px 0 40px; }
  .slide h1 { font-size: 1.8rem; }
  .slide .badge { font-size: 0.72rem; margin-bottom: 16px; }

  /* FAQ answers can be long once they wrap on a narrow screen — give them room */
  .faq-item.open .faq-a { max-height: 1200px; }
}

/* ================= SMALL-PHONE POLISH ================= */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 56px 0; }

  /* never let a long word or URL force a horizontal scroll */
  h1, h2, h3, p, li, a, span, strong { overflow-wrap: break-word; word-wrap: break-word; }

  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 0.95rem; }

  .btn { font-size: 0.92rem; }
  .btn-lg { padding: 14px 22px; font-size: 0.96rem; }

  /* counters / stats stay readable */
  .stat-num, .counter { font-size: 2rem; }

  /* breadcrumb shouldn't crowd */
  .breadcrumb { font-size: 0.78rem; }
}

@media (max-width: 360px) {
  .slide-inner { padding: 84px 0 36px; }
  .slide h1 { font-size: 1.6rem; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* ================= THEME TOGGLE ================= */
.theme-toggle {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 1100;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--black-3);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: border-color .25s ease, color .25s ease, background-color .4s ease, transform .25s ease;
}
.theme-toggle:hover { border-color: var(--red); color: var(--red); transform: scale(1.1); }

@media (max-width: 560px) {
  .theme-toggle { width: 46px; height: 46px; right: 16px; bottom: 16px; }
}

/* ============================================================
   ABOUT & CONTACT PAGES (merged)
   ============================================================ */

/* ---------- Breadcrumb (shared) ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.75); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb i { font-size: 0.6rem; opacity: 0.6; }
.breadcrumb span { color: #fff; font-weight: 600; }

/* ---------- Banner badge + zoom (shared) ---------- */
.bnr-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(234, 47, 20, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}
.about-banner .bnr-badge,
.contact-banner .bnr-badge { margin-bottom: 18px; }
@keyframes bnrZoom { from { transform: scale(1.05); } to { transform: scale(1.16); } }

/* ---------- Contact / About banner base ---------- */
.contact-banner,
.about-banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 80px;
}
.contact-banner { min-height: 58vh; }
.about-banner { min-height: 62vh; }
.contact-banner .bnr-bg,
.about-banner .bnr-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: bnrZoom 16s ease-in-out infinite alternate;
}
.contact-banner::after,
.about-banner::after {
  content: "";
  position: absolute;
  inset: 0;
}
.contact-banner::after { background: linear-gradient(rgba(13,13,15,0.8) 0%, rgba(13,13,15,0.78) 45%, rgba(13,13,15,0.93) 100%); }
.about-banner::after { background: linear-gradient(rgba(13,13,15,0.82) 0%, rgba(13,13,15,0.76) 45%, rgba(13,13,15,0.94) 100%); }
/* dot pattern over the about banner */
.about-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  pointer-events: none;
}
.contact-banner .container,
.about-banner .container { position: relative; z-index: 2; }
.contact-banner-content,
.about-banner-content { max-width: 800px; margin: 0 auto; text-align: center; }
.contact-banner h1,
.about-banner h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
}
.contact-banner h1 span,
.about-banner h1 span { color: var(--red); }
.contact-banner .lead,
.about-banner .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Contact Info: prominent grid pattern band ---------- */
#contact-info {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 6%, rgba(234, 47, 20, 0.16), transparent 52%),
    var(--black);
}
#contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 47, 20, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 47, 20, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}
#contact-info .container { position: relative; z-index: 1; }
.contact-card-link { color: var(--red); font-weight: 600; word-break: break-word; }
.feature-card:hover .contact-card-link { color: #fff; }

/* ---------- Contact form + map ---------- */
.contact-main { background: var(--black-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; }
.contact-form {
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; margin-bottom: 6px; }
.contact-form .form-sub { color: var(--grey); font-size: 0.92rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.field input,
.field textarea {
  width: 100%;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--grey-dark); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(234, 47, 20, 0.15); }
.field textarea { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 440px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* ---------- About intro stat strip ---------- */
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.about-stat { padding: 4px 0; }
.about-stat h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--red);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.about-stat p { color: var(--grey); font-size: 0.86rem; margin-top: 4px; }

/* ---------- Mission & Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  position: relative;
  overflow: hidden;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 38px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s ease;
}
.mv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff6a3d 0%, var(--red) 45%, #c0260f 100%);
  opacity: 0;
  transition: opacity .35s ease;
}
.mv-card > * { position: relative; z-index: 1; }
.mv-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: var(--shadow-lg); }
.mv-card:hover::before { opacity: 1; }
.mv-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: background .3s ease, color .3s ease, transform .35s var(--ease);
}
.mv-card:hover .mv-icon { background: #fff; color: var(--red); transform: scale(1.08) rotate(-6deg); }
.mv-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.45rem; margin-bottom: 12px; transition: color .3s ease; }
.mv-card p { color: var(--grey); line-height: 1.75; transition: color .3s ease; }
.mv-card:hover h3 { color: #fff; }
.mv-card:hover p { color: rgba(255, 255, 255, 0.92); }

/* ---------- Story timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--red), rgba(234,47,20,0.1));
}
.tl-item { position: relative; padding: 0 0 38px 46px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--black);
  box-shadow: 0 0 0 3px rgba(234, 47, 20, 0.25);
}
.tl-year { display: inline-block; font-weight: 700; color: var(--red); font-size: 0.85rem; margin-bottom: 6px; letter-spacing: 0.5px; }
.tl-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; }
.tl-item p { color: var(--grey); line-height: 1.75; }

/* ---------- Our Process (sports image bg) ---------- */
#our-process {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(13,13,15,0.92), rgba(13,13,15,0.95)),
    url('https://images.unsplash.com/photo-1546519638-68e109498ffc?w=1600&q=80') center/cover no-repeat;
}
#our-process .section-head h2 { color: #fff; }
#our-process .section-head p { color: rgba(255, 255, 255, 0.82); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-card {
  position: relative;
  overflow: hidden;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .3s ease, box-shadow .35s ease;
}
.process-card:hover { transform: translateY(-8px); border-color: rgba(234,47,20,0.5); box-shadow: var(--shadow-lg); }
.process-card .p-num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--red-soft);
}
.process-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.35rem;
  margin-bottom: 18px;
  transition: transform .3s var(--ease);
}
.process-card:hover .process-icon { transform: translateY(-3px) scale(1.08); }
.process-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; margin-bottom: 8px; }
.process-card p { color: var(--grey); font-size: 0.88rem; line-height: 1.6; }

/* ---------- Partner logo marquee ---------- */
.partners { background: var(--black-2); border-top: 1px solid var(--line); }
.logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  color: var(--grey-dark);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  opacity: 0.6;
  transition: opacity .25s ease, color .25s ease, transform .25s ease;
}
.logo-item i { font-size: 1.7rem; color: var(--red); }
.logo-item:hover { opacity: 1; color: var(--white); transform: translateY(-2px); }

/* ---------- Legal / Terms content ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 38px 0 14px;
  color: var(--white);
}
.legal h2:first-child { margin-top: 0; }
.legal h2 span { color: var(--red); margin-right: 8px; }
.legal p { color: var(--grey); line-height: 1.85; margin-bottom: 16px; }
.legal strong { color: var(--white); }
.legal a { color: var(--red); }
.legal ul { margin: 0 0 18px; padding: 0; list-style: none; }
.legal li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  color: var(--grey);
  line-height: 1.7;
}
.legal li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0; top: 3px;
  color: var(--red);
  font-size: 0.8rem;
}
.legal .updated {
  display: inline-block;
  background: var(--red-soft);
  border: 1px solid rgba(234, 47, 20, 0.25);
  color: var(--grey);
  font-size: 0.86rem;
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 30px;
}
.legal .updated strong { color: var(--red); }

/* secondary (shorter) banner */
.about-banner.banner-sub,
.contact-banner.banner-sub { min-height: 36vh; padding: 90px 0 60px; }

/* ---------- About / Contact responsive ---------- */
@media (max-width: 992px) {
  .mv-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 340px; }
  .contact-map iframe { min-height: 340px; }
}
@media (max-width: 768px) {
  .logo-track { gap: 46px; animation-duration: 22s; }
  .logo-item { font-size: 1.2rem; gap: 10px; }
  .logo-item i { font-size: 1.45rem; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-banner { min-height: 54vh; }
  .contact-banner { min-height: 50vh; }
  .form-row { grid-template-columns: 1fr; }
  .logo-track { gap: 38px; }
  .logo-item { font-size: 1.05rem; }
}
.theme-toggle i {
  position: absolute;
  font-size: 1.05rem;
  transition: transform .45s cubic-bezier(.5, 1.6, .4, .9), opacity .35s ease;
}
/* default (dark theme): show the sun (click to brighten) */
.theme-toggle .fa-moon { opacity: 0; transform: translateY(150%) rotate(80deg); }
.theme-toggle .fa-sun  { opacity: 1; transform: translateY(0) rotate(0); }
/* light theme: show the moon */
:root[data-theme="light"] .theme-toggle .fa-sun  { opacity: 0; transform: translateY(-150%) rotate(-80deg); }
:root[data-theme="light"] .theme-toggle .fa-moon { opacity: 1; transform: translateY(0) rotate(0); }

/* ================= LIGHT-THEME FIX-UPS =================
   The hero slides and newsletter sit on dark photo overlays,
   so their text must stay light even in light mode. */
:root[data-theme="light"] .slide-inner h1,
:root[data-theme="light"] .thumb-info strong,
:root[data-theme="light"] .newsletter h2 { color: #ffffff; }
:root[data-theme="light"] .slide-inner p,
:root[data-theme="light"] .newsletter p { color: rgba(255, 255, 255, 0.86); }

/* In light mode, the dark badge text on game thumbnails stays readable as-is. */

/* ================= SMOOTH THEME TRANSITION ================= */
body { transition: background-color .4s ease, color .4s ease; }
.stats, footer, .footer-note, .news-form input,
.socials a, .blog-nav button, .filter-btn { transition: background-color .4s ease, border-color .4s ease, color .25s ease; }
/* keep hover lift on cards AND animate their background on theme change */
.game-card, .feature-card, .tip-card, .blog-card, .testi-card {
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), border-color .35s ease, background-color .4s ease, box-shadow .45s ease;
}

/* ==================================================================
   Guide-page styles (merged from game-pages/game.css)
   ================================================================== */
/* ============================================================
   TheSportBros — Game page styles (banner + content sections)
   Reuses tokens & components from ../style.css
   ============================================================ */

/* ---------- In-page game modal (Play opens the game here) ---------- */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(6, 6, 9, 0.94);
  display: none;
}
.game-modal.open { display: block; }
.game-modal-inner { position: absolute; inset: 0; }
.game-modal iframe { width: 100%; height: 100%; border: 0; display: block; }
.game-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  transition: transform .25s ease, background .2s ease;
}
.game-modal-close:hover { transform: scale(1.1) rotate(90deg); background: var(--red-dark); }
body.modal-open { overflow: hidden; }

/* When the modal is the full-screen element, fill the whole screen. */
.game-modal:fullscreen,
.game-modal:-webkit-full-screen { width: 100vw; height: 100vh; }
.game-modal:fullscreen .game-modal-inner,
.game-modal:-webkit-full-screen .game-modal-inner { inset: 0; }

/* ---------- "Rotate your device" hint (auto-landscape fallback) ----------
   Injected into the modal by script.js. Shown ONLY on a touch device held in
   portrait — i.e. when the browser could not auto-lock to landscape (iOS).
   On Android the orientation lock rotates the device, this never appears. */
.rotate-hint { display: none; }
@media (orientation: portrait) and (pointer: coarse) {
  .game-modal.open .rotate-hint {
    display: flex;
    position: absolute;
    inset: 0;
    z-index: 60;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    background: #0d0d0f;
  }
  .rotate-hint-inner i {
    font-size: 3.4rem;
    color: var(--red);
    animation: rotate-hint-spin 1.8s ease-in-out infinite;
    transform-origin: center;
  }
  .rotate-hint-inner p {
    margin-top: 18px;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 600;
  }
  .rotate-hint-inner b { color: var(--red); }
}
@keyframes rotate-hint-spin {
  0%, 40% { transform: rotate(0deg); }
  60%, 100% { transform: rotate(90deg); }
}

/* ---------- Banner ---------- */
.game-banner {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 70px;
}
.game-banner .bnr-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.game-banner .bnr-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-banner .bnr-bg,
.game-banner .bnr-bg img {
  transform: scale(1.05);
  animation: bnrZoom 14s ease-in-out infinite alternate;
}
@keyframes bnrZoom { from { transform: scale(1.05); } to { transform: scale(1.16); } }
.game-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(13,13,15,0.78) 0%, rgba(13,13,15,0.7) 45%, rgba(13,13,15,0.9) 100%);
}
.game-banner .container { position: relative; z-index: 2; }
.banner-content { max-width: 1000px; margin: 0 auto; text-align: center; }
.game-banner .breadcrumb { justify-content: center; }
.banner-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; justify-content: center; }
.bnr-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(234, 47, 20, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 50px;
}
.game-banner h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 18px;
  color: #fff;
}
.game-banner h1 span { color: var(--red); }
.game-banner .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 30px;
}
.banner-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* pulsing play CTA */
.btn-play { position: relative; }
.btn-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(234, 47, 20, 0.55);
  animation: playPulse 2.2s ease-out infinite;
}
@keyframes playPulse {
  0%   { box-shadow: 0 0 0 0 rgba(234, 47, 20, 0.55); }
  100% { box-shadow: 0 0 0 22px rgba(234, 47, 20, 0); }
}

/* ---------- Quick info bar ---------- */
.info-bar { background: var(--black-2); border-bottom: 1px solid var(--line); padding: 28px 0; }
.info-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.info-pill {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 6px;
}
.info-pill i {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.05rem;
}
.info-pill small { display: block; color: var(--grey-dark); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.5px; }
.info-pill strong { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; }

/* ---------- Play showcase banner ---------- */
#launch { padding-bottom: 0; }   /* next section already has top padding */

.play-showcase {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 390px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.play-showcase img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.play-showcase:hover img { transform: scale(1.06); }
.play-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(13,13,15,0.94) 0%, rgba(13,13,15,0.6) 55%, rgba(13,13,15,0.25) 100%);
}
.ps-content { position: relative; z-index: 2; max-width: 560px; padding: 52px 48px; }
.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(234, 47, 20, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}
.ps-content h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: #fff;
  line-height: 1.1;
  margin: 16px 0 12px;
}
.ps-content h2 span { color: var(--red); }
.ps-content p { color: rgba(255, 255, 255, 0.85); line-height: 1.6; margin-bottom: 26px; max-width: 440px; }
.ps-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #ff5a44 0%, #c0260f 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 30px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(234, 47, 20, 0.4);
  transition: transform .25s ease, box-shadow .3s ease;
}
.ps-cta i { transition: transform .25s ease; }
.play-showcase:hover .ps-cta { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(234, 47, 20, 0.5); }
.play-showcase:hover .ps-cta i { transform: translateX(4px); }

/* big pulsing play circle on the right */
.ps-circle {
  position: absolute;
  right: 9%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 96px; height: 96px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 1.8rem;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.play-showcase:hover .ps-circle { transform: translateY(-50%) scale(1.08); background: var(--red); border-color: var(--red); }
.ps-circle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  animation: psPulse 2.2s ease-out infinite;
}
@keyframes psPulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
  .play-showcase { min-height: 340px; }
  .ps-circle { display: none; }
  .ps-content { padding: 40px 30px; }
}

/* ---------- Content / prose ---------- */
.gp-section .section-head { margin-bottom: 40px; }
/* keep content headings on-theme (dark text in light mode, white in dark mode) */
.gp-section .section-head h2 { color: var(--white); }
.gp-section .section-head h2 span { color: var(--red); }
.gp-lead { color: var(--grey); font-size: 1.05rem; max-width: 820px; margin: 0 auto 30px; text-align: center; }

.prose { max-width: 860px; margin: 0 auto; }
.prose.wide { max-width: 1000px; }
.prose p { color: var(--grey); margin-bottom: 18px; line-height: 1.8; }
.prose h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 34px 0 14px;
  color: var(--white);
}
.prose h3 i { color: var(--red); margin-right: 9px; }
.prose strong { color: var(--white); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 4px; }
.prose ul li, .prose ol li {
  position: relative;
  list-style: none;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--grey);
  line-height: 1.7;
}
.prose ul li::before {
  content: "\f00c";                       /* fa-check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0; top: 2px;
  color: var(--red);
  font-size: 0.85rem;
}
.prose ol { counter-reset: gp; }
.prose ol li { counter-increment: gp; }
.prose ol li::before {
  content: counter(gp);
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---------- About: two animated blocks ---------- */
.about-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
}
.about-block {
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), opacity .6s ease, border-color .3s ease, box-shadow .45s ease;
}
.about-block:hover {
  transform: translateY(-8px);
  border-color: rgba(234, 47, 20, 0.5);
  box-shadow: var(--shadow-lg);
}
.about-block p { color: var(--grey); line-height: 1.8; margin-bottom: 16px; }
.about-block p:last-child { margin-bottom: 0; }
.about-block strong { color: var(--white); }

@media (max-width: 768px) {
  .about-blocks { grid-template-columns: 1fr; }
}

/* ---------- "Wrap-Up" (Final Thoughts): dot-grid pattern band ---------- */
#final-thoughts {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(234, 47, 20, 0.10), transparent 55%),
    var(--black-2);
}
#final-thoughts::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(234, 47, 20, 0.07) 2px, transparent 2px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
}
#final-thoughts .container { position: relative; z-index: 1; }

/* ---------- "Why Play Here" (TheSportBros): crosshatch pattern band ---------- */
#why-here {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 88%, rgba(234, 47, 20, 0.10), transparent 55%),
    var(--black-2);
}
#why-here::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,  rgba(234, 47, 20, 0.045) 0, rgba(234, 47, 20, 0.045) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(-45deg, rgba(234, 47, 20, 0.045) 0, rgba(234, 47, 20, 0.045) 1px, transparent 1px, transparent 18px);
  pointer-events: none;
  z-index: 0;
}
#why-here .container { position: relative; z-index: 1; }

/* ---------- Getting Started: patterned band ---------- */
#getting-started {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 12%, rgba(234, 47, 20, 0.10), transparent 55%),
    var(--black-2);
}
#getting-started::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg,
    rgba(234, 47, 20, 0.05) 0, rgba(234, 47, 20, 0.05) 1px,
    transparent 1px, transparent 16px);
  pointer-events: none;
  z-index: 0;
}
#getting-started .container { position: relative; z-index: 1; }

/* ---------- "Honest Take" (Pros & Cons): check / cross pattern band ---------- */
#pros-cons {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(234, 47, 20, 0.10), transparent 55%),
    var(--black-2);
}
#pros-cons::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%3E%3Cg%20fill='none'%20stroke='%23EA2F14'%20stroke-opacity='0.07'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M8%2016l5%206%2010-12'/%3E%3Cpath%20d='M38%2010l12%2012M50%2010l-12%2012'/%3E%3Cpath%20d='M38%2040l5%206%2010-12'/%3E%3Cpath%20d='M8%2040l12%2012M20%2040l-12%2012'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
#pros-cons .container { position: relative; z-index: 1; }
/* center the whole block */
#pros-cons .section-head { margin-left: auto; margin-right: auto; }
#pros-cons .features-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  #pros-cons .features-grid.two-col { grid-template-columns: minmax(0, 420px); max-width: 100%; }
}

/* ---------- Steps cards ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  position: relative;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .3s ease, box-shadow .35s ease;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(234,47,20,0.5); box-shadow: var(--shadow-lg); }
.step-num {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ff8a72, var(--red) 55%, #8a1a08);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.step-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { color: var(--grey); font-size: 0.88rem; line-height: 1.6; }

/* ---------- Controls / specs table ---------- */
.gp-table-wrap {
  max-width: 860px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}
.gp-table {
  width: 100%;
  min-width: 440px;            /* scrolls inside the wrap on narrow phones */
  border-collapse: collapse;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gp-table th, .gp-table td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.gp-table th { background: var(--black-2); color: var(--white); font-weight: 600; }
.gp-table td { color: var(--grey); }
.gp-table tr:last-child td { border-bottom: none; }
.gp-table td strong { color: var(--white); }
.key {
  display: inline-block;
  min-width: 28px;
  text-align: center;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  font-weight: 600;
  color: var(--white);
  font-size: 0.82rem;
}

/* ---------- Final CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius);
  padding: 64px 32px;
  background:
    linear-gradient(rgba(13,13,15,0.86), rgba(13,13,15,0.9)),
    url('https://images.unsplash.com/photo-1551958219-acbc608c6377?w=1500&q=80') center/cover;
}
/* sits on a dark photo overlay, so its text stays light in BOTH themes */
.cta-band h2 { font-family: var(--font-body); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; color: #fff; }
.cta-band h2 span { color: #ff6a45; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Final CTA band — background per category ---------- */
.cta-band.cat-soccer     { background: linear-gradient(rgba(13,13,15,0.82), rgba(13,13,15,0.9)), url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1500&q=80') center/cover; }
.cta-band.cat-baseball   { background: linear-gradient(rgba(13,13,15,0.82), rgba(13,13,15,0.9)), url('https://images.unsplash.com/photo-1508344928928-7165b67de128?w=1500&q=80') center/cover; }
.cta-band.cat-basketball { background: linear-gradient(rgba(13,13,15,0.82), rgba(13,13,15,0.9)), url('https://images.unsplash.com/photo-1546519638-68e109498ffc?w=1500&q=80') center/cover; }
.cta-band.cat-football   { background: linear-gradient(rgba(13,13,15,0.82), rgba(13,13,15,0.9)), url('https://images.unsplash.com/photo-1566577739112-5180d4bf9390?w=1500&q=80') center/cover; }
.cta-band.cat-karate     { background: linear-gradient(rgba(13,13,15,0.82), rgba(13,13,15,0.9)), url('https://images.unsplash.com/photo-1555597673-b21d5c935865?w=1500&q=80') center/cover; }
.cta-band.cat-kart       { background: linear-gradient(rgba(13,13,15,0.82), rgba(13,13,15,0.9)), url('https://images.unsplash.com/photo-1547744152-14d985cb937f?w=1500&q=80') center/cover; }
.cta-band.cat-wrestle    { background: linear-gradient(rgba(13,13,15,0.82), rgba(13,13,15,0.9)), url('https://images.unsplash.com/photo-1544117519-31a4b719223d?w=1500&q=80') center/cover; }
.cta-band.cat-volleyball { background: linear-gradient(rgba(13,13,15,0.82), rgba(13,13,15,0.9)), url('https://images.unsplash.com/photo-1592656094267-764a45160876?w=1500&q=80') center/cover; }

/* ---------- Tag chips ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.tag-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: all .2s ease;
}
.tag-chip:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .info-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .info-bar-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .game-banner { min-height: 66vh; padding: 100px 0 54px; }
  .game-banner .lead { font-size: 1rem; }
  .banner-badges { gap: 8px; }
  .bnr-badge { font-size: 0.72rem; padding: 5px 11px; }
  .banner-cta { width: 100%; }
  .banner-cta .btn { width: 100%; justify-content: center; }
  .gp-table th, .gp-table td { padding: 12px 14px; font-size: 0.85rem; }
  .key { min-width: 22px; padding: 3px 7px; font-size: 0.76rem; }
  .prose, .ps-content { overflow-wrap: break-word; word-wrap: break-word; }
  .prose h3 { font-size: 1.18rem; }
  .cta-band { padding: 48px 22px; }
  .breadcrumb { font-size: 0.78rem; }
}

@media (max-width: 380px) {
  .game-banner { padding-top: 92px; }
  .info-pill { padding: 6px 4px; }
  .about-block { padding: 26px 22px; }
}


/* ===== Game (scoped): baseball-bros ===== */
TheSportBros — Baseball Bros (playable game) styles
Full-screen canvas with overlaid HUD. Tokens from ../style.css
============================================================ */
html[data-game="baseball-bros"], html[data-game="baseball-bros"] body { height: 100%; margin: 0; }
html[data-game="baseball-bros"] body { background: #0c1b10; color: var(--white); overflow: hidden; }
html[data-game="baseball-bros"] .g-fs { position: fixed; inset: 0; overflow: hidden; }
html[data-game="baseball-bros"] #game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0c1b10; }
.hud-score {
position: absolute;
top: 14px; left: 14px;
z-index: 10;
display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
background: rgba(13, 13, 15, 0.62);
backdrop-filter: blur(7px);
border: 1px solid var(--line);
border-radius: 14px;
padding: 9px 15px;
}
html[data-game="baseball-bros"] .hs-team { display: inline-flex; align-items: baseline; gap: 6px; }
html[data-game="baseball-bros"] .hud-score b { color: var(--grey-dark); font-size: 0.7rem; letter-spacing: 1px; font-weight: 700; }
html[data-game="baseball-bros"] .hud-score i { font-style: normal; font-weight: 900; font-size: 1.5rem; color: var(--red); font-variant-numeric: tabular-nums; line-height: 1; }
html[data-game="baseball-bros"] .hs-sep { color: var(--grey-dark); font-weight: 900; }
html[data-game="baseball-bros"] .hs-meta { color: var(--grey); font-size: 0.78rem; border-left: 1px solid var(--line); padding-left: 10px; margin-left: 2px; }
html[data-game="baseball-bros"] .hs-meta b { color: #fff; font-size: 0.78rem; letter-spacing: 0; }
.hud-close {
position: absolute;
top: 14px; right: 14px;
z-index: 12;
width: 46px; height: 46px;
border-radius: 50%;
background: var(--red);
color: #fff;
border: none;
cursor: pointer;
font-size: 1.2rem;
display: grid; place-items: center;
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
transition: transform .2s ease, background .2s ease;
}
html[data-game="baseball-bros"] .hud-close:hover { transform: scale(1.1) rotate(90deg); background: var(--red-dark); }
.hud-sound {
position: absolute;
top: 14px; right: 70px;
z-index: 12;
width: 46px; height: 46px;
border-radius: 50%;
background: rgba(13, 13, 15, 0.6);
border: 1px solid var(--line);
color: #fff;
cursor: pointer;
font-size: 1.05rem;
display: grid; place-items: center;
backdrop-filter: blur(6px);
transition: transform .2s ease, background .2s ease;
}
html[data-game="baseball-bros"] .hud-sound:hover { transform: scale(1.08); background: var(--red); }
html[data-game="baseball-bros"] .hud-sound.muted { color: var(--grey-dark); }
@media (max-width: 560px) { html[data-game="baseball-bros"] .hud-sound { right: 60px; width: 42px; height: 42px; }  }
.g-msg {
position: absolute;
top: 22%; left: 0; right: 0;
z-index: 9;
text-align: center;
font-family: var(--font-body);
font-weight: 900;
font-size: clamp(1.7rem, 6vw, 3rem);
color: #fff;
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
pointer-events: none;
opacity: 0;
transform: scale(0.8);
transition: opacity .2s ease, transform .25s cubic-bezier(.4,1.6,.5,1);
}
html[data-game="baseball-bros"] .g-msg.show { opacity: 1; transform: scale(1); }
html[data-game="baseball-bros"] .g-msg.hr { color: var(--red); }
html[data-game="baseball-bros"] .g-msg.good { color: #4ade80; }
.g-overlay {
position: absolute;
inset: 0;
z-index: 11;
display: grid;
place-items: center;
background: rgba(8, 8, 10, 0.82);
backdrop-filter: blur(5px);
transition: opacity .3s ease;
padding: 24px;
}
html[data-game="baseball-bros"] .g-overlay.hidden { opacity: 0; pointer-events: none; }
.g-overlay-card {
text-align: center;
max-width: 480px;
background: linear-gradient(180deg, rgba(22, 22, 28, 0.94), rgba(12, 12, 16, 0.96));
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 22px;
padding: 38px 38px 34px;
box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
animation: gPop_baseball_bros .35s cubic-bezier(.3, 1.5, .5, 1);
}
@keyframes gPop_baseball_bros { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
.g-ico {
width: 74px; height: 74px;
margin: 0 auto 16px;
border-radius: 50%;
display: grid; place-items: center;
font-size: 1.9rem; color: #fff;
background: linear-gradient(135deg, #ff6a3d, var(--red));
box-shadow: 0 14px 32px rgba(234, 47, 20, 0.45);
}
html[data-game="baseball-bros"] .g-ico.win { background: linear-gradient(135deg, #ffd984, #f5a623); color: #3a2600; box-shadow: 0 14px 32px rgba(245, 166, 35, 0.5); }
html[data-game="baseball-bros"] .g-ico.lose { background: linear-gradient(135deg, #6b7280, #3a3f4a); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4); }
html[data-game="baseball-bros"] .g-overlay-card h2 { font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 10px; line-height: 1.1; color: #fff; }
html[data-game="baseball-bros"] .g-overlay-card h2 span { color: var(--red); }
html[data-game="baseball-bros"] .g-overlay-card p { color: rgba(255, 255, 255, 0.78); margin-bottom: 20px; line-height: 1.6; font-size: 0.98rem; }
html[data-game="baseball-bros"] .g-final { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 4px 0 20px; font-family: var(--font-body); font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.1rem); }
html[data-game="baseball-bros"] .gf-you { color: var(--red); }html[data-game="baseball-bros"] .gf-cpu { color: #fff; }html[data-game="baseball-bros"] .gf-vs { color: rgba(255,255,255,0.4); font-size: 1.1rem; }
html[data-game="baseball-bros"] .g-overlay-card .keys { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 24px; color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; }
html[data-game="baseball-bros"] .g-key { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); border-bottom-width: 3px; border-radius: 8px; padding: 7px 14px; font-weight: 700; font-size: 0.85rem; color: #fff; }
html[data-game="baseball-bros"] .g-overlay-card .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hud-bar {
position: absolute;
left: 0; right: 0; bottom: 0;
z-index: 10;
display: flex; align-items: center; justify-content: space-between; gap: 14px;
padding: 12px 18px;
background: rgba(13, 13, 15, 0.72);
backdrop-filter: blur(7px);
border-top: 1px solid var(--line);
}
html[data-game="baseball-bros"] .hud-status { font-family: var(--font-body); font-weight: 800; color: #fff; letter-spacing: 0.5px; white-space: nowrap; }
html[data-game="baseball-bros"] .hud-hint { color: var(--grey); font-size: 0.92rem; flex: 1; text-align: center; }
html[data-game="baseball-bros"] .hud-hint b { color: var(--red); }
html[data-game="baseball-bros"] .hud-swing { padding: 11px 24px; white-space: nowrap; }
html[data-game="baseball-bros"] .theme-toggle { display: none; }
@media (max-width: 560px) {
html[data-game="baseball-bros"] .hud-score { top: 10px; left: 10px; padding: 7px 11px; gap: 7px; }
html[data-game="baseball-bros"] .hud-score i { font-size: 1.2rem; }
html[data-game="baseball-bros"] .hs-meta { display: none; }
html[data-game="baseball-bros"] .hud-close { top: 10px; right: 10px; width: 42px; height: 42px; }
html[data-game="baseball-bros"] .hud-hint { display: none; }
html[data-game="baseball-bros"] .hud-bar { padding: 10px 12px; }
html[data-game="baseball-bros"] .hud-swing { padding: 10px 18px; }
}
html[data-game="baseball-bros"][data-theme="light"] { --black:#0d0d0f;--black-2:#141417;--black-3:#1c1c21;--white:#ffffff;--grey:#b6b6bd;--grey-dark:#82828c;--line:rgba(255,255,255,0.08); }

/* ===== Game (scoped): basketball-bros ===== */
html[data-game="basketball-bros"], html[data-game="basketball-bros"] body { height: 100%; margin: 0; }
html[data-game="basketball-bros"][data-theme="light"] { --black:#0d0d0f;--black-2:#141417;--black-3:#1c1c21;--white:#ffffff;--grey:#b6b6bd;--grey-dark:#82828c;--line:rgba(255,255,255,0.08); }
html[data-game="basketball-bros"] body { background: #6a3d1a; color: var(--white); overflow: hidden; }
html[data-game="basketball-bros"] .g-fs { position: fixed; inset: 0; overflow: hidden; }
html[data-game="basketball-bros"] #game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #6a3d1a; touch-action: none; }
html[data-game="basketball-bros"] .hud-close, html[data-game="basketball-bros"] .hud-sound { position: absolute; top: 14px; z-index: 12; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
html[data-game="basketball-bros"] .hud-close { right: 14px; background: var(--red); color: #fff; border: none; box-shadow: 0 8px 22px rgba(0,0,0,0.5); }
html[data-game="basketball-bros"] .hud-close:hover { transform: scale(1.1) rotate(90deg); background: var(--red-dark); }
html[data-game="basketball-bros"] .hud-sound { right: 70px; background: rgba(13,13,15,0.6); border: 1px solid var(--line); color: #fff; font-size: 1.05rem; backdrop-filter: blur(6px); }
html[data-game="basketball-bros"] .hud-sound:hover { transform: scale(1.08); background: var(--red); }html[data-game="basketball-bros"] .hud-sound.muted { color: var(--grey-dark); }
html[data-game="basketball-bros"] .g-msg { position: absolute; top: 26%; left: 0; right: 0; z-index: 9; text-align: center; font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 6vw, 3.2rem); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.7); pointer-events: none; opacity: 0; transform: scale(0.8); transition: opacity .2s ease, transform .25s cubic-bezier(.4,1.6,.5,1); }
html[data-game="basketball-bros"] .g-msg.show { opacity: 1; transform: scale(1); }html[data-game="basketball-bros"] .g-msg.hr { color: #ffd27a; }html[data-game="basketball-bros"] .g-msg.bad { color: #ff6a52; }
html[data-game="basketball-bros"] .g-overlay { position: absolute; inset: 0; z-index: 11; display: grid; place-items: center; background: rgba(8,8,10,0.82); backdrop-filter: blur(5px); transition: opacity .3s ease; padding: 24px; }
html[data-game="basketball-bros"] .g-overlay.hidden { opacity: 0; pointer-events: none; }
html[data-game="basketball-bros"] .g-overlay-card { text-align: center; max-width: 520px; background: linear-gradient(180deg, rgba(22,22,28,0.94), rgba(12,12,16,0.96)); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 36px 36px 32px; box-shadow: 0 30px 70px rgba(0,0,0,0.6); animation: gPop_basketball_bros .35s cubic-bezier(.3,1.5,.5,1); }
@keyframes gPop_basketball_bros { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
html[data-game="basketball-bros"] .g-ico { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, #ff8a3d, #e8631a); box-shadow: 0 14px 32px rgba(232,99,26,0.45); }
html[data-game="basketball-bros"] .g-ico.win { background: linear-gradient(135deg, #ffd984, #f5a623); color: #3a2600; }html[data-game="basketball-bros"] .g-ico.lose { background: linear-gradient(135deg, #6b7280, #3a3f4a); }
html[data-game="basketball-bros"] .g-overlay-card h2 { font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 10px; line-height: 1.1; color: #fff; }
html[data-game="basketball-bros"] .g-overlay-card h2 span { color: var(--red); }
html[data-game="basketball-bros"] .g-overlay-card p { color: rgba(255,255,255,0.78); margin-bottom: 18px; line-height: 1.55; font-size: 0.96rem; }
html[data-game="basketball-bros"] .keys { display: grid; gap: 8px; justify-items: center; margin-bottom: 22px; color: rgba(255,255,255,0.72); font-size: 0.88rem; }
html[data-game="basketball-bros"] .keys .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
html[data-game="basketball-bros"] .g-key { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-bottom-width: 3px; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 0.82rem; color: #fff; }
html[data-game="basketball-bros"] .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html[data-game="basketball-bros"] .hud-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: rgba(13,13,15,0.72); backdrop-filter: blur(7px); border-top: 1px solid var(--line); }
html[data-game="basketball-bros"] .hud-hint { color: var(--grey); font-size: 0.9rem; flex: 1; text-align: left; }
html[data-game="basketball-bros"] .hud-hint b { color: #ffae6a; }
html[data-game="basketball-bros"] .hud-actions { display: flex; align-items: center; gap: 8px; }
html[data-game="basketball-bros"] .fbtn { padding: 12px 18px; border-radius: 12px; background: var(--black-3); border: 1px solid var(--line); color: #fff; font-weight: 800; font-size: 0.88rem; cursor: pointer; transition: background .15s ease, transform .1s ease; user-select: none; }
html[data-game="basketball-bros"] .fbtn:hover { background: var(--red); }html[data-game="basketball-bros"] .fbtn:active, html[data-game="basketball-bros"] .fbtn.held { background: var(--red); transform: scale(0.94); }
html[data-game="basketball-bros"] .fbtn.act { background: #e8631a; }
html[data-game="basketball-bros"] .theme-toggle { display: none; }
@media (max-width: 600px) { html[data-game="basketball-bros"] .hud-close, html[data-game="basketball-bros"] .hud-sound { width: 42px; height: 42px; }html[data-game="basketball-bros"] .hud-sound { right: 60px; }html[data-game="basketball-bros"] .hud-hint { display: none; }  }

/* ===== Game (scoped): football-bros ===== */
html[data-game="football-bros"], html[data-game="football-bros"] body { height: 100%; margin: 0; }
html[data-game="football-bros"][data-theme="light"] { --black:#0d0d0f;--black-2:#141417;--black-3:#1c1c21;--white:#ffffff;--grey:#b6b6bd;--grey-dark:#82828c;--line:rgba(255,255,255,0.08); }
html[data-game="football-bros"] body { background: #0c3a16; color: var(--white); overflow: hidden; }
html[data-game="football-bros"] .g-fs { position: fixed; inset: 0; overflow: hidden; }
html[data-game="football-bros"] #game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0c3a16; }
html[data-game="football-bros"] .hud-score { position: absolute; top: 14px; left: 14px; z-index: 10; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; background: rgba(13,13,15,0.62); backdrop-filter: blur(7px); border: 1px solid var(--line); border-radius: 14px; padding: 9px 15px; }
html[data-game="football-bros"] .hs-team { display: inline-flex; align-items: baseline; gap: 6px; }
html[data-game="football-bros"] .hud-score b { color: var(--grey-dark); font-size: 0.7rem; letter-spacing: 1px; font-weight: 700; }
html[data-game="football-bros"] .hud-score i { font-style: normal; font-weight: 900; font-size: 1.5rem; color: var(--red); font-variant-numeric: tabular-nums; line-height: 1; }
html[data-game="football-bros"] .hs-sep { color: var(--grey-dark); font-weight: 900; }
html[data-game="football-bros"] .hs-meta { color: var(--grey); font-size: 0.78rem; border-left: 1px solid var(--line); padding-left: 10px; margin-left: 2px; }
html[data-game="football-bros"] .hs-meta b { color: #fff; font-size: 0.78rem; }
html[data-game="football-bros"] .hud-close, html[data-game="football-bros"] .hud-sound { position: absolute; top: 14px; z-index: 12; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
html[data-game="football-bros"] .hud-close { right: 14px; background: var(--red); color: #fff; border: none; box-shadow: 0 8px 22px rgba(0,0,0,0.5); }
html[data-game="football-bros"] .hud-close:hover { transform: scale(1.1) rotate(90deg); background: var(--red-dark); }
html[data-game="football-bros"] .hud-sound { right: 70px; background: rgba(13,13,15,0.6); border: 1px solid var(--line); color: #fff; font-size: 1.05rem; backdrop-filter: blur(6px); }
html[data-game="football-bros"] .hud-sound:hover { transform: scale(1.08); background: var(--red); }html[data-game="football-bros"] .hud-sound.muted { color: var(--grey-dark); }
html[data-game="football-bros"] .g-msg { position: absolute; top: 28%; left: 0; right: 0; z-index: 9; text-align: center; font-family: var(--font-body); font-weight: 900; font-size: clamp(1.7rem, 6vw, 3rem); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.7); pointer-events: none; opacity: 0; transform: scale(0.8); transition: opacity .2s ease, transform .25s cubic-bezier(.4,1.6,.5,1); }
html[data-game="football-bros"] .g-msg.show { opacity: 1; transform: scale(1); }html[data-game="football-bros"] .g-msg.hr { color: #4ade80; }
html[data-game="football-bros"] .g-overlay { position: absolute; inset: 0; z-index: 11; display: grid; place-items: center; background: rgba(8,8,10,0.82); backdrop-filter: blur(5px); transition: opacity .3s ease; padding: 24px; }
html[data-game="football-bros"] .g-overlay.hidden { opacity: 0; pointer-events: none; }
html[data-game="football-bros"] .g-overlay-card { text-align: center; max-width: 500px; background: linear-gradient(180deg, rgba(22,22,28,0.94), rgba(12,12,16,0.96)); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 36px 36px 32px; box-shadow: 0 30px 70px rgba(0,0,0,0.6); animation: gPop_football_bros .35s cubic-bezier(.3,1.5,.5,1); }
@keyframes gPop_football_bros { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
html[data-game="football-bros"] .g-ico { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, #ff6a3d, var(--red)); box-shadow: 0 14px 32px rgba(234,47,20,0.45); }
html[data-game="football-bros"] .g-ico.win { background: linear-gradient(135deg, #ffd984, #f5a623); color: #3a2600; }html[data-game="football-bros"] .g-ico.lose { background: linear-gradient(135deg, #6b7280, #3a3f4a); }
html[data-game="football-bros"] .g-overlay-card h2 { font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 10px; line-height: 1.1; color: #fff; }
html[data-game="football-bros"] .g-overlay-card h2 span { color: var(--red); }
html[data-game="football-bros"] .g-overlay-card p { color: rgba(255,255,255,0.78); margin-bottom: 18px; line-height: 1.55; font-size: 0.96rem; }
html[data-game="football-bros"] .g-final { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 4px 0 18px; font-family: var(--font-body); font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.1rem); }
html[data-game="football-bros"] .gf-you { color: var(--red); }html[data-game="football-bros"] .gf-cpu { color: #fff; }html[data-game="football-bros"] .gf-vs { color: rgba(255,255,255,0.4); font-size: 1.1rem; }
html[data-game="football-bros"] .keys { display: grid; gap: 8px; justify-items: center; margin-bottom: 22px; color: rgba(255,255,255,0.72); font-size: 0.88rem; }
html[data-game="football-bros"] .keys .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
html[data-game="football-bros"] .g-key { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-bottom-width: 3px; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 0.82rem; color: #fff; }
html[data-game="football-bros"] .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html[data-game="football-bros"] .hud-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: rgba(13,13,15,0.72); backdrop-filter: blur(7px); border-top: 1px solid var(--line); }
html[data-game="football-bros"] .hud-status { font-family: var(--font-body); font-weight: 800; color: #fff; letter-spacing: 0.5px; white-space: nowrap; }
html[data-game="football-bros"] .hud-hint { color: var(--grey); font-size: 0.9rem; flex: 1; text-align: center; }
html[data-game="football-bros"] .hud-hint b { color: var(--red); }
html[data-game="football-bros"] .hud-actions { display: flex; align-items: center; gap: 8px; }
html[data-game="football-bros"] .mini-btn { padding: 9px 14px; border-radius: 10px; background: var(--black-3); border: 1px solid var(--line); color: #fff; font-weight: 700; font-size: 0.82rem; cursor: pointer; transition: background .2s ease, transform .12s ease; }
html[data-game="football-bros"] .mini-btn:hover { background: var(--red); }html[data-game="football-bros"] .mini-btn:active { transform: scale(0.94); }
html[data-game="football-bros"] .mini-btn.main { background: var(--red); }
html[data-game="football-bros"] .theme-toggle { display: none; }
@media (max-width: 600px) { html[data-game="football-bros"] .hud-score i { font-size: 1.2rem; }html[data-game="football-bros"] .hs-meta { display: none; }html[data-game="football-bros"] .hud-close, html[data-game="football-bros"] .hud-sound { width: 42px; height: 42px; }html[data-game="football-bros"] .hud-sound { right: 60px; }html[data-game="football-bros"] .hud-hint { display: none; }html[data-game="football-bros"] .mini-btn { padding: 8px 10px; font-size: 0.76rem; }  }

/* ===== Game (scoped): soccer-bros ===== */
html[data-game="soccer-bros"], html[data-game="soccer-bros"] body { height: 100%; margin: 0; }
html[data-game="soccer-bros"][data-theme="light"] { --black:#0d0d0f;--black-2:#141417;--black-3:#1c1c21;--white:#ffffff;--grey:#b6b6bd;--grey-dark:#82828c;--line:rgba(255,255,255,0.08); }
html[data-game="soccer-bros"] body { background: #1f7a36; color: var(--white); overflow: hidden; }
html[data-game="soccer-bros"] .g-fs { position: fixed; inset: 0; overflow: hidden; }
html[data-game="soccer-bros"] #game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #1f7a36; touch-action: none; }
html[data-game="soccer-bros"] .hud-close, html[data-game="soccer-bros"] .hud-sound { position: absolute; top: 14px; z-index: 12; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
html[data-game="soccer-bros"] .hud-close { right: 14px; background: var(--red); color: #fff; border: none; box-shadow: 0 8px 22px rgba(0,0,0,0.5); }
html[data-game="soccer-bros"] .hud-close:hover { transform: scale(1.1) rotate(90deg); background: var(--red-dark); }
html[data-game="soccer-bros"] .hud-sound { right: 70px; background: rgba(13,13,15,0.6); border: 1px solid var(--line); color: #fff; font-size: 1.05rem; backdrop-filter: blur(6px); }
html[data-game="soccer-bros"] .hud-sound:hover { transform: scale(1.08); background: var(--red); }html[data-game="soccer-bros"] .hud-sound.muted { color: var(--grey-dark); }
html[data-game="soccer-bros"] .g-msg { position: absolute; top: 26%; left: 0; right: 0; z-index: 9; text-align: center; font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 6vw, 3.2rem); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.7); pointer-events: none; opacity: 0; transform: scale(0.8); transition: opacity .2s ease, transform .25s cubic-bezier(.4,1.6,.5,1); }
html[data-game="soccer-bros"] .g-msg.show { opacity: 1; transform: scale(1); }html[data-game="soccer-bros"] .g-msg.hr { color: #ffd27a; }html[data-game="soccer-bros"] .g-msg.bad { color: #ff6a52; }
html[data-game="soccer-bros"] .g-overlay { position: absolute; inset: 0; z-index: 11; display: grid; place-items: center; background: rgba(8,8,10,0.82); backdrop-filter: blur(5px); transition: opacity .3s ease; padding: 24px; }
html[data-game="soccer-bros"] .g-overlay.hidden { opacity: 0; pointer-events: none; }
html[data-game="soccer-bros"] .g-overlay-card { text-align: center; max-width: 520px; background: linear-gradient(180deg, rgba(22,22,28,0.94), rgba(12,12,16,0.96)); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 36px 36px 32px; box-shadow: 0 30px 70px rgba(0,0,0,0.6); animation: gPop_soccer_bros .35s cubic-bezier(.3,1.5,.5,1); }
@keyframes gPop_soccer_bros { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
html[data-game="soccer-bros"] .g-ico { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, #45c46a, #1f9e44); box-shadow: 0 14px 32px rgba(31,158,68,0.45); }
html[data-game="soccer-bros"] .g-ico.win { background: linear-gradient(135deg, #ffd984, #f5a623); color: #3a2600; }html[data-game="soccer-bros"] .g-ico.lose { background: linear-gradient(135deg, #6b7280, #3a3f4a); }
html[data-game="soccer-bros"] .g-overlay-card h2 { font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 10px; line-height: 1.1; color: #fff; }
html[data-game="soccer-bros"] .g-overlay-card h2 span { color: var(--red); }
html[data-game="soccer-bros"] .g-overlay-card p { color: rgba(255,255,255,0.78); margin-bottom: 18px; line-height: 1.55; font-size: 0.96rem; }
html[data-game="soccer-bros"] .keys { display: grid; gap: 8px; justify-items: center; margin-bottom: 22px; color: rgba(255,255,255,0.72); font-size: 0.88rem; }
html[data-game="soccer-bros"] .keys .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
html[data-game="soccer-bros"] .g-key { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-bottom-width: 3px; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 0.82rem; color: #fff; }
html[data-game="soccer-bros"] .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html[data-game="soccer-bros"] .hud-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: rgba(13,13,15,0.72); backdrop-filter: blur(7px); border-top: 1px solid var(--line); }
html[data-game="soccer-bros"] .hud-hint { color: var(--grey); font-size: 0.9rem; flex: 1; text-align: left; }
html[data-game="soccer-bros"] .hud-hint b { color: #7be09a; }
html[data-game="soccer-bros"] .hud-actions { display: flex; align-items: center; gap: 8px; }
html[data-game="soccer-bros"] .fbtn { padding: 12px 18px; border-radius: 12px; background: var(--black-3); border: 1px solid var(--line); color: #fff; font-weight: 800; font-size: 0.88rem; cursor: pointer; transition: background .15s ease, transform .1s ease; user-select: none; }
html[data-game="soccer-bros"] .fbtn:hover { background: var(--red); }html[data-game="soccer-bros"] .fbtn:active, html[data-game="soccer-bros"] .fbtn.held { background: var(--red); transform: scale(0.94); }
html[data-game="soccer-bros"] .fbtn.act { background: #1f9e44; }
html[data-game="soccer-bros"] .theme-toggle { display: none; }
@media (max-width: 600px) { html[data-game="soccer-bros"] .hud-close, html[data-game="soccer-bros"] .hud-sound { width: 42px; height: 42px; }html[data-game="soccer-bros"] .hud-sound { right: 60px; }html[data-game="soccer-bros"] .hud-hint { display: none; }  }

/* ===== Game (scoped): volleyball-bros ===== */
html[data-game="volleyball-bros"], html[data-game="volleyball-bros"] body { height: 100%; margin: 0; }
html[data-game="volleyball-bros"][data-theme="light"] { --black:#0d0d0f;--black-2:#141417;--black-3:#1c1c21;--white:#ffffff;--grey:#b6b6bd;--grey-dark:#82828c;--line:rgba(255,255,255,0.08); }
html[data-game="volleyball-bros"] body { background: #0b2740; color: var(--white); overflow: hidden; }
html[data-game="volleyball-bros"] .g-fs { position: fixed; inset: 0; overflow: hidden; }
html[data-game="volleyball-bros"] #game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0b2740; }
html[data-game="volleyball-bros"] .hud-close, html[data-game="volleyball-bros"] .hud-sound { position: absolute; top: 14px; z-index: 12; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
html[data-game="volleyball-bros"] .hud-close { right: 14px; background: var(--red); color: #fff; border: none; box-shadow: 0 8px 22px rgba(0,0,0,0.5); }
html[data-game="volleyball-bros"] .hud-close:hover { transform: scale(1.1) rotate(90deg); background: var(--red-dark); }
html[data-game="volleyball-bros"] .hud-sound { right: 70px; background: rgba(13,13,15,0.6); border: 1px solid var(--line); color: #fff; font-size: 1.05rem; backdrop-filter: blur(6px); }
html[data-game="volleyball-bros"] .hud-sound:hover { transform: scale(1.08); background: var(--red); }html[data-game="volleyball-bros"] .hud-sound.muted { color: var(--grey-dark); }
html[data-game="volleyball-bros"] .g-msg { position: absolute; top: 26%; left: 0; right: 0; z-index: 9; text-align: center; font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 6vw, 3.2rem); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.7); pointer-events: none; opacity: 0; transform: scale(0.8); transition: opacity .2s ease, transform .25s cubic-bezier(.4,1.6,.5,1); }
html[data-game="volleyball-bros"] .g-msg.show { opacity: 1; transform: scale(1); }html[data-game="volleyball-bros"] .g-msg.hr { color: #ffd27a; }html[data-game="volleyball-bros"] .g-msg.bad { color: #ff6a52; }
html[data-game="volleyball-bros"] .g-overlay { position: absolute; inset: 0; z-index: 11; display: grid; place-items: center; background: rgba(8,8,10,0.82); backdrop-filter: blur(5px); transition: opacity .3s ease; padding: 24px; }
html[data-game="volleyball-bros"] .g-overlay.hidden { opacity: 0; pointer-events: none; }
html[data-game="volleyball-bros"] .g-overlay-card { text-align: center; max-width: 510px; background: linear-gradient(180deg, rgba(22,22,28,0.94), rgba(12,12,16,0.96)); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 36px 36px 32px; box-shadow: 0 30px 70px rgba(0,0,0,0.6); animation: gPop_volleyball_bros .35s cubic-bezier(.3,1.5,.5,1); }
@keyframes gPop_volleyball_bros { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
html[data-game="volleyball-bros"] .g-ico { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, #ff6a3d, var(--red)); box-shadow: 0 14px 32px rgba(234,47,20,0.45); }
html[data-game="volleyball-bros"] .g-ico.win { background: linear-gradient(135deg, #ffd984, #f5a623); color: #3a2600; }html[data-game="volleyball-bros"] .g-ico.lose { background: linear-gradient(135deg, #6b7280, #3a3f4a); }
html[data-game="volleyball-bros"] .g-overlay-card h2 { font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 10px; line-height: 1.1; color: #fff; }
html[data-game="volleyball-bros"] .g-overlay-card h2 span { color: var(--red); }
html[data-game="volleyball-bros"] .g-overlay-card p { color: rgba(255,255,255,0.78); margin-bottom: 18px; line-height: 1.55; font-size: 0.96rem; }
html[data-game="volleyball-bros"] .keys { display: grid; gap: 8px; justify-items: center; margin-bottom: 22px; color: rgba(255,255,255,0.72); font-size: 0.88rem; }
html[data-game="volleyball-bros"] .keys .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
html[data-game="volleyball-bros"] .g-key { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-bottom-width: 3px; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 0.82rem; color: #fff; }
html[data-game="volleyball-bros"] .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html[data-game="volleyball-bros"] .hud-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: rgba(13,13,15,0.72); backdrop-filter: blur(7px); border-top: 1px solid var(--line); }
html[data-game="volleyball-bros"] .hud-hint { color: var(--grey); font-size: 0.9rem; flex: 1; text-align: left; }
html[data-game="volleyball-bros"] .hud-hint b { color: var(--red); }
html[data-game="volleyball-bros"] .hud-actions { display: flex; align-items: center; gap: 8px; }
html[data-game="volleyball-bros"] .fbtn { padding: 11px 16px; border-radius: 12px; background: var(--black-3); border: 1px solid var(--line); color: #fff; font-weight: 800; font-size: 0.85rem; cursor: pointer; transition: background .15s ease, transform .1s ease; user-select: none; }
html[data-game="volleyball-bros"] .fbtn:hover { background: var(--red); }html[data-game="volleyball-bros"] .fbtn:active, html[data-game="volleyball-bros"] .fbtn.held { background: var(--red); transform: scale(0.94); }
html[data-game="volleyball-bros"] .fbtn.jump { background: #f5a623; color: #2a1a00; }
html[data-game="volleyball-bros"] .theme-toggle { display: none; }
@media (max-width: 600px) { html[data-game="volleyball-bros"] .hud-close, html[data-game="volleyball-bros"] .hud-sound { width: 42px; height: 42px; }html[data-game="volleyball-bros"] .hud-sound { right: 60px; }html[data-game="volleyball-bros"] .hud-hint { display: none; }  }

/* ===== Game (scoped): karate-bros ===== */
html[data-game="karate-bros"], html[data-game="karate-bros"] body { height: 100%; margin: 0; }
html[data-game="karate-bros"][data-theme="light"] { --black:#0d0d0f;--black-2:#141417;--black-3:#1c1c21;--white:#ffffff;--grey:#b6b6bd;--grey-dark:#82828c;--line:rgba(255,255,255,0.08); }
html[data-game="karate-bros"] body { background: #17120f; color: var(--white); overflow: hidden; }
html[data-game="karate-bros"] .g-fs { position: fixed; inset: 0; overflow: hidden; }
html[data-game="karate-bros"] #game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #17120f; }
html[data-game="karate-bros"] .hud-close, html[data-game="karate-bros"] .hud-sound { position: absolute; top: 14px; z-index: 12; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
html[data-game="karate-bros"] .hud-close { right: 14px; background: var(--red); color: #fff; border: none; box-shadow: 0 8px 22px rgba(0,0,0,0.5); }
html[data-game="karate-bros"] .hud-close:hover { transform: scale(1.1) rotate(90deg); background: var(--red-dark); }
html[data-game="karate-bros"] .hud-sound { right: 70px; background: rgba(13,13,15,0.6); border: 1px solid var(--line); color: #fff; font-size: 1.05rem; backdrop-filter: blur(6px); }
html[data-game="karate-bros"] .hud-sound:hover { transform: scale(1.08); background: var(--red); }html[data-game="karate-bros"] .hud-sound.muted { color: var(--grey-dark); }
html[data-game="karate-bros"] .g-msg { position: absolute; top: 30%; left: 0; right: 0; z-index: 9; text-align: center; font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 6vw, 3.2rem); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.7); pointer-events: none; opacity: 0; transform: scale(0.8); transition: opacity .2s ease, transform .25s cubic-bezier(.4,1.6,.5,1); }
html[data-game="karate-bros"] .g-msg.show { opacity: 1; transform: scale(1); }html[data-game="karate-bros"] .g-msg.hr { color: #ffd27a; }html[data-game="karate-bros"] .g-msg.bad { color: #ff6a52; }
html[data-game="karate-bros"] .g-overlay { position: absolute; inset: 0; z-index: 11; display: grid; place-items: center; background: rgba(8,8,10,0.82); backdrop-filter: blur(5px); transition: opacity .3s ease; padding: 24px; }
html[data-game="karate-bros"] .g-overlay.hidden { opacity: 0; pointer-events: none; }
html[data-game="karate-bros"] .g-overlay-card { text-align: center; max-width: 500px; background: linear-gradient(180deg, rgba(22,22,28,0.94), rgba(12,12,16,0.96)); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 36px 36px 32px; box-shadow: 0 30px 70px rgba(0,0,0,0.6); animation: gPop_karate_bros .35s cubic-bezier(.3,1.5,.5,1); }
@keyframes gPop_karate_bros { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
html[data-game="karate-bros"] .g-ico { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, #ff6a3d, var(--red)); box-shadow: 0 14px 32px rgba(234,47,20,0.45); }
html[data-game="karate-bros"] .g-ico.win { background: linear-gradient(135deg, #ffd984, #f5a623); color: #3a2600; }html[data-game="karate-bros"] .g-ico.lose { background: linear-gradient(135deg, #6b7280, #3a3f4a); }
html[data-game="karate-bros"] .g-overlay-card h2 { font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 10px; line-height: 1.1; color: #fff; }
html[data-game="karate-bros"] .g-overlay-card h2 span { color: var(--red); }
html[data-game="karate-bros"] .g-overlay-card p { color: rgba(255,255,255,0.78); margin-bottom: 18px; line-height: 1.55; font-size: 0.96rem; }
html[data-game="karate-bros"] .keys { display: grid; gap: 8px; justify-items: center; margin-bottom: 22px; color: rgba(255,255,255,0.72); font-size: 0.88rem; }
html[data-game="karate-bros"] .keys .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
html[data-game="karate-bros"] .g-key { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-bottom-width: 3px; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 0.82rem; color: #fff; }
html[data-game="karate-bros"] .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html[data-game="karate-bros"] .hud-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: rgba(13,13,15,0.72); backdrop-filter: blur(7px); border-top: 1px solid var(--line); }
html[data-game="karate-bros"] .hud-hint { color: var(--grey); font-size: 0.9rem; flex: 1; text-align: left; }
html[data-game="karate-bros"] .hud-hint b { color: var(--red); }
html[data-game="karate-bros"] .hud-actions { display: flex; align-items: center; gap: 8px; }
html[data-game="karate-bros"] .fbtn { padding: 11px 18px; border-radius: 12px; background: var(--black-3); border: 1px solid var(--line); color: #fff; font-weight: 800; font-size: 0.85rem; cursor: pointer; transition: background .15s ease, transform .1s ease; user-select: none; }
html[data-game="karate-bros"] .fbtn:hover { background: var(--red); }html[data-game="karate-bros"] .fbtn:active, html[data-game="karate-bros"] .fbtn.held { background: var(--red); transform: scale(0.94); }
html[data-game="karate-bros"] .fbtn.pin { background: #f5a623; color: #2a1a00; }
html[data-game="karate-bros"] .theme-toggle { display: none; }
@media (max-width: 600px) { html[data-game="karate-bros"] .hud-close, html[data-game="karate-bros"] .hud-sound { width: 42px; height: 42px; }html[data-game="karate-bros"] .hud-sound { right: 60px; }html[data-game="karate-bros"] .hud-hint { display: none; }html[data-game="karate-bros"] .fbtn { padding: 12px 14px; }  }

/* ===== Game (scoped): kart-bros ===== */
html[data-game="kart-bros"], html[data-game="kart-bros"] body { height: 100%; margin: 0; }
html[data-game="kart-bros"][data-theme="light"] { --black:#0d0d0f;--black-2:#141417;--black-3:#1c1c21;--white:#ffffff;--grey:#b6b6bd;--grey-dark:#82828c;--line:rgba(255,255,255,0.08); }
html[data-game="kart-bros"] body { background: #1a2a14; color: var(--white); overflow: hidden; }
html[data-game="kart-bros"] .g-fs { position: fixed; inset: 0; overflow: hidden; }
html[data-game="kart-bros"] #game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #1a2a14; }
html[data-game="kart-bros"] .hud-close, html[data-game="kart-bros"] .hud-sound { position: absolute; top: 14px; z-index: 12; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
html[data-game="kart-bros"] .hud-close { right: 14px; background: var(--red); color: #fff; border: none; box-shadow: 0 8px 22px rgba(0,0,0,0.5); }
html[data-game="kart-bros"] .hud-close:hover { transform: scale(1.1) rotate(90deg); background: var(--red-dark); }
html[data-game="kart-bros"] .hud-sound { right: 70px; background: rgba(13,13,15,0.6); border: 1px solid var(--line); color: #fff; font-size: 1.05rem; backdrop-filter: blur(6px); }
html[data-game="kart-bros"] .hud-sound:hover { transform: scale(1.08); background: var(--red); }html[data-game="kart-bros"] .hud-sound.muted { color: var(--grey-dark); }
html[data-game="kart-bros"] .g-msg { position: absolute; top: 32%; left: 0; right: 0; z-index: 9; text-align: center; font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 6vw, 3.2rem); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.7); pointer-events: none; opacity: 0; transform: scale(0.8); transition: opacity .2s ease, transform .25s cubic-bezier(.4,1.6,.5,1); }
html[data-game="kart-bros"] .g-msg.show { opacity: 1; transform: scale(1); }html[data-game="kart-bros"] .g-msg.hr { color: #ffd27a; }html[data-game="kart-bros"] .g-msg.bad { color: #ff6a52; }
html[data-game="kart-bros"] .g-overlay { position: absolute; inset: 0; z-index: 11; display: grid; place-items: center; background: rgba(8,8,10,0.82); backdrop-filter: blur(5px); transition: opacity .3s ease; padding: 24px; }
html[data-game="kart-bros"] .g-overlay.hidden { opacity: 0; pointer-events: none; }
html[data-game="kart-bros"] .g-overlay-card { text-align: center; max-width: 500px; background: linear-gradient(180deg, rgba(22,22,28,0.94), rgba(12,12,16,0.96)); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 36px 36px 32px; box-shadow: 0 30px 70px rgba(0,0,0,0.6); animation: gPop_kart_bros .35s cubic-bezier(.3,1.5,.5,1); }
@keyframes gPop_kart_bros { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
html[data-game="kart-bros"] .g-ico { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, #ff6a3d, var(--red)); box-shadow: 0 14px 32px rgba(234,47,20,0.45); }
html[data-game="kart-bros"] .g-ico.win { background: linear-gradient(135deg, #ffd984, #f5a623); color: #3a2600; }html[data-game="kart-bros"] .g-ico.lose { background: linear-gradient(135deg, #6b7280, #3a3f4a); }
html[data-game="kart-bros"] .g-overlay-card h2 { font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 10px; line-height: 1.1; color: #fff; }
html[data-game="kart-bros"] .g-overlay-card h2 span { color: var(--red); }
html[data-game="kart-bros"] .g-overlay-card p { color: rgba(255,255,255,0.78); margin-bottom: 18px; line-height: 1.55; font-size: 0.96rem; }
html[data-game="kart-bros"] .keys { display: grid; gap: 8px; justify-items: center; margin-bottom: 22px; color: rgba(255,255,255,0.72); font-size: 0.88rem; }
html[data-game="kart-bros"] .keys .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
html[data-game="kart-bros"] .g-key { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-bottom-width: 3px; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 0.82rem; color: #fff; }
html[data-game="kart-bros"] .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html[data-game="kart-bros"] .hud-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: rgba(13,13,15,0.72); backdrop-filter: blur(7px); border-top: 1px solid var(--line); }
html[data-game="kart-bros"] .hud-hint { color: var(--grey); font-size: 0.9rem; flex: 1; text-align: left; }
html[data-game="kart-bros"] .hud-hint b { color: var(--red); }
html[data-game="kart-bros"] .hud-actions { display: flex; align-items: center; gap: 8px; }
html[data-game="kart-bros"] .fbtn { padding: 11px 16px; border-radius: 12px; background: var(--black-3); border: 1px solid var(--line); color: #fff; font-weight: 800; font-size: 0.85rem; cursor: pointer; transition: background .15s ease, transform .1s ease; user-select: none; }
html[data-game="kart-bros"] .fbtn:hover { background: var(--red); }html[data-game="kart-bros"] .fbtn:active, html[data-game="kart-bros"] .fbtn.held { background: var(--red); transform: scale(0.94); }
html[data-game="kart-bros"] .fbtn.nitro { background: #f5a623; color: #2a1a00; }
html[data-game="kart-bros"] .theme-toggle { display: none; }
@media (max-width: 600px) { html[data-game="kart-bros"] .hud-close, html[data-game="kart-bros"] .hud-sound { width: 42px; height: 42px; }html[data-game="kart-bros"] .hud-sound { right: 60px; }html[data-game="kart-bros"] .hud-hint { display: none; }  }

/* ===== Game (scoped): wrestle-bros ===== */
html[data-game="wrestle-bros"], html[data-game="wrestle-bros"] body { height: 100%; margin: 0; }
html[data-game="wrestle-bros"][data-theme="light"] { --black:#0d0d0f;--black-2:#141417;--black-3:#1c1c21;--white:#ffffff;--grey:#b6b6bd;--grey-dark:#82828c;--line:rgba(255,255,255,0.08); }
html[data-game="wrestle-bros"] body { background: #0c0d14; color: var(--white); overflow: hidden; }
html[data-game="wrestle-bros"] .g-fs { position: fixed; inset: 0; overflow: hidden; }
html[data-game="wrestle-bros"] #game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0c0d14; }
html[data-game="wrestle-bros"] .hud-close, html[data-game="wrestle-bros"] .hud-sound { position: absolute; top: 14px; z-index: 12; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
html[data-game="wrestle-bros"] .hud-close { right: 14px; background: var(--red); color: #fff; border: none; box-shadow: 0 8px 22px rgba(0,0,0,0.5); }
html[data-game="wrestle-bros"] .hud-close:hover { transform: scale(1.1) rotate(90deg); background: var(--red-dark); }
html[data-game="wrestle-bros"] .hud-sound { right: 70px; background: rgba(13,13,15,0.6); border: 1px solid var(--line); color: #fff; font-size: 1.05rem; backdrop-filter: blur(6px); }
html[data-game="wrestle-bros"] .hud-sound:hover { transform: scale(1.08); background: var(--red); }html[data-game="wrestle-bros"] .hud-sound.muted { color: var(--grey-dark); }
html[data-game="wrestle-bros"] .g-msg { position: absolute; top: 28%; left: 0; right: 0; z-index: 9; text-align: center; font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 6vw, 3.2rem); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.7); pointer-events: none; opacity: 0; transform: scale(0.8); transition: opacity .2s ease, transform .25s cubic-bezier(.4,1.6,.5,1); }
html[data-game="wrestle-bros"] .g-msg.show { opacity: 1; transform: scale(1); }html[data-game="wrestle-bros"] .g-msg.hr { color: #ffd27a; }html[data-game="wrestle-bros"] .g-msg.bad { color: #ff6a52; }
html[data-game="wrestle-bros"] .g-overlay { position: absolute; inset: 0; z-index: 11; display: grid; place-items: center; background: rgba(8,8,10,0.82); backdrop-filter: blur(5px); transition: opacity .3s ease; padding: 24px; }
html[data-game="wrestle-bros"] .g-overlay.hidden { opacity: 0; pointer-events: none; }
html[data-game="wrestle-bros"] .g-overlay-card { text-align: center; max-width: 510px; background: linear-gradient(180deg, rgba(22,22,28,0.94), rgba(12,12,16,0.96)); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 36px 36px 32px; box-shadow: 0 30px 70px rgba(0,0,0,0.6); animation: gPop_wrestle_bros .35s cubic-bezier(.3,1.5,.5,1); }
@keyframes gPop_wrestle_bros { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
html[data-game="wrestle-bros"] .g-ico { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, #ff6a3d, var(--red)); box-shadow: 0 14px 32px rgba(234,47,20,0.45); }
html[data-game="wrestle-bros"] .g-ico.win { background: linear-gradient(135deg, #ffd984, #f5a623); color: #3a2600; }html[data-game="wrestle-bros"] .g-ico.lose { background: linear-gradient(135deg, #6b7280, #3a3f4a); }
html[data-game="wrestle-bros"] .g-overlay-card h2 { font-family: var(--font-body); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 10px; line-height: 1.1; color: #fff; }
html[data-game="wrestle-bros"] .g-overlay-card h2 span { color: var(--red); }
html[data-game="wrestle-bros"] .g-overlay-card p { color: rgba(255,255,255,0.78); margin-bottom: 18px; line-height: 1.55; font-size: 0.96rem; }
html[data-game="wrestle-bros"] .keys { display: grid; gap: 8px; justify-items: center; margin-bottom: 22px; color: rgba(255,255,255,0.72); font-size: 0.88rem; }
html[data-game="wrestle-bros"] .keys .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
html[data-game="wrestle-bros"] .g-key { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-bottom-width: 3px; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 0.82rem; color: #fff; }
html[data-game="wrestle-bros"] .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html[data-game="wrestle-bros"] .hud-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: rgba(13,13,15,0.72); backdrop-filter: blur(7px); border-top: 1px solid var(--line); }
html[data-game="wrestle-bros"] .hud-hint { color: var(--grey); font-size: 0.88rem; flex: 1; text-align: left; }
html[data-game="wrestle-bros"] .hud-hint b { color: var(--red); }
html[data-game="wrestle-bros"] .hud-actions { display: flex; align-items: center; gap: 7px; }
html[data-game="wrestle-bros"] .fbtn { padding: 11px 13px; border-radius: 11px; background: var(--black-3); border: 1px solid var(--line); color: #fff; font-weight: 800; font-size: 0.8rem; cursor: pointer; transition: background .15s ease, transform .1s ease; user-select: none; }
html[data-game="wrestle-bros"] .fbtn:hover { background: var(--red); }html[data-game="wrestle-bros"] .fbtn:active, html[data-game="wrestle-bros"] .fbtn.held { background: var(--red); transform: scale(0.94); }
html[data-game="wrestle-bros"] .fbtn.pin { background: #f5a623; color: #2a1a00; }
html[data-game="wrestle-bros"] #finishBtn { background: #e23b3b; color: #fff; }
html[data-game="wrestle-bros"] .theme-toggle { display: none; }
@media (max-width: 640px) { html[data-game="wrestle-bros"] .hud-close, html[data-game="wrestle-bros"] .hud-sound { width: 42px; height: 42px; }html[data-game="wrestle-bros"] .hud-sound { right: 60px; }html[data-game="wrestle-bros"] .hud-hint { display: none; }html[data-game="wrestle-bros"] .hud-bar { padding: 8px 10px; }html[data-game="wrestle-bros"] .hud-actions { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }html[data-game="wrestle-bros"] .fbtn { padding: 10px 11px; font-size: 0.76rem; }  }
@media (max-width: 380px) { html[data-game="wrestle-bros"] .fbtn { padding: 9px 9px; font-size: 0.72rem; }  }


body{
    background-color: #000 !important;
}
h1, h2, h3, li{
    color: #fff !important;
}
.testi-user strong {
    color: #fff !important;
}

.read-more:hover{
    color: #fff !important;
}
