/* ─── LeagueForce — Global Stylesheet ─────────────────────────────────────── */
/* Colors: Deep Navy (#070B16) + Crimson (#C5223A) — Patriotic Premium Theme  */

/* ─── CSS Variables ─────────────────────────────────────────────────────── */
:root {
  --gold: #C5223A;
  --gold-hover: #9E1C2F;
  --gold-light: rgba(197, 34, 54, 0.12);
  --gold-glow: rgba(197, 34, 54, 0.25);
  --black: #070B16;
  --black-light: #0C1121;
  --black-lighter: #151C2E;
  --black-card: #0E1424;
  --white: #ECF0F6;
  --blue: #3B82F6;
  --blue-hover: #60A5FA;
  --gray-50: #080C16;
  --gray-100: #111828;
  --gray-200: #1C2438;
  --gray-300: #2A3450;
  --gray-400: #4A5578;
  --gray-500: #7A8599;
  --gray-600: #A0AAB8;
  --gray-700: #C0C8D4;
  --gray-800: #DCE2EA;
  --gray-900: #ECF0F6;
  --success: #22C55E;
  --success-bg: rgba(34, 197, 94, 0.15);
  --warning: #EAB308;
  --warning-bg: rgba(234, 179, 8, 0.15);
  --danger: #EF4444;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --info: #3B82F6;
  --info-bg: rgba(59, 130, 246, 0.15);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.7), 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(197, 34, 54, 0.25);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-full: 6px;
  --transition: 150ms ease-in-out;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --border: #1C2438;

  /* Legacy aliases for JS-generated content using var(--orange) / var(--navy) */
  --orange: #C5223A;
  --orange-hover: #9E1C2F;
  --orange-light: rgba(197, 34, 54, 0.12);
  --navy: #070B16;
  --navy-light: #0C1121;
  --navy-lighter: #151C2E;

  /* Accent blue for secondary highlights */
  --accent-blue: #1E3F6E;
  --accent-blue-light: rgba(30, 63, 110, 0.15);
}

/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background-color: var(--black);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ─── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-family: 'Oswald', var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.text-orange { color: var(--gold); }
.text-navy { color: var(--white); }
.text-muted { color: var(--gray-500); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 640px;
}

.container-md {
  max-width: 768px;
}

.container-lg {
  max-width: 1024px;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 60px;
}

.page-content {
  flex: 1;
  padding: 2rem 0;
}

/* ─── Navbar ────────────────────────────────────────────────────────────── */
.navbar {
  background: var(--black-light);
  color: var(--white);
  padding: 0;
  box-shadow: 0 1px 0 rgba(197, 34, 54, 0.15), var(--shadow-md);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 34, 54, 0.1);
  overflow: visible;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.navbar-brand .brand-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.navbar-brand .brand-highlight {
  color: var(--gold);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-nav a {
  color: rgba(255, 255, 255, 0.65);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
  text-decoration: none;
}

.navbar-nav a:hover {
  color: var(--gold);
  background: rgba(197, 34, 54, 0.08);
}

.navbar-nav a.active {
  color: var(--black);
  background: var(--gold);
  font-weight: 600;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
}

.navbar-nav-mobile {
  display: none;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 1001;
}

.mobile-nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-nav-open {
  overflow: hidden;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-primary:hover:not(:disabled) {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: var(--black-lighter);
  color: var(--white);
  border-color: var(--gray-300);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--gray-200);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover:not(:disabled) {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-1px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--white);
  border-color: var(--gray-300);
}

.btn-outline-navy:hover:not(:disabled) {
  background: var(--white);
  color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: transparent;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--gray-100);
  color: var(--white);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}

.btn-danger:hover:not(:disabled) {
  background: #DC2626;
  border-color: #DC2626;
}

.btn-success {
  background: var(--success);
  color: var(--black);
  border-color: var(--success);
}

.btn-warning {
  background: var(--warning);
  color: var(--black);
  border-color: var(--warning);
}

