/* ==========================================================================
   IBO Plus Player - Obsidian & Crimson Design System
   Inspired by IBO+ visual DNA: deep obsidian surfaces, vibrant crimson
   accents, subtle plus-grid atmosphere, and sharp 10-foot TV legibility.
   ========================================================================== */

:root {
  --bg-page: #05080d;
  --bg-band: #0a0e15;
  --bg-card: #10141c;
  --bg-card-hover: #151b26;
  --bg-crimson-deep: #170a10;
  --bg-crimson-mid: #280a13;

  --primary: #e8061f;
  --primary-bright: #ff0627;
  --primary-hover: #c9041b;
  --primary-soft: rgba(232, 6, 31, 0.14);
  --primary-border: rgba(255, 6, 39, 0.36);

  --text-main: #f2f4f7;
  --text-muted: #aab3c5;
  --text-subtle: #748096;

  --hairline: rgba(255, 255, 255, 0.075);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  --radius-btn: 10px;
  --radius-card: 20px;
  --radius-media: 16px;
  --radius-sm: 12px;

  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 76px;
  --container-max: 1240px;
  --shadow-red: 0 14px 36px -10px rgba(232, 6, 31, 0.58);
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-page);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--primary-bright);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(255, 6, 39, 0.28);
}

/* Android TV / D-pad Remote Accessibility */
.btn:focus-visible,
[data-tv-focus]:focus-visible {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--primary-bright);
  box-shadow: 0 0 0 4px rgba(255, 6, 39, 0.38), 0 16px 34px -8px rgba(232, 6, 31, 0.65);
}

.btn {
  min-height: 50px;
}

.btn--sm {
  min-height: 40px;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container-max), calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    width: min(var(--container-max), calc(100% - 48px));
  }
}

/* Shared Typography & Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 12px var(--primary-bright);
  flex-shrink: 0;
}

.section-header {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-header--left {
  margin-inline: 0;
  text-align: left;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
}

.section-title .accent {
  color: var(--primary-bright);
}

.section-lead {
  margin: 14px 0 0;
  font-size: clamp(0.96rem, 1.25vw, 1.06rem);
  color: var(--text-muted);
  line-height: 1.6;
}

.section {
  position: relative;
  padding-block: clamp(4.25rem, 8vw, 6.75rem);
}

.section--band {
  background: var(--bg-band);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: var(--radius-btn);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn svg,
.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn--primary:hover {
  background: var(--primary-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(255, 6, 39, 0.72);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid var(--hairline-strong);
}

.btn--secondary:hover {
  background: rgba(232, 6, 31, 0.12);
  border-color: var(--primary-border);
  transform: translateY(-2px);
}

.btn--crimson-soft {
  background: linear-gradient(180deg, rgba(232, 6, 31, 0.18), rgba(23, 10, 16, 0.92));
  color: #fff;
  border: 1px solid rgba(255, 6, 39, 0.34);
}

.btn--crimson-soft:hover {
  background: linear-gradient(180deg, rgba(232, 6, 31, 0.28), rgba(40, 10, 19, 0.95));
  border-color: var(--primary-bright);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.btn--block {
  width: 100%;
  white-space: nowrap;
  text-align: center;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 8, 13, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 8, 13, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .brand-logo {
    height: 34px;
  }
}

.brand-pill {
  display: none;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.03);
}

@media (min-width: 480px) {
  .brand-pill {
    display: inline-flex;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-desktop {
  display: none;
}

@media (min-width: 640px) {
  .nav-cta-desktop {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

@media (min-width: 960px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 95;
  background: rgba(5, 8, 13, 0.98);
  backdrop-filter: blur(20px);
  padding: 28px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  border: 1px solid transparent;
}

.mobile-drawer-links a:hover {
  background: var(--bg-card);
  border-color: var(--hairline);
}

.mobile-drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}

/* ==========================================================================
   Hero Section - Signature IBO+ Obsidian + Plus Grid + Live TV/Mobile Mockup
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.75rem, 5.5vw, 4.75rem);
  padding-bottom: clamp(4rem, 7vw, 6.25rem);
  background: var(--bg-page);
}

/* Signature iboplusplayer.com + micro-pattern */
.hero-plus-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 17v10M17 22h10' stroke='%23ffffff' stroke-opacity='0.095' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse at 72% 42%, #000 10%, transparent 74%);
  mask-image: radial-gradient(ellipse at 72% 42%, #000 10%, transparent 74%);
}

