/* ========================================================================
   TableLuck Bistro Base Styles
   Modern, professional, competitive, sophisticated, energetic, trustworthy
   ======================================================================== */

/* ========================================================================
   1. CSS Variables (Design Tokens)
   ======================================================================== */
:root {
  /* Color Palette */
  --color-bg: #050713; /* deep navy/black */
  --color-bg-elevated: #0b1020;
  --color-bg-alt: #101425;

  --color-text: #f5f7ff;
  --color-text-muted: #a5acc7;
  --color-text-soft: #7c84a4;

  --color-primary: #f5c451; /* modern gold */
  --color-primary-soft: rgba(245, 196, 81, 0.15);
  --color-primary-strong: #ffd769;

  --color-accent: #1dd3b0; /* emerald / teal accent */
  --color-accent-soft: rgba(29, 211, 176, 0.16);

  --color-success: #24c18c;
  --color-warning: #ffb547;
  --color-danger: #ff4b5c;

  --color-border-subtle: #1b2237;
  --color-border-strong: #2b3550;

  /* Neutral Grays (on dark) */
  --gray-100: #f7f7fb;
  --gray-200: #e4e6f0;
  --gray-300: #c3c7dd;
  --gray-400: #9ca3c0;
  --gray-500: #787f9b;
  --gray-600: #555c75;
  --gray-700: #363c52;
  --gray-800: #222738;
  --gray-900: #111321;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px - slightly elevated */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing Scale (0–96px) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-7: 1.75rem;  /* 28px */
  --space-8: 2rem;     /* 32px */
  --space-9: 2.25rem;  /* 36px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-14: 3.5rem;  /* 56px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows (subtle digital arena feel) */
  --shadow-xs: 0 0 0 1px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 8px 18px rgba(3, 10, 35, 0.38);
  --shadow-md: 0 14px 35px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 22px 60px rgba(0, 0, 0, 0.75);
  --shadow-glow-primary: 0 0 0 1px rgba(245, 196, 81, 0.5), 0 0 25px rgba(245, 196, 81, 0.35);
  --shadow-glow-accent: 0 0 0 1px rgba(29, 211, 176, 0.5), 0 0 25px rgba(29, 211, 176, 0.35);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-normal: 200ms ease-out;
  --transition-slow: 320ms ease-out;
}

/* Reduced motion friendly transitions */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0.01ms linear;
    --transition-normal: 0.01ms linear;
    --transition-slow: 0.01ms linear;
  }
}

/* ========================================================================
   2. Reset & Normalize
   ======================================================================== */

/* Box sizing reset */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Remove default margins */
body, h1, h2, h3, h4, h5, h6, p,
figure, blockquote, dl, dd,
ul, ol {
  margin: 0;
}

/* Remove default padding on lists */
ul, ol {
  padding: 0;
}

/* Smooth scrolling for modern SPA-like feel */
html {
  scroll-behavior: smooth;
}

/* Improve text rendering */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Images & media responsive by default */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* Remove default button styles */
button {
  border: none;
  padding: 0;
  background: none;
}

/* Remove text decoration on links by default */
a {
  text-decoration: none;
  color: inherit;
}

/* Make sure body always at least viewport height */
body {
  min-height: 100vh;
}

/* ========================================================================
   3. Base Styles
   ======================================================================== */

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: radial-gradient(circle at top, #151b35 0, #050713 55%, #02030a 100%);
}

main {
  display: block;
}

/* Headings - competitive, digital display style */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--line-height-tight);
  letter-spacing: 0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 4vw, var(--font-size-5xl));
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(2rem, 3vw, var(--font-size-4xl));
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, var(--font-size-3xl));
  margin-bottom: var(--space-3);
}

h4 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

h5 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2);
}

h6 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-1);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

strong, b {
  font-weight: 600;
}

em, i {
  font-style: italic;
}

/* Links - subtle yet energetic accent */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-normal), opacity var(--transition-fast);
}

a:hover {
  color: var(--color-primary-strong);
}

a:active {
  opacity: 0.85;
}

/* Lists */
ul, ol {
  margin-left: 1.25rem;
  margin-bottom: var(--space-4);
}

/* Horizontal rule */
hr {
  border: none;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-6) 0;
}

/* Code blocks */
code, pre {
  font-family: var(--font-mono);
}

pre {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: #080b18;
  overflow-x: auto;
}

/* ========================================================================
   4. Accessibility & Focus States
   ======================================================================== */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Remove focus for mouse users but keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* High-visibility focus ring utility (for key CTAs) */
.is-focus-ring-primary:focus-visible {
  outline: 2px solid var(--color-primary);
  box-shadow: var(--shadow-glow-primary);
}