.btn-google {
  background: var(--gray-100);
  color: var(--gray-800);
  border-color: var(--gray-300);
  font-weight: 500;
}

.btn-google:hover:not(:disabled) {
  background: var(--gray-200);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.btn-google img {
  width: 20px;
  height: 20px;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.813rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ─── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--gray-200);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h3,
.card-header h4 {
  margin: 0;
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.card-clickable:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  cursor: pointer;
}

/* ─── Forms ─────────────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.form-label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--black-light);
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-control.error {
  border-color: var(--danger);
}

.form-control.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible {
  display: block;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C5223A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

select.form-control option {
  background: var(--black-light);
  color: var(--gray-800);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--gray-500);
  font-size: 0.85rem;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--gray-200);
}

/* ─── Alerts ────────────────────────────────────────────────────────────── */
.alert {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-success {
  background: var(--success-bg);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-warning {
  background: var(--warning-bg);
  color: #FACC15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.alert-danger {
  background: var(--danger-bg);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-info {
  background: var(--info-bg);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.alert .alert-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.6;
  color: inherit;
}

.alert .alert-close:hover {
  opacity: 1;
}

/* ─── Badges ────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  line-height: 1.4;
  white-space: nowrap;
}

.badge-orange {
  background: var(--gold-light);
  color: var(--gold);
}

.badge-navy {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.badge-success {
  background: var(--success-bg);
  color: #4ADE80;
}

.badge-warning {
  background: var(--warning-bg);
  color: #FACC15;
}

.badge-danger {
  background: var(--danger-bg);
  color: #F87171;
}

.badge-info {
  background: var(--info-bg);
  color: #60A5FA;
}

/* ─── Tables ────────────────────────────────────────────────────────────── */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--black-card);
  font-size: 0.9rem;
}

.table thead {
  background: var(--black-lighter);
  color: var(--gold);
}

.table thead th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-bottom: 2px solid rgba(197, 34, 54, 0.3);
}

.table tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition);
}

.table tbody tr:hover {
  background: rgba(197, 34, 54, 0.04);
}

.table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  color: var(--gray-700);
}

.table td .actions {
  display: flex;
  gap: 0.5rem;
}

/* ─── Modal ─────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 200ms ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--black-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 200ms ease;
  border: 1px solid var(--gray-200);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ─── Toast Notifications ───────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 80px;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: var(--black-card);
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 420px;
  font-size: 0.9rem;
  animation: slideInRight 300ms ease;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gray-400);
}

.toast-success { border-left-color: var(--success); }
.toast-warning { border-left-color: var(--warning); }
.toast-danger { border-left-color: var(--danger); }
.toast-info { border-left-color: var(--info); }

.toast .toast-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--gray-500);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ─── Hero Section ──────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 50%, var(--black-lighter) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--gray-600);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── League Grid ───────────────────────────────────────────────────────── */
.league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.league-card {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

.league-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.league-card-banner {
  height: 120px;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.league-card-body {
  padding: 1.25rem;
}

.league-card-body h4 {
  margin-bottom: 0.5rem;
}

.league-card-body p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.league-card-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.league-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ─── Stats Grid ────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--gray-200);
}

.stat-card .stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* ─── Tabs ──────────────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
  gap: 0;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-500);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tab:hover {
  color: var(--gray-700);
}

.tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ─── Wallet ────────────────────────────────────────────────────────────── */
.wallet {
  background: linear-gradient(135deg, var(--black-light), var(--black-lighter));
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 34, 54, 0.2);
}

.wallet::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.15), transparent 70%);
  border-radius: 50%;
}

.wallet-balance {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--gold);
}

.wallet-label {
  font-size: 0.9rem;
  opacity: 0.6;
}

.wallet-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

/* ─── Schedule ──────────────────────────────────────────────────────────── */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition);
}

.schedule-item:hover {
  border-color: rgba(197, 34, 54, 0.3);
}

.schedule-date {
  text-align: center;
  min-width: 60px;
}

.schedule-date .month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
}

