/* =============================================================
   Landing V5 — Bridge Stylesheet
   Provides: tokens, base, layout, nav, hero, categories,
             providers, section wrappers, utilities
   Component CSS is NOT duplicated here — loaded separately in HTML.
   8pt grid · 12-col · max-width 1280px
============================================================= */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg-page:        #FFFFFF;
  --color-bg-alt:         #F5F9FF;
  --color-bg-dark:        #07071A;
  --color-blue-primary:   #1565C0;
  --color-blue-light:     #42A5F5;
  --color-blue-dark:      #0D47A1;
  --color-orange:         #FF6D00;
  --color-gold:           #FFD700;
  --color-text-heading:   #0D1B4B;
  --color-text-body:      #4A5568;
  --color-text-muted:     #94A3B8;
  --color-border:         rgba(21, 101, 192, 0.08);

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;

  /* Shape */
  --radius-card:  20px;
  --radius-badge: 20px;
  --radius-btn:   50px;

  /* Shadows */
  --shadow-card:  0 8px 40px rgba(21, 101, 192, 0.10);
  --shadow-float: 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-nav:   0 1px 0 rgba(0, 0, 0, 0.06);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --transition-fast: 120ms ease;
  --transition-med:  180ms ease;
  --transition-slow: 250ms ease;

  /* Nav */
  --nav-height: 72px;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  background: var(--color-bg-page);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.text-heading {
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.2;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-white {
  color: #FFFFFF;
}

.text-gold {
  color: var(--color-gold);
}

.text-center {
  text-align: center;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-blue-light);
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-text-heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-title--white {
  color: #FFFFFF;
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-body);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: 860px;
}

.section {
  padding: var(--space-2xl) 0;
}

.section--dark {
  background: var(--color-bg-dark);
  color: #FFFFFF;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--flush {
  padding: 0;
}

.section__header {
  text-align: center;
  margin-bottom: 52px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-sm {
  gap: 12px;
}

.gap-md {
  gap: 24px;
}

.gap-lg {
  gap: 40px;
}

/* ── NAVIGATION ────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid rgba(21, 101, 192, 0.08);
  transition: background 250ms ease, box-shadow 250ms ease;
}

.site-nav.is-scrolled {
  box-shadow: 0 4px 24px rgba(10, 20, 60, 0.08);
}

.site-nav.is-dark {
  background: rgba(7, 7, 26, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo__img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-logo__text {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-heading);
}

.site-nav.is-dark .nav-logo__text {
  color: #FFFFFF;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links__item a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-body);
  transition: color 150ms ease;
  padding: 4px 0;
  position: relative;
}

.nav-links__item a:hover {
  color: var(--color-blue-primary);
}

.nav-links__item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue-primary);
  border-radius: 1px;
  transition: width 200ms ease;
}

.nav-links__item a:hover::after {
  width: 100%;
}

.nav-links__item--active a {
  color: var(--color-blue-primary);
}

.nav-links__item--active a::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-blue-primary), var(--color-blue-dark));
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  transition: all 150ms ease;
  box-shadow: 0 10px 28px rgba(13, 71, 161, 0.18);
}

.nav-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text-heading);
  border-radius: 1px;
  transition: all 250ms ease;
}

.site-nav.is-dark .nav-mobile-toggle span {
  background: #FFFFFF;
}

.nav-mobile-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-mobile-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  padding: 32px 24px;
  gap: 8px;
}

.nav-mobile-menu.is-open {
  display: flex;
}

.nav-mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-heading);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

/* ── HERO SECTION ───────────────────────────────────────────── */
.section-hero {
  position: relative;
  min-height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #07071A 0%, #0D1B4B 50%, #0D47A1 100%);
  padding-top: var(--nav-height);
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 165, 245, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-bg-glow--right {
  right: -10%;
  left: auto;
  top: 10%;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.10), transparent 70%);
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 80px 0 100px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  width: fit-content;
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-title span.text-gold {
  background: linear-gradient(135deg, #FFD54F 0%, #FFB300 45%, #FFEA00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--color-orange), #FF8F00);
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(255, 109, 0, 0.30);
  transition: all 200ms ease;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 109, 0, 0.40);
}

.hero-btn-secondary {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 200ms ease;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: clamp(360px, 48vw, 560px);
}

.hero-platform-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.hero-platform-badge {
  background: rgba(18, 28, 72, 0.55);
  border: 1px solid rgba(100, 130, 220, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 200ms ease;
  box-shadow: 0 20px 48px rgba(4, 10, 32, 0.28);
}

.hero-platform-badge:hover {
  transform: translateY(-3px);
}

.hero-platform-badge__img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.hero-platform-badge__name {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.hero-platform-badge__tag {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* ── GAME CATEGORIES ───────────────────────────────────────── */
.section-categories {
  background: var(--color-bg-page);
}

.section-categories.section--alt {
  background: var(--color-bg-alt);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  border-radius: 16px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 180ms ease;
}

.category-card:hover {
  background: var(--color-blue-primary);
  border-color: var(--color-blue-primary);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(21, 101, 192, 0.20);
}

.category-card:hover .category-card__label {
  color: #FFFFFF;
}

.category-card:hover .category-card__icon-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.category-card__icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(21, 101, 192, 0.08);
  border: 1px solid rgba(21, 101, 192, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 180ms ease;
}

.category-card__emoji {
  font-size: 26px;
  line-height: 1;
}

.category-card__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-heading);
  letter-spacing: 0.02em;
  transition: color 180ms ease;
}

/* ── PROVIDER LOGOS ────────────────────────────────────────── */
.section-providers {
  background: var(--color-bg-alt);
}

.section-providers.section--white {
  background: var(--color-bg-page);
}

.provider-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
}

.provider-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(1);
  transition: all 250ms ease;
}

