/* ═══════════════════════════════════════════════════════════════════════════════
   LeagueForce Platform — Premium Tenant Theme
   A futuristic, polished SaaS experience for league tenant pages
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Auth visibility toggle — used by app.js for role-based nav links */
.auth-hidden { display: none !important; }

/* ─── Enhanced Font Stack ───────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --platform-font: 'Inter', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --glass-bg: rgba(20, 20, 20, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shine: rgba(255, 255, 255, 0.03);
  --glow-gold: 0 0 40px rgba(197, 34, 54, 0.15), 0 0 80px rgba(197, 34, 54, 0.05);
  --glow-gold-strong: 0 0 30px rgba(197, 34, 54, 0.25), 0 0 60px rgba(197, 34, 54, 0.1);
  --gradient-gold: linear-gradient(135deg, #C5223A 0%, #E03050 50%, #9E1C2F 100%);
  --gradient-dark: linear-gradient(180deg, #070B16 0%, #0C1121 50%, #0A0E1A 100%);
  --gradient-card: linear-gradient(135deg, rgba(14, 20, 36, 0.9) 0%, rgba(19, 26, 44, 0.7) 100%);
  --gradient-hero: linear-gradient(135deg, #070B16 0%, #0E1424 40%, #0A0E1A 100%);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ─── Global Overrides ──────────────────────────────────────────────────── */
body {
  font-family: var(--platform-font);
  background: var(--gradient-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture overlay on page */
.page-wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--noise);
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.page-wrapper {
  position: relative;
  isolation: isolate;
  padding-top: 60px;
}

/* ─── Premium Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--platform-font);
  letter-spacing: -0.02em;
  text-transform: none;
}

h1 { font-size: 2.75rem; font-weight: 800; line-height: 1.1; }
h2 { font-size: 1.85rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { 
  font-size: 0.95rem; 
  line-height: 1.7; 
  color: var(--gray-600);
}

/* ─── Glassmorphism Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 12, 22, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02), 0 4px 24px rgba(0, 0, 0, 0.4);
  padding: 0;
  transition: all 0.3s var(--ease-smooth);
  overflow: visible;
  z-index: 1100;
}

.navbar .container {
  display: flex;
  align-items: center;
  height: 60px;
  max-width: 1400px;
  gap: 0;
}

/* ── Brand ── */
.navbar-brand {
  font-family: var(--platform-font);
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  gap: 0.55rem;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 1.75rem;
  transition: opacity 0.2s;
  text-decoration: none;
}

.navbar-brand:hover {
  opacity: 0.85;
  color: #fff;
}

.navbar-brand-logo {
  height: 30px;
  width: 30px;
  max-width: 30px;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease-spring);
  flex-shrink: 0;
}

.navbar-brand:hover .navbar-brand-logo {
  transform: scale(1.05);
}

.navbar-brand .brand-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Nav Links ── */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.navbar-nav::-webkit-scrollbar {
  display: none;
}

.navbar-nav a {
  font-family: var(--platform-font);
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s var(--ease-smooth);
  position: relative;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.navbar-nav a:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.07);
}

.navbar-nav a.active {
  color: #fff;
  background: rgba(197, 34, 54, 0.9);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(197, 34, 54, 0.25);
}

/* Mobile-only nav items — hidden on desktop */
.navbar-nav-mobile {
  display: none;
}

/* ── Divider between nav and actions ── */
.navbar-actions::before {
  content: '';
  display: block;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  margin-right: 0.6rem;
  flex-shrink: 0;
}

.navbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-left: 1rem;
  flex-shrink: 0;
}

.navbar-actions .btn {
  font-family: var(--platform-font);
  font-size: 0.78rem;
  letter-spacing: 0;
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  border-width: 1px;
}