.schedule-date .day {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.schedule-details {
  flex: 1;
}

.schedule-details .matchup {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.schedule-details .meta {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.schedule-score {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
}

/* ─── Store ─────────────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray-100);
}

.product-card-body {
  padding: 1rem;
}

.product-card-body h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.product-card-body .price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--black-light);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(197, 34, 54, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h5 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--gold);
}

/* ─── Auth Pages (Premium) ──────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Animated gradient orb — top-left */
.auth-page::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  animation: authOrb1 20s ease-in-out infinite;
  pointer-events: none;
}

/* Animated gradient orb — bottom-right */
.auth-page::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  animation: authOrb2 25s ease-in-out infinite;
  pointer-events: none;
}

@keyframes authOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  33% { transform: translate(60px, 40px) scale(1.1); opacity: 1; }
  66% { transform: translate(-30px, 60px) scale(0.95); opacity: 0.7; }
}

@keyframes authOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  33% { transform: translate(-50px, -30px) scale(1.05); opacity: 1; }
  66% { transform: translate(40px, -50px) scale(0.9); opacity: 0.6; }
}

/* Glass card */
.auth-card {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-radius: 24px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(197, 34, 54, 0.12);
}

/* Gold accent line on top */
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 0 0 4px 4px;
}

.auth-card .auth-brand {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-card .auth-brand h2 {
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

.auth-card .auth-brand .auth-brand-logo {
  height: 128px;
  width: 128px;
  max-width: 128px;
  margin: 0 auto 1.5rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(197, 34, 54, 0.5))
         drop-shadow(0 0 60px rgba(197, 34, 54, 0.15));
  animation: authLogoGlow 4s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.auth-card .auth-brand .auth-brand-logo:hover {
  transform: scale(1.08);
}

@keyframes authLogoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 30px rgba(197, 34, 54, 0.5))
           drop-shadow(0 0 60px rgba(197, 34, 54, 0.15));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(197, 34, 54, 0.65))
           drop-shadow(0 0 80px rgba(197, 34, 54, 0.25));
  }
}

.auth-card .auth-brand p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0.75rem 0 0;
  letter-spacing: 0.02em;
}

/* Premium form controls inside auth card */
.auth-card .form-label {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-card .form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.auth-card .form-control:hover {
  border-color: rgba(197, 34, 54, 0.3);
}

.auth-card .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 34, 54, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.auth-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.auth-card .btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #9E1C2F 100%);
  border: none;
  border-radius: 12px;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(197, 34, 54, 0.3);
  transition: all 0.3s ease;
}

.auth-card .btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 34, 54, 0.45);
}