.provider-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ── ANIMATIONS / SCROLL UTILITIES ─────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 100ms;
}

.fade-up-delay-2 {
  transition-delay: 200ms;
}

.fade-up-delay-3 {
  transition-delay: 300ms;
}

.fade-up-delay-4 {
  transition-delay: 400ms;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container,
  .nav-container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-content {
    gap: 48px;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-visual {
    height: clamp(320px, 42vw, 480px);
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container,
  .nav-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-visual {
    height: auto;
    min-height: 280px;
    justify-content: center;
  }

  .section__header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 32px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .provider-strip {
    gap: 20px 28px;
  }
}

@media (max-width: 480px) {
  .container,
  .nav-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .section-title {
    font-size: 28px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-strip {
    gap: 16px 24px;
  }

  .hero-platform-badge {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-platform-badges {
    width: 100%;
    align-items: stretch;
  }
}



/* =============================================================
   P2 UI Refinement — Hero Floats + Trust Metrics + Screenshot
============================================================= */

/* ── HERO FLOATING DECORATIVE ELEMENTS ─────────────────────── */
.hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-float {
  position: absolute;
  object-fit: contain;
  opacity: 0.13;
  filter: blur(0.5px);
  will-change: transform;
  animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(2deg); }
  66%       { transform: translateY(6px) rotate(-1.5deg); }
}

/* Individual float positions + sizing */
.hero-float--coin {
  width: 120px;
  top: 12%;
  right: 8%;
  opacity: 0.15;
  animation-delay: 0s;
  animation-duration: 7s;
}

.hero-float--gift {
  width: 90px;
  bottom: 18%;
  left: 52%;
  opacity: 0.10;
  animation-delay: 1.2s;
  animation-duration: 9s;
}

.hero-float--wallet {
  width: 72px;
  top: 22%;
  left: 48%;
  opacity: 0.12;
  animation-delay: 0.6s;
  animation-duration: 11s;
}

.hero-float--crown {
  width: 80px;
  bottom: 28%;
  right: 5%;
  opacity: 0.14;
  animation-delay: 2s;
  animation-duration: 8.5s;
}

.hero-float--star {
  width: 56px;
  top: 60%;
  left: 42%;
  opacity: 0.10;
  animation-delay: 0.4s;
  animation-duration: 6.5s;
}

.hero-float--badge {
  width: 64px;
  top: 8%;
  left: 40%;
  opacity: 0.09;
  animation-delay: 1.8s;
  animation-duration: 10s;
}

/* ── HERO TRUST METRICS ──────────────────────────────────────── */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 16px 0 4px;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  text-align: center;
}

.hero-metric:first-child {
  padding-left: 0;
}

.hero-metric__value {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-metric__star {
  font-size: 18px;
  color: var(--color-gold);
  vertical-align: middle;
  margin-left: 2px;
}

.hero-metric__label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.50);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-metric__divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

/* ── PLATFORM CARD SCREENSHOT ────────────────────────────────── */
.platform-card__screenshot {
  position: relative;
  z-index: 1;
  margin: 0 16px 0;
  flex-shrink: 0;
}

.platform-card__screenshot-frame {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 40, 0.6);
  transition: transform 250ms ease;
}

.platform-card:hover .platform-card__screenshot-frame {
  transform: scale(1.03);
}

.platform-card__screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 0.85;
  transition: opacity 250ms ease;
}

.platform-card:hover .platform-card__screenshot-img {
  opacity: 1;
}

