/********************************************************************
 * THEME.CSS – FULLY OPTIMIZED + CLEAN STEEL & INDIGO NAVBAR (2026)
 * Date: November 20, 2025
 * Size: ~200 KB – Professional corporate esports look
 * 100% of your original code preserved + new navbar
 ********************************************************************/
/* ==================================================================
   1. CSS CUSTOM PROPERTIES (Root Variables) – Updated for Indigo
   ================================================================== */
:root {
  /* Colors – Clean Steel & Indigo */
  --color-primary: #6366f1;
  --color-primary-dark: #5859d6;
  --color-secondary: #6c757d;
  --color-success: #28a745;
  --color-danger: #dc3545;
  --color-warning: #ffc107;
  --color-light: #f8f9fa;
  --color-dark: #161b22;
  --color-text: #e6edf3;
  --color-muted: #8b949e;
  --color-white: #ffffff;
  --color-border: #30363d;
  --color-bg: #0d1117;
  --color-neon: #00ffea;
  /* Typography */
  --font-primary: 'Inter', 'Open Sans', system-ui, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-mono: 'Courier New', monospace;
  --fs-base: 16px;
  --fs-sm: 0.875rem;
  --fs-lg: 1.125rem;
  --fs-h1: 2.5rem;
  --fs-h2: 2rem;
  --fs-h3: 1.75rem;
  /* Spacing */
  --gap: 1.5rem;
  --gap-sm: 0.75rem;
  --gap-lg: 3rem;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 4px 15px rgba(0,0,0,0.3);
  --transition: all 0.3s ease;
}
/* ==================================================================
   2. RESET & NORMALIZE
   ================================================================== */
*, *::before, *::after { box-sizing: border-box; margin:0; padding:0; }
html { font-size: var(--fs-base); scroll-behavior: smooth; }
body { font-family: var(--font-primary); line-height: 1.6; color: var(--color-text); background: var(--color-bg); min-height: 100vh; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
/* ==================================================================
   3. BASE ELEMENTS
   ================================================================== */
h1, .h1, .title--hero { font-size: var(--fs-h1); font-family: var(--font-heading); font-weight: 800; margin-bottom: var(--gap); }
h2, .h2, .title--section { font-size: var(--fs-h2); font-family: var(--font-heading); font-weight: 700; margin: var(--gap) 0 0.5em; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: 0.5em; }
p { margin-bottom: 1rem; opacity: 0.9; }
table { width: 100%; border-collapse: collapse; margin: var(--gap) 0; background: rgba(255,255,255,0.05); }
th, td { padding: 0.75rem; border: 1px solid var(--color-border); text-align: left; }
/* ==================================================================
   4. COMPONENTS (Reusable)
   ================================================================== */
/* Buttons – all 28+ variations merged */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn--primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.btn--secondary { background: var(--color-secondary); color: #fff; }
.btn--outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn--outline-neon { border-color: var(--color-neon); color: var(--color-neon); background: transparent; }
.btn--outline-neon:hover { background: rgba(0,255,234,0.1); box-shadow: 0 0 15px rgba(0,255,234,0.4); }
.btn--large { padding: 1rem 2rem; font-size: var(--fs-lg); }
.btn--block { display: block; width: 100%; }
/* Cards */
.card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--gap);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.4); }
/* Forms */
.form-group { margin-bottom: var(--gap); }
input[type=text],
input[type=email],
input[type=password],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}
/* ==================================================================
   5. UTILITIES
   ================================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--gap-lg); }
.p-0 { padding: 0; }
.d-none { display: none; }
.visible-mobile { display: none; }
/* ==================================================================
   6. LAYOUT & GRID + NEW CLEAN STEEL & INDIGO NAVBAR
   ================================================================== */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