/* Respect reduce motion for all transitions & animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================
   5. Layout Utilities
   ======================================================================== */

/* Centered content with max-width; used for main sections */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    padding-inline: var(--space-6);
  }
}

.section {
  padding-block: var(--space-10);
}

.section--tight {
  padding-block: var(--space-6);
}

/* Flexbox helpers */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.gap-xs {
  gap: var(--space-2);
}

.gap-sm {
  gap: var(--space-3);
}

.gap-md {
  gap: var(--space-4);
}

.gap-lg {
  gap: var(--space-6);
}

/* Grid helpers */
.grid {
  display: grid;
}

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

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

.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Alignment & spacing utilities (minimal set) */
.text-center {
  text-align: center;
}

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

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-6 { margin-top: var(--space-6) !important; }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* Visually hidden but accessible (screen reader only) */
.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;
}

/* ========================================================================
   6. Core Components
   ======================================================================== */

/* Buttons - primary CTAs for registration & tournaments */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #f5c451, #ffde7a);
  color: #1a1202;
  border-color: rgba(255, 246, 214, 0.8);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.55);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd769, #ffe89c);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-primary);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: radial-gradient(circle at top, rgba(245, 196, 81, 0.2), transparent 60%);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.03);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: 0.9rem 1.7rem;
  font-size: var(--font-size-md);
}

.btn[disabled],
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

/* Inputs & forms - consistent paddings and focus */
.input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(3, 7, 23, 0.95);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition:
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-fast);
}

.input::placeholder,
textarea::placeholder {
  color: var(--color-text-soft);
}

.input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(29, 211, 176, 0.5), 0 0 0 6px rgba(29, 211, 176, 0.08);
  outline: none;
}

input[disabled],
select[disabled],
textarea[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

.form-help {
  margin-top: 0.25rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.form-error {
  margin-top: 0.25rem;
  font-size: var(--font-size-xs);
  color: var(--color-danger);
}

/* Card - for tournaments, rankings, testimonials, etc. */
.card {
  background: linear-gradient(145deg, rgba(14, 20, 46, 0.96), rgba(5, 7, 17, 0.98));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(155, 171, 255, 0.08);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(245, 196, 81, 0.11), transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}

.card__header {
  position: relative;
  margin-bottom: var(--space-3);
}

.card__body {
  position: relative;
}

.card--elevated {
  box-shadow: var(--shadow-md);
}

.card--accent {
  border-color: rgba(29, 211, 176, 0.4);
}

/* Tag / Pill - for skill levels, categories, etc. */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 12, 34, 0.95);
  color: var(--gray-300);
}

.tag--primary {
  border-color: rgba(245, 196, 81, 0.7);
  background: rgba(245, 196, 81, 0.14);
  color: var(--color-primary-strong);
}

.tag--accent {
  border-color: rgba(29, 211, 176, 0.7);
  background: rgba(29, 211, 176, 0.1);
  color: #7df3d5;
}

/* Badge - for rankings (e.g. #1, #2) */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 600;
  background: var(--gray-800);
  color: var(--gray-100);
}

.badge--gold {
  background: linear-gradient(135deg, #f5c451, #ffde7a);
  color: #251500;
}

.badge--silver {
  background: linear-gradient(135deg, #d5d8e6, #f5f7ff);
  color: #16192a;
}

.badge--bronze {
  background: linear-gradient(135deg, #d39b6b, #f2c18a);
  color: #201308;
}

/* ========================================================================
   7. Navigation & Header Basics (for multi-page layout)
   ======================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 7, 19, 0.96), rgba(5, 7, 19, 0.82));
  border-bottom: 1px solid rgba(134, 147, 255, 0.18);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar__brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: conic-gradient(from 160deg, #f5c451, #1dd3b0, #f5c451);
  box-shadow: var(--shadow-glow-primary);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: var(--font-size-sm);
}

.navbar__link {
  position: relative;
  padding-block: 0.25rem;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 500;
}

.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5c451, #1dd3b0);
  transition: width var(--transition-normal);
}

.navbar__link:hover {
  color: var(--color-text);
}

.navbar__link:hover::after,
.navbar__link[aria-current="page"]::after {
  width: 100%;
}

.navbar__link[aria-current="page"] {
  color: var(--color-primary-strong);
}

/* Mobile nav toggle placeholder */
.nav-toggle {
  display: none;
}

@media (max-width: 864px) {
  .navbar__links {
    display: none; /* will be replaced by JS-powered menu */
  }

  .nav-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--color-border-strong);
    color: var(--color-text);
    cursor: pointer;
    transition:
      background-color var(--transition-fast),
      border-color var(--transition-fast),
      transform var(--transition-fast);
  }

  .nav-toggle:hover {
    border-color: var(--color-primary);
    background: rgba(245, 196, 81, 0.07);
    transform: translateY(-1px);
  }
}

/* ========================================================================
   8. Hero & Page Scaffolding (for consistent pages)
   ======================================================================== */

.hero {
  padding-block: var(--space-12);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-10);
  align-items: center;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 196, 81, 0.5);
  background: rgba(5, 7, 19, 0.9);
  color: var(--color-primary-strong);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-3);
}