.hero-glow {
  position: absolute;
  right: -10%;
  top: 6%;
  width: min(860px, 85vw);
  height: 620px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 6, 39, 0.22) 0%, rgba(232, 6, 31, 0.08) 38%, rgba(5, 8, 13, 0) 72%);
  filter: blur(18px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2.75rem, 5vw, 4rem);
}

@media (min-width: 1060px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 44px;
  }
}

.hero-copy {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 1060px) {
  .hero-copy {
    margin-inline: 0;
    text-align: left;
  }
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.15rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-title .accent {
  color: var(--primary-bright);
}

.hero-desc {
  margin: 20px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 540px;
}

@media (max-width: 1059px) {
  .hero-desc {
    margin-inline: auto;
  }
}

/* Hero Download Actions */
.hero-cta-stack {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

@media (max-width: 1059px) {
  .hero-cta-stack {
    margin-inline: auto;
  }
}

.hero-cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 540px) {
  .hero-cta-row {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-cta-stack .btn {
  white-space: nowrap;
  padding: 13px 16px;
  font-size: 0.89rem;
}

.hero-cta-primary {
  width: 100%;
  font-size: 0.95rem !important;
  padding: 15px 22px !important;
}

/* Hero 4-Tile Strip (Echoing iboplusplayer.com) */
.hero-pillars {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 540px;
}

@media (min-width: 540px) {
  .hero-pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1059px) {
  .hero-pillars {
    margin-inline: auto;
  }
}

.hero-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.022);
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hero-pillar:hover {
  border-color: rgba(255, 6, 39, 0.35);
  background: rgba(232, 6, 31, 0.06);
}

.hero-pillar svg {
  width: 20px;
  height: 20px;
  color: var(--primary-bright);
}

.hero-pillar span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.25;
}

/* ==========================================================================
   Hero Live Interactive Android TV + Android Mobile Showcase
   ========================================================================== */
.hero-showcase {
  position: relative;
  padding-top: 18px;
  padding-bottom: 24px;
}

/* Iconic glowing red + mark from iboplusplayer.com */
.floating-plus {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 62px;
  height: 62px;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 0 26px rgba(255, 6, 39, 0.72));
  display: none;
}

@media (min-width: 640px) {
  .floating-plus {
    display: block;
  }
}

.floating-plus::before,
.floating-plus::after {
  content: "";
  position: absolute;
  border-radius: 4px;
  background: var(--primary-bright);
}

.floating-plus::before {
  left: 50%;
  top: 0;
  width: 30%;
  height: 100%;
  transform: translateX(-50%);
}

.floating-plus::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 30%;
  transform: translateY(-50%);
}

/* 4K Android TV Hardware Bezel */
.tv-frame {
  position: relative;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(155deg, #272d3a 0%, #0d1017 45%, #1d222d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 36px 90px -24px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 6, 39, 0.08);
}

.tv-stand {
  width: 34%;
  height: 8px;
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(90deg, #131720, #2b3242, #131720);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.8);
}

.tv-screen {
  position: relative;
  border-radius: 13px;
  background: #05070b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.tv-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.22s ease;
}

.tv-screen-img.is-fading {
  opacity: 0.25;
}

/* Interactive Real Screen Switcher Pills below TV */
.tv-switcher {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tv-brand-chip {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  transition: all 0.18s ease;
}

.tv-brand-chip:hover {
  color: #fff;
  border-color: var(--hairline-strong);
}

.tv-brand-chip.is-active {
  color: #fff;
  background: var(--primary-soft);
  border-color: var(--primary-bright);
}

/* Original Player UI Gallery Section */
.ui-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 820px) {
  .ui-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.ui-card {
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ui-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 6, 39, 0.4);
}

.ui-card-media {
  aspect-ratio: 16 / 9;
  background: #07090e;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.ui-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ui-card:hover .ui-card-media img {
  transform: scale(1.03);
}

.ui-card-body {
  padding: 18px 20px;
}

.ui-card-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.ui-card-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Real Brand Logo Badges inside 26-Player Cards (Square 1:1) */
.brand-icon-wrap {
  width: 48px;
  height: 48px;
  aspect-ratio: 1 / 1;
  padding: 6px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #f4f6fb;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.brand-icon-wrap--dark {
  background: #141925;
  border-color: rgba(255, 255, 255, 0.1);
}

.brand-icon-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Real Platform Logo Header (Square 1:1) */
.platform-logo-badge {
  width: 56px;
  height: 56px;
  aspect-ratio: 1 / 1;
  padding: 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--hairline-strong);
  flex-shrink: 0;
}

.platform-logo-badge img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.download-icon {
  width: 52px;
  height: 52px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline-strong);
  color: #fff;
  margin-top: 0;
}