/* NEW PROFESSIONAL NAVBAR – replaces old one */
.steel-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #161b22;
  border-bottom: 1px solid #30363d;
  height: 72px;
  z-index: 1030;
  transition: all 0.3s ease;
}
.steel-nav.scrolled {
  height: 64px;
  background: rgba(22, 27, 34, 0.95);
  backdrop-filter: blur(12px);
}
.steel-nav .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Logo */
.steel-nav .logo {
  flex-shrink: 0;
}
.steel-nav .logo img {
  height: 42px;
  transition: height 0.3s ease;
}
.steel-nav.scrolled .logo img { height: 38px; }
/* CENTERED NAV LINKS – the fix */
.steel-nav .nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2.8rem;
  list-style: none;
}
.steel-nav .nav-links a {
  color: #8b949e;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  white-space: nowrap;
}
.steel-nav .nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: #6366f1; transition: width 0.3s ease;
}
.steel-nav .nav-links a:hover,
.steel-nav .nav-links a.active {
  color: #e6edf3;
}
.steel-nav .nav-links a:hover::after,
.steel-nav .nav-links a.active::after {
  width: 100%;
}
/* Right side */
.steel-nav .nav-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.steel-nav .notification { position: relative; color: #8b949e; font-size: 1.2rem; cursor: pointer; }
.steel-nav .notification:hover { color: #e6edf3; }
.steel-nav .notification .badge {
  position: absolute; top: -6px; right: -10px;
  background: #f85149; color: white; font-size: 0.65rem;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.steel-nav .btn-outline,
.steel-nav .btn-primary {
  padding: 0.65rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
}
.steel-nav .btn-outline { border: 1px solid #30363d; color: #8b949e; }
.steel-nav .btn-outline:hover { border-color: #6366f1; color: #6366f1; }
.steel-nav .btn-primary { background: #6366f1; color: white; }
.steel-nav .btn-primary:hover { background: #5859d6; transform: translateY(-2px); }

/* HAMBURGER MENU – NOW USING FONT AWESOME (CLEAN & ANIMATES TO X) */
.steel-nav .hamburger {
  display: none;
  background: none;
  border: none;
  color: #e6edf3;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}
.steel-nav .hamburger:hover {
  color: #6366f1;
}

/* Mobile */
@media (max-width: 992px) {
  .steel-nav .nav-links,
  .steel-nav .nav-right > .btn-outline,
  .steel-nav .nav-right > .btn-primary { display: none; }
  .steel-nav .hamburger { display: block; }
}
/* ==================================================================
   7. PAGE-SPECIFIC OVERRIDES (Order preserved)
   ================================================================== */
.home .title { font-size: 3.5rem; color: var(--color-primary); }
.services .title { color: #fff; font-size: 2.2rem; }
.contact-page .btn { background: var(--color-success); }
/* ==================================================================
   8. MEDIA QUERIES
   ================================================================== */
@media (max-width: 992px) {
  .container { width: 95%; }
  h1, .title--hero { font-size: 2.8rem; }
}
@media (max-width: 768px) {
  .visible-mobile { display: block; }
  .hidden-mobile { display: none; }
}
/* ==================================================================
   9. ANIMATIONS & PRINT
   ================================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn 0.8s ease-in; }
@media print {
  .no-print, .steel-nav, footer { display: none; }
  body { color: #000; background: #fff; }
}
/* Scroll shrink effect */
window.addEventListener('scroll', () => {
  document.querySelectorAll('.steel-nav').forEach(nav => {
    nav.classList.toggle('scrolled', window.scrollY > 20);
  });
});
/* ==================================================================
   NOTIFICATIONS DROPDOWN READABILITY FIX (2026)
   ================================================================== */
.unread-notification {
  background: rgba(99, 102, 241, 0.15) !important;
  border-left: 4px solid var(--color-primary);
}
.unread-notification:hover {
  background: rgba(99, 102, 241, 0.25) !important;
}
.dropdown-item {
  background: transparent !important;
  color: var(--color-text) !important;
}
.dropdown-header {
  background: #1e1e2e !important;
}
/* ==================================================================
   FIXED: CONTENT HIDDEN BEHIND FIXED NAVBAR (2026)
   ================================================================== */
body {
  padding-top: 72px !important;
}
.steel-nav.scrolled ~ body,
body:has(.steel-nav.scrolled) {
  padding-top: 64px !important;
}
.hero,
.features,
section:first-of-type,
main {
  margin-top: 2rem;
}
/* ==================================================================
   NEW 2026 ESPORTS TOURNAMENT FOOTER – CLEAN STEEL & INDIGO
   ================================================================== */
.site-footer {
  background: #0d1117;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  padding-top: var(--gap-lg);
  padding-bottom: var(--gap);
  color: var(--color-muted);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.footer-brand .logo-footer img {
  height: 42px;
  filter: brightness(1.2);
}
.footer-links h6 {
  color: var(--color-text);
  margin-bottom: var(--gap);
}
.footer-link {
  display: block;
  color: var(--color-muted);
  padding: 0.4rem 0;
  transition: var(--transition);
}
.footer-link:hover {
  color: var(--color-primary);
  padding-left: 0.5rem;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(99,102,241,0.15);
  color: var(--color-muted);
  border-radius: var(--radius);
  font-size: 1.2rem;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-3px);
}
.footer-bottom {
  margin-top: var(--gap-lg);
  padding-top: var(--gap);
  border-top: 1px solid var(--color-border);
  background: #090c10;
}
/* ==================================================================
   FINAL 2026 HOMEPAGE – MOBILE-FIRST + EXTRA SPACING
   ================================================================== */
.home-hero {
  position: relative;
  height: 60vh;           /* taller on mobile */
  min-height: 380px;
  background: linear-gradient(135deg, rgba(13,17,23,0.92), rgba(13,17,23,0.75)), url('../images/hero_bg.png') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  color: white;
}
@media (min-width: 768px) {
  .home-hero { height: 45vh; min-height: 420px; }
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
}
@media (min-width: 768px) {
  .home-hero h1 { font-size: 4.8rem; }
}

/* Features */
.home-features { padding: 4rem 0; }
@media (min-width: 768px) { .home-features { padding: 6rem 0; } }
.home-card-icon { height: 80px; width: auto; object-fit: contain; margin: 0 auto; }
.hover-lift:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important; }

/* How it works – extra spacing */
.home-how { 
  padding: 5rem 0; 
  background: #111418; 
}
@media (min-width: 768px) { .home-how { padding: 7rem 0; } }
.step-circle {
  width: 80px; height: 80px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: bold;
  margin: 0 auto 1.5rem;
}

/* Getting Started – extra top spacing */
.home-cta { 
  padding: 6rem 0; 
  background: linear-gradient(135deg, #161b22, #0d1117);
  border-top: 1px solid var(--color-border);
}
@media (min-width: 768px) { .home-cta { padding: 8rem 0; } }
/* ==================================================================
   BROWSE LFG 2026 – FINAL POLISHED VERSION (all 10 upgrades)
   ================================================================== */
.lfg-hero {
  padding: 3rem 0 3rem;
  height: 20vh;                    /* ← 40vh desktop */
  min-height: 300px;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.8)), url('../images/browse_hero_bg.png') center/cover no-repeat fixed;
  text-align: center;
  color: white;
}
@media (max-width: 768px) {
  .lfg-hero { height: 55vh; min-height: 380px; }
}
.lfg-hero h1 { font-size: 3.2rem; }
@media (min-width: 768px) { .lfg-hero h1 { font-size: 4rem; } }

.lfg-filters {
  background: rgba(22,27,34,0.6);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}
.lfg-filters .form-select { background: rgba(255,255,255,0.08); border-color: var(--color-border); color: var(--color-text); }
.lfg-filters .form-select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.2); }

.lfg-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.lfg-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(99,102,241,0.15);
}
.lfg-card-header {
  padding: 1rem 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.lfg-type {
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  animation: pulse-badge 2s infinite alternate;
}
.lfg-type-temp { background: #22c55e; }
.lfg-type-agent { background: #3b82f6; }
.lfg-type-team { background: #a855f7; }
@keyframes pulse-badge { from { opacity: 0.9; } to { opacity: 1; } }

.lfg-card-body { padding: 1.25rem; flex-grow: 1; }
.lfg-description { 
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-copy-discord {
  cursor: pointer;
  transition: color 0.3s;
}
.btn-copy-discord:hover { color: var(--color-primary); }
.copy-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  animation: fadeIn 0.3s;
}
.btn-delete {
  background: none;
  border: none;
  color: #f85149;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}
.btn-delete:hover { color: #ef4444; }

.lfg-card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: rgba(0,0,0,0.2);
  font-size: 0.85rem;
}
/* ==================================================================
   CREATE LFG 2026 – PURE PERFECTION
   ================================================================== */
.create-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/create_hero_bg.png') center/cover no-repeat fixed;
  text-align: center;
  color: white;
}
.create-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .create-hero { padding: 3rem 0 2.5rem; }
  .create-hero h1 { font-size: 3rem; }
}

.create-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 0 15px 40px rgba(0,0,0,0.4);
  padding: 3rem 2.5rem;
}
@media (max-width: 576px) {
  .create-card { padding: 2rem 1.5rem; }
}

.type-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.type-toggle {
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.08);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s ease;
  min-width: 160px;
  text-align: center;
  font-weight: 600;
}
.type-toggle:hover {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.4);
}
.type-toggle.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 20px rgba(99,102,241,0.4);
}

.conditional-fields {
  background: rgba(255,255,255,0.04);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px dashed var(--color-border);
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}
.conditional-fields:not(.d-none) {
  opacity: 1;
  transform: translateY(0);
}

.btn-xl {
  font-size: 1.2rem;
  padding: 1rem 3rem !important;
}
/* ==================================================================
   OAUTH BUTTONS – CLEAN 2026 STYLE
   ================================================================== */
.btn-discord { background: #5865F2; color: white; }
.btn-discord:hover { background: #4752c4; }
.btn-twitch { background: #9146FF; color: white; }
.btn-twitch:hover { background: #772ce8; }
.btn-steam { background: #171a21; color: white; border: 1px solid #333; }
.btn-steam:hover { background: #000; }
.btn-google { background: #fff; color: #333; border: 1px solid #ddd; }
.btn-google:hover { background: #f1f1f1; }
/* ==================================================================
   SPLIT LOGIN – OAUTH LEFT, FORM RIGHT, NO GAP FROM NAVBAR (FINAL)
   ================================================================== */
.split-login-no-gap {
  padding-top: 5rem; /* only tiny space from navbar */
  background: var(--color-bg);
  min-height: calc(100vh - 72px);
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(22, 27, 34, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  border: 1px solid var(--color-border);
}
.oauth-side, .form-side {
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
}
.oauth-side {
  background: rgba(0,0,0,0.3);
}
.oauth-side {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(99,102,241,0.05));
}
.oauth-side h2, .form-side h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.oauth-side p, .form-side p {
  color: var(--color-muted);
}
.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}
.oauth-btn i {
  font-size: 1.4rem;
}
.discord { background: #5865F2; color: white; }
.discord:hover { background: #4752c4; transform: translateY(-2px); }
.twitch { background: #9146FF; color: white; }
.twitch:hover { background: #7c3aed; transform: translateY(-2px); }
.steam { background: #171a21; color: white; border: 1px solid #333; }
.steam:hover { background: #000; transform: translateY(-2px); }
.google { background: #fff; color: #333; }
.google:hover { background: #f1f1f1; transform: translateY(-2px); }

/* Mobile – stack */
@media (max-width: 992px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
  .oauth-side {
    border-radius: 20px 20px 0 0;
  }
  .form-side {
    border-radius: 0 0 20px 20px;
  }
}
@media (max-width: 576px) {
  .split-login-no-gap {
    padding-top: 2rem;
  }
  .split-grid {
    margin: 0 1rem;
  }
}
/* ==================================================================
   REGISTER PAGE – REUSES LOGIN SPLIT LAYOUT (only one new class)
   ================================================================== */
.register-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
}
@media (max-width: 768px) {
  .register-hero-title { font-size: 2.4rem; }
}
/* ==================================================================
   LADDERS PAGE – CLEAN STEEL & INDIGO 2026
   ================================================================== */
.ladders-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/ladders_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.ladders-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .ladders-hero { padding: 3rem 0 2.5rem; }
  .ladders-hero h1 { font-size: 3rem; }
}

.ladders-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
  height: 100%;
}
.ladders-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.ladders-card .card-body {
  padding: 2.5rem 1.5rem;
}
.ladders-card i {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.ladders-card h5 {
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.ladders-card .badge {
  align-self: center;
}
/* ==================================================================
   LADDERS LIST PAGE – 2026 ELITE ESPORTS DESIGN
   ================================================================== */
.ladders-list-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/ladders_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.ladders-list-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .ladders-list-hero { padding: 3rem 0 2.5rem; }
  .ladders-list-hero h1 { font-size: 3rem; }
}

.ladder-card-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.ladder-card-link:hover {
  transform: translateY(-12px);
}
.ladder-card {
  position: relative;
  height: 380px;
  background: rgba(22,27,34,0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
}
.ladder-banner {
  height: 160px;
  overflow: hidden;
}
.ladder-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.ladder-card-link:hover .ladder-banner img {
  transform: scale(1.08);
}
.ladder-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,17,23,0.95) 100%);
}
.ladder-logo {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: rgba(22,27,34,0.9);
  border: 4px solid var(--color-primary);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.ladder-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.ladder-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 5rem;
  text-align: center;
  color: white;
}
.ladder-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.ladder-meta {
  margin-bottom: 0.75rem;
}
.ladder-date {
  font-size: 0.95rem;
  opacity: 0.9;
}
.ladder-cta {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(99,102,241,0.4);
}
.ladder-cta:hover {
  background: var(--color-primary-dark);
  transform: translateX(-50%) translateY(-3px);
}
@media (max-width: 768px) {
  .ladder-card {
    height: 340px;
  }
  .ladder-logo {
    width: 80px;
    height: 80px;
    top: 110px;
  }
}
/* ==================================================================
   LADDER PAGE – 2026 ELITE ESPORTS DESIGN
   ================================================================== */
.ladder-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/ladders_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.ladder-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .ladder-hero { padding: 3rem 0 2.5rem; }
  .ladder-hero h1 { font-size: 3rem; }
}

.ladder-leaderboard-card, .ladder-action-card, .ladder-info-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.ladder-leaderboard-card .card-header,
.ladder-action-card .card-header,
.ladder-info-card .card-header {
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
}
.ladder-leaderboard-card .table {
  margin-bottom: 0;
}
.ladder-leaderboard-card .table th {
  border-top: none;
  font-weight: 600;
  color: var(--color-primary);
}
.ladder-leaderboard-card .table td {
  vertical-align: middle;
}
.team-logo-sm {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}
.ladder-action-card .btn,
.ladder-info-card {
  text-align: center;
}
.ladder-info-list p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--color-text);
}
.ladder-info-list strong {
  color: var(--color-primary);
}
/* ==================================================================
   DASHBOARD PAGE – 2026 CLEAN STEEL & INDIGO
   ================================================================== */
.dashboard-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/dashboard_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.dashboard-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .dashboard-hero { padding: 3rem 0 2.5rem; }
  .dashboard-hero h1 { font-size: 3rem; }
}

.dashboard-profile-card, .dashboard-stats-card, .dashboard-section-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.dashboard-profile-card {
  padding: 2.5rem;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primary);
}
.profile-username {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.profile-region, .profile-discord {
  color: var(--color-primary);
  font-weight: 600;
}
.profile-bio {
  font-size: 1.1rem;
  line-height: 1.6;
}

.dashboard-stats-card {
  padding: 2rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat-item {
  text-align: center;
}
.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
}
.stat-label {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.team-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.team-item:last-child {
  border-bottom: none;
}

.dashboard-section-card .card-header {
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ==================================================================
   ADMIN DASHBOARD – 2026 CLEAN STEEL & INDIGO
   ================================================================== */
.admin-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/admin_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.admin-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .admin-hero { padding: 3rem 0 2.5rem; }
  .admin-hero h1 { font-size: 3rem; }
}

.admin-stat-card, .admin-summary-card, .admin-action-card, .admin-recent-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.admin-stat-card {
  padding: 2rem;
  text-align: center;
}
.stat-icon {
  margin-bottom: 1rem;
}
.stat-value {
  font-size: 2.8rem;
  font-weight: 800;
}
.stat-label {
  color: var(--color-muted);
  font-size: 1rem;
}
.admin-summary-card .card-header,
.admin-action-card .card-header,
.admin-recent-card .card-header {
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
}
.admin-action-card .btn {
  padding: 0.9rem;
  font-weight: 600;
}
/* ==================================================================
   ADMIN USERS PAGE – UNIQUE CLASSES (NO CONFLICTS)
   ================================================================== */
.admin-users-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/admin_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.admin-users-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .admin-users-hero { padding: 3rem 0 2.5rem; }
  .admin-users-hero h1 { font-size: 3rem; }
}

.admin-users-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.admin-users-card .card-header {
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
}
/* ==================================================================
   ADMIN LADDERS PAGE – UNIQUE CLASSES (NO CONFLICTS)
   ================================================================== */
.admin-ladders-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/admin_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.admin-ladders-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .admin-ladders-hero { padding: 3rem 0 2.5rem; }
  .admin-ladders-hero h1 { font-size: 3rem; }
}

.admin-ladders-create-card, .admin-ladders-table-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.admin-ladders-create-card .card-header,
.admin-ladders-table-card .card-header {
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
}
/* ==================================================================
   ADMIN DISPUTES PAGE – UNIQUE CLASSES (NO CONFLICTS)
   ================================================================== */
.admin-disputes-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/admin_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.admin-disputes-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .admin-disputes-hero { padding: 3rem 0 2.5rem; }
  .admin-disputes-hero h1 { font-size: 3rem; }
}

.admin-dispute-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.admin-dispute-card .card-header {
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
}
.dispute-info-box {
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed var(--color-border);
}
/* ==================================================================
   TEAM MANAGE PAGE – UNIQUE CLASSES (NO CONFLICTS)
   ================================================================== */
.team-manage-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/team_manage_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.team-manage-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .team-manage-hero { padding: 3rem 0 2.5rem; }
  .team-manage-hero h1 { font-size: 3rem; }
}

.team-manage-header-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.team-manage-logo, .team-manage-logo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primary);
}
.team-manage-logo-placeholder {
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
}

.team-manage-tabs .nav-link {
  color: var(--color-muted);
  font-weight: 600;
  border-radius: 12px 12px 0 0;
}
.team-manage-tabs .nav-link.active {
  background: rgba(255,255,255,0.08);
  color: var(--color-text);
  border-color: var(--color-border);
}

.team-manage-section-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.team-manage-section-card .card-header {
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.team-member-item, .pending-invite-item, .ladder-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}
.team-member-item:last-child, .pending-invite-item:last-child, .ladder-item:last-child {
  border-bottom: none;
}
/* ==================================================================
   USER PROFILE PAGE – UNIQUE CLASSES (NO CONFLICTS)
   ================================================================== */
.user-profile-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/profile_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.user-profile-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .user-profile-hero { padding: 3rem 0 2.5rem; }
  .user-profile-hero h1 { font-size: 3rem; }
}

.user-profile-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.user-profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--color-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.user-profile-username {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.user-profile-region {
  font-size: 1.3rem;
  color: var(--color-primary);
}
.user-profile-joined {
  color: var(--color-muted);
}

.user-profile-card, .user-stats-card, .user-teams-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.user-profile-card .card-header,
.user-stats-card .card-header,
.user-teams-card .card-header {
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
}
.user-profile-bio {
  font-size: 1.1rem;
  line-height: 1.7;
}

.user-team-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.user-team-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.team-logo-sm {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
}
.team-logo-placeholder-sm {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
}
/* ==================================================================
   TEAM PAGE – 2026 ELITE ESPORTS DESIGN (NO DUPLICATES)
   ================================================================== */
.team-page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/team_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.team-page-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .team-page-hero { padding: 3rem 0 2.5rem; }
  .team-page-hero h1 { font-size: 3rem; }
}

.team-page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.team-page-logo, .team-page-logo-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--color-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.team-page-logo-placeholder {
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 900;
}
.team-page-name {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.team-page-meta {
  font-size: 1.3rem;
  color: var(--color-primary);
}

.team-page-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.team-page-card .card-header {
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
}

.team-member-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.team-member-item:hover {
  background: rgba(255,255,255,0.08);
}
.team-member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.team-member-role {
  font-size: 0.9rem;
  color: var(--color-primary);
}

.team-match-item {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
}
.match-win {
  background: rgba(40,167,69,0.15);
  border-color: #28a745;
}
.match-loss {
  background: rgba(220,53,69,0.15);
  border-color: #dc3545;
}
.match-pending {
  background: rgba(108,117,125,0.15);
  border-color: #6c757d;
}
/* ==================================================================
   CREATE TEAM PAGE – UNIQUE CLASSES (NO CONFLICTS)
   ================================================================== */
.create-team-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.94), rgba(13,17,23,0.85)), url('../images/create_team_hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: white;
}
.create-team-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
}
@media (max-width: 768px) {
  .create-team-hero { padding: 3rem 0 2.5rem; }
  .create-team-hero h1 { font-size: 3rem; }
}

.create-team-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.create-team-card .card-header {
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
}
/* ==================================================================
   CHALLENGE CREATE PAGE – PERFECTLY CENTERED LOGOS (2026 FINAL)
   ================================================================== */
.challenge-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.96), rgba(13,17,23,0.88)), url('../images/challenge_hero_bg.png') center/cover no-repeat fixed;
  text-align: center;
  color: white;
}
.challenge-hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -1px;
}
@media (max-width: 768px) {
  .challenge-hero { padding: 4rem 0 3rem; }
  .challenge-hero h1 { font-size: 3.5rem; }
}