.hero__headline {
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: var(--space-3);
}

.hero__subline {
  font-size: var(--font-size-lg);
  color: var(--color-text-soft);
  max-width: 36rem;
  margin-bottom: var(--space-5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.hero__meta {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__visual {
  position: relative;
  min-height: 260px;
}

.hero__card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(245, 196, 81, 0.15), transparent 60%),
              radial-gradient(circle at bottom right, rgba(29, 211, 176, 0.23), transparent 55%),
              linear-gradient(140deg, #0a0f25, #060716);
  border: 1px solid rgba(142, 156, 255, 0.3);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero__card-inner {
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.07), transparent 55%), #050713;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.hero__stats {
  display: flex;
  gap: var(--space-4);
}

.hero__stat {
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--font-size-lg);
  color: var(--gray-100);
}

.hero__ticker {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px dashed rgba(134, 147, 255, 0.4);
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

@media (max-width: 960px) {
  .hero {
    padding-block: var(--space-8);
  }

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

  .hero__visual {
    min-height: 220px;
  }
}

/* ========================================================================
   9. Tables & Rankings
   ======================================================================== */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table thead {
  background: rgba(20, 26, 58, 0.96);
}

.table th,
.table td {
  padding: 0.65rem 0.9rem;
  text-align: left;
}

.table th {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
  border-bottom: 1px solid rgba(129, 140, 248, 0.5);
}

.table tbody tr:nth-child(odd) {
  background: rgba(6, 9, 27, 0.86);
}

.table tbody tr:nth-child(even) {
  background: rgba(10, 14, 37, 0.86);
}

.table tbody tr:hover {
  background: rgba(29, 211, 176, 0.06);
}

.table tbody td {
  border-bottom: 1px solid rgba(17, 24, 64, 0.9);
}

/* Highlight top positions */
.table--rankings tbody tr:nth-child(1) {
  box-shadow: inset 3px 0 0 #f5c451;
}

.table--rankings tbody tr:nth-child(2) {
  box-shadow: inset 3px 0 0 #d5d8e6;
}

.table--rankings tbody tr:nth-child(3) {
  box-shadow: inset 3px 0 0 #d39b6b;
}

/* ========================================================================
   10. Status & Feedback
   ======================================================================== */

.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.alert--info {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #c6dbff;
}

.alert--success {
  background: rgba(36, 193, 140, 0.12);
  border: 1px solid rgba(36, 193, 140, 0.4);
  color: #b7f1d6;
}

.alert--warning {
  background: rgba(255, 181, 71, 0.14);
  border: 1px solid rgba(255, 181, 71, 0.6);
  color: #ffe6b3;
}

.alert--danger {
  background: rgba(255, 75, 92, 0.14);
  border: 1px solid rgba(255, 75, 92, 0.6);
  color: #ffd1d7;
}

/* ========================================================================
   11. Misc Utilities
   ======================================================================== */

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(255, 75, 92, 0.18);
  color: #ffb7c0;
}

.badge-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff4b5c;
  box-shadow: 0 0 0 4px rgba(255, 75, 92, 0.3);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.chip--selected {
  border-color: var(--color-primary);
  background: rgba(245, 196, 81, 0.14);
  color: var(--color-primary-strong);
}

/* Muted subtle divider line */
.divider {
  border: none;
  border-top: 1px dashed rgba(148, 163, 255, 0.35);
  margin-block: var(--space-6);
}

/* Cards for FAQ accordion headings (structure only; behavior via JS) */
.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 255, 0.3);
  background: rgba(6, 9, 27, 0.96);
  padding: var(--space-4);
}

.faq-item + .faq-item {
  margin-top: var(--space-3);
}

/* Footer basics */
.site-footer {
  border-top: 1px solid rgba(134, 147, 255, 0.3);
  background: radial-gradient(circle at top, rgba(22, 27, 52, 0.9), #050713 65%);
  padding-block: var(--space-6);
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

.site-footer a:hover {
  color: var(--color-primary-strong);
}

/* End of base.css */
