/* ==========================================================================
   AFA88 — ASIA'S #1 BEST ONLINE GAMING & ENTERTAINMENT AUTHORITY
   Official Brand Color Theme (Extracted from afa88.com):
   - Primary Emerald Gradient: linear-gradient(180deg, #2BC941 0%, #047F00 100%)
   - Core Brand Green: #0CB323 / #2BC941 / #39FF14
   - Royal Gold Accent: #FDB21C / #FFD43B
   - Obsidian Dark Surfaces: #07090C / #0D1117 / #131922 / #18202C
   ========================================================================== */

:root {
  interpolate-size: allow-keywords;

  /* AFA88 Official Palette */
  --afa-green-bright: #2BC941;
  --afa-green-core: #0CB323;
  --afa-green-deep: #047F00;
  --afa-green-neon: #4AE65E;
  --afa-green-glow: rgba(43, 201, 65, 0.35);
  --afa-green-soft: rgba(43, 201, 65, 0.12);

  --afa-gold-bright: #FFD43B;
  --afa-gold-core: #FDB21C;
  --afa-gold-deep: #D98200;
  --afa-gold-glow: rgba(253, 178, 28, 0.32);
  --afa-gold-soft: rgba(253, 178, 28, 0.12);

  /* Dark Obsidian Backgrounds */
  --bg-obsidian: #07090C;
  --bg-deep: #0B0F14;
  --bg-surface: #111720;
  --bg-card: rgba(18, 25, 35, 0.78);
  --bg-card-hover: rgba(23, 33, 46, 0.92);
  --bg-glass: rgba(13, 19, 26, 0.72);

  /* Text Hierarchy */
  --text-white: #FFFFFF;
  --text-light: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Borders & Gradients */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-emerald: rgba(43, 201, 65, 0.32);
  --border-gold: rgba(253, 178, 28, 0.35);
  --grad-emerald: linear-gradient(180deg, #2BC941 0%, #047F00 100%);
  --grad-emerald-horiz: linear-gradient(135deg, #2BC941 0%, #0CB323 50%, #047F00 100%);
  --grad-gold: linear-gradient(135deg, #FFE066 0%, #FDB21C 55%, #D98200 100%);
  --grad-emerald-gold: linear-gradient(90deg, #2BC941 0%, #68E378 45%, #FDB21C 100%);

  /* Typography */
  --font-display: 'Paytone One', 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout & Radii */
  --container-max: 1248px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-card: 0 20px 45px rgba(0, 0, 0, 0.55);
  --shadow-emerald: 0 12px 32px rgba(12, 179, 35, 0.28);
  --shadow-gold: 0 12px 32px rgba(253, 178, 28, 0.22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  @media (prefers-reduced-motion: reduce) {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--bg-obsidian);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(43, 201, 65, 0.09) 0%, transparent 40%),
    radial-gradient(circle at 85% 22%, rgba(253, 178, 28, 0.07) 0%, transparent 38%),
    radial-gradient(circle at 50% 65%, rgba(4, 127, 0, 0.08) 0%, transparent 48%);
  color: var(--text-light);
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

ul,
ol {
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--afa-green-bright);
  outline-offset: 3px;
}

.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;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

/* ==========================================================================
   SCROLL PROGRESS BAR & AMBIENT GLOW
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1000;
  pointer-events: none;
}

.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-emerald-gold);
  box-shadow: 0 0 12px var(--afa-green-bright);
  transition: width 0.1s linear;
}

/* ==========================================================================
   TOP ANNOUNCEMENT / AUTHORITY TICKER BAR
   ========================================================================== */
.authority-topbar {
  background: linear-gradient(90deg, #061509 0%, #0B2610 50%, #061509 100%);
  border-bottom: 1px solid var(--border-emerald);
  font-size: 0.8125rem;
  padding-block: 0.45rem;
  position: relative;
  z-index: 101;
}

.authority-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.authority-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--text-light);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--afa-green-bright);
  box-shadow: 0 0 10px var(--afa-green-bright);
  animation: pulseDot 2s infinite ease-in-out;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

.authority-badges-mini {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.authority-badges-mini span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.authority-badges-mini strong {
  color: var(--afa-gold-bright);
  font-weight: 700;
}

/* ==========================================================================
   STICKY NAVIGATION HEADER (Mirrors surewin1288 sw-nav in AFA88 Theme)
   ========================================================================== */
.afa-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 12, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(43, 201, 65, 0.18);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.afa-header.is-scrolled {
  background: rgba(7, 9, 12, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.afa-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  flex-wrap: nowrap;
}

.afa-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.afa-brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(43, 201, 65, 0.35));
}

.afa-nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: nowrap;
}

.afa-nav-link {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.afa-nav-link:hover,
.afa-nav-link.is-active {
  color: var(--afa-gold-bright);
  background: rgba(43, 201, 65, 0.12);
}

/* Header Right: Regional Flags + Language Dropdown */
.afa-nav-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.afa-header-flags {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.flag-mini-btn {
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid transparent;
  padding: 0;
  flex-shrink: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.flag-mini-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.flag-mini-btn:hover,
.flag-mini-btn.is-active {
  transform: scale(1.12);
  border-color: var(--afa-gold-bright);
}

/* Interactive Language Dropdown */
.afa-lang-dropdown {
  position: relative;
  flex-shrink: 0;
}

.afa-lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(43, 201, 65, 0.22) 0%, rgba(4, 127, 0, 0.32) 100%);
  border: 1px solid var(--afa-green-bright);
  color: var(--text-white);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(12, 179, 35, 0.22);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.afa-lang-pill:hover,
.afa-lang-dropdown.is-open .afa-lang-pill {
  background: var(--grad-emerald);
  border-color: var(--afa-gold-bright);
  box-shadow: 0 6px 18px rgba(43, 201, 65, 0.38);
}

.lang-globe-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: var(--afa-gold-bright);
}

.lang-caret-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.afa-lang-dropdown.is-open .lang-caret-icon {
  transform: rotate(180deg);
}

.afa-lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 175px;
  background: rgba(11, 16, 23, 0.98);
  border: 1px solid var(--afa-green-bright);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 20px rgba(43, 201, 65, 0.2);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.afa-lang-dropdown.is-open .afa-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.58rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: left;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-option-btn:hover {
  background: rgba(43, 201, 65, 0.14);
  color: var(--text-white);
}

.lang-option-btn.is-active {
  background: rgba(43, 201, 65, 0.22);
  color: var(--afa-gold-bright);
  font-weight: 700;
}

.lang-check {
  font-size: 0.8rem;
  color: var(--afa-green-bright);
  opacity: 0;
}

.lang-option-btn.is-active .lang-check {
  opacity: 1;
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

/* ==========================================================================
   HERO VIDEO SHOWCASE (Mirrors surewin1288 sw-hero with AFA88 Video & Theme)
   ========================================================================== */
.afa-hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(43, 201, 65, 0.22);
}

.afa-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.afa-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.05) brightness(0.42);
  transform: scale(1.03);
}

.afa-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(43, 201, 65, 0.18) 0%, rgba(7, 9, 12, 0.72) 60%, rgba(7, 9, 12, 0.96) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.45) 0%, rgba(7, 9, 12, 0.25) 45%, rgba(7, 9, 12, 0.98) 100%);
  z-index: 1;
}

