/* ==========================================================================
   RUSHUP ESPORTS - STYLESHEET
   Theme: Purple + Gold Gaming Luxury | Glassmorphism | High-Conversion UI
   ========================================================================== */

/* --- CSS Variables & Design System Tokens --- */
:root {
  --primary-purple: #6C2BFF;
  --primary-purple-bright: #8A3FFC;
  --primary-glow: rgba(108, 43, 255, 0.4);
  
  --gold: #FFC107;
  --gold-accent: #FFB300;
  --gold-light: #F5C542;
  --gold-glow: rgba(255, 193, 7, 0.35);
  
  --bg-dark: #09090B;
  --bg-darker: #040405;
  --card-bg: rgba(17, 24, 39, 0.7);
  --card-bg-hover: rgba(24, 34, 53, 0.88);
  
  --glass-border: rgba(108, 43, 255, 0.25);
  --glass-border-gold: rgba(255, 193, 7, 0.3);
  --glass-border-hover: rgba(255, 179, 0, 0.6);
  
  --text: #F8FAFC;
  --secondary-text: #94A3B8;
  --muted-text: #64748B;
  --success: #10B981;
  --success-glow: rgba(16, 185, 129, 0.3);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-neon-purple: 0 0 25px rgba(108, 43, 255, 0.4);
  --shadow-neon-gold: 0 0 30px rgba(255, 193, 7, 0.35);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Accessibility & Keyboard-Only Focus Styles --- */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  z-index: 10001;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: none;
  text-decoration: none;
}

.skip-link:focus-visible {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.6rem 1.2rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  box-shadow: 0 0 20px var(--gold-glow);
  outline: 3px solid #FFF;
}

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

/* Mobile Menu Overlay Base (Hidden by default on all viewports) */
.mobile-menu-overlay {
  display: none;
}

/* Background Particle Canvas & Glow Orbs */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
  animation: orbPulse 10s infinite alternate ease-in-out;
}

.glow-orb-1 {
  width: 480px;
  height: 480px;
  background: var(--primary-purple);
  top: -120px;
  left: -120px;
}

.glow-orb-2 {
  width: 420px;
  height: 420px;
  background: var(--gold-accent);
  bottom: -120px;
  right: -120px;
  animation-delay: -5s;
  opacity: 0.25;
}

@keyframes orbPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.4; }
  50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.55; }
  100% { transform: scale(0.9) translate(-20px, 30px); opacity: 0.35; }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

p {
  color: var(--secondary-text);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 40%, var(--gold-light) 75%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #FFF 0%, var(--gold-light) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #8A3FFC 0%, #6C2BFF 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Scroll Progress Bar --- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-purple), var(--gold), var(--gold-accent));
  width: 0%;
  z-index: 1001;
  box-shadow: 0 0 10px var(--gold);
  transition: width 0.1s ease-out;
}

/* --- Toast Notification Popups --- */
.toast-popup {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-gold);
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--shadow-neon-gold);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toast-popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-popup.toast-success {
  border-color: var(--success);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.4);
}

.toast-popup.toast-error {
  border-color: #F43F5E;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(244, 63, 94, 0.4);
}

/* --- Layout Containers & Section Styling --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--secondary-text);
}

/* --- Glassmorphism UI Components --- */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.25), transparent);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), var(--shadow-neon-gold);
}

/* --- Buttons & Interactive Controls --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 52px;
  padding: 0 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  z-index: 1;
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #5B21B6 60%, var(--gold-accent) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 193, 7, 0.4);
  box-shadow: 0 4px 18px rgba(108, 43, 255, 0.4);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7C3AED 0%, var(--primary-purple) 50%, var(--gold) 100%);
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.45);
}

.btn-secondary {
  background: rgba(17, 24, 39, 0.85);
  color: var(--text);
  border: 1px solid var(--glass-border-gold);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--gold);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(255, 193, 7, 0.25);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Ripple Animation Effect */
.ripple-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- Sticky Glass Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.65rem 0;
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  background: transparent;
  display: block;
  transition: transform var(--transition-fast);
}

.nav-logo-img:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-text);
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-purple), var(--gold));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.4rem;
}