.download-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.hero-pillar-icon-wrap {
  width: 34px;
  height: 34px;
  aspect-ratio: 1 / 1;
  padding: 5px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
}

.hero-pillar-icon {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* TV Preview Feature Split */
.tv-preview-banner {
  margin-top: 28px;
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 32px);
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 6, 31, 0.14), transparent 65%), var(--bg-card);
  border: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 900px) {
  .tv-preview-banner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.tv-preview-banner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.65));
}

/* ==========================================================================
   Infinite Brand Ticker Marquee
   ========================================================================== */
.marquee-band {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(90deg, #070a10, #0d080d, #070a10);
  padding-block: 16px;
  position: relative;
}

.marquee-band::before,
.marquee-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 84px;
  z-index: 2;
  pointer-events: none;
}

.marquee-band::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-page), transparent);
}

.marquee-band::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-page), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee-scroll 48s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-plus {
  color: var(--primary-bright);
  font-weight: 800;
  font-size: 0.95rem;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   26 Included Players & Brands Directory
   ========================================================================== */
.players-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

@media (min-width: 860px) {
  .players-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-subtle);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  font-size: 0.9rem;
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input::placeholder {
  color: var(--text-subtle);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-bright);
  box-shadow: 0 0 0 3px rgba(232, 6, 31, 0.2);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  transition: all 0.2s ease;
}

.filter-pill:hover {
  color: #fff;
  border-color: var(--hairline-strong);
}

.filter-pill.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-bright);
  box-shadow: 0 8px 20px -8px rgba(232, 6, 31, 0.7);
}

.players-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .players-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .players-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.brand-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.brand-card::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(255, 6, 39, 0.28);
  transition: color 0.22s ease, transform 0.22s ease;
}

.brand-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(150deg, #1b0d14 0%, #10141c 80%);
  border-color: rgba(255, 6, 39, 0.44);
  box-shadow: 0 18px 36px -20px rgba(232, 6, 31, 0.48);
}

.brand-card:hover::after {
  color: var(--primary-bright);
  transform: translateY(-50%) rotate(90deg);
}

.brand-card.is-hidden {
  display: none;
}

.brand-monogram {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, rgba(232, 6, 31, 0.24), rgba(23, 10, 16, 0.92));
  border: 1px solid rgba(255, 6, 39, 0.3);
}

.brand-info {
  min-width: 0;
  padding-right: 18px;
}

.brand-name {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.brand-tags {
  margin-top: 4px;
  font-size: 0.71rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.players-empty {
  display: none;
  padding: 40px 20px;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed var(--hairline-strong);
  color: var(--text-muted);
}

.players-empty.is-visible {
  display: block;
}

.tagline-banner {
  margin-top: 32px;
  padding: 20px 26px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(232, 6, 31, 0.14), rgba(16, 20, 28, 0.94) 60%);
  border: 1px solid rgba(255, 6, 39, 0.28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tagline-banner p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: #fff;
}

.tagline-banner p span {
  color: var(--primary-bright);
}

/* ==========================================================================
   Platforms Showcase - Android TV & Android Mobile
   ========================================================================== */
.platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 860px) {
  .platforms-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.platform-card {
  position: relative;
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.platform-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(232, 6, 31, 0.2), transparent 70%);
  pointer-events: none;
}

.platform-card:hover {
  border-color: rgba(255, 6, 39, 0.36);
  transform: translateY(-3px);
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary), #8c0415);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(232, 6, 31, 0.65);
  flex-shrink: 0;
}

.platform-icon-box svg {
  width: 28px;
  height: 28px;
}

.platform-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
}

.platform-sub {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--primary-bright);
  font-weight: 600;
}