.nav-user-name {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.8rem !important;
  font-weight: 500;
  white-space: nowrap;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Premium Buttons ───────────────────────────────────────────────────── */
.btn {
  font-family: var(--platform-font);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 10px;
  transition: all 0.25s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-gold);
  border: none;
  color: #0A0A0A;
  box-shadow: 0 2px 12px rgba(197, 34, 54, 0.2);
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 4px 24px rgba(197, 34, 54, 0.35);
  transform: translateY(-2px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 6px rgba(197, 34, 54, 0.2);
}

.btn-outline {
  border: 1.5px solid rgba(197, 34, 54, 0.4);
  color: var(--gold);
  backdrop-filter: blur(8px);
  background: rgba(197, 34, 54, 0.04);
}

.btn-outline:hover:not(:disabled) {
  background: var(--gradient-gold);
  color: #0A0A0A;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(197, 34, 54, 0.3);
}

/* ─── Glass Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 var(--glass-shine);
  transition: all 0.3s var(--ease-smooth);
}

.card:hover {
  border-color: rgba(197, 34, 54, 0.12);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 var(--glass-shine);
}

.card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.25rem 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* ─── Premium Page Content ──────────────────────────────────────────────── */
.page-content {
  padding: 2.5rem 0 3rem;
  position: relative;
  z-index: 1;
}

.page-content > .container > h2:first-child,
.page-content > .container > .flex > h2,
.page-content > .container > .catalog-header h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Homepage Hero Section (Quick Actions) ─────────────────────────────── */

/* ─── Platform Hero ─────────────────────────────────────────────────────── */
/* ─── HERO — Immersive Premium Experience ───────────────────────────────── */

/* Core keyframes */
@keyframes heroOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(30px, -20px) scale(1.05); }
  50%      { transform: translate(-10px, 15px) scale(0.97); }
  75%      { transform: translate(-25px, -10px) scale(1.03); }
}
@keyframes heroRingSpin {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes heroSparkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(180deg); }
}
@keyframes heroPulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.15); }
}
@keyframes heroGridScroll {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}
@keyframes heroShine {
  0%   { left: -100%; }
  100% { left: 200%; }
}
@keyframes heroTitleReveal {
  0%   { opacity: 0; transform: translateY(40px) scale(0.96); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes heroSubReveal {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes heroBadgePop {
  0%   { opacity: 0; transform: scale(0.7); }
  60%  { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes heroStatsSlide {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes heroHighlightPulse {
  0%, 100% { text-shadow: 0 0 20px rgba(197, 34, 54, 0.3); }
  50%      { text-shadow: 0 0 40px rgba(197, 34, 54, 0.5), 0 0 80px rgba(197, 34, 54, 0.15); }
}
@keyframes heroHorizonPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
  50%      { opacity: 1; transform: translateX(-50%) scaleX(1.1); }
}

.platform-hero {
  position: relative;
  padding: 6rem 0 4.5rem;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
}

.platform-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(197, 34, 54, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 15% 60%, rgba(197, 34, 54, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 120%, rgba(197, 34, 54, 0.08) 0%, transparent 40%);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.platform-hero-bg.has-custom-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Tone down FX when custom hero bg is active */
.platform-hero:has(.has-custom-bg) .hero-fx-layer {
  opacity: 0.35;
}

.platform-hero-bg.has-custom-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay, rgba(10, 14, 26, 0.72));
  backdrop-filter: blur(2px);
  pointer-events: none;
}

/* FX Layer — visual flair behind content */
.hero-fx-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Subtle grid pattern */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: heroGridScroll 20s linear infinite;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

/* Floating luminous orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: heroOrbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 300px; height: 300px;
  top: -60px; right: 10%;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.15) 0%, transparent 70%);
  animation-duration: 14s;
}
.hero-orb-2 {
  width: 200px; height: 200px;
  bottom: 10%; left: 5%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation-duration: 18s;
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 160px; height: 160px;
  top: 40%; right: 25%;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.08) 0%, transparent 70%);
  animation-duration: 10s;
  animation-delay: -7s;
}

/* Rotating rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(197, 34, 54, 0.06);
  animation: heroRingSpin linear infinite;
}
.hero-ring-1 {
  width: 500px; height: 500px;
  top: 50%; left: 50%;
  animation-duration: 60s;
}
.hero-ring-2 {
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  border-style: dashed;
  border-color: rgba(255,255,255,0.02);
  animation-duration: 90s;
  animation-direction: reverse;
}

/* Sparkle stars */
.hero-sparkle {
  position: absolute;
  font-size: 0.6rem;
  color: rgba(197, 34, 54, 0.5);
  animation: heroSparkle 3s ease-in-out infinite;
}
.hero-sparkle-1 { top: 15%; left: 12%; animation-delay: 0s; }
.hero-sparkle-2 { top: 25%; right: 18%; animation-delay: 0.8s; font-size: 0.45rem; color: rgba(255,255,255,0.3); }
.hero-sparkle-3 { bottom: 30%; left: 22%; animation-delay: 1.5s; font-size: 0.5rem; }
.hero-sparkle-4 { top: 35%; right: 8%; animation-delay: 2.2s; font-size: 0.35rem; color: rgba(59,130,246,0.4); }
.hero-sparkle-5 { bottom: 20%; right: 15%; animation-delay: 0.4s; font-size: 0.55rem; }

/* Horizon glow */
.hero-horizon-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(197, 34, 54, 0.4), rgba(197, 34, 54, 0.6), rgba(197, 34, 54, 0.4), transparent);
  border-radius: 50%;
  animation: heroHorizonPulse 4s ease-in-out infinite;
  box-shadow: 0 0 30px 10px rgba(197, 34, 54, 0.08);
}

/* Bottom edge decorative glow */
.hero-bottom-edge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(7, 11, 22, 1) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Content layer */
.platform-hero-content {
  position: relative;
  z-index: 3;
  max-width: 740px;
  margin: 0 auto;
}

/* Season badge */
.platform-hero-season {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 0.4rem 1.25rem;
  background: rgba(197, 34, 54, 0.08);
  border: 1px solid rgba(197, 34, 54, 0.15);
  border-radius: 100px;
  animation: heroBadgePop 0.6s 0.1s var(--ease-spring) both;
}

.hero-season-line {
  flex: 0;
  width: 0;
  height: 0;
  display: none;
}

.hero-season-label {
  font-family: var(--platform-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(197,34,54,0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Title */
.platform-hero-title {
  font-family: var(--platform-font);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: none;
  animation: heroTitleReveal 0.9s 0.2s var(--ease-smooth) both;
}

.hero-highlight {
  display: inline-block;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: heroHighlightPulse 4s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Subtitle */
.platform-hero-subtitle {
  font-family: var(--platform-font);
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  animation: heroSubReveal 0.7s 0.4s var(--ease-smooth) both;
}

/* Action buttons */
.platform-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroSubReveal 0.7s 0.55s var(--ease-smooth) both;
}

.platform-hero-btn {
  font-family: var(--platform-font);
  font-weight: 700;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(197, 34, 54, 0.3),
    0 0 0 1px rgba(197, 34, 54, 0.2) inset;
  transition: all 0.3s var(--ease-smooth);
}

.platform-hero-btn:hover {
  box-shadow:
    0 8px 40px rgba(197, 34, 54, 0.4),
    0 0 0 1px rgba(197, 34, 54, 0.3) inset;
  transform: translateY(-3px);
}

.hero-btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: heroShine 4s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
}

.hero-btn-text {
  position: relative;
  z-index: 1;
}

.platform-hero-btn-alt {
  font-family: var(--platform-font);
  font-weight: 600;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-smooth);
}

.platform-hero-btn-alt:hover {
  border-color: rgba(197, 34, 54, 0.3);
  background: rgba(197, 34, 54, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(197, 34, 54, 0.1);
}

/* Stats bar */
.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding: 0.6rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  animation: heroStatsSlide 0.7s 0.75s var(--ease-smooth) both;
}

.hero-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  transition: background 0.2s;
}
.hero-stat-pill:hover {
  background: rgba(255,255,255,0.04);
}

.hero-stat-icon {
  font-size: 0.85rem;
}

.hero-stat-value {
  font-family: var(--platform-font);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.01em;
}

.hero-stat-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.08);
  margin: 0 0.25rem;
}

/* Bottom glow line */
.platform-hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  display: none;
}

/* ─── Hero Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .platform-hero {
    padding: 4rem 0 3rem;
    min-height: 100svh;
  }

  .platform-hero-title {
    font-size: 2.75rem;
  }

  .platform-hero-subtitle {
    font-size: 1.05rem;
  }

  .platform-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .platform-hero-btn,
  .platform-hero-btn-alt {
    width: 100%;
    max-width: 300px;
  }

  .hero-stats-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 0.75rem;
    gap: 0.25rem;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
    margin: 0.15rem 0;
  }

  .hero-orb-1 { width: 180px; height: 180px; }
  .hero-orb-2 { width: 120px; height: 120px; }
  .hero-ring-1 { width: 300px; height: 300px; }
  .hero-ring-2 { display: none; }
}

@media (max-width: 480px) {
  .platform-hero {
    padding: 3rem 0 2rem;
    min-height: 380px;
  }

  .platform-hero-title {
    font-size: 2.1rem;
  }

  .hero-grid-pattern { display: none; }
  .hero-sparkle { display: none; }
}

.hp-quick-actions {
  padding: 3rem 0 2.5rem;
  background: transparent;
  position: relative;
  z-index: 1;
}

.hp-quick-actions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 34, 54, 0.2), transparent);
}

.hp-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-action-card {
  background: var(--gradient-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  text-decoration: none;
  transition: all 0.35s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hp-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.hp-action-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-gold), 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(197, 34, 54, 0.15);
}

.hp-action-card:hover::before {
  opacity: 1;
}

.hp-action-icon {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hp-action-label {
  font-family: var(--platform-font);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.hp-action-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

/* Card-specific accent colors on hover */
.hp-action-register:hover { border-color: rgba(197, 34, 54, 0.3); }
.hp-action-register:hover::before { background: var(--gradient-gold); }
.hp-action-schedule:hover { border-color: rgba(59, 130, 246, 0.3); }
.hp-action-schedule:hover::before { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.hp-action-store:hover { border-color: rgba(34, 197, 94, 0.3); }
.hp-action-store:hover::before { background: linear-gradient(90deg, #22C55E, #4ADE80); }

/* ═══════════════════════════════════════════════════════════════════════════════
   Registrations Showcase — Premium Google/Instagram-inspired Cards
   ═══════════════════════════════════════════════════════════════════════════════ */

.hp-registrations-showcase {
  padding: 3.5rem 0 3rem;
  position: relative;
  z-index: 1;
}

.hp-registrations-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 34, 54, 0.2), transparent);
}