/* --- Hero Section --- */
.hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  min-height: 85vh;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--secondary-text);
  margin-bottom: 2.25rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--secondary-text);
}

.trust-icon {
  color: var(--gold);
  font-size: 1rem;
}

/* Hero App Icon Floating Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-icon-container {
  position: relative;
  width: 100%;
  max-width: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatIcon3D 6s infinite ease-in-out;
}

@keyframes floatIcon3D {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.hero-app-icon-img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  border-radius: 44px;
  filter: drop-shadow(0 20px 40px rgba(108, 43, 255, 0.5)) drop-shadow(0 0 35px rgba(255, 193, 7, 0.35));
  transition: transform var(--transition-normal);
}

.hero-icon-container:hover .hero-app-icon-img {
  transform: scale(1.04) rotate(-1deg);
}

.floating-badge {
  position: absolute;
  padding: 0.65rem 1.1rem;
  background: rgba(17, 24, 39, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-neon-gold);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 10;
}

.float-badge-1 {
  top: 6%;
  left: -14%;
  animation: floatSlow 5s infinite alternate ease-in-out;
}

.float-badge-2 {
  bottom: 8%;
  right: -10%;
  animation: floatSlow 7s infinite alternate ease-in-out -2s;
}

@keyframes floatSlow {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

/* --- Screenshot Slider (Aspect-Ratio Preserved) --- */
.slider-outer-wrapper {
  max-width: 360px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-mockup-frame {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 38px;
  padding: 8px;
  border: 3.5px solid #1E293B;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(108, 43, 255, 0.35);
  overflow: hidden;
}

.phone-notch {
  width: 90px;
  height: 16px;
  background: #1E293B;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.phone-slider-view {
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  position: relative;
  touch-action: pan-y;
  cursor: grab;
}

.phone-slider-view:active {
  cursor: grabbing;
}

.phone-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.phone-slide {
  min-width: 100%;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-slide img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  border-radius: 28px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--glass-border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--primary-purple);
  border-color: var(--gold);
  box-shadow: var(--shadow-neon-gold);
  color: #FFF;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 26px;
  border-radius: 10px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* --- Features Grid Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(108, 43, 255, 0.2), rgba(255, 193, 7, 0.12));
  border: 1px solid var(--glass-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.feature-title {
  font-size: 1.15rem;
}

/* --- How It Works Section --- */
.steps-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 1.5rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-purple), var(--gold-accent));
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-neon-gold);
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
}

/* --- Recent Withdrawals Section --- */
.withdrawal-ticker {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.withdrawal-track {
  display: flex;
  gap: 1.25rem;
  animation: scrollWithdrawals 25s linear infinite;
  width: max-content;
}

.withdrawal-track:hover {
  animation-play-state: paused;
}

@keyframes scrollWithdrawals {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.withdrawal-card {
  min-width: 270px;
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.withdrawal-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #FFF;
  font-size: 1.05rem;
  border: 2px solid rgba(16, 185, 129, 0.4);
}

.withdrawal-info {
  display: flex;
  flex-direction: column;
}

.withdrawal-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.withdrawal-amount {
  color: var(--success);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- Why RushUp Trust Section --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-card {
  text-align: center;
  padding: 2rem 1.25rem;
}

.trust-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(108, 43, 255, 0.15);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  color: var(--gold);
  box-shadow: var(--shadow-neon-gold);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.35rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.35rem;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--secondary-text);
  font-size: 0.92rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.35rem 1.35rem 1.35rem;
}

/* --- Final CTA Section --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(108, 43, 255, 0.28) 0%, rgba(17, 24, 39, 0.92) 100%);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-lg);
  padding: 3.5rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-neon-gold);
}

.cta-title {
  font-size: 2.4rem;
  margin-bottom: 0.85rem;
}

.cta-subtitle {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem auto;
}

/* --- Footer --- */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 0 1.75rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand-p {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  max-width: 300px;
}

.footer-col-title {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: var(--secondary-text);
  font-size: 0.88rem;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted-text);
}

/* --- Back To Top Button --- */
#back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-purple);
  color: #FFF;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-neon-gold);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-3px);
  background: var(--gold-accent);
  color: #000;
}