/* Placeholder overlay — shown when no screenshot is available */
.platform-card__screenshot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(18,28,72,0.70), rgba(13,71,161,0.50));
  opacity: 0;          /* hidden when img loads fine */
  transition: opacity 200ms ease;
  pointer-events: none;
}

/* Show placeholder text only if image fails */
.platform-card__screenshot-img[data-placeholder="true"] + .platform-card__screenshot-placeholder,
.platform-card__screenshot-placeholder.is-visible {
  opacity: 1;
}

.platform-card__screenshot-placeholder span {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Responsive screenshot */
@media (max-width: 768px) {
  .platform-card__screenshot-frame {
    height: 170px;
  }

  .hero-metric__value {
    font-size: 24px;
  }

  .hero-metric {
    padding: 0 16px;
  }

  .hero-float--wallet,
  .hero-float--badge,
  .hero-float--star {
    display: none;
  }
}

@media (max-width: 480px) {
  .platform-card__screenshot-frame {
    height: 150px;
  }

  .hero-metrics {
    gap: 0;
    padding: 12px 0 0;
  }

  .hero-metric__value {
    font-size: 22px;
  }

  .hero-float--gift,
  .hero-float--crown {
    display: none;
  }
}


/* =============================================================
   P2 Revision — Hero Banner, Promo Brand Groups, Category SVG,
                  Footer Text Logo, Nav Text Logo
============================================================= */

/* ── HERO BANNER IMAGE (responsive <picture>) ───────────────── */
.hero-banner-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

/* <picture> inherits layout from wrap; img is the sizing target */
.hero-banner-wrap picture {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
}

.hero-banner-img {
  /* Responsive: ~48vw on desktop, full-width on mobile */
  width: clamp(320px, 48vw, 760px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom right;
  display: block;
  filter: drop-shadow(0 24px 64px rgba(0,0,0,0.40));
  border-radius: 16px;
}

/* Tablet: slightly narrower */
@media (max-width: 1199px) and (min-width: 768px) {
  .hero-banner-img {
    width: clamp(280px, 44vw, 620px);
  }
}

/* Mobile: full width, centered */
@media (max-width: 767px) {
  .hero-banner-wrap {
    justify-content: center;
    padding: 0 16px;
  }
  .hero-banner-wrap picture {
    justify-content: center;
  }
  .hero-banner-img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    object-position: center bottom;
  }
}

/* ── PROMO BRAND GROUPS ─────────────────────────────────────── */
.promo-brand-group {
  margin-bottom: 48px;
}

.promo-brand-group:last-child {
  margin-bottom: 0;
}

.promo-brand-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 20px 8px 12px;
  border-radius: 9999px;
  background: var(--color-bg-dark);
  border: 1px solid rgba(255,255,255,0.10);
}

.promo-brand-label__logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  
  display: block;
}

.promo-brand-label span {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

.promo-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .promo-grid--2 {
    grid-template-columns: 1fr;
  }
}

/* ── CATEGORY ICON SVG ──────────────────────────────────────── */
.category-card__icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  opacity: 0.75;
  transition: opacity 180ms ease, filter 180ms ease;
}

.category-card:hover .category-card__icon-img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

/* ── PLATFORM CARD BADGE (SVG logos) ────────────────────────── */
.platform-card__badge {
  width: auto;
  height: 40px;
  max-width: 1200px;
  object-fit: contain;
  flex-shrink: 0;
  
}

/* ── NAV TEXT LOGO ──────────────────────────────────────────── */
.nav-logo__text {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-blue-primary), var(--color-blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── FOOTER TEXT LOGO ───────────────────────────────────────── */
.footer-brand__text-logo {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}


/* =============================================================
   P2 Refinement — Platform chip on promo cards + Hero pills
============================================================= */

/* ── PROMO CARD PLATFORM CHIP ───────────────────────────────── */
.promo-card__platform-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: 9999px;
  background: rgba(13, 71, 161, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.promo-card__platform-chip--udompet {
  background: rgba(10, 92, 78, 0.75);
}

.promo-card__platform-chip--hb88 {
  background: rgba(122, 15, 34, 0.75);
}

.promo-card__platform-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.promo-card__platform-chip span {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── HERO PLATFORM QUICK-PILLS ──────────────────────────────── */
.hero-platform-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.hero-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-platform-pill:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-platform-pill__logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.hero-platform-pill span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .hero-platform-pills {
    gap: 8px;
  }
  .hero-platform-pill {
    padding: 6px 12px 6px 8px;
  }
  .hero-platform-pill span {
    font-size: 11px;
  }
}


/* ── SKIP TO CONTENT (accessibility) ───────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--color-blue-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 0;
}