.auth-card .btn-google {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-card .btn-google:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.auth-card .form-divider {
  color: rgba(255, 255, 255, 0.3);
}

.auth-card .form-divider::before,
.auth-card .form-divider::after {
  border-color: rgba(255, 255, 255, 0.08);
}

/* ─── Empty States ──────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--gray-500);
}

.empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.empty-state p {
  max-width: 400px;
  margin: 0 auto 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ─── Loading / Spinner ─────────────────────────────────────────────────── */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 600ms linear infinite;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Pagination ────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination button {
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border: 1px solid var(--gray-200);
  background: var(--black-card);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
}

.pagination button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pagination button.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ─── Utility Classes ───────────────────────────────────────────────────── */
.hidden { display: none; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.w-full { width: 100%; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }

/* ─── Responsive ────────────────────────────────────────────────────────── */

/* Tablets and below */
@media (max-width: 768px) {
  html { font-size: 15px; }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .navbar .container {
    flex-wrap: wrap;
  }

  .navbar-toggle {
    display: block;
    position: relative;
    z-index: 1003;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .league-grid {
    grid-template-columns: 1fr;
  }

  .schedule-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .auth-card {
    padding: 2rem 1.5rem;
    max-width: 100%;
    border-radius: 20px;
  }

  .modal {
    width: 95%;
    margin: 1rem;
  }

  .wallet-balance {
    font-size: 2.25rem;
  }

  .wallet-actions {
    flex-direction: column;
  }

  .wallet-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flex.gap-3 {
    flex-direction: column;
    gap: 0 !important;
  }

  .page-content {
    padding: 1.25rem 0;
  }

  .card-body {
    padding: 1rem;
  }

  .card-header {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .tabs {
    gap: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }

  .tab {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .toast-container {
    right: 0.75rem;
    left: 0.75rem;
  }

  .toast {
    min-width: auto;
    max-width: 100%;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  html { font-size: 14px; }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .navbar .container {
    height: 56px;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .auth-card {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }

  .wallet {
    padding: 1.5rem;
  }

  .wallet-balance {
    font-size: 2rem;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Touch-friendly targets */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }

  .btn-sm {
    min-height: 36px;
  }

  .navbar-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .platform-nav-page .navbar-nav button {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .tab {
    min-height: 44px;
  }

  .form-control {
    min-height: 44px;
    font-size: 16px; /* prevent zoom on iOS */
  }

  .pagination button {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Ensure no horizontal overflow on any screen */
html, body {
  overflow-x: hidden;
}

/* Print styles */
@media print {
  .navbar, .footer, .navbar-toggle, .btn, .toast-container { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border: 1px solid #ccc; box-shadow: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LEAGUE HOMEPAGE STYLES (tenant subdomain pages)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Navbar Brand Logo ─────────────────────────────────────────────────── */
.navbar-brand-logo {
  height: 30px;
  width: 30px;
  max-width: 30px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

/* ─── LeagueForce Main Logo ─────────────────────────────────────────────── */
.lf-logo {
  height: 42px;
  width: 42px;
  max-width: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-brand .lf-logo {
  height: 42px;
  width: 42px;
  max-width: 42px;
}

.auth-brand .lf-logo {
  height: 128px;
  width: 128px;
  max-width: 128px;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 30px rgba(197, 34, 54, 0.5))
         drop-shadow(0 0 60px rgba(197, 34, 54, 0.15));
  animation: authLogoGlow 4s ease-in-out infinite;
}

.footer-brand .lf-logo {
  height: 24px;
  width: 24px;
  max-width: 24px;
  margin-bottom: 10px;
  filter: drop-shadow(0 3px 12px rgba(197, 34, 54, 0.3));
}

.lf-404-logo {
  height: 96px;
  width: 96px;
  max-width: 96px;
  margin: 0 auto 1.5rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(197, 34, 54, 0.5));
}

.hp-powered-by .lf-logo-sm {
  height: 16px;
  width: 16px;
  max-width: 16px;
  vertical-align: middle;
  margin-right: 5px;
  filter: drop-shadow(0 2px 6px rgba(197, 34, 54, 0.35));
}

/* ─── Season Alert Banner ───────────────────────────────────────────────── */
.season-alert {
  background: linear-gradient(90deg, var(--gold), var(--gold-hover));
  color: var(--black);
  padding: 0.75rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  z-index: 999;
}

.season-alert-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.season-alert-icon {
  font-size: 1.2rem;
}

.season-alert-text {
  flex: 0 1 auto;
}

.season-alert-btn {
  background: var(--black) !important;
  color: var(--gold) !important;
  border-color: var(--black) !important;
  font-size: 0.8rem !important;
  padding: 0.35rem 1rem !important;
}

.season-alert-btn:hover {
  background: var(--black-light) !important;
  transform: translateY(-1px);
}

/* ─── Homepage Hero ─────────────────────────────────────────────────────── */
.hp-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: var(--black);
  overflow: hidden;
  text-align: center;
}

.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(197, 34, 54, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(197, 34, 54, 0.07) 0%, transparent 55%);
  pointer-events: none;
}

.hp-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 34, 54, 0.25), transparent);
}

.hp-hero-content {
  position: relative;
  z-index: 1;
}

.hp-hero-logo {
  height: 72px;
  width: 72px;
  max-width: 72px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 24px rgba(197, 34, 54, 0.5));
  animation: authLogoGlow 4s ease-in-out infinite;
  border-radius: 50%;
  border: 2px solid rgba(197, 34, 54, 0.25);
  padding: 4px;
  background: rgba(0, 0, 0, 0.4);
}

.hp-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--white) 30%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hp-hero-tagline {
  font-size: 1.15rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hp-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hp-hero { padding: 3rem 0 2.5rem; }
  .hp-hero h1 { font-size: 2rem; }
  .hp-hero-tagline { font-size: 1rem; }
  .hp-hero-logo { height: 56px; width: 56px; max-width: 56px; }
}

/* ─── Landing Page (Root) ───────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
  padding: 2rem;
}

.lp-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  animation: authOrb1 20s ease-in-out infinite;
  pointer-events: none;
}

.lp-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  animation: authOrb2 25s ease-in-out infinite;
  pointer-events: none;
}

.lp-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.lp-logo {
  height: 200px;
  width: 200px;
  max-width: 200px;
  object-fit: contain;
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 0 40px rgba(197, 34, 54, 0.55))
         drop-shadow(0 0 80px rgba(197, 34, 54, 0.2));
  animation: authLogoGlow 4s ease-in-out infinite;
  transition: transform 0.5s ease;
}

.lp-logo:hover {
  transform: scale(1.08);
}

.lp-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--white) 20%, var(--gold) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero h1 span {
  -webkit-text-fill-color: var(--gold);
}

.lp-hero-sub {
  font-size: 1.25rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.lp-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.lp-actions .btn-primary {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 14px;
  box-shadow: 0 4px 25px rgba(197, 34, 54, 0.35);
}

.lp-actions .btn-outline {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* Features Grid */
.lp-features {
  padding: 5rem 0;
  background: var(--black-light);
  position: relative;
}

.lp-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 34, 54, 0.2), transparent);
}

.lp-features-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.lp-features-heading h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.lp-features-heading p {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.lp-feature-card {
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.lp-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lp-feature-card:hover {
  border-color: rgba(197, 34, 54, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(197, 34, 54, 0.08);
}

.lp-feature-card:hover::before {
  opacity: 1;
}

.lp-feature-icon {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  display: block;
  line-height: 1;
}

.lp-feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.lp-feature-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Social Proof Strip */
.lp-social-proof {
  padding: 3rem 0;
  background: var(--black);
  text-align: center;
  position: relative;
}

.lp-social-proof::before,
.lp-social-proof::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 34, 54, 0.15), transparent);
}

.lp-social-proof::before { top: 0; }
.lp-social-proof::after { bottom: 0; }

.lp-stats-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.lp-stat {
  text-align: center;
}

.lp-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Oswald', var(--font-sans);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.lp-stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* CTA Section */
.lp-cta {
  padding: 5rem 0;
  text-align: center;
  background: var(--black-light);
  position: relative;
  overflow: hidden;
}

.lp-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.lp-cta-content {
  position: relative;
  z-index: 1;
}

.lp-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.lp-cta p {
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* Landing Responsive */
@media (max-width: 768px) {
  .lp-hero h1 { font-size: 2.5rem; }
  .lp-hero-sub { font-size: 1.05rem; }
  .lp-logo { height: 140px; width: 140px; max-width: 140px; }
  .lp-features-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .lp-feature-card { padding: 2rem 1.5rem; }
  .lp-stats-row { gap: 2.5rem; }
  .lp-cta h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .lp-hero h1 { font-size: 2rem; }
  .lp-logo { height: 110px; width: 110px; max-width: 110px; }
  .lp-actions .btn-primary,
  .lp-actions .btn-outline { width: 100%; }
  .lp-stats-row { gap: 2rem; }
  .lp-stat-number { font-size: 2rem; }
}

/* ─── Homepage Sections ─────────────────────────────────────────────────── */
.hp-section {
  padding: 2.5rem 0;
}

.hp-section-alt {
  background: var(--black-light);
}

.hp-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hp-section-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

/* ─── Quick Action Cards ────────────────────────────────────────────────── */
.hp-quick-actions {
  padding: 2rem 0;
  background: var(--black);
}

.hp-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.hp-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all 200ms ease;
  border: 1px solid var(--border);
  background: var(--black-card);
  cursor: pointer;
}

.hp-action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.hp-action-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.hp-action-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.hp-action-sub {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.hp-action-register:hover { border-color: var(--gold); background: rgba(197, 34, 54, 0.08); }
.hp-action-schedule:hover { border-color: var(--info); background: rgba(59, 130, 246, 0.08); }
.hp-action-store:hover { border-color: var(--success); background: rgba(34, 197, 94, 0.08); }

/* ─── Upcoming Games ────────────────────────────────────────────────────── */
.hp-game-item {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  cursor: pointer;
}

.hp-game-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.hp-game-arrow {
  font-size: 1.25rem;
  color: var(--gray-400);
  font-weight: 700;
  transition: color var(--transition);
}

.hp-game-item:hover .hp-game-arrow {
  color: var(--gold);
}

/* ─── Announcements ─────────────────────────────────────────────────────── */
.hp-announcements {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hp-announcement-card {
  transition: all var(--transition);
}

.hp-announcement-card:hover {
  box-shadow: var(--shadow-md);
}

.hp-announcement-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hp-announcement-header h4 {
  margin: 0 0 0.25rem 0;
}

.hp-announcement-date {
  color: var(--gray-400);
  font-size: 0.8rem;
  white-space: nowrap;
}

.hp-announcement-body {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Store Highlight Banner ────────────────────────────────────────────── */
.hp-store-banner {
  background: linear-gradient(135deg, var(--black-card) 0%, var(--black-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hp-store-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hp-store-banner-text {
  flex: 1;
  min-width: 200px;
  position: relative;
  z-index: 1;
}

.hp-store-tag {
  display: inline-block;
  background: rgba(197, 34, 54, 0.15);
  color: var(--gold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hp-store-banner-text h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hp-store-banner-text p {
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.hp-store-products {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.hp-product-card {
  flex: 0 0 140px;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 200ms ease;
  box-shadow: var(--shadow);
}

.hp-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.hp-product-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
  background: var(--black-lighter);
  display: block;
}

.hp-product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.hp-product-info {
  padding: 0.625rem;
}

.hp-product-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-product-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
}

/* ─── Powered By Badge ──────────────────────────────────────────────────── */
.hp-powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: all var(--transition);
}

.hp-powered-by:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gray-700);
}

.hp-powered-by strong {
  color: var(--white);
  font-weight: 700;
}

.footer-contact-info {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--gray-500);
}

/* ─── Tenant Admin Dashboard ────────────────────────────────────────────── */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-card-link {
  text-decoration: none;
  color: inherit;
}

.admin-card-link .card {
  transition: all 200ms ease;
  border: 1px solid var(--border);
}

.admin-card-link:hover .card {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.admin-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.admin-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.admin-card-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ─── Branding Settings Form ────────────────────────────────────────────── */
.settings-section {
  margin-bottom: 2rem;
}

.settings-section h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.color-picker-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.color-picker-wrap input[type="color"] {
  width: 48px;
  height: 48px;
  padding: 2px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--black-card);
  cursor: pointer;
}

.logo-preview {
  max-height: 80px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* ─── Homepage Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hp-actions-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hp-action-card {
    flex-direction: row;
    text-align: left;
    padding: 1.25rem;
    gap: 1rem;
  }

  .hp-action-icon {
    font-size: 2rem;
    margin-bottom: 0;
  }

  .hp-store-banner {
    flex-direction: column;
    padding: 1.75rem;
    text-align: center;
  }

  .hp-store-products {
    width: 100%;
    justify-content: center;
  }

  .hp-product-card {
    flex: 0 0 120px;
  }

  .season-alert-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hp-store-products {
    justify-content: flex-start;
  }

  .hp-product-card {
    flex: 0 0 110px;
  }

  .hp-product-thumb {
    height: 85px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LANDING PAGE — Root Domain Homepage
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.lp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(197,34,54,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(197,34,54,0.08) 0%, transparent 50%),
    var(--black);
  z-index: 0;
}

.lp-hero-bg::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(197,34,54,0.06) 0%, transparent 60%);
  border-radius: 50%;
  animation: lpOrb1 30s ease-in-out infinite;
}

.lp-hero-bg::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(197,34,54,0.05) 0%, transparent 60%);
  border-radius: 50%;
  animation: lpOrb2 25s ease-in-out infinite;
}

@keyframes lpOrb1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(80px, 60px); }
}
@keyframes lpOrb2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-60px, -80px); }
}