/* ─ Header ─ */
.hp-reg-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.25rem;
  gap: 1rem;
}

.hp-reg-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(197, 34, 54, 0.08);
  border: 1px solid rgba(197, 34, 54, 0.15);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-family: var(--platform-font);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hp-reg-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

.hp-reg-title {
  font-family: var(--platform-font);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.4rem;
}

.hp-reg-desc {
  font-family: var(--platform-font);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
  line-height: 1.5;
}

.hp-reg-header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hp-reg-view-all {
  flex-shrink: 0;
}

/* ─ Registration List ─ */
.hp-reg-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255,255,255,0.015);
}
.hp-reg-grid::-webkit-scrollbar { width: 5px; }
.hp-reg-grid::-webkit-scrollbar-track { background: transparent; }
.hp-reg-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
.hp-reg-grid::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

/* ─ Registration Row ─ */
.hp-reg-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: background 0.2s ease;
  animation: regRowIn 0.4s ease both;
}
.hp-reg-row:last-child { border-bottom: none; }
.hp-reg-row:hover { background: rgba(255, 255, 255, 0.04); }
.hp-reg-row-closed { opacity: 0.5; }
.hp-reg-row-closed:hover { opacity: 0.7; }

@keyframes regRowIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hp-reg-row-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.hp-reg-row-sport {
  font-family: var(--platform-font);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.3);
}

