/* ============================================
   Whitelabel EventHub V2 — Hero + Overrides

   Self-contained: maps --td-* tokens to Bootstrap
   variables as defaults. If enhancements.css is
   loaded (TopDeck), it overrides these. On WL hubs,
   these fall back to each WL theme's --bs-* values.
   ============================================ */

:root {
  /* Accent — theme primary color */
  --td-accent: var(--bs-primary, #6ca6ea);
  --td-accent-subtle: rgba(var(--bs-primary-rgb, 108, 166, 234), 0.12);
  --td-accent-glow: rgba(var(--bs-primary-rgb, 108, 166, 234), 0.25);

  /* Surfaces — layered from darkest to lightest
     Note: Around/TopDeck theme inverts Bootstrap's gray scale
     (gray-100 = darkest, gray-900 = lightest) */
  --td-surface-1: var(--bs-body-bg, #0d1117);
  --td-surface-2: var(--bs-gray-100, #161b22);
  --td-surface-3: var(--bs-gray-200, #1c2128);
  --td-surface-elevated: var(--bs-gray-300, #21262d);

  /* Text hierarchy (inverted scale: gray-900 = lightest text) */
  --td-text-primary: var(--bs-gray-900, #f0f3f6);
  --td-text-secondary: var(--bs-body-color, #9ea7b3);
  --td-text-muted: var(--bs-gray-500, #656d76);

  /* Borders */
  --td-border-subtle: rgba(255, 255, 255, 0.06);
  --td-border-default: rgba(255, 255, 255, 0.10);
  --td-border-emphasis: rgba(255, 255, 255, 0.16);

  /* Shadows */
  --td-shadow-sm: 0 1px 2px rgba(0,0,0,0.24), 0 0 1px rgba(0,0,0,0.12);
  --td-shadow-md: 0 4px 12px rgba(0,0,0,0.32), 0 0 1px rgba(0,0,0,0.12);
  --td-shadow-lg: 0 8px 24px rgba(0,0,0,0.40), 0 0 1px rgba(0,0,0,0.12);
  --td-glow-accent: 0 0 20px rgba(var(--bs-primary-rgb, 108, 166, 234), 0.15);

  /* Radius */
  --td-radius-xs: 3px;
  --td-radius-sm: 5px;
  --td-radius-lg: 12px;

  /* Spacing */
  --td-space-3: 12px;

  /* Typography */
  --td-font-mono: 'Berkeley Mono', 'SF Mono', 'Cascadia Code', 'Roboto Mono', monospace;

  /* Animation */
  --td-duration-fast: 120ms;
  --td-duration-base: 200ms;
  --td-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Focus */
  --td-focus-ring: 0 0 0 3px rgba(var(--bs-primary-rgb, 108, 166, 234), 0.35);
}

/* ── Hero Section ── */
.wl-hero {
  background-size: cover;
  background-position: center;
  padding: 2.5rem 0;
}

.wl-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wl-hero-logo {
  max-height: 100px;
  width: auto;
}

.wl-hero-title {
  color: #fff;
  margin: 0;
  font-size: 1.75rem;
}

.wl-hero-tagline {
  color: rgba(255, 255, 255, 0.8);
  margin: 0.25rem 0 0;
  font-size: 1rem;
}

/* ── Whitelabel Overrides ── */

/* Hide GameHub breadcrumb (whitelabel doesn't use it) */
.gh-breadcrumb {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .wl-hero {
    padding: 1.5rem 0;
  }
  .wl-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .wl-hero-logo {
    display: none;
  }
  .wl-hero-title {
    font-size: 1.35rem;
  }
  .wl-hero-tagline {
    font-size: 0.9rem;
  }
}