.lp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lp-hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 40px rgba(197,34,54,0.5));
  animation: lpLogoGlow 4s ease-in-out infinite;
}

@keyframes lpLogoGlow {
  0%, 100% { filter: drop-shadow(0 0 40px rgba(197,34,54,0.5)); }
  50%      { filter: drop-shadow(0 0 60px rgba(197,34,54,0.7)); }
}

.lp-hero-title {
  font-size: 4rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.lp-hero-sub {
  font-size: 1.2rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.lp-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.lp-trust-bar {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ─── Sections ──────────────────────────────────────────────────────────── */
.lp-section {
  padding: 5rem 0;
}

.lp-section-alt {
  background: var(--black-light);
}

.lp-section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.lp-section-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Features Grid ─────────────────────────────────────────────────────── */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lp-feature-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 200ms ease;
}

.lp-feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.lp-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.lp-feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.lp-feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ─── Steps ─────────────────────────────────────────────────────────────── */
.lp-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.lp-step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
}

.lp-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #9E1C2F);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 20px rgba(197,34,54,0.3);
}

.lp-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.lp-step p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.lp-step-arrow {
  font-size: 2rem;
  color: var(--gold);
  margin-top: 0.75rem;
  font-weight: 700;
}

/* ─── Pricing Grid ──────────────────────────────────────────────────────── */
.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.lp-price-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 300ms ease;
}