.platform-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-bright);
}

.device-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.device-pill {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
}

/* ==========================================================================
   Features Bento Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 680px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  transition: border-color 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: rgba(255, 6, 39, 0.36);
  transform: translateY(-3px);
}

.feature-card--featured {
  background: linear-gradient(155deg, #210912 0%, #10141c 62%);
  border-color: rgba(255, 6, 39, 0.28);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  border: 1px solid rgba(255, 6, 39, 0.28);
  color: var(--primary-bright);
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* ==========================================================================
   Download Hub - 3 Official Download Methods (Google Play, Downloader, APK)
   ========================================================================== */
.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .download-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.download-card {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 6, 39, 0.42);
  box-shadow: var(--shadow-card);
}

.download-card--recommended {
  background: linear-gradient(170deg, #250811 0%, #10141c 56%);
  border-color: rgba(255, 6, 39, 0.44);
  box-shadow: 0 24px 60px -24px rgba(232, 6, 31, 0.35);
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
}

.download-badge--red {
  background: var(--primary);
  color: #fff;
}

.download-badge--muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--hairline);
}

.download-card--recommended .download-icon {
  background: rgba(232, 6, 31, 0.18);
  border-color: rgba(255, 6, 39, 0.4);
  color: var(--primary-bright);
}

.download-icon svg {
  width: 28px;
  height: 28px;
}

.download-card h3 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
}

.download-card p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.download-specs {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.download-specs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.download-specs strong {
  color: #fff;
  font-weight: 600;
}

.downloader-copy-box {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(5, 8, 13, 0.72);
  border: 1px solid var(--hairline-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.downloader-copy-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-mini-btn {
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(232, 6, 31, 0.16);
  color: #ff7787;
  border: 1px solid rgba(255, 6, 39, 0.34);
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.copy-mini-btn:hover,
.copy-mini-btn.is-copied {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   How To Install Interactive Tabs
   ========================================================================== */
.install-box {
  margin-top: 40px;
  padding: clamp(22px, 3.5vw, 34px);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
}

.install-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

@media (min-width: 760px) {
  .install-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.install-top h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
}

.install-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--hairline);
}

.install-tab {
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.install-tab:hover {
  color: #fff;
}

.install-tab.is-active {
  background: var(--primary);
  color: #fff;
}

.install-panel {
  display: none;
}

.install-panel.is-active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 760px) {
  .install-panel.is-active {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hairline);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  border: 1px solid rgba(255, 6, 39, 0.36);
  color: var(--primary-bright);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.step-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.58;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(255, 6, 39, 0.36);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  color: var(--primary-bright);
  font-size: 1.15rem;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--primary-soft);
  border-color: var(--primary-border);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   Closing CTA Banner & Disclaimer
   ========================================================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5.5vw, 60px) clamp(24px, 4vw, 52px);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 6, 39, 0.28), transparent 60%),
    linear-gradient(135deg, #1b0910 0%, #0d111a 60%, #090c12 100%);
  border: 1px solid rgba(255, 6, 39, 0.34);
  text-align: center;
}

.cta-banner h2 {
  margin: 0 auto;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.cta-banner p {
  margin: 16px auto 0;
  max-width: 600px;
  color: var(--text-muted);
  font-size: 1rem;
}

.cta-banner-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Legal Disclaimer Strip */
.disclaimer-box {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.83rem;
  color: var(--text-subtle);
  line-height: 1.6;
}

.disclaimer-box svg {
  width: 20px;
  height: 20px;
  color: var(--primary-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: #04060a;
  padding-top: 56px;
  padding-bottom: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

.footer-brand p {
  margin: 16px 0 0;
  max-width: 340px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 0.89rem;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--primary-bright);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ==========================================================================
   Subpages (Download, Privacy, Terms, 404)
   ========================================================================== */
.subpage-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 6vw, 5rem) clamp(2.25rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-page);
}

.prose-card {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
}

.prose-card h2 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card p,
.prose-card li {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.prose-card ul {
  padding-left: 20px;
}

.error-404 {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 16px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary-bright);
  text-shadow: 0 0 42px rgba(255, 6, 39, 0.45);
  margin: 0;
}

/* Subtle Reveal on Scroll (Progressive Enhancement) */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-track {
    animation: none;
  }
  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