.hp-reg-row-name {
  font-family: var(--platform-font);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-reg-row-dates {
  font-family: var(--platform-font);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.hp-reg-row-deadline {
  font-family: var(--platform-font);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 90px;
  text-align: right;
}

.hp-reg-row-fee {
  font-family: var(--platform-font);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 45px;
  text-align: right;
}

.hp-reg-row-cta {
  font-family: var(--platform-font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
}
.hp-reg-row:hover .hp-reg-row-cta { color: #fff; }

.hp-reg-status-closed {
  background: rgba(107, 114, 128, 0.1);
  color: #9ca3af;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

@media (max-width: 768px) {
  .hp-reg-row { flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem 1rem; }
  .hp-reg-row-dates { display: none; }
  .hp-reg-row-deadline { min-width: auto; text-align: left; }
}

.hp-reg-badge {
  font-family: var(--platform-font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hp-reg-status-open {
  background: rgba(34, 197, 94, 0.12);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.hp-reg-status-open::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse 1.8s ease-in-out infinite;
}

.hp-reg-status-upcoming {
  background: rgba(59, 130, 246, 0.1);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.hp-reg-status-full {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hp-reg-urgency {
  color: #F59E0B;
  font-weight: 700;
  animation: pulse 2s ease-in-out infinite;
}

/* ─ Capacity Bar ─ */
.hp-reg-capacity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hp-reg-cap-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  overflow: hidden;
}

.hp-reg-cap-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #22C55E, #4ADE80);
  transition: width 0.6s var(--ease-smooth);
}

.hp-reg-cap-fill.hp-reg-cap-warning {
  background: linear-gradient(90deg, #F59E0B, #FBBF24);
}

.hp-reg-cap-fill.hp-reg-cap-critical {
  background: linear-gradient(90deg, #EF4444, #F87171);
}

.hp-reg-cap-label {
  font-family: var(--platform-font);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

/* (Card CTA removed — using inline row layout) */

/* ─ Empty State ─ */
.hp-reg-empty {
  text-align: center;
  padding: 3.5rem 2rem;
}

.hp-reg-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.hp-reg-empty h3 {
  font-family: var(--platform-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.5rem;
}

.hp-reg-empty p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.32);
  max-width: 340px;
  margin: 0 auto;
}

/* ═══ Quick Links Pill Bar ══════════════════════════════════════════════════ */
.hp-quick-links {
  padding: 1.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.hp-links-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hp-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  text-decoration: none;
  font-family: var(--platform-font);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(8px);
}

.hp-link-pill:hover {
  background: rgba(197, 34, 54, 0.08);
  border-color: rgba(197, 34, 54, 0.2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hp-link-icon {
  font-size: 1.05rem;
  line-height: 1;
}

/* ─ Responsive ─ */
@media (max-width: 768px) {
  .hp-reg-header {
    flex-direction: column;
    align-items: center;
  }

  .hp-reg-grid {
    grid-template-columns: 1fr;
  }

  .hp-reg-title {
    font-size: 1.5rem;
  }

  .hp-links-row {
    gap: 0.5rem;
  }

  .hp-link-pill {
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .hp-registrations-showcase {
    padding: 2.5rem 0 2rem;
  }

  .hp-reg-card-top,
  .hp-reg-card-body,
  .hp-reg-card-meta,
  .hp-reg-card-cta {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

/* ─── Premium Section Headers ───────────────────────────────────────────── */
.hp-section {
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.hp-section-alt {
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(8px);
}

.hp-section-header {
  margin-bottom: 2rem;
}

.hp-section-header h2 {
  font-family: var(--platform-font);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Premium Schedule Items ────────────────────────────────────────────── */
.schedule-list {
  gap: 0.875rem;
}

.schedule-item {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s var(--ease-smooth);
}

.schedule-item:hover {
  border-color: rgba(197, 34, 54, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), var(--glow-gold);
  transform: translateX(4px);
}

.schedule-date {
  min-width: 56px;
}

.schedule-date .month {
  font-family: var(--platform-font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.schedule-date .day {
  font-family: var(--platform-font);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.schedule-details .matchup {
  font-family: var(--platform-font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.schedule-details .meta {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.3rem;
}

/* ─── Announcement Cards ────────────────────────────────────────────────── */
.hp-announcements {
  gap: 1rem;
}

.hp-announcement-card.card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s var(--ease-smooth);
}

.hp-announcement-card.card:hover {
  border-color: rgba(197, 34, 54, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.hp-announcement-header h4 {
  font-family: var(--platform-font);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.hp-announcement-date {
  font-family: var(--platform-font);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0;
}

.hp-announcement-body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.hp-announcement-body.rte-content a { color: #60a5fa; text-decoration: underline; }
.hp-announcement-body.rte-content ul,
.hp-announcement-body.rte-content ol { padding-left: 1.5em; margin: 0.3em 0; }
.hp-announcement-body.rte-content h1,
.hp-announcement-body.rte-content h2,
.hp-announcement-body.rte-content h3 { color: rgba(255,255,255,0.75); margin: 0.4em 0 0.2em; }

/* ─── Store Banner Premium ──────────────────────────────────────────────── */
.hp-store-banner {
  background: var(--gradient-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hp-store-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 34, 54, 0.3), transparent);
}

.hp-store-banner::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hp-store-tag {
  background: rgba(197, 34, 54, 0.12);
  border: 1px solid rgba(197, 34, 54, 0.2);
  color: var(--gold);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hp-store-banner-text h3 {
  font-family: var(--platform-font);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
}

.hp-store-banner-text p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
}

/* Product cards in store banner */
.hp-product-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-spring);
}

.hp-product-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), var(--glow-gold);
  border-color: rgba(197, 34, 54, 0.2);
}

.hp-product-name {
  font-family: var(--platform-font);
  font-weight: 600;
  font-size: 0.8rem;
}

.hp-product-price {
  font-family: var(--platform-font);
  font-weight: 800;
}

/* ─── Store Page Products ───────────────────────────────────────────────── */
.product-grid {
  gap: 1.5rem;
}

.product-card {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.35s var(--ease-smooth);
  overflow: hidden;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), var(--glow-gold);
  border-color: rgba(197, 34, 54, 0.15);
}

.product-card-img {
  border-radius: 0;
  transition: transform 0.4s var(--ease-smooth);
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.15rem;
}

.product-card-body h4 {
  font-family: var(--platform-font);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.product-card-body .price {
  font-family: var(--platform-font);
  font-weight: 800;
}

/* ─── Premium Empty States ──────────────────────────────────────────────── */
.empty-state {
  padding: 4rem 2rem;
  text-align: center;
}

.empty-state .empty-icon {
  font-size: 4.5rem;
  margin-bottom: 1.25rem;
  filter: grayscale(0.2);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.empty-state h3 {
  font-family: var(--platform-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: none;
  margin-bottom: 0.6rem;
}

.empty-state p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Premium Tabs ──────────────────────────────────────────────────────── */
.tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 0;
  margin-bottom: 2rem;
  background: rgba(20, 20, 20, 0.4);
  border-radius: 12px 12px 0 0;
  padding: 0.25rem 0.25rem 0;
}

.tab {
  font-family: var(--platform-font);
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.85rem 1.5rem;
  border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s var(--ease-smooth);
  letter-spacing: 0;
}

.tab:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.03);
}

.tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(197, 34, 54, 0.05);
}

/* ─── Premium Forms ─────────────────────────────────────────────────────── */
.form-control {
  font-family: var(--platform-font);
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--gray-800);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  transition: all 0.25s var(--ease-smooth);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 34, 54, 0.1), 0 0 20px rgba(197, 34, 54, 0.05);
  background: rgba(255, 255, 255, 0.05);
}

.form-label {
  font-family: var(--platform-font);
  font-weight: 600;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.01em;
}

/* ─── Premium Badges ────────────────────────────────────────────────────── */
.badge {
  font-family: var(--platform-font);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
}

/* ─── Premium Modal ─────────────────────────────────────────────────────── */
.modal-overlay {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header h3 {
  font-family: var(--platform-font);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ─── Premium Wallet ────────────────────────────────────────────────────── */
.wallet {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(30, 30, 30, 0.7) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 34, 54, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--glow-gold), 0 8px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.wallet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 34, 54, 0.4), transparent);
}

.wallet-balance {
  font-family: var(--platform-font);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wallet-label {
  font-family: var(--platform-font);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Premium Season Cards ──────────────────────────────────────────────── */
.season-card {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.35s var(--ease-smooth);
  overflow: hidden;
}

.season-card:hover {
  border-color: rgba(197, 34, 54, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), var(--glow-gold);
  transform: translateY(-4px);
}

.season-card-title {
  font-family: var(--platform-font);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.season-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.15);
}

.season-fee {
  font-family: var(--platform-font);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.season-status-pill {
  font-family: var(--platform-font);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  border-radius: 6px;
}

/* ─── Sport Tabs Premium ────────────────────────────────────────────────── */
.sport-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  margin-bottom: 2rem;
}

.sport-tab {
  font-family: var(--platform-font);
  font-weight: 600;
  font-size: 0.825rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: all 0.2s var(--ease-smooth);
}

.sport-tab:hover {
  border-color: rgba(197, 34, 54, 0.3);
  color: var(--gold);
  background: rgba(197, 34, 54, 0.05);
}

.sport-tab.active {
  background: var(--gradient-gold);
  color: #0A0A0A;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(197, 34, 54, 0.25);
}

.sport-tab .tab-count {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.68rem;
}

/* ─── View Toggle Premium ───────────────────────────────────────────────── */
.view-toggle {
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.view-btn {
  font-family: var(--platform-font);
  font-weight: 500;
  font-size: 0.8rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  transition: all 0.2s var(--ease-smooth);
  cursor: pointer;
}

.view-btn:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

.view-btn.active {
  background: var(--gradient-gold);
  color: #0A0A0A;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(197, 34, 54, 0.2);
}

/* ─── Premium Footer ────────────────────────────────────────────────────── */
.footer {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 3.5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 34, 54, 0.15), transparent);
}

.footer-grid {
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h5 {
  font-family: var(--platform-font);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.15rem;
}

.footer-col a {
  font-family: var(--platform-font);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s;
  display: block;
  margin-bottom: 0.6rem;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.75rem;
}

.footer-bottom p {
  font-family: var(--platform-font);
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.3);
}

.hp-powered-by {
  font-family: var(--platform-font);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.3s var(--ease-smooth);
}

.hp-powered-by:hover {
  border-color: rgba(197, 34, 54, 0.15);
  background: rgba(197, 34, 54, 0.05);
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Season Alert Premium ──────────────────────────────────────────────── */
.season-alert {
  background: var(--gradient-gold);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(197, 34, 54, 0.2);
}

.season-alert-text {
  font-family: var(--platform-font);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ─── Stats Grid Premium ────────────────────────────────────────────────── */
.stat-card {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.stat-card:hover {
  border-color: rgba(197, 34, 54, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), var(--glow-gold);
  transform: translateY(-3px);
}

.stat-card .stat-value {
  font-family: var(--platform-font);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .stat-label {
  font-family: var(--platform-font);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Admin Cards Premium ───────────────────────────────────────────────── */
.admin-grid {
  gap: 1.25rem;
}

.admin-card-link .card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.35s var(--ease-smooth);
  overflow: hidden;
  position: relative;
}

.admin-card-link .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.admin-card-link:hover .card {
  border-color: rgba(197, 34, 54, 0.15);
  box-shadow: var(--glow-gold), 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

.admin-card-link:hover .card::before {
  opacity: 1;
}

.admin-card-icon {
  font-size: 2.25rem;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.admin-card-title {
  font-family: var(--platform-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.admin-card-desc {
  font-family: var(--platform-font);
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

/* ─── Toast Premium ─────────────────────────────────────────────────────── */
.toast {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  font-family: var(--platform-font);
}

/* ─── Table Premium ─────────────────────────────────────────────────────── */
.table {
  font-family: var(--platform-font);
  border-radius: 14px;
  overflow: hidden;
}

.table thead {
  background: rgba(20, 20, 20, 0.6);
}

.table thead th {
  font-family: var(--platform-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(197, 34, 54, 0.15);
}

.table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s;
}

.table tbody tr:hover {
  background: rgba(197, 34, 54, 0.03);
}

/* ─── Scrollbar Styling ─────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ─── Selection Styling ─────────────────────────────────────────────────── */
::selection {
  background: rgba(197, 34, 54, 0.3);
  color: #fff;
}

/* ─── Registration Modal Premium ────────────────────────────────────────── */
.reg-child-option {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.2s var(--ease-smooth);
  background: rgba(255, 255, 255, 0.02);
}

.reg-child-option:hover {
  border-color: rgba(197, 34, 54, 0.2);
  background: rgba(197, 34, 54, 0.04);
}

.reg-child-option.selected {
  border-color: var(--gold);
  background: rgba(197, 34, 54, 0.08);
  box-shadow: 0 0 0 2px rgba(197, 34, 54, 0.1);
}

.reg-child-option .child-avatar {
  background: var(--gradient-gold);
  border-radius: 10px;
  font-weight: 800;
  font-family: var(--platform-font);
}

.reg-ag-option {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.2s var(--ease-smooth);
  background: rgba(255, 255, 255, 0.02);
}

.reg-ag-option:hover {
  border-color: rgba(197, 34, 54, 0.2);
}

.reg-ag-option.selected {
  border-color: var(--gold);
  background: rgba(197, 34, 54, 0.06);
}

.reg-summary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.25rem;
}

.reg-summary-row {
  font-family: var(--platform-font);
  font-size: 0.875rem;
}

/* ─── Capacity Bar Premium ──────────────────────────────────────────────── */
.season-capacity .capacity-bar {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  height: 5px;
  overflow: hidden;
}

.season-capacity .capacity-fill {
  border-radius: 100px;
  transition: width 0.5s var(--ease-smooth);
}

/* ─── Age Group Tags ────────────────────────────────────────────────────── */
.age-group-tag {
  font-family: var(--platform-font);
  font-weight: 600;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.03);
}

/* ─── Responsive Enhancements ───────────────────────────────────────────── */

/* ─── Mobile Nav Overlay ────────────────────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 60px;
  background: rgba(0, 0, 0, 0.32);
  z-index: 1099;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
  pointer-events: none;
}
.mobile-nav-overlay.visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
/* Never show overlay on desktop */
@media (min-width: 961px) {
  .mobile-nav-overlay { display: none !important; }
}

/* Prevent body scroll when mobile nav is open */
body.mobile-nav-open {
  overflow: hidden;
}

/* ─── Mobile Navbar ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .navbar {
    overflow: visible;
    z-index: 1200;
  }

  .navbar .container {
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    padding: 0 1rem;
    gap: 0;
    align-items: center;
  }

  .navbar-brand {
    order: 1;
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0;
    margin-right: 0;
    max-width: calc(100% - 120px);
  }

  .navbar-actions {
    order: 2;
    margin-left: auto;
    display: flex;
    flex-shrink: 0;
    gap: 0.35rem;
    padding: 0.5rem 0;
    justify-content: flex-end;
    align-self: center;
    align-items: center;
  }

  .navbar-actions::before {
    display: none;
  }

  /* Hide non-essential action items on mobile — they appear in the dropdown */
  .navbar-actions .nav-user-name,
  .navbar-actions .nav-profile-btn,
  .navbar-actions [data-action="logout"],
  .navbar-actions .nav-logged-out,
  .navbar-actions #admin-btn {
    display: none !important;
  }

  .navbar-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    order: 3;
    width: 44px;
    height: 44px;
    margin-left: 0.25rem;
    background: none;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 1.35rem;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .navbar-actions,
  .navbar-toggle {
    position: relative;
    z-index: 2;
  }

  .navbar-toggle:hover,
  .navbar-toggle.open {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
  }

  .navbar-toggle.open {
    background: rgba(197, 34, 54, 0.15);
    border-color: rgba(197, 34, 54, 0.3);
    color: #fff;
  }

  /* ── Slide-down nav panel ── */
  .navbar-nav {
    order: 4;
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0;
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    overflow-x: hidden;
    overflow-y: hidden;
    background: rgba(6, 10, 18, 0.995);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 2;
    display: flex;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s var(--ease-smooth),
                opacity 0.25s var(--ease-smooth),
                padding 0.35s var(--ease-smooth),
                visibility 0s 0.35s;
    pointer-events: none;
  }

  .navbar-nav.open {
    max-height: min(75vh, 720px);
    opacity: 1;
    visibility: visible;
    padding: 0.6rem 0.75rem 1rem;
    pointer-events: auto;
    transition: max-height 0.4s var(--ease-smooth),
                opacity 0.3s 0.05s var(--ease-smooth),
                padding 0.35s var(--ease-smooth),
                visibility 0s 0s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-nav > a {
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    color: rgba(255,255,255,0.88);
    opacity: 0;
    transform: translateY(-6px);
    transition: background 0.2s, color 0.2s,
                opacity 0.25s var(--ease-smooth),
                transform 0.25s var(--ease-smooth);
  }

  .navbar-nav.open > a {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger delays for each nav link */
  .navbar-nav.open > a:nth-child(1) { transition-delay: 0.03s; }
  .navbar-nav.open > a:nth-child(2) { transition-delay: 0.06s; }
  .navbar-nav.open > a:nth-child(3) { transition-delay: 0.09s; }
  .navbar-nav.open > a:nth-child(4) { transition-delay: 0.12s; }
  .navbar-nav.open > a:nth-child(5) { transition-delay: 0.15s; }
  .navbar-nav.open > a:nth-child(6) { transition-delay: 0.18s; }
  .navbar-nav.open > a:nth-child(7) { transition-delay: 0.21s; }
  .navbar-nav.open > a:nth-child(8) { transition-delay: 0.24s; }
  .navbar-nav.open > a:nth-child(9) { transition-delay: 0.27s; }

  .navbar-nav > a:active {
    background: rgba(255,255,255,0.1);
    transform: scale(0.98);
  }

  .navbar-nav > a.active {
    box-shadow: none;
    background: rgba(197, 34, 54, 0.85);
    color: #fff;
    font-weight: 600;
  }

  /* Show mobile-only items in the dropdown */
  .navbar-nav-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    margin-top: 0.5rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s var(--ease-smooth),
                transform 0.25s var(--ease-smooth);
  }

  .navbar-nav.open .navbar-nav-mobile {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
  }

  .navbar-nav-mobile a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    transition: all 0.2s;
    font-family: var(--platform-font);
    font-weight: 500;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    width: 100%;
    box-sizing: border-box;
  }

  .navbar-nav-mobile a.hidden,
  .navbar-nav-mobile a.auth-hidden,
  .navbar-nav > a.hidden,
  .navbar-nav > a.auth-hidden {
    display: none !important;
  }

  .navbar-nav-mobile a:hover,
  .navbar-nav-mobile a:active {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.06);
  }
}

@media (max-width: 768px) {
  .navbar .container {
    padding: 0 0.85rem;
  }

  .navbar-brand {
    max-width: calc(100% - 112px);
  }

  .navbar-brand .tenant-name {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar-actions {
    gap: 0.2rem;
  }

  .navbar-nav > a,
  .navbar-nav-mobile a {
    font-size: 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hp-actions-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hp-action-card {
    flex-direction: row;
    text-align: left;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    border-radius: 14px;
  }

  .hp-action-card::before {
    width: 3px;
    height: 100%;
    right: auto;
    bottom: 0;
    left: 0;
  }

  .hp-action-icon {
    font-size: 2rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .hp-store-banner {
    flex-direction: column;
    padding: 2rem;
    text-align: center;
  }

  .hp-store-products {
    width: 100%;
    justify-content: center;
  }

  .season-alert-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .page-content {
    padding: 1.75rem 0 2.5rem;
  }

  .tabs {
    border-radius: 0;
    background: transparent;
  }

  .wallet-balance {
    font-size: 2.5rem;
  }

  .stat-card {
    padding: 1.25rem;
  }

  .stat-card .stat-value {
    font-size: 1.75rem;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .view-toggle {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    min-height: 56px;
    padding: 0 0.75rem;
  }

  .hp-action-card {
    padding: 1rem 1.25rem;
    border-radius: 12px;
  }

  .hp-action-label {
    font-size: 1rem;
  }

  .hp-section {
    padding: 2rem 0;
  }

  .hp-store-banner {
    padding: 1.5rem;
  }

  .navbar-brand {
    font-size: 1rem;
    gap: 0.45rem;
    max-width: calc(100% - 104px);
  }

  .navbar-brand-logo {
    height: 26px;
    width: 26px;
    max-width: 26px;
  }

  .navbar-toggle,
  .nav-cart-btn,
  .notif-bell-btn {
    min-width: 40px;
    min-height: 40px;
  }

  .navbar-actions {
    gap: 0.1rem;
  }

  .navbar-nav.open {
    padding: 0.5rem 0.5rem 0.85rem;
  }

  .wallet {
    padding: 1.75rem;
    border-radius: 16px;
  }

  .wallet-balance {
    font-size: 2rem;
  }

  .card {
    border-radius: 12px;
  }
}

/* ─── Ambient Background Glow ───────────────────────────────────────────── */
.page-wrapper::after {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Secondary ambient glow */
body::after {
  content: '';
  position: fixed;
  bottom: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 34, 54, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ─── Smooth Page Transitions ───────────────────────────────────────────── */
.page-content,
.hp-section,
.footer {
  animation: fadeUp 0.5s var(--ease-smooth) both;
}

.hp-section:nth-child(2) { animation-delay: 0.05s; }
.hp-section:nth-child(3) { animation-delay: 0.1s; }
.hp-section:nth-child(4) { animation-delay: 0.15s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Focus Styles (Accessibility) ──────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Sub-Page Premium Styles — Page Headers, Enhanced Layouts
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Page Header (Sub-pages) ───────────────────────────────────────────── */
.page-header {
  position: relative;
  padding: 3rem 0 2.5rem;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(197, 34, 54, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 34, 54, 0.12), transparent);
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  animation: fadeUp 0.4s var(--ease-smooth) both;
}

.page-header-title {
  font-family: var(--platform-font);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
  animation: fadeUp 0.4s 0.05s var(--ease-smooth) both;
}

.page-header-desc {
  font-family: var(--platform-font);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.4s 0.1s var(--ease-smooth) both;
}

.page-header-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.4s 0.15s var(--ease-smooth) both;
}

@media (max-width: 768px) {
  .page-header {
    padding: 2rem 0 1.75rem;
  }
  .page-header-title {
    font-size: 1.85rem;
  }
  .page-header-icon {
    font-size: 2rem;
  }
}

/* ─── Enhanced Filter Bar ───────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.filter-bar .form-control {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-family: var(--platform-font);
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  color: #fff;
  max-width: 200px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-bar .form-control:focus {
  border-color: rgba(197, 34, 54, 0.4);
  box-shadow: 0 0 0 3px rgba(197, 34, 54, 0.1);
}

.filter-bar label {
  font-family: var(--platform-font);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── Premium Schedule Items ────────────────────────────────────────────── */
.schedule-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  transition: all 0.25s var(--ease-smooth);
}

.schedule-item:hover {
  border-color: rgba(197, 34, 54, 0.15);
  background: rgba(25, 25, 25, 0.9);
  transform: translateX(4px);
}

.schedule-date {
  text-align: center;
  min-width: 56px;
  padding: 0.5rem;
  background: rgba(197, 34, 54, 0.08);
  border: 1px solid rgba(197, 34, 54, 0.12);
  border-radius: 12px;
}

.schedule-date .month {
  font-family: var(--platform-font);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.schedule-date .day {
  font-family: var(--platform-font);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.schedule-details {
  flex: 1;
  min-width: 0;
}

.schedule-details .matchup {
  font-family: var(--platform-font);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.schedule-details .meta {
  font-family: var(--platform-font);
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.4);
}

.schedule-score .badge {
  font-family: var(--platform-font);
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* ─── Premium Product Grid ──────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.product-card:hover {
  border-color: rgba(197, 34, 54, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--glass-border);
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-body h4 {
  font-family: var(--platform-font);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.5rem;
}

.product-card-body .price {
  font-family: var(--platform-font);
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Premium Team Cards ────────────────────────────────────────────────── */
.team-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: all 0.25s var(--ease-smooth);
}

.team-card:hover {
  border-color: rgba(197, 34, 54, 0.12);
}

.team-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.team-card-header h4 {
  font-family: var(--platform-font);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
}

.team-card-header .team-meta {
  font-family: var(--platform-font);
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.4);
}

.team-card-body {
  padding: 1.5rem;
}

.team-section-title {
  font-family: var(--platform-font);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.team-roster-item,
.team-game-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--platform-font);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.team-roster-item:last-child,
.team-game-item:last-child {
  border-bottom: none;
}

/* ─── Premium Tabs ──────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tab {
  font-family: var(--platform-font);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease-smooth);
}

.tab:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

.tab.active {
  background: rgba(197, 34, 54, 0.12);
  color: var(--gold);
  box-shadow: 0 2px 8px rgba(197, 34, 54, 0.1);
}

/* ─── Communication Cards ───────────────────────────────────────────────── */
.announcement-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 0.85rem;
  transition: all 0.25s var(--ease-smooth);
}

.announcement-card:hover {
  border-color: rgba(197, 34, 54, 0.12);
}

.announcement-card .announcement-title {
  font-family: var(--platform-font);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.announcement-card .announcement-date {
  font-family: var(--platform-font);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.announcement-card .announcement-body {
  font-family: var(--platform-font);
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-top: 0.75rem;
  white-space: pre-line;
}

.notification-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.15rem 1.5rem;
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.25s var(--ease-smooth);
}

.notification-card:hover {
  border-color: rgba(197, 34, 54, 0.1);
}

.notification-card.unread {
  border-left: 3px solid var(--gold);
}

.notification-card .notif-title {
  font-family: var(--platform-font);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.notification-card .notif-message {
  font-family: var(--platform-font);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.2rem;
}

.notification-card .notif-time {
  font-family: var(--platform-font);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.notification-card.unread {
  cursor: pointer;
}

/* League tag on announcements */
.announcement-league-tag {
  display: inline-block;
  background: rgba(197, 34, 54, 0.12);
  color: #C5223A;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 0.5rem;
  font-weight: 600;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

/* ─── Communications Page — Redesigned ──────────────────────────────────── */
.comms-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 2rem 0 1.25rem;
  flex-wrap: wrap;
}

.comms-header-left { flex: 1; min-width: 0; }

.comms-title {
  font-family: var(--platform-font);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}

.comms-subtitle {
  font-family: var(--platform-font);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0.2rem 0 0;
}

.comms-header-right {
  flex-shrink: 0;
}

.comms-search-wrap {
  position: relative;
  width: 240px;
}

.comms-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  opacity: 0.35;
  pointer-events: none;
}

.comms-search {
  width: 100%;
  padding: 0.55rem 0.85rem 0.55rem 2.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-family: var(--platform-font);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.comms-search::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.comms-search:focus {
  border-color: rgba(197, 34, 54, 0.35);
  box-shadow: 0 0 0 3px rgba(197, 34, 54, 0.08);
}

.comms-count-bar {
  font-family: var(--platform-font);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.comms-count-num {
  color: var(--gold);
  font-weight: 700;
}

/* Feed cards */
.comms-feed {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.comms-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: all 0.25s var(--ease-smooth);
  animation: commsSlideUp 0.35s var(--ease-smooth) both;
}

@keyframes commsSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.comms-card:hover {
  border-color: rgba(197, 34, 54, 0.15);
  background: rgba(25, 30, 45, 0.85);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.comms-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  max-width: 48px;
  padding: 0.45rem 0;
  background: rgba(197, 34, 54, 0.07);
  border: 1px solid rgba(197, 34, 54, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
  align-self: flex-start;
}

.comms-card-month {
  font-family: var(--platform-font);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 1;
}

.comms-card-day {
  font-family: var(--platform-font);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.comms-card-content {
  flex: 1;
  min-width: 0;
}

.comms-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.comms-card-title {
  font-family: var(--platform-font);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  line-height: 1.35;
}

.comms-card-body {
  font-family: var(--platform-font);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-top: 0.45rem;
  white-space: pre-line;
}

/* Rich text content rendering */
.comms-card-body.rte-content { white-space: normal; }
.comms-card-body.rte-content a { color: #60a5fa; text-decoration: underline; }
.comms-card-body.rte-content a:hover { color: #93bbfc; }
.comms-card-body.rte-content ul,
.comms-card-body.rte-content ol { padding-left: 1.5em; margin: 0.4em 0; }
.comms-card-body.rte-content li { margin-bottom: 0.2em; }
.comms-card-body.rte-content h1,
.comms-card-body.rte-content h2,
.comms-card-body.rte-content h3 {
  color: rgba(255, 255, 255, 0.8);
  margin: 0.5em 0 0.25em;
  line-height: 1.3;
}
.comms-card-body.rte-content h1 { font-size: 1.4em; }
.comms-card-body.rte-content h2 { font-size: 1.2em; }
.comms-card-body.rte-content h3 { font-size: 1.05em; }
.comms-card-body.rte-content img { max-width: 100%; border-radius: 6px; margin: 0.5em 0; }

/* Empty state */
.comms-empty {
  text-align: center;
  padding: 4rem 1rem;
}

.comms-empty-icon {
  margin-bottom: 1rem;
  opacity: 0.6;
}

.comms-empty h3 {
  font-family: var(--platform-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.4rem;
}

.comms-empty p {
  font-family: var(--platform-font);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.25);
  margin: 0;
}

@media (max-width: 768px) {
  .comms-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem 0 1rem;
  }
  .comms-search-wrap {
    width: 100%;
  }
  .comms-card {
    padding: 1rem 1.15rem;
    gap: 1rem;
  }
  .comms-card-date {
    min-width: 42px;
    max-width: 42px;
  }
  .comms-card-day {
    font-size: 1.15rem;
  }
}

/* ─── Premium Profile Sections ──────────────────────────────────────────── */
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(197, 34, 54, 0.1);
  border: 2px solid rgba(197, 34, 54, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.profile-name {
  font-family: var(--platform-font);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  text-align: center;
  margin-bottom: 0.25rem;
}

.profile-email {
  font-family: var(--platform-font);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ─── Premium Wallet ─────────────────────────────────────────────────────── */
.wallet {
  background: var(--gradient-card);
  border: 1px solid rgba(197, 34, 54, 0.15);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wallet::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(197, 34, 54, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.wallet-label {
  font-family: var(--platform-font);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
  position: relative;
}

.wallet-balance {
  font-family: var(--platform-font);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.25rem;
  position: relative;
}

.wallet-actions {
  position: relative;
}

/* ─── Children List ──────────────────────────────────────────────────────── */
.child-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 0.6rem;
  transition: all 0.2s;
}

.child-card:hover {
  border-color: rgba(197, 34, 54, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.child-card .child-name {
  font-family: var(--platform-font);
  font-weight: 700;
  color: #fff;
}

.child-card .child-meta {
  font-family: var(--platform-font);
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Premium 404 Page ──────────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(197, 34, 54, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.error-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.error-code {
  font-family: var(--platform-font);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  margin-bottom: 1rem;
}

.error-title {
  font-family: var(--platform-font);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.error-desc {
  font-family: var(--platform-font);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ─── Transaction Table ─────────────────────────────────────────────────── */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  font-family: var(--platform-font);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  text-align: left;
}

.table td {
  font-family: var(--platform-font);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ─── Grid layouts for team info ────────────────────────────────────────── */
.team-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .team-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Notification Bell (Navbar) ────────────────────────────────────────── */
.notif-bell-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.notif-bell-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  padding: 5px 6px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.65);
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.notif-bell-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.notif-bell-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  background: var(--gradient-gold);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  border: 2px solid rgba(8, 12, 22, 0.92);
  pointer-events: none;
}

.notif-bell-badge.hidden { display: none !important; }

.notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 2rem);
  background: rgba(14, 20, 36, 0.98);
  border: 1px solid rgba(197, 34, 54, 0.15);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  z-index: 1000;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: notifDropIn 0.18s var(--ease-smooth) both;
}

.notif-dropdown.hidden { display: none !important; }

@keyframes notifDropIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.notif-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notif-dropdown-header > span {
  font-family: var(--platform-font);
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

#notif-mark-all {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--platform-font);
  padding: 2px 0;
  transition: opacity 0.2s;
}

#notif-mark-all:hover { opacity: 0.75; }
#notif-mark-all:disabled { cursor: default; }

.notif-dropdown-list {
  max-height: 360px;
  overflow-y: auto;
}

.notif-dropdown-list::-webkit-scrollbar { width: 3px; }
.notif-dropdown-list::-webkit-scrollbar-track { background: transparent; }
.notif-dropdown-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.notif-drop-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.15s;
}

.notif-drop-item:hover { background: rgba(255, 255, 255, 0.04); }
.notif-drop-item:last-child { border-bottom: none; }

.notif-drop-item.unread {
  background: rgba(197, 34, 54, 0.05);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

.notif-drop-title {
  font-family: var(--platform-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: #e8eaf2;
  line-height: 1.3;
}

.notif-drop-msg {
  font-family: var(--platform-font);
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.notif-drop-time {
  font-family: var(--platform-font);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 1px;
}

.notif-drop-empty,
.notif-loading {
  padding: 28px 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--platform-font);
  font-size: 0.83rem;
}

@media (max-width: 768px) {
  .notif-dropdown {
    right: -60px;
    width: 300px;
  }
}

/* ─── Bell Dropdown "View All" Link ─────────────────────────────────────── */
.notif-drop-viewall {
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-family: var(--platform-font);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s;
}

.notif-drop-viewall:hover {
  background: rgba(197, 34, 54, 0.06);
  color: #E03050;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Notifications Page — Dedicated Full-Page Notifications View
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Toolbar */
.notif-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.notif-page-filters {
  display: flex;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.notif-filter-btn {
  font-family: var(--platform-font);
  font-weight: 500;
  font-size: 0.8rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  transition: all 0.2s var(--ease-smooth);
  cursor: pointer;
}

.notif-filter-btn:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

.notif-filter-btn.active {
  background: var(--gradient-gold);
  color: #0A0A0A;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(197, 34, 54, 0.2);
}

.notif-page-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notif-page-count {
  font-family: var(--platform-font);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

/* Date Groups */
.notif-page-group {
  margin-bottom: 1.5rem;
}

.notif-page-group-label {
  font-family: var(--platform-font);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  padding: 0 0.25rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
}

/* Individual Notification Items */
.notif-page-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}

.notif-page-item:hover {
  border-color: rgba(197, 34, 54, 0.12);
  background: rgba(25, 25, 25, 0.9);
  transform: translateX(3px);
}

.notif-page-item-unread {
  border-left: 3px solid var(--gold);
  background: rgba(197, 34, 54, 0.03);
}

.notif-page-item-unread:hover {
  background: rgba(197, 34, 54, 0.06);
}

.notif-page-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.notif-page-item-content {
  flex: 1;
  min-width: 0;
}

.notif-page-item-title {
  font-family: var(--platform-font);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.notif-page-item-unread .notif-page-item-title {
  color: #fff;
}

.notif-page-item-message {
  font-family: var(--platform-font);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.notif-page-item-time {
  font-family: var(--platform-font);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
}

.notif-page-item-status {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 0.2rem;
}

.notif-unread-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-gold);
  box-shadow: 0 0 8px rgba(197, 34, 54, 0.4);
}

.notif-read-check {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .notif-page-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .notif-page-actions {
    justify-content: space-between;
  }

  .notif-page-item {
    padding: 0.9rem 1rem;
    gap: 0.75rem;
  }

  .notif-page-item-icon {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Global Cart — Navbar Icon + Sidebar (shared across all tenant pages)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Navbar Cart Button ─────────────────────────────────────────────── */
.nav-cart-btn {
  position: relative;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  transition: all 0.2s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-cart-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cart-badge {
  position: absolute;
  top: -3px;
  right: -5px;
  background: var(--accent, var(--gold, #C5223A));
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.nav-cart-badge.hidden {
  display: none;
}

/* ─── Cart Sidebar (global) ──────────────────────────────────────────── */
.gc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.gc-overlay.open {
  display: block;
  opacity: 1;
}

.gc-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-primary, #0a0e1a);
  border-left: 1px solid var(--glass-border);
  z-index: 9999;
  transition: right 0.3s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.gc-sidebar.open {
  right: 0;
}

.gc-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gc-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.gc-close {
  background: none;
  border: none;
  color: var(--text-primary, #fff);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.15s;
}

.gc-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.gc-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.gc-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.gc-item-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  flex-shrink: 0;
}

.gc-item-info {
  flex: 1;
  min-width: 0;
}

.gc-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary, #fff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-item-variant {
  font-size: 0.8rem;
  color: var(--text-secondary, rgba(255,255,255,0.5));
}

.gc-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.gc-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  background: var(--glass-bg);
  color: var(--text-primary, #fff);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}

.gc-qty-btn:hover {
  border-color: var(--accent, var(--gold, #e8a012));
}

.gc-item-right {
  text-align: right;
  flex-shrink: 0;
}

.gc-item-price {
  font-weight: 700;
  color: var(--accent, var(--gold, #e8a012));
}

.gc-item-remove {
  background: none;
  border: none;
  color: var(--danger, #C5223A);
  cursor: pointer;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  padding: 0;
}

.gc-item-remove:hover {
  text-decoration: underline;
}

.gc-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--glass-border);
}

.gc-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary, #fff);
}

.gc-checkout-btn {
  width: 100%;
  padding: 0.75rem;
}

.gc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  color: var(--text-secondary, rgba(255,255,255,0.5));
  text-align: center;
}

.gc-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .gc-sidebar {
    width: 100%;
    max-width: 100vw;
    right: -100%;
  }
}

/* ─── Player Search Page ──────────────────────────────────────────────────── */
.player-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.75rem;
}

.player-search-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-card, rgba(255,255,255,0.03));
  border: 1px solid var(--border-color, rgba(255,255,255,0.06));
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.player-search-card:hover {
  border-color: rgba(197, 34, 58, 0.4);
  background: rgba(255,255,255,0.05);
}

.player-search-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(197, 34, 58, 0.15);
  color: #C5223A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.player-search-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-search-info {
  flex: 1;
  min-width: 0;
}

.player-search-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary, #ECF0F6);
  margin-bottom: 0.2rem;
}

.player-search-teams {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.player-search-stats {
  font-size: 0.72rem;
  color: var(--text-tertiary, rgba(255,255,255,0.35));
}
.player-search-stats strong {
  color: var(--gold, #FFB347);
}

/* ─── Player Profile Avatar (large) ──────────────────────────────────────── */
.player-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(197, 34, 58, 0.15);
  color: #C5223A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.player-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Child Photo Upload (profile page) ──────────────────────────────────── */
.child-photo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(197, 34, 58, 0.1);
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.child-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.child-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #C5223A;
}
.child-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 50%;
}
.child-photo-wrap:hover .child-photo-overlay {
  opacity: 1;
}

/* ─── Data Table Wrapper ──────────────────────────────────────────────────── */
.data-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table-wrap .table {
  min-width: 400px;
}

@media (max-width: 640px) {
  .player-search-grid {
    grid-template-columns: 1fr;
  }
}
/* ═══════════════════════════════════════════════════════════════════════════════
   Mobile UX — Comprehensive Enhancements
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Mobile: Notification dropdown full-width ── */
@media (max-width: 960px) {
  .notif-bell-wrap {
    position: static;
  }
  .notif-dropdown {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0 0 14px 14px;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Mobile cart / notif buttons — bigger touch targets */
  .nav-cart-btn,
  .notif-bell-btn {
    min-width: 44px;
    min-height: 44px;
    font-size: 1.15rem;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ── Mobile: Container padding ── */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Filter bars stack on mobile */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
  }

  .filter-bar label {
    font-size: 0.85rem;
  }

  .filter-bar .form-control {
    max-width: 100%;
    width: 100%;
  }

  /* Modals — wider on mobile */
  .modal-overlay .modal {
    width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    margin: 5vh auto;
  }

  /* Tables — horizontal scroll hint */
  .data-table-wrap {
    position: relative;
  }

  .data-table-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24px;
    background: linear-gradient(90deg, transparent, rgba(8, 12, 22, 0.7));
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
  }

  /* Forms — full width on mobile */
  .form-group {
    min-width: 0 !important;
  }

  .flex.gap-3 {
    flex-direction: column;
  }

  /* Footer mobile */
  .footer-bottom p {
    font-size: 0.8rem;
    text-align: center;
  }
}

/* ── Mobile: Smaller screens ── */
@media (max-width: 480px) {
  .page-header {
    padding: 1.5rem 0 1.25rem;
  }

  .page-header-title {
    font-size: 1.5rem;
  }

  .page-header-desc {
    font-size: 0.88rem;
  }

  .page-header-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  /* Buttons — full width on small screens */
  .page-header-actions .btn {
    width: 100%;
  }

  /* Card bodies — tighter padding */
  .card-body {
    padding: 1rem;
  }

  .card-header {
    padding: 0.85rem 1rem;
  }
}

/* ── Mobile: Safe area handling for modern devices ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }
  .gc-footer {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }
}