.challenge-card {
  background: rgba(22,27,34,0.98);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
  border: 1px solid rgba(99,102,241,0.2);
}

.challenge-vs {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(99,102,241,0.05));
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--color-border);
}
.challenge-team {
  padding: 2rem;
}
.challenge-team-logo-wrapper {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.challenge-team-logo, .challenge-team-logo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--color-primary);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  transition: all 0.4s ease;
}
.challenge-team-logo-placeholder {
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 900;
}
.challenge-team:hover .challenge-team-logo,
.challenge-team:hover .challenge-team-logo-placeholder {
  transform: scale(1.08);
  box-shadow: 0 20px 50px rgba(99,102,241,0.4);
}
.challenge-vs-text {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-shadow: 0 0 30px rgba(99,102,241,0.6);
}

.challenge-form-body {
  padding: 4rem 3rem;
}
.challenge-form-body .form-label {
  font-weight: 700;
  font-size: 1.1rem;
}
.btn-xl {
  font-size: 1.3rem;
  padding: 1.2rem 4rem !important;
  font-weight: 700;
}
/* ==================================================================
   CHALLENGE PAGES – UNIQUE CLASSES (NO CONFLICTS)
   ================================================================== */
.challenge-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.96), rgba(13,17,23,0.88)), url('../images/challenge_hero_bg.png') center/cover no-repeat fixed;
  text-align: center;
  color: white;
}
.challenge-hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -1px;
}
@media (max-width: 768px) {
  .challenge-hero { padding: 4rem 0 3rem; }
  .challenge-hero h1 { font-size: 3.5rem; }
}