/* Legal Pages Styling */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.75;
}

.legal-content h2 {
  font-size: 1.45rem;
  margin: 1.75rem 0 0.85rem 0;
  color: var(--gold-light);
}

.legal-content p {
  margin-bottom: 1.1rem;
}

.legal-content ul {
  margin: 0.85rem 0 1.25rem 1.25rem;
  color: var(--secondary-text);
}

/* Contact Page Styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.92rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(9, 9, 11, 0.7);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Dynamic Animated Form Field (Telegram Username) */
.form-group-dynamic {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  overflow: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              margin-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group-dynamic.active {
  max-height: 120px;
  opacity: 1;
  margin-bottom: 1.25rem;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================================================
   TOURNAMENT REGISTRATION SYSTEM STYLES
   ========================================================================== */

/* Leagues Grid & Cards (DISPLAY ONLY: Logo, Name, Reg Open Badge, Fee, Few Slots Badge) */
.leagues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.league-card-item {
  display: block;
  text-decoration: none;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.league-card-item:hover {
  transform: translateY(-6px);
  background: var(--card-bg-hover);
  border-color: var(--glass-border-gold);
  box-shadow: var(--shadow-neon-gold);
}

.league-card-logo-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(108, 43, 255, 0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.league-card-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.league-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.league-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.league-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-open {
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-slots {
  background: rgba(255, 193, 7, 0.18);
  color: var(--gold-light);
  border: 1px solid rgba(255, 193, 7, 0.4);
}

.league-card-fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fee-label {
  font-size: 0.85rem;
  color: var(--secondary-text);
  font-weight: 500;
}

.fee-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
}

/* Tournament Details Page */
.stats-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--secondary-text);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.75rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--text);
}

.prize-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.prize-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(9, 9, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.prize-gold {
  border-color: rgba(255, 193, 7, 0.4);
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.12) 0%, rgba(9, 9, 11, 0.7) 100%);
}

.prize-silver {
  border-color: rgba(226, 232, 240, 0.3);
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.08) 0%, rgba(9, 9, 11, 0.7) 100%);
}

.prize-bronze {
  border-color: rgba(217, 119, 6, 0.3);
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.08) 0%, rgba(9, 9, 11, 0.7) 100%);
}

.prize-mvp {
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.12) 0%, rgba(9, 9, 11, 0.7) 100%);
}

.prize-cert {
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.08) 0%, rgba(9, 9, 11, 0.7) 100%);
}

.prize-rank {
  font-size: 1rem;
  color: var(--text);
}

.prize-amount {
  font-size: 1.05rem;
  color: var(--gold-light);
  font-weight: 700;
}

/* Sticky Register Bar */
.sticky-register-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border-gold);
  padding: 0.85rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.sticky-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Stepper Indicator */
.stepper-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  background: rgba(17, 24, 39, 0.6);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.step-item.active {
  opacity: 1;
}

.step-item.completed .step-circle {
  background: var(--success);
  color: #000;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.step-item.active .step-circle {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 12px var(--gold-glow);
}

.step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 1rem;
}

/* Multi-Step Panels & Form Grids */
.form-step-panel {
  display: none;
  animation: fadeInStep 0.35s ease forwards;
}

.form-step-panel.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Custom Checkbox */
.custom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom-box {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 6px;
  border: 2px solid var(--gold);
  background: rgba(9, 9, 11, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.custom-checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom-box {
  background: var(--gold);
}

.custom-checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom-box::after {
  content: '✓';
  color: #000;
  font-weight: 900;
  font-size: 0.9rem;
}

.checkbox-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.4;
}

/* Language Selector Pills */
.lang-selector-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(9, 9, 11, 0.8);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--secondary-text);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Rules List Container */
.rules-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.4rem;
  margin-top: 1rem;
}

.rules-container::-webkit-scrollbar {
  width: 6px;
}

.rules-container::-webkit-scrollbar-thumb {
  background: var(--primary-purple);
  border-radius: 4px;
}

.rule-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(9, 9, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rule-number {
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(108, 43, 255, 0.25);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 1px;
}

.rule-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}