.afa-hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.afa-hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

/* Floating Emblem Badge */
.afa-hero-crest {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(12, 179, 35, 0.16);
  border: 1px solid var(--border-emerald);
  box-shadow: 0 0 25px rgba(43, 201, 65, 0.2);
  backdrop-filter: blur(10px);
  animation: floatY 4.5s ease-in-out infinite;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.afa-hero-crest-badge {
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--grad-gold);
  color: #07090C;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.afa-hero-crest-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.03em;
}

.afa-hero-logo-showcase {
  margin-block: 0.25rem;
}

.afa-hero-logo-img {
  height: clamp(64px, 9vw, 94px);
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 8px 28px rgba(43, 201, 65, 0.45));
}

.afa-hero-kicker {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--afa-gold-bright);
}

.afa-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 4.15rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--text-white);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.75);
}

.afa-hero-title .text-emerald-gold {
  background: var(--grad-emerald-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.afa-hero-desc {
  max-width: 760px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-light);
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.afa-hero-desc strong {
  color: var(--afa-green-neon);
  font-weight: 700;
}

/* Hero Live Authority Telemetry Strip */
.afa-hero-telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

.telemetry-card {
  background: rgba(13, 19, 27, 0.78);
  border: 1px solid rgba(43, 201, 65, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 0.85rem;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.telemetry-card:hover {
  transform: translateY(-4px);
  border-color: var(--afa-gold-core);
  box-shadow: var(--shadow-emerald);
}

.telemetry-val {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  background: var(--grad-emerald-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.telemetry-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Regional Country Selector (Mirrors surewin1288 "Select Your Country") */
.afa-region-selector {
  margin-top: 0.75rem;
  background: rgba(11, 16, 23, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.5rem;
  backdrop-filter: blur(14px);
  width: 100%;
  max-width: 780px;
}

.afa-region-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--afa-gold-bright);
  margin-bottom: 0.85rem;
}

.afa-region-flags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.region-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.region-pill-btn img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.region-pill-btn:hover,
.region-pill-btn.is-active {
  background: rgba(43, 201, 65, 0.18);
  border-color: var(--afa-green-bright);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(43, 201, 65, 0.22);
}

.afa-region-status {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.afa-region-status strong {
  color: var(--afa-green-neon);
}

/* Scroll Down Indicator & Video Controls */
.afa-scroll-down {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.afa-scroll-down:hover {
  color: var(--afa-green-bright);
}

.scroll-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--afa-green-bright);
  animation: bounceDown 2s infinite ease-in-out;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.hero-media-controls {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.media-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(7, 9, 12, 0.78);
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.media-ctrl-btn:hover {
  border-color: var(--afa-green-bright);
  color: var(--afa-green-bright);
  background: rgba(12, 179, 35, 0.15);
}

/* ==========================================================================
   SECTION HEADERS & REUSABLE UTILITIES
   ========================================================================== */
.afa-section {
  padding-block: clamp(4rem, 7vw, 6rem);
  position: relative;
}

.afa-section-alt {
  background: linear-gradient(180deg, rgba(13, 19, 27, 0.75) 0%, rgba(7, 9, 12, 0.95) 100%);
  border-block: 1px solid var(--border-subtle);
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--afa-green-soft);
  border: 1px solid var(--border-emerald);
  color: var(--afa-green-neon);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-title span {
  background: var(--grad-emerald-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
}

/* Scroll Reveal Animation Classes */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  @media (prefers-reduced-motion: reduce) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

/* ==========================================================================
   WHY CHOOSE US — 4 PILLAR CARDS (Mirrors surewin1288 sw-wcu)
   ========================================================================== */
.afa-wcu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.afa-wcu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.afa-wcu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-emerald-gold);
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.afa-wcu-card:hover {
  transform: translateY(-8px);
  border-color: var(--afa-green-bright);
  box-shadow: var(--shadow-emerald);
}

.afa-wcu-card:hover::before {
  opacity: 1;
}

.afa-wcu-icon-wrap {
  width: 84px;
  height: 84px;
  margin-inline: auto;
  margin-bottom: 1.35rem;
  border-radius: 22px;
  background: radial-gradient(circle at 30% 30%, rgba(43, 201, 65, 0.25), rgba(4, 127, 0, 0.08));
  border: 1px solid var(--border-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(12, 179, 35, 0.2);
}

.afa-wcu-icon-wrap img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.afa-wcu-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}

.afa-wcu-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   OFFICIAL AFA88 BRAND SHOWCASE CAROUSEL (Banners from afa88.com)
   ========================================================================== */
.afa-showcase-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-emerald);
  box-shadow: var(--shadow-card);
  background: #05070A;
}

.showcase-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 600;
  min-height: 220px;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(1.02);
  @media (prefers-reduced-motion: reduce) {
    transition: none;
    transform: none;
  }
}

.showcase-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 9, 12, 0.88) 45%, rgba(7, 9, 12, 0.96) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.showcase-caption-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.showcase-badge {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--grad-emerald);
  color: var(--text-white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.showcase-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.showcase-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.showcase-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.5rem;
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.25s ease, background 0.25s ease;
}

.showcase-dot.is-active {
  width: 28px;
  background: var(--afa-green-bright);
}

.showcase-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.showcase-btn:hover {
  background: var(--afa-green-core);
  border-color: var(--afa-green-bright);
}

/* ==========================================================================
   EDITORIAL AUTHORITY INTRO BLOCK (Mirrors surewin-intro-block)
   ========================================================================== */
.afa-intro-block {
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  background: linear-gradient(145deg, rgba(17, 25, 36, 0.92) 0%, rgba(9, 13, 19, 0.96) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-emerald);
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.afa-intro-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--afa-green-bright), var(--afa-gold-core), transparent);
}

.afa-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  color: var(--text-white);
  margin-bottom: 1.35rem;
  line-height: 1.25;
}