.lp-price-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.lp-price-popular {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-gold);
  transform: scale(1.04);
}

.lp-price-popular:hover {
  transform: scale(1.04) translateY(-4px);
}

.lp-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #9E1C2F);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
}

.lp-price-badge {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.lp-price-amount {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.lp-price-dollar {
  font-size: 1.8rem;
  vertical-align: super;
  margin-right: 2px;
}

.lp-price-period {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 400;
}

.lp-price-desc {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.lp-price-features {
  text-align: left;
  margin-bottom: 2rem;
}

.lp-price-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.lp-price-features li:last-child {
  border-bottom: none;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.lp-footer {
  background: var(--black-light);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.lp-footer-brand {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-footer-tagline {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.lp-footer-links {
  display: flex;
  gap: 1.5rem;
}

.lp-footer-links a {
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.lp-footer-links a:hover {
  color: var(--gold);
}

.lp-footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SIGNUP WIZARD OVERLAY
   ═══════════════════════════════════════════════════════════════════════════════ */

.wizard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 9999;
  overflow-y: auto;
  padding: 2rem;
}

.wizard-overlay.active {
  display: flex;
}

.wizard-container {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  position: relative;
  padding: 2.5rem;
  margin: 2rem 0;
  animation: fadeUp 0.4s ease;
  box-shadow: var(--shadow-xl);
}

.wizard-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.wizard-close:hover {
  background: var(--gray-100);
  color: var(--white);
}

/* ─── Progress ──────────────────────────────────────────────────────────── */
.wizard-progress {
  height: 4px;
  background: var(--gray-200);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #E03050);
  border-radius: 4px;
  transition: width 400ms ease;
  width: 20%;
}

.wizard-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 0.25rem;
}

.wizard-step-dot {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
  transition: all var(--transition);
}

.wizard-step-dot span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  transition: all var(--transition);
}

.wizard-step-dot.active span {
  background: var(--gold);
  color: var(--black);
}

.wizard-step-dot.active {
  color: var(--gold);
}

.wizard-step-dot.completed span {
  background: var(--success);
  color: var(--white);
}

.wizard-step-dot.completed {
  color: var(--success);
}

/* ─── Steps ─────────────────────────────────────────────────────────────── */
.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeUp 0.3s ease;
}

.wizard-step-header {
  text-align: center;
  margin-bottom: 2rem;
}

.wizard-step-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.wizard-step-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.wizard-step-header p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ─── Wizard Plan Card ──────────────────────────────────────────────────── */
.wizard-plan-card {
  background: rgba(197,34,54,0.06);
  border: 1px solid rgba(197,34,54,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.wizard-plan-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.wizard-plan-price {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

.wizard-plan-price span {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 400;
}

.wizard-plan-features {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ─── Wizard Actions ────────────────────────────────────────────────────── */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

/* ─── Input Addon Group ─────────────────────────────────────────────────── */
.input-addon-group {
  display: flex;
  align-items: stretch;
}

.input-addon-group .form-control {
  border-radius: var(--radius) 0 0 var(--radius);
  border-right: none;
}

.input-addon {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.85rem;
  color: var(--gray-500);
  white-space: nowrap;
  font-weight: 600;
}

.slug-status {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  min-height: 1.2em;
}

/* ─── Wizard Account Card ───────────────────────────────────────────────── */
.wizard-account-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.wizard-account-avatar {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wizard-account-name {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.wizard-account-email {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ─── Auth Tabs ─────────────────────────────────────────────────────────── */
.wizard-auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-200);
}

.wizard-auth-tab {
  flex: 1;
  padding: 0.75rem;
  background: none;
  border: none;
  color: var(--gray-500);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.wizard-auth-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.wizard-auth-tab:hover:not(.active) {
  color: var(--gray-700);
}

.wizard-auth-form {
  display: none;
}

.wizard-auth-form.active {
  display: block;
}

/* ─── Error Box ─────────────────────────────────────────────────────────── */
.form-error-box {
  background: var(--danger-bg);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--danger);
  margin-bottom: 1rem;
}

.form-error-box.hidden {
  display: none;
}

/* ─── Payment Summary ───────────────────────────────────────────────────── */
.payment-line-items {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.payment-line {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.payment-line:last-child {
  border-bottom: none;
}

.payment-total {
  font-weight: 800;
  color: var(--white);
  font-size: 1.1rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--gold);
  border-bottom: none;
}

/* ─── Stripe Card Element ───────────────────────────────────────────────── */
.stripe-card-element {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  transition: border-color var(--transition);
}

.stripe-card-element:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,34,54,0.15);
}

/* ─── Success Card ──────────────────────────────────────────────────────── */
.wizard-success-card {
  margin-bottom: 2rem;
}

.success-details {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.success-detail-row:last-child {
  border-bottom: none;
}

.success-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 600;
}

.success-value {
  font-weight: 600;
  color: var(--white);
}

.success-value a {
  color: var(--gold);
}

.success-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.6;
  margin-top: 1rem;
}

/* ─── Badge ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

/* ─── Landing Page Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .lp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .lp-price-popular {
    transform: none;
  }
  .lp-price-popular:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 640px) {
  .lp-hero-title {
    font-size: 2.5rem;
  }
  .lp-hero-sub {
    font-size: 1rem;
  }
  .lp-features-grid {
    grid-template-columns: 1fr;
  }
  .lp-steps {
    flex-direction: column;
    align-items: center;
  }
  .lp-step-arrow {
    transform: rotate(90deg);
    margin: 0;
  }
  .lp-section-title {
    font-size: 1.8rem;
  }
  .wizard-container {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  .wizard-steps-indicator {
    display: none;
  }
  .lp-trust-bar {
    gap: 1rem;
  }
  .lp-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