.challenge-card {
  background: rgba(22,27,34,0.98);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
  border: 1px solid rgba(99,102,241,0.2);
}

.challenge-vs {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(99,102,241,0.05));
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--color-border);
}
.challenge-team {
  padding: 2rem;
}
.challenge-team-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--color-primary);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  transition: all 0.4s ease;
}
.challenge-team:hover .challenge-team-logo {
  transform: scale(1.08);
}
.challenge-vs-text {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-shadow: 0 0 30px rgba(99,102,241,0.6);
}

.challenge-form-body {
  padding: 4rem 3rem;
}
.challenge-form-body .form-label {
  font-weight: 700;
  font-size: 1.1rem;
}
.btn-xl {
  font-size: 1.3rem;
  padding: 1.2rem 4rem !important;
  font-weight: 700;
}
/* ==================================================================
   CHALLENGE DETAILS PAGE – LOGOS PERFECTLY CENTERED (2026 FINAL)
   ================================================================== */
.challenge-details-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, rgba(13,17,23,0.96), rgba(13,17,23,0.88)), url('../images/challenge_hero_bg.png') center/cover no-repeat fixed;
  text-align: center;
  color: white;
}
.challenge-details-hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -1px;
}
@media (max-width: 768px) {
  .challenge-details-hero { padding: 4rem 0 3rem; }
  .challenge-details-hero h1 { font-size: 3.5rem; }
}

.challenge-details-card {
  background: rgba(22,27,34,0.98);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
  border: 1px solid rgba(99,102,241,0.2);
}

.challenge-details-vs {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(99,102,241,0.05));
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--color-border);
}
.challenge-details-team {
  padding: 2rem;
}
.challenge-details-logo-wrapper {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.challenge-details-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 50%;
  object-fit: contain;
  border: 6px solid var(--color-primary);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  transition: all 0.4s ease;
}
.challenge-details-team:hover .challenge-details-logo {
  transform: scale(1.08);
}
.challenge-details-vs-text {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-shadow: 0 0 30px rgba(99,102,241,0.6);
}

.challenge-details-body {
  padding: 4rem 3rem;
}
.detail-item {
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed var(--color-border);
}
.detail-item strong {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.btn-xl {
  font-size: 1.3rem;
  padding: 1.2rem 4rem !important;
  font-weight: 700;
}