.afa-main-title span {
  background: var(--grad-emerald-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.afa-lead-text {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--text-light);
  line-height: 1.8;
  max-width: 920px;
  margin: 0 auto 1.25rem auto;
}

.afa-lead-text strong {
  color: var(--afa-green-neon);
  font-weight: 700;
}

.afa-trust-pills {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-pill {
  background: rgba(43, 201, 65, 0.1);
  border: 1px solid var(--border-emerald);
  color: var(--afa-gold-bright);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   OPERATIONS & FINTECH HUB (Mirrors surewin-operations-hub 2x2 Grid)
   ========================================================================== */
.afa-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.ops-card {
  background: linear-gradient(145deg, rgba(18, 26, 38, 0.9) 0%, rgba(11, 15, 22, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ops-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-emerald);
}

.ops-card h3 {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.9rem;
}

.ops-card h3 span.ops-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--afa-green-soft);
  border: 1px solid var(--border-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.ops-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 1.15rem;
}

.ops-card p strong {
  color: var(--text-white);
}

.ops-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ops-steps li {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.ops-step-num {
  background: var(--grad-emerald);
  color: var(--text-white);
  font-weight: 800;
  font-size: 0.78rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 4px 10px rgba(12, 179, 35, 0.35);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.pay-tag {
  background: rgba(43, 201, 65, 0.08);
  border: 1px solid var(--border-emerald);
  color: var(--text-white);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pay-tag:hover {
  background: rgba(43, 201, 65, 0.2);
  transform: translateY(-2px);
}

/* ==========================================================================
   PLATFORM ECOSYSTEM VERTICALS (Mirrors surewin-premium-grid — NO GAME LINKS)
   ========================================================================== */
.afa-ecosystem-banner {
  margin-bottom: 2.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-emerald);
  box-shadow: var(--shadow-card);
}

.afa-ecosystem-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.afa-premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.ecosystem-card {
  background: linear-gradient(145deg, rgba(18, 25, 36, 0.92) 0%, rgba(10, 14, 20, 0.96) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ecosystem-card:hover {
  transform: translateY(-6px);
  border-color: var(--afa-green-bright);
  box-shadow: var(--shadow-emerald);
}

.ecosystem-card h3 {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
}

.ecosystem-card h3::before {
  content: '◈';
  color: var(--afa-green-bright);
  font-size: 1.25rem;
}

.ecosystem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ecosystem-card p strong {
  color: var(--text-white);
  font-weight: 700;
}

.provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.provider-list li {
  background: rgba(43, 201, 65, 0.1);
  border: 1px solid rgba(43, 201, 65, 0.28);
  color: var(--afa-gold-bright);
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   HELPFUL CONTENT: TAKEAWAYS, TOC & DATA TABLE (Mirrors sw-helpful-content)
   ========================================================================== */
.afa-helpful-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

.afa-takeaways {
  background: linear-gradient(135deg, rgba(17, 25, 36, 0.95) 0%, rgba(10, 15, 22, 0.98) 100%);
  border-left: 4px solid var(--afa-green-bright);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.85rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.afa-takeaways h3 {
  color: var(--afa-gold-bright);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.afa-takeaways ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.afa-takeaways li {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.65;
  padding-left: 1.35rem;
  position: relative;
}

.afa-takeaways li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--afa-green-bright);
  font-weight: 900;
}

.afa-takeaways li strong {
  color: var(--text-white);
}

.afa-toc {
  background: rgba(15, 21, 30, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem;
}

.afa-toc h3 {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.65rem;
}

.afa-toc ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.afa-toc a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--afa-green-neon);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(43, 201, 65, 0.06);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.afa-toc a:hover {
  border-color: var(--afa-green-bright);
  background: rgba(43, 201, 65, 0.14);
  color: var(--afa-gold-bright);
}

.afa-data-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-emerald);
  box-shadow: var(--shadow-card);
  background: rgba(13, 19, 27, 0.95);
}

.afa-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.afa-data-table th {
  background: linear-gradient(90deg, #0CB323 0%, #047F00 100%);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 1.1rem 1.35rem;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.afa-data-table td {
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-light);
  font-size: 0.94rem;
}

.afa-data-table tr:last-child td {
  border-bottom: none;
}

.afa-data-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.afa-data-table td strong {
  color: var(--afa-gold-bright);
}

/* ==========================================================================
   NATIVE EXCLUSIVE FAQ ACCORDION (<details name="afa-faq">)
   ========================================================================== */
.afa-faq-container {
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.afa-faq-item {
  background: rgba(17, 24, 34, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.afa-faq-item[open] {
  border-color: var(--afa-green-bright);
  box-shadow: 0 10px 30px rgba(12, 179, 35, 0.16);
}

.afa-faq-question {
  padding: 1.25rem 1.5rem;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.afa-faq-question:hover {
  color: var(--afa-green-neon);
  background: rgba(43, 201, 65, 0.05);
}

.faq-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(43, 201, 65, 0.12);
  border: 1px solid var(--border-emerald);
  color: var(--afa-green-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.afa-faq-item[open] .faq-indicator {
  transform: rotate(45deg);
  background: var(--afa-green-bright);
  color: #07090C;
}

.afa-faq-item::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.32s cubic-bezier(0.22, 1, 0.36, 1), content-visibility 0.32s allow-discrete;
  @media (prefers-reduced-motion: reduce) {
    transition: none !important;
  }
}

.afa-faq-item[open]::details-content {
  block-size: auto;
}

.afa-faq-answer {
  padding: 0 1.5rem 1.35rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.afa-faq-answer strong {
  color: var(--text-white);
}

/* ==========================================================================
   2026 TRANSPARENCY & COMPLIANCE HUB (Mirrors sw-seo-hub-container)
   ========================================================================== */
.afa-hub-box {
  background: linear-gradient(145deg, #0D131C 0%, #070A0F 100%);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.afa-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.hub-topic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.86rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.hub-topic-btn:hover,
.hub-topic-btn.is-active {
  background: rgba(43, 201, 65, 0.14);
  border-color: var(--afa-green-bright);
  color: var(--afa-gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(12, 179, 35, 0.22);
}

.hub-brief-viewer {
  margin-top: 1.75rem;
  padding: 1.5rem 1.85rem;
  border-radius: var(--radius-lg);
  background: rgba(17, 25, 36, 0.85);
  border: 1px solid var(--border-gold);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-brief-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hub-brief-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--afa-gold-bright);
}

.hub-brief-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--afa-green-soft);
  color: var(--afa-green-neon);
  border: 1px solid var(--border-emerald);
}

.hub-brief-body {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

.hub-verification-bar {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hub-verification-bar span {
  color: var(--afa-green-neon);
  font-weight: 600;
  margin-inline: 0.35rem;
}

/* ==========================================================================
   FOOTER: LICENSING, AWARDS, CERTIFICATIONS & PAYMENTS (Mirrors surewin1288)
   ========================================================================== */
.afa-footer {
  background: #05070A;
  border-top: 1px solid rgba(43, 201, 65, 0.25);
  padding-top: 3.5rem;
}

/* Social Follow Bar */
.afa-social-bar {
  text-align: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.afa-social-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-white);
  margin-bottom: 1.1rem;
}

.afa-social-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.social-badge:hover {
  background: var(--grad-emerald);
  border-color: var(--afa-green-bright);
  transform: translateY(-3px);
  box-shadow: var(--shadow-emerald);
}

.social-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Licensing + Awards Row */
.footer-license-awards {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  padding-block: 2.75rem;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

.license-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(15, 22, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.license-seal {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 201, 65, 0.22), rgba(4, 127, 0, 0.05));
  border: 2px solid var(--afa-gold-core);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
  padding: 0.5rem;
  box-shadow: 0 0 20px rgba(253, 178, 28, 0.2);
}

.license-seal strong {
  font-size: 0.65rem;
  color: var(--afa-gold-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.license-seal span {
  font-size: 0.58rem;
  color: var(--text-light);
}

.license-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--afa-gold-bright);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.license-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.awards-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: center;
}

.award-item {
  background: rgba(15, 22, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.award-item:hover {
  border-color: var(--afa-gold-core);
  transform: translateY(-3px);
}

.award-item img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.award-item span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* 4-Column Trust & Payment Matrix */
.footer-trust-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-col h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.trust-logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.trust-logo-grid img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.trust-logo-grid img:hover {
  opacity: 1;
  transform: scale(1.06);
}

/* Footer Bottom Links & Disclaimers */
.footer-links-row {
  text-align: center;
  padding-block: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-links-row a:hover {
  color: var(--afa-green-bright);
}

.footer-bottom-bar {
  background: #030507;
  padding-block: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-bar p + p {
  margin-top: 0.35rem;
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-emerald);
  color: var(--text-white);
  box-shadow: var(--shadow-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  filter: brightness(1.12);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .afa-wcu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .afa-helpful-layout {
    grid-template-columns: 1fr;
  }
  .footer-license-awards {
    grid-template-columns: 1fr;
  }
  .footer-trust-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .afa-nav-links {
    display: none;
  }
  .afa-nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 9, 12, 0.98);
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-emerald);
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .afa-hero-telemetry {
    grid-template-columns: repeat(2, 1fr);
  }
  .afa-ops-grid,
  .afa-premium-grid,
  .afa-toc ul {
    grid-template-columns: 1fr;
  }
  .authority-badges-mini {
    display: none;
  }
  .afa-header-flags {
    display: none;
  }
  .license-box {
    flex-direction: column;
    text-align: center;
  }
  .hero-media-controls {
    position: static;
    margin-top: 1rem;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .afa-wcu-grid,
  .footer-trust-matrix,
  .awards-trio {
    grid-template-columns: 1fr;
  }
}
