/* ══════════════════════════════════════════════════════════════════════════════
   CYBER WAR GAMES DAKAR – Main Stylesheet v2.0
   Copyright COJOJ – Dakar 2026
══════════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  /* Core Brand */
  --cwg-cyan:      #00d4ff;
  --cwg-cyan-dim:  #0099bb;
  --cwg-purple:    #7c3aed;
  --cwg-purple-dim:#5b21b6;
  --cwg-blue:      #0ea5e9;
  --cwg-blue-dim:  #0284c7;

  /* Dark Theme (default) */
  --bg-primary:    #0a0f1e;
  --bg-secondary:  #0f172a;
  --bg-card:       #111827;
  --bg-card-hover: #1a2438;
  --border-color:  #1e293b;
  --border-glow:   rgba(0, 212, 255, 0.3);
  --text-primary:  #e2e8f0;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;

  /* Gradients */
  --grad-cyber:    linear-gradient(135deg, var(--cwg-cyan) 0%, var(--cwg-purple) 100%);
  --grad-dark:     linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --grad-card:     linear-gradient(145deg, var(--bg-card) 0%, rgba(17, 24, 39, 0.8) 100%);

  /* Typography */
  --font-heading:  'Orbitron', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  /* Effects */
  --glow-cyan:     0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.1);
  --glow-purple:   0 0 20px rgba(124, 58, 237, 0.4);
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.4);
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --section-py:    5rem;
  --nav-h:         72px;
  --banner-h:      28px;

  /* Override Bootstrap dark-subtle — replaces its default #ced4da */
  --bs-dark-subtle-bg: #010305;

  /* Override Bootstrap body/table color tokens — replaces #212529(bf) */
  --bs-body-color:           #99b5d1;
  --bs-table-color:          #99b5d1;
  --bs-table-striped-color:  #99b5d1;
  --bs-table-hover-color:    #99b5d1;
  --bs-table-active-color:   #99b5d1;

  /* Override Bootstrap secondary color — replaces #212529bf */
  --bs-secondary-color:      rgba(203,217,232,.75);
}

/* Light Theme */
[data-theme="light"] {
  --cwg-cyan:      #0ea5e9;
  --cwg-cyan-dim:  #0284c7;
  --cwg-purple:    #8b5cf6;
  --cwg-purple-dim:#7c3aed;
  --grad-cyber:    linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
  --bg-primary:    #f8fafc;
  --bg-secondary:  #eef2f7;
  --bg-card:       #ffffff;
  --bg-card-hover: #f0f9ff;
  --border-color:  #e2e8f0;
  --border-glow:   rgba(14, 165, 233, 0.22);
  --text-primary:  #0f172a;
  --text-secondary:#475569;
  --text-muted:    #94a3b8;
  --shadow-card:   0 8px 24px rgba(15, 23, 42, 0.06);
  --glow-cyan:     0 0 20px rgba(14, 165, 233, 0.3), 0 0 40px rgba(14, 165, 233, 0.08);
  --glow-purple:   0 0 20px rgba(139, 92, 246, 0.3);
  --bs-dark-subtle-bg: #eef2f7;

  /* Override Bootstrap secondary color — replaces #212529bf */
  --bs-secondary-color: rgba(203,217,232,.75);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

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

p { color: var(--text-secondary); }

.text-cyber { color: var(--cwg-cyan) !important; }
.text-purple { color: var(--cwg-purple) !important; }
code, .mono { font-family: var(--font-mono); }

/* ── Hacker Banner ───────────────────────────────────────────────────────────── */
.hacker-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1060;
  height: var(--banner-h);
  background: #000;
  border-bottom: 1px solid rgba(0, 212, 255, 0.35);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.hbanner-prompt {
  color: #00d4ff;
  opacity: 0.7;
  white-space: nowrap;
}
.hbanner-text {
  color: #7dffb3;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.hbanner-cursor {
  color: #00d4ff;
  animation: hblink 0.9s step-end infinite;
  font-size: 0.85rem;
}
@keyframes hblink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Navigation ──────────────────────────────────────────────────────────────── */
.cyber-nav {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  z-index: 1050;
  height: var(--nav-h);
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
[data-theme="light"] .cyber-nav {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: #e2e8f0;
}
.cyber-nav.scrolled {
  box-shadow: 0 4px 32px rgba(0, 212, 255, 0.1);
}

.navbar-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo { filter: drop-shadow(0 0 8px var(--cwg-cyan)); }
.brand-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}
.brand-accent { color: var(--cwg-cyan); margin: 0 0.1em; }

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.875rem !important;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cwg-cyan);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--cwg-cyan) !important; }
.nav-link:hover::after { width: 80%; }
.nav-link.active {
  color: var(--cwg-cyan) !important;
  background: rgba(0, 212, 255, 0.08) !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}
/* Border via ::before — Bootstrap forces border:0 on .nav-link,
   so we draw the frame on the pseudo-element which Bootstrap never overrides */
.nav-link.active::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border: 1px solid rgba(0, 212, 255, 0.72) !important;
  border-radius: 4px !important;
  pointer-events: none !important;
  animation: nav-glow-pulse 3s ease-in-out infinite;
}
.nav-link.active::after { width: 0 !important; }
[data-theme="light"] .nav-link.active {
  color: #0ea5e9 !important;
  background: rgba(14, 165, 233, 0.07) !important;
  text-shadow: 0 0 10px rgba(14, 165, 233, 0.4) !important;
}
[data-theme="light"] .nav-link.active::before {
  border-color: rgba(14, 165, 233, 0.65) !important;
  animation-name: nav-glow-pulse-light !important;
}
@keyframes nav-glow-pulse-light {
  0%, 100% { box-shadow: 0 0 8px rgba(14,165,233,0.15), inset 0 0 6px rgba(14,165,233,0.06); }
  50%       { box-shadow: 0 0 20px rgba(14,165,233,0.35), inset 0 0 12px rgba(14,165,233,0.10); }
}
@keyframes nav-glow-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.20), inset 0 0 8px rgba(0, 212, 255, 0.07); }
  50%       { box-shadow: 0 0 24px rgba(0, 212, 255, 0.46), inset 0 0 16px rgba(0, 212, 255, 0.14); }
}

/* Dropdown */
.cyber-dropdown {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-card), 0 0 0 1px var(--border-glow);
  padding: 0.5rem;
  min-width: 180px;
}
.cyber-dropdown .dropdown-item {
  color: var(--text-secondary);
  border-radius: 8px;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  transition: var(--transition);
}
.cyber-dropdown .dropdown-item:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cwg-cyan);
}

/* Nav Controls */
.nav-controls { gap: 0.5rem; }

.btn-icon {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
}
.btn-icon:hover {
  border-color: var(--cwg-cyan);
  color: var(--cwg-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

/* Theme icon management */
[data-theme="dark"]  .theme-icon-dark,
[data-theme="light"] .theme-icon-light,
[data-theme="auto"]  .theme-icon-auto { display: inline-block !important; }
.theme-icon-light, .theme-icon-dark, .theme-icon-auto { display: none; }

/* Lang button */
.lang-btn { display: flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.5rem; width: auto; }
.lang-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; }

/* User avatar in nav */
.user-avatar-xs { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: var(--transition);
}
.user-menu-btn:hover {
  border-color: var(--cwg-cyan);
  color: var(--cwg-cyan);
}

/* Hamburger */
.cyber-toggler {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  cursor: pointer;
}
.cyber-toggler span {
  display: block;
  height: 2px;
  background: var(--cwg-cyan);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn-cyber {
  background: var(--grad-cyber);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-cyber::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-cyber:hover::before { opacity: 1; }
.btn-cyber:hover { transform: translateY(-2px); box-shadow: var(--glow-cyan); }

.btn-cyber-outline {
  background: transparent;
  color: var(--cwg-cyan) !important;
  border: 1px solid var(--cwg-cyan);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-cyber-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
  transform: translateY(-1px);
}

.btn-cyber-sm, .btn-cyber.btn-sm   { font-size: 0.75rem; padding: 0.45rem 1rem; }
.btn-cyber-xs                      { font-size: 0.7rem; padding: 0.3rem 0.75rem; }
.btn-cyber.btn-lg                  { font-size: 0.875rem; padding: 0.8rem 2rem; }

/* ── Hero Section ───────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + var(--banner-h));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(124, 58, 237, 0.15) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 20% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 60%),
              var(--bg-primary);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--cwg-cyan);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cwg-cyan);
  animation: blink 1.5s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
/* Glitch effect */
.text-glitch {
  position: relative;
  color: var(--cwg-cyan);
  display: inline-block;
}
.hero-line-2 {
  margin-top: 0.5em;
}
.text-glitch::before, .text-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  color: var(--cwg-cyan);
  opacity: 0;
}
.text-glitch:hover::before {
  opacity: 0.7;
  animation: glitch1 0.4s steps(2) infinite;
  color: var(--cwg-purple);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.text-glitch:hover::after {
  opacity: 0.7;
  animation: glitch2 0.4s steps(2) infinite;
  color: #00ff9f;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
  0%   { transform: translateX(-2px); }
  100% { transform: translateX(2px); }
}
@keyframes glitch2 {
  0%   { transform: translateX(2px); }
  100% { transform: translateX(-2px); }
}

/* ── "Let the hack Begin" sci-fi decode reveal ──────────────────────────── */
.hack-begin-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.8vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cwg-cyan);
  text-shadow: 0 0 14px rgba(0, 212, 255, 0.55), 0 0 36px rgba(0, 212, 255, 0.18);
  margin-bottom: 1.2rem;
  min-height: 2.2rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.hack-begin-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}
.hack-begin-prefix {
  color: var(--cwg-purple);
  opacity: 0.7;
  font-size: 0.8em;
  letter-spacing: 0.02em;
}
.hack-begin-text {
  color: var(--cwg-cyan);
}
.hack-begin-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--cwg-cyan);
  opacity: 0.85;
  vertical-align: middle;
  animation: hblink 0.7s step-end infinite;
  margin-left: 2px;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.cyber-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cyber-tag i { color: var(--cwg-cyan); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Countdown */
.countdown-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.countdown-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-cyber);
}

.countdown-label { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--cwg-cyan); font-weight: 700; text-transform: uppercase; margin-bottom: 1.5rem; }
.countdown-timer { display: flex; align-items: center; justify-content: center; gap: 0.25rem; }
.ct-unit { display: flex; flex-direction: column; align-items: center; }
.ct-val {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  min-width: 3ch;
  text-align: center;
}
.ct-label { font-size: 0.65rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; margin-top: 0.25rem; }
.ct-sep { font-family: var(--font-mono); font-size: 2rem; color: var(--cwg-cyan); align-self: flex-start; padding-top: 0.5rem; margin: 0 0.25rem; }
.countdown-dates { font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; }

/* ── Stats Section ──────────────────────────────────────────────────────────── */
.stats-section { padding: 3rem 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }

.stat-card {
  text-align: center;
  padding: 1.5rem;
}
.stat-icon { font-size: 1.5rem; color: var(--cwg-cyan); margin-bottom: 0.5rem; }
.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 0.25rem; }

/* ── Section Helpers ────────────────────────────────────────────────────────── */
.section-py { padding: var(--section-py) 0; }
.bg-dark-subtle { background-color: var(--bs-dark-subtle-bg) !important; }

.section-header { margin-bottom: 2.5rem; }
.section-badge {
  display: inline-block;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--cwg-cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* ── News Cards ─────────────────────────────────────────────────────────────── */
.news-card-link { text-decoration: none; }
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.news-card:hover {
  border-color: var(--cwg-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 20px rgba(0, 212, 255, 0.1);
}
.news-img-wrap { overflow: hidden; height: 200px; }
.news-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-img { transform: scale(1.05); }
.news-body { padding: 1.25rem; }
.news-date { font-size: 0.75rem; color: var(--cwg-cyan); margin-bottom: 0.5rem; }
.news-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.news-read-more { font-size: 0.8rem; color: var(--cwg-cyan); font-weight: 600; }

/* ── Session Cards ──────────────────────────────────────────────────────────── */
.session-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  transition: var(--transition);
  height: 100%;
  position: relative;
}
.session-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.session-card-link { text-decoration: none; display: block; height: 100%; }
.session-track {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #a78bfa;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.session-level {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
  margin-left: 0.5rem;
}
.level-beginner { background: rgba(34,197,94,0.15); color: #4ade80; }
.level-intermediate { background: rgba(234,179,8,0.15); color: #facc15; }
.level-advanced { background: rgba(239,68,68,0.15); color: #f87171; }

.session-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.session-abstract { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.session-speaker { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.8rem; color: var(--text-secondary); }
.session-speaker-img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.session-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.75rem; color: var(--text-muted); }

/* ── Timeline ───────────────────────────────────────────────────────────────── */
.timeline-day { margin-bottom: 3rem; }
.timeline-day-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.day-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cwg-cyan);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.day-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--cwg-cyan), transparent); }

/* ── Leaderboard ────────────────────────────────────────────────────────────── */
.cyber-table { background: transparent; color: var(--text-primary); }
.cyber-table thead th {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-color: var(--border-color);
  padding: 0.875rem 1rem;
}
.cyber-table tbody td { border-color: var(--border-color); padding: 0.875rem 1rem; vertical-align: middle; }
.cyber-table tbody tr:hover { background: var(--bg-card-hover); }

.rank-gold td   { background: rgba(212, 175, 55, 0.05); }
.rank-silver td { background: rgba(192, 192, 192, 0.05); }
.rank-bronze td { background: rgba(205, 127, 50, 0.05); }

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}
/* Leaderboard preview — force white text on body cells (Bootstrap overrides --bs-table-color) */
.leaderboard-preview .cyber-table tbody td { color: #ffffff !important; }
.leaderboard-preview .cyber-table tbody td strong { color: #ffffff !important; }
.leaderboard-preview .cyber-table tbody .score-val { color: var(--cwg-cyan) !important; }

.score-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cwg-cyan);
}

/* Podium */
.podium-section { padding: 2rem 0; }
.podium-wrap { display: flex; align-items: flex-end; justify-content: center; gap: 1rem; }
.podium-place { display: flex; flex-direction: column; align-items: center; }
.podium-team { font-family: var(--font-heading); font-size: 0.85rem; color: var(--text-primary); margin-bottom: 0.25rem; text-align: center; }
.podium-score { font-family: var(--font-mono); color: var(--cwg-cyan); font-size: 0.9rem; margin-bottom: 0.5rem; }
.podium-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  border-radius: 8px 8px 0 0;
}
.block-1 { background: linear-gradient(180deg, #d4af37, #b8941a); height: 120px; }
.block-2 { background: linear-gradient(180deg, #c0c0c0, #a0a0a0); height: 90px; }
.block-3 { background: linear-gradient(180deg, #cd7f32, #a0631a); height: 70px; }
.podium-rank { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; color: rgba(255,255,255,0.9); }
.podium-crown { font-size: 1.5rem; color: #d4af37; margin-bottom: 0.25rem; }

/* Podium avatars */
.podium-avatar-wrap { margin-bottom: 0.5rem; }
.podium-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
  box-shadow: 0 0 14px rgba(0,212,255,0.25);
}
.podium-1 .podium-avatar { width: 88px; height: 88px; border-color: #d4af37; box-shadow: 0 0 20px rgba(212,175,55,0.4); }
.podium-2 .podium-avatar { border-color: #c0c0c0; }
.podium-3 .podium-avatar { border-color: #cd7f32; }
.podium-avatar-default {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--text-muted);
}
.podium-member { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.2rem; font-family: var(--font-mono); }
.podium-domain-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.6rem;
  border-radius: 100px;
  background: rgba(0,212,255,0.12);
  color: var(--cwg-cyan);
  border: 1px solid rgba(0,212,255,0.3);
  margin-bottom: 0.3rem;
}
.podium-domain-gold { background: rgba(212,175,55,0.15); color: #d4af37; border-color: rgba(212,175,55,0.4); }

/* Leaderboard table avatar */
.lb-avatar-cell { width: 40px; padding-right: 0 !important; }
.lb-avatar-xs {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}
.lb-avatar-icon {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-secondary);
  border-radius: 50%;
  font-size: 0.9rem; color: var(--text-muted);
  border: 2px solid var(--border-color);
}
.domain-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  text-transform: uppercase;
}
.domain-ctf       { background: rgba(0,212,255,0.1);    color: var(--cwg-cyan); border: 1px solid rgba(0,212,255,0.3); }
.domain-bug_bounty { background: rgba(255,150,0,0.1);   color: #ff9600;         border: 1px solid rgba(255,150,0,0.3); }
.domain-overall   { background: rgba(124,58,237,0.1);   color: #a78bfa;         border: 1px solid rgba(124,58,237,0.3); }

/* 2026 Upcoming section */
.lb-upcoming { border-top: 1px solid var(--border-color); padding-top: 2.5rem; }
.lb-upcoming-header {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lb-upcoming-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  background: rgba(0,212,255,0.1);
  color: var(--cwg-cyan);
  border: 1px solid rgba(0,212,255,0.3);
}
.lb-upcoming-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.lb-upcoming-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.lb-upcoming-avatar {
  position: relative;
  width: 80px;
  height: 80px;
}
.lb-upcoming-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px dashed rgba(0,212,255,0.4);
  filter: grayscale(40%) brightness(0.8);
}
.lb-upcoming-avatar > .fa-user-secret {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-secondary);
  border: 2px dashed var(--border-color);
  font-size: 1.8rem; color: var(--text-muted);
}
.lb-upcoming-question {
  position: absolute;
  bottom: 0; right: 0;
  width: 24px; height: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--cwg-cyan);
}
.lb-upcoming-name { font-family: var(--font-heading); font-size: 0.8rem; color: var(--text-primary); text-align: center; }
.lb-upcoming-domain { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); }
.lb-upcoming-status { font-size: 0.7rem; }

/* ── Partners ───────────────────────────────────────────────────────────────── */
.partner-tier-group { margin-bottom: 2.5rem; }
.tier-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.tier-platinum     { background: rgba(212,175,55,.15);  color: #d4af37;  border: 1px solid rgba(212,175,55,.3); }
.tier-gold         { background: rgba(255,165,0,.15);   color: #ffa500;  border: 1px solid rgba(255,165,0,.3); }
.tier-silver       { background: rgba(192,192,192,.15); color: #c0c0c0;  border: 1px solid rgba(192,192,192,.3); }
.tier-bronze       { background: rgba(205,127,50,.15);  color: #cd7f32;  border: 1px solid rgba(205,127,50,.3); }
.tier-media        { background: rgba(244,114,182,.1);  color: #f472b6;  border: 1px solid rgba(244,114,182,.3); }
.tier-academic     { background: rgba(129,140,248,.1);  color: #818cf8;  border: 1px solid rgba(129,140,248,.3); }
.tier-institutional{ background: rgba(52,211,153,.1);   color: #34d399;  border: 1px solid rgba(52,211,153,.3); }
.tier-community    { background: rgba(0,212,255,.1);    color: var(--cwg-cyan); border: 1px solid rgba(0,212,255,.3); }

.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.partner-logo-link { display: flex; align-items: center; text-decoration: none; transition: var(--transition); }
.partner-logo-link:hover { transform: translateY(-2px); filter: brightness(1.2); }
.partner-logo { max-height: 64px; max-width: 160px; object-fit: contain; filter: grayscale(50%); transition: filter 0.3s; }
.partner-logo-link:hover .partner-logo { filter: grayscale(0); }
.partner-logo-platinum { max-height: 80px; max-width: 200px; }
.partner-name-text { font-family: var(--font-heading); color: var(--text-secondary); font-size: 0.9rem; }

/* ── Speaker Cards ──────────────────────────────────────────────────────────── */
.speaker-card-link { text-decoration: none; }
.speaker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.speaker-card:hover { border-color: var(--cwg-cyan); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.speaker-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-color); margin-bottom: 1rem; }
.speaker-avatar-placeholder { width: 96px; height: 96px; border-radius: 50%; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--text-muted); font-size: 2rem; }
.speaker-name { font-family: var(--font-heading); font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.speaker-title { font-size: 0.8rem; color: var(--cwg-cyan); margin-bottom: 0.25rem; }
.speaker-company { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.speaker-country { background: var(--bg-secondary); color: var(--text-muted); font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 100px; }
.speaker-profile-img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cwg-cyan); box-shadow: var(--glow-cyan); }
.speaker-profile-name { font-family: var(--font-heading); font-size: 1.75rem; color: var(--text-primary); }
.speaker-profile-title { color: var(--cwg-cyan); font-size: 1rem; }
.speaker-profile-company { color: var(--text-secondary); }
.speaker-socials { display: flex; justify-content: center; gap: 0.75rem; }

/* ── Auth Pages ─────────────────────────────────────────────────────────────── */
.auth-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + var(--banner-h));
}
.auth-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 40%, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
}
.auth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.auth-subtitle { text-align: center; color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.auth-link { color: var(--cwg-cyan); text-decoration: none; font-weight: 600; }
.auth-link:hover { text-decoration: underline; }
.auth-switch { color: var(--text-muted); font-size: 0.875rem; }

/* Cyber input */
.cyber-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.cyber-input-wrap > i:first-child {
  position: absolute;
  left: 0.875rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  z-index: 1;
}
.cyber-input {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  border-radius: 8px !important;
  padding: 0.625rem 0.875rem 0.625rem 2.5rem !important;
  font-size: 0.875rem;
  width: 100%;
  transition: var(--transition);
}
.cyber-input:focus {
  outline: none !important;
  border-color: var(--cwg-cyan) !important;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1) !important;
}
.cyber-input::placeholder { color: var(--text-muted); }
.pw-toggle { position: absolute; right: 0.75rem; background: none; border: none; color: var(--text-muted); cursor: pointer; }
.pw-toggle:hover { color: var(--cwg-cyan); }

/* Select */
select.cyber-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%2394a3b8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.875rem center; }

/* Checkbox */
.cyber-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; }
.cyber-checkbox input { flex-shrink: 0; width: 18px; height: 18px; border: 1px solid var(--border-color); background: var(--bg-secondary); border-radius: 4px; accent-color: var(--cwg-cyan); margin-top: 0.1rem; }
.cyber-checkbox label { font-size: 0.875rem; color: var(--text-secondary); cursor: pointer; }

/* Password strength */
.password-strength { margin-top: 0.5rem; }
.strength-bar { height: 4px; background: var(--border-color); border-radius: 2px; overflow: hidden; margin-bottom: 0.25rem; }
.strength-fill { height: 100%; width: 0; transition: width 0.3s, background 0.3s; border-radius: 2px; }
.strength-label { font-size: 0.75rem; color: var(--text-muted); }

/* ── Player Profile ──────────────────────────────────────────────────────── */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
}
.profile-avatar-wrap { position: relative; display: inline-block; }
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cwg-cyan);
  box-shadow: var(--glow-cyan);
}
.player-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--cwg-cyan);
  letter-spacing: 0.04em;
}
.profile-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.profile-section-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cwg-cyan);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}
[data-theme="light"] .profile-card    { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .profile-section { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .profile-section-title { color: #0ea5e9; border-bottom-color: #e2e8f0; }

/* ── Dashboard ──────────────────────────────────────────────────────────────── */
.dashboard-section { background: var(--bg-primary); min-height: calc(100vh - var(--nav-h) - var(--banner-h)); padding-top: calc(var(--nav-h) + var(--banner-h)); }
.dash-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.dash-welcome { display: flex; align-items: center; gap: 1rem; }
.dash-avatar { position: relative; width: 64px; height: 64px; }
.dash-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--cwg-cyan); }
.dash-avatar-placeholder { width: 100%; height: 100%; border-radius: 50%; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; color: var(--cwg-cyan); font-size: 1.5rem; border: 2px solid var(--border-color); }
.dash-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.player-type-tag, .badge-tag { display: inline-flex; align-items: center; padding: 0.2rem 0.6rem; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; }
.player-type-tag { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); color: var(--cwg-cyan); }
.badge-elite   { background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.3); color: #d4af37; }
.badge-advanced{ background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3); color: #a78bfa; }
.badge-initiate{ background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); color: var(--cwg-cyan); }

.dash-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}
.widget-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}
.widget-body { padding: 1.25rem; }

.ann-item { padding: 0.75rem; border-radius: 8px; margin-bottom: 0.75rem; border-left: 3px solid; }
.ann-info     { background: rgba(14,165,233,0.1); border-color: #0ea5e9; }
.ann-warning  { background: rgba(234,179,8,0.1); border-color: #eab308; }
.ann-critical { background: rgba(239,68,68,0.1); border-color: #ef4444; }
.ann-level { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; opacity: 0.8; margin-bottom: 0.25rem; }

/* Leaderboard mini */
.lb-mini { border-top: 1px solid var(--border-color); }
.lb-mini-row { display: flex; align-items: center; padding: 0.625rem 1.25rem; border-bottom: 1px solid var(--border-color); font-size: 0.85rem; }
.lb-rank { font-family: var(--font-mono); font-weight: 700; color: var(--text-muted); width: 24px; }
.lb-name { flex: 1; color: var(--text-primary); }
.lb-score { font-family: var(--font-mono); color: var(--cwg-cyan); font-size: 0.8rem; }
.lb-gold   .lb-rank { color: #d4af37; }
.lb-silver .lb-rank { color: #c0c0c0; }
.lb-bronze .lb-rank { color: #cd7f32; }

.quick-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.quick-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}
.quick-link i { color: var(--cwg-cyan); }
.quick-link:hover { border-color: var(--cwg-cyan); color: var(--cwg-cyan); background: rgba(0,212,255,0.05); }

/* ── CTA Section ────────────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-heading); font-size: clamp(1.75rem, 4vw, 3rem); color: var(--text-primary); margin-bottom: 1rem; position: relative; }
.cta-subtitle { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 2.5rem; position: relative; }

/* ── Hero Scroll ────────────────────────────────────────────────────────────── */
.hero-scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); text-align: center; cursor: pointer; opacity: 0.6; }
.hero-scroll-hint span { display: block; font-size: 0.7rem; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; }
.scroll-arrow { width: 20px; height: 20px; border-right: 2px solid var(--cwg-cyan); border-bottom: 2px solid var(--cwg-cyan); transform: rotate(45deg); margin: 0 auto; animation: arrowBounce 1.5s infinite; }
@keyframes arrowBounce { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(4px); } }

/* ── Page Hero ──────────────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + var(--banner-h) + 4rem) 0 4rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(0,212,255,0.06) 0%, transparent 60%),
    linear-gradient(rgba(0,212,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.02) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
}
.page-hero-sm { padding: calc(var(--nav-h) + var(--banner-h) + 2rem) 0 2rem; }
.page-hero-title { font-family: var(--font-heading); font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; color: var(--text-primary); position: relative; }
.page-hero-subtitle { color: var(--text-secondary); font-size: 1rem; position: relative; margin-top: 0.5rem; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.cyber-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}
.footer-glow { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cwg-cyan), var(--cwg-purple), transparent); }

.footer-brand { margin-bottom: 1.5rem; }
.footer-title { font-family: var(--font-heading); font-size: 1.25rem; margin: 0.75rem 0 0.75rem; color: var(--text-primary); }
.footer-desc { color: var(--text-muted); font-size: 0.875rem; max-width: 280px; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.social-link:hover { border-color: var(--cwg-cyan); color: var(--cwg-cyan); transform: translateY(-2px); }

.footer-heading { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-primary); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--cwg-cyan); }

.footer-bottom { border-top: 1px solid var(--border-color); padding: 1.5rem 0; margin-top: 3rem; }
.footer-copyright { color: var(--text-muted); font-size: 0.8rem; margin: 0; }
.footer-edition { font-size: 0.8rem; color: var(--text-muted); }

/* ── Cookie Notice ──────────────────────────────────────────────────────────── */
.cookie-notice {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 9999;
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(0,212,255,0.1);
  backdrop-filter: blur(10px);
}
.cookie-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cookie-text { flex: 1; font-size: 0.8rem; color: var(--text-secondary); }
.cookie-link { color: var(--cwg-cyan); text-decoration: none; }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* ── CTF Page ───────────────────────────────────────────────────────────────── */
.min-vh-60 { min-height: 60vh; }
.ctf-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
}
.ctf-category-card:hover { border-color: var(--cwg-cyan); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.ctf-cat-icon { font-size: 2rem; color: var(--cwg-cyan); margin-bottom: 1rem; }
.ctf-cat-name { font-family: var(--font-heading); font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.ctf-cat-desc { font-size: 0.8rem; color: var(--text-muted); }

.ctf-rules-list { color: var(--text-secondary); padding-left: 1.5rem; }
.ctf-rules-list li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.ctf-prize-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; text-align: center; }
.prize-icon { font-size: 2.5rem; color: #d4af37; margin-bottom: 0.75rem; }
.prize-tier { display: flex; align-items: center; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }
.prize-tier:last-child { border-bottom: none; }
.prize-rank { font-family: var(--font-mono); font-weight: 700; color: var(--text-muted); width: 30px; }
.prize-label { flex: 1; font-size: 0.875rem; color: var(--text-secondary); }
.prize-val { font-weight: 700; font-size: 0.875rem; }

/* ── About Page ─────────────────────────────────────────────────────────────── */
.about-hex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 240px; margin: 0 auto; }
.hex-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 1.5rem; font-size: 1.5rem; color: var(--cwg-cyan); transition: var(--transition); }
.hex-item:hover { border-color: var(--cwg-cyan); box-shadow: var(--glow-cyan); }

.value-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.75rem; transition: var(--transition); }
.value-card:hover { border-color: var(--cwg-cyan); }
.value-icon { font-size: 1.75rem; color: var(--cwg-cyan); margin-bottom: 1rem; }

.organizer-section { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 3rem; }
.org-logo-placeholder { width: 120px; height: 120px; border-radius: 50%; background: var(--grad-cyber); display: inline-flex; align-items: center; justify-content: center; }
.org-acronym { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 900; color: #fff; }

/* ── Contact ────────────────────────────────────────────────────────────────── */
.contact-info { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 2rem; }
.ci-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.ci-item i { font-size: 1.25rem; margin-top: 0.2rem; }
.ci-item p { margin: 0; }

/* ── Legal ──────────────────────────────────────────────────────────────────── */
.legal-content h2 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--cwg-cyan); margin: 2rem 0 0.75rem; }
.legal-content p, .legal-content li { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }

/* ── Gallery ────────────────────────────────────────────────────────────────── */
.gallery-grid { columns: 3; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; border-radius: 8px; overflow: hidden; cursor: pointer; position: relative; }
.gallery-img { width: 100%; display: block; transition: transform 0.3s; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; color: #fff; }
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { font-size: 0.8rem; margin-top: 0.5rem; padding: 0 1rem; text-align: center; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999; align-items: center; justify-content: center; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: -1rem; right: -1rem; background: var(--cwg-cyan); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }

@media (max-width: 768px) { .gallery-grid { columns: 2; } }
@media (max-width: 576px) { .gallery-grid { columns: 1; } }

/* ── Partner Ticker (horizontal auto-scroll) ────────────────────────────────── */
@keyframes tickerScroll { 0%{ transform:translateX(0); } 100%{ transform:translateX(-50%); } }

.partners-section .partner-ticker-row { overflow: hidden; }
.partner-ticker-wrap {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask:          linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.partner-ticker {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}
.partner-ticker:hover { animation-play-state: paused; }

.partner-card-h {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  min-width: 160px;
  max-width: 200px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
  text-align: center;
  flex-shrink: 0;
}
.partner-card-h:hover {
  border-color: var(--cwg-cyan);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0,212,255,.18);
  color: var(--text-primary);
}
.partner-card-h img {
  max-height: 56px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter 0.3s;
}
.partner-card-h:hover img { filter: grayscale(0); }
.partner-card-h-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.tier-card-platinum { border-color: rgba(229,229,229,.35); }
.tier-card-platinum:hover { border-color: #e5e5e5; box-shadow: 0 4px 20px rgba(229,229,229,.2); }
.tier-card-gold { border-color: rgba(255,193,7,.25); }
.tier-card-gold:hover { border-color: #ffc107; box-shadow: 0 4px 20px rgba(255,193,7,.2); }
.tier-card-silver { border-color: rgba(173,181,189,.25); }
.tier-card-silver:hover { border-color: #adb5bd; }
.tier-card-bronze { border-color: rgba(205,127,50,.25); }
.tier-card-bronze:hover { border-color: #cd7f32; box-shadow: 0 4px 20px rgba(205,127,50,.18); }
.tier-card-media { border-color: rgba(244,114,182,.25); }
.tier-card-media:hover { border-color: #f472b6; box-shadow: 0 4px 20px rgba(244,114,182,.18); }
.tier-card-academic { border-color: rgba(129,140,248,.25); }
.tier-card-academic:hover { border-color: #818cf8; box-shadow: 0 4px 20px rgba(129,140,248,.18); }
.tier-card-institutional { border-color: rgba(52,211,153,.25); }
.tier-card-institutional:hover { border-color: #34d399; box-shadow: 0 4px 20px rgba(52,211,153,.18); }
.tier-card-community { border-color: rgba(0,212,255,.25); }
.tier-card-community:hover { border-color: var(--cwg-cyan); box-shadow: 0 4px 20px rgba(0,212,255,.18); }

/* ── Partners V2 (homepage grid layout) ──────────────────────────────────────── */
.partners-section-v2 {
  background: linear-gradient(180deg, #080c16 0%, #0b1022 50%, #080c16 100%);
  position: relative;
  overflow: hidden;
}
.partners-section-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 10% 20%, rgba(0,212,255,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 90% 80%, rgba(124,58,237,0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Category label with decorative cyber lines */
.pc-label-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.25rem;
}
.pc-label-wrap::before,
.pc-label-wrap::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.4));
}
.pc-label-wrap::after {
  background: linear-gradient(90deg, rgba(0,212,255,0.4), transparent);
}
.pc-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cwg-cyan);
  padding: 0.35rem 1.4rem;
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 100px;
  background: rgba(0,212,255,0.04);
  white-space: nowrap;
}

/* Grid layout — uniform 5 columns */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
}

/* Featured grid — centered large cards */
.pc-featured-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ── Base card (grid mode) ── */
.pc-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.5rem;
  min-height: 52px;
  background: rgba(15, 20, 38, 0.7);
  border: 1px solid rgba(100, 140, 180, 0.18);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle bottom glow */
.pc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.25), transparent);
  transition: opacity 0.3s;
}
.pc-card:hover {
  border-color: rgba(0,212,255,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,212,255,0.1), 0 0 30px rgba(0,212,255,0.04);
  color: var(--text-primary);
}
.pc-card:hover::after {
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.5), transparent);
}

/* ── Featured card (co-organizer style) ── */
.pc-card-featured {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3.5rem;
  min-height: 68px;
  min-width: 280px;
  background: rgba(15, 20, 38, 0.7);
  border: 1px solid rgba(100, 140, 180, 0.22);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pc-card-featured::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), transparent);
}
.pc-card-featured:hover {
  border-color: rgba(0,212,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(0,212,255,0.15), 0 0 50px rgba(0,212,255,0.05);
  color: var(--text-primary);
}

/* ── Logos (hidden in grid cards, shown only if no name-only fallback) ── */
.pc-logo {
  display: none;
}
.pc-logo-featured {
  display: none;
}

/* ── Names ── */
.pc-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}
.pc-card:hover .pc-name { color: #fff; }

.pc-name-featured {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pc-card-featured:hover .pc-name-featured { color: #fff; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .pc-grid { grid-template-columns: repeat(4, 1fr); max-width: 640px; }
}
@media (max-width: 768px) {
  .pc-grid { grid-template-columns: repeat(3, 1fr); max-width: 460px; gap: 0.6rem; }
  .pc-card { padding: 0.7rem 0.4rem; min-height: 44px; }
  .pc-name { font-size: 0.75rem; }
  .pc-card-featured { min-width: 200px; padding: 1rem 2rem; }
  .pc-name-featured { font-size: 1.1rem; }
  .pc-label-wrap::before, .pc-label-wrap::after { max-width: 50px; }
}
@media (max-width: 480px) {
  .pc-grid { grid-template-columns: repeat(2, 1fr); max-width: 300px; }
}

/* Light theme overrides */
[data-theme="light"] .partners-section-v2 { background: linear-gradient(180deg, #f0f4f8 0%, #e8edf3 50%, #f0f4f8 100%); }
[data-theme="light"] .pc-card { background: #fff; border-color: #d1d9e6; }
[data-theme="light"] .pc-card::after { background: linear-gradient(90deg, transparent, rgba(14,165,233,0.2), transparent); }
[data-theme="light"] .pc-card:hover { border-color: #0ea5e9; box-shadow: 0 4px 20px rgba(14,165,233,0.12); }
[data-theme="light"] .pc-card-featured { background: #fff; border-color: #c5d0de; }
[data-theme="light"] .pc-card-featured:hover { border-color: #0ea5e9; box-shadow: 0 4px 20px rgba(14,165,233,0.15); }
[data-theme="light"] .pc-name { color: #374151; }
[data-theme="light"] .pc-card:hover .pc-name { color: #111827; }
[data-theme="light"] .pc-name-featured { color: #1e293b; }
[data-theme="light"] .pc-label { color: #0284c7; border-color: rgba(2,132,199,0.3); background: rgba(2,132,199,0.06); }
[data-theme="light"] .pc-label-wrap::before { background: linear-gradient(90deg, transparent, rgba(2,132,199,0.3)); }
[data-theme="light"] .pc-label-wrap::after { background: linear-gradient(90deg, rgba(2,132,199,0.3), transparent); }

/* ── Partner Detail Cards (partners page) ───────────────────────────────────── */
.partner-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.partner-detail-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.partner-detail-card:hover {
  border-color: var(--cwg-cyan);
  transform: translateY(-3px);
  box-shadow: 0 4px 24px rgba(0,212,255,.15);
  color: var(--text-primary);
}
.partner-detail-logo {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-detail-logo img {
  max-width: 80px;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s;
}
.partner-detail-card:hover .partner-detail-logo img { filter: grayscale(0); }
.partner-detail-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
.partner-detail-desc { font-size: 0.8rem; color: var(--text-secondary); margin: 0.25rem 0 0.4rem; line-height: 1.4; }
.partner-detail-link { font-size: 0.75rem; color: var(--cwg-cyan); }
.partner-name-large { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--text-primary); }

/* ── Gallery Toolbar ────────────────────────────────────────────────────────── */
.gallery-toolbar { border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }

.gallery-year-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gallery-year-btn {
  display: inline-flex; align-items: center;
  padding: 0.35rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}
.gallery-year-btn.active, .gallery-year-btn:hover {
  background: var(--cwg-cyan);
  border-color: var(--cwg-cyan);
  color: #000;
}

.gallery-view-btns { display: flex; gap: 0.35rem; }
.gallery-view-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.gallery-view-btn.active, .gallery-view-btn:hover {
  background: var(--cwg-cyan);
  border-color: var(--cwg-cyan);
  color: #000;
}

/* ── Gallery View Modes ─────────────────────────────────────────────────────── */
/* Mosaic */
.gallery-view-mosaic { columns: 3; column-gap: 0.75rem; }
.gallery-item-mosaic {
  break-inside: avoid; margin-bottom: 0.75rem;
  border-radius: 8px; overflow: hidden; cursor: pointer; position: relative;
}
.gallery-view-mosaic .gallery-media { width: 100%; display: block; transition: transform 0.3s; }
.gallery-item-mosaic:hover .gallery-media { transform: scale(1.05); }
.gallery-overlay-mosaic {
  position: absolute; inset: 0; background: rgba(0,0,0,.55);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; color: #fff;
}
.gallery-item-mosaic:hover .gallery-overlay-mosaic { opacity: 1; }

/* List */
.gallery-view-list { display: flex; flex-direction: column; gap: 0.6rem; }
.gallery-item-list {
  display: flex; align-items: center; gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px; overflow: hidden; cursor: pointer;
  transition: border-color 0.3s, transform 0.2s;
}
.gallery-item-list:hover { border-color: var(--cwg-cyan); transform: translateX(4px); }
.gallery-item-list .gallery-media { width: 120px; height: 80px; object-fit: cover; flex-shrink: 0; }
.gallery-overlay-list { display: none; }
.gallery-caption-lbl { font-size: 0.85rem; color: var(--text-secondary); padding: 0.5rem 1rem; flex: 1; }

/* Panorama */
.gallery-view-panorama {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 0.6rem;
}
.gallery-item-panorama:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-item-panorama:nth-child(7n+4) { grid-column: span 2; }
.gallery-item-panorama {
  border-radius: 8px; overflow: hidden; cursor: pointer; position: relative;
}
.gallery-view-panorama .gallery-media { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item-panorama:hover .gallery-media { transform: scale(1.06); }
.gallery-overlay-panorama {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; color: #fff; flex-direction: column; gap: 0.4rem;
}
.gallery-item-panorama:hover .gallery-overlay-panorama { opacity: 1; }

@media (max-width: 992px) { .gallery-view-panorama { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .gallery-view-mosaic { columns: 2; }
  .gallery-view-panorama { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-panorama:nth-child(5n+1),
  .gallery-item-panorama:nth-child(7n+4) { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 576px) {
  .gallery-view-mosaic  { columns: 1; }
  .gallery-view-panorama { grid-template-columns: 1fr 1fr; }
}

/* ── Lightbox (enhanced) ────────────────────────────────────────────────────── */
.cwg-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
}
.cwg-lb-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(4px);
}
.cwg-lb-stage {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  max-width: 92vw; max-height: 92vh;
}
.cwg-lb-media {
  display: flex; align-items: center; justify-content: center;
  transform-origin: center center;
}
#cwgLbImg { max-width: 88vw; max-height: 78vh; border-radius: 8px; object-fit: contain; user-select: none; display: block; }
#cwgLbVid { max-width: 88vw; max-height: 78vh; border-radius: 8px; background: #000; display: block; }
.cwg-lb-caption {
  color: rgba(255,255,255,.75); font-size: 0.85rem;
  margin-top: 0.75rem; text-align: center; max-width: 600px;
}
.cwg-lb-counter { color: rgba(255,255,255,.4); font-size: 0.75rem; font-family: var(--font-mono); margin-top: 0.3rem; }
.cwg-lb-btn {
  position: fixed;
  background: rgba(0,212,255,.12);
  border: 1px solid rgba(0,212,255,.3);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  z-index: 10000;
}
.cwg-lb-btn:hover { background: rgba(0,212,255,.35); }
.cwg-lb-close   { top: 1.5rem; right: 1.5rem; }
.cwg-lb-prev    { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.cwg-lb-prev:hover { transform: translateY(-50%) scale(1.1); }
.cwg-lb-next    { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.cwg-lb-next:hover { transform: translateY(-50%) scale(1.1); }
.cwg-lb-zoom-in  { bottom: 2rem; right: 5rem; }
.cwg-lb-zoom-out { bottom: 2rem; right: 8.5rem; }
@media (max-width: 576px) {
  .cwg-lb-prev { left: 0.5rem; }
  .cwg-lb-next { right: 0.5rem; }
  .cwg-lb-zoom-in  { bottom: 1rem; right: 3.5rem; }
  .cwg-lb-zoom-out { bottom: 1rem; right: 6.5rem; }
}

/* ── Team ───────────────────────────────────────────────────────────────────── */
.winner-row { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-color); }
.winner-rank { font-family: var(--font-mono); font-weight: 700; width: 30px; }
.rank-1 .winner-rank { color: #d4af37; }
.rank-2 .winner-rank { color: #c0c0c0; }
.rank-3 .winner-rank { color: #cd7f32; }
.winner-name { flex: 1; font-weight: 600; }
.winner-country { color: var(--text-muted); font-size: 0.8rem; }
.winner-score { font-family: var(--font-mono); color: var(--cwg-cyan); }

/* ── Prev Edition ───────────────────────────────────────────────────────────── */
.prev-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.prev-stat { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; text-align: center; }
.ps-val { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--cwg-cyan); }
.ps-lbl { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }

/* ── Onboarding ─────────────────────────────────────────────────────────────── */
.onboarding-section { min-height: 100vh; padding-top: calc(var(--nav-h) + var(--banner-h)); position: relative; }
.onboarding-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2.5rem; }
.onboarding-step-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3); padding: 0.35rem 1rem; border-radius: 100px; font-size: 0.8rem; color: var(--cwg-cyan); font-weight: 700; margin-bottom: 1rem; }
.onboarding-title { font-family: var(--font-heading); font-size: 1.75rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.onboarding-subtitle { color: var(--text-muted); margin-bottom: 2rem; }
.ob-step { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border-color); }
.ob-step:last-child { border-bottom: none; }
.ob-step-title { font-family: var(--font-heading); font-size: 0.9rem; color: var(--text-primary); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.step-num { background: var(--grad-cyber); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }

.player-type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.75rem; }
.player-type-card { position: relative; cursor: pointer; }
.player-type-card input { position: absolute; opacity: 0; }
.ptc-inner {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: var(--transition);
}
.player-type-card input:checked + .ptc-inner {
  border-color: var(--cwg-cyan);
  background: rgba(0,212,255,0.1);
  box-shadow: 0 0 16px rgba(0,212,255,0.2);
}
.ptc-icon { font-size: 1.5rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.player-type-card input:checked + .ptc-inner .ptc-icon { color: var(--cwg-cyan); }
.ptc-name { font-size: 0.75rem; font-weight: 700; color: var(--text-secondary); letter-spacing: 0.05em; }

.avatar-upload-area { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto; cursor: pointer; position: relative; overflow: hidden; background: var(--bg-secondary); border: 2px dashed var(--border-color); transition: var(--transition); }
.avatar-upload-area:hover { border-color: var(--cwg-cyan); }
.avatar-preview { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; color: #fff; font-size: 0.7rem; opacity: 0; transition: opacity 0.3s; }
.avatar-upload-area:hover .avatar-overlay { opacity: 1; }

.quiz-intro { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 1.5rem; }
.quiz-q-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px; padding: 1.25rem; margin-bottom: 1rem; }
.quiz-q-num { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--cwg-cyan); font-weight: 700; margin-bottom: 0.5rem; text-transform: uppercase; }
.quiz-q-text { font-weight: 600; color: var(--text-primary); margin-bottom: 0.75rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.5rem; }
.quiz-option { display: flex; align-items: center; gap: 0.75rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 0.625rem 0.875rem; cursor: pointer; transition: var(--transition); font-size: 0.875rem; color: var(--text-secondary); }
.quiz-option input { accent-color: var(--cwg-cyan); }
.quiz-option:has(input:checked) { border-color: var(--cwg-cyan); background: rgba(0,212,255,0.08); color: var(--text-primary); }

.cooldown-notice { background: rgba(234,179,8,0.1); border: 1px solid rgba(234,179,8,0.3); border-radius: 8px; padding: 1rem; color: #facc15; font-size: 0.875rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }

/* ── Cyber Modal ─────────────────────────────────────────────────────────────── */
.cyber-modal { background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-primary); border-radius: 12px; }
.cyber-modal .modal-header { border-bottom: 1px solid var(--border-color); }
.cyber-modal .modal-footer { border-top: 1px solid var(--border-color); }
.critical-modal { border-color: #ef4444; box-shadow: 0 0 40px rgba(239,68,68,0.2); }

/* ── Bug Bounty ─────────────────────────────────────────────────────────────── */
.bb-step { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; }
.bb-num { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 900; color: var(--cwg-cyan); opacity: 0.4; flex-shrink: 0; width: 40px; }
.bb-step h4 { font-family: var(--font-heading); font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.bb-step p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }

.bb-severity-card, .bb-rules-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; }
.severity-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); font-size: 0.875rem; color: var(--text-secondary); }
.severity-row:last-child { border-bottom: none; }
.sev-badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 700; min-width: 70px; text-align: center; }
.sev-critical .sev-badge { background: rgba(239,68,68,0.2); color: #f87171; }
.sev-high .sev-badge { background: rgba(249,115,22,0.2); color: #fb923c; }
.sev-medium .sev-badge { background: rgba(234,179,8,0.2); color: #facc15; }
.sev-low .sev-badge { background: rgba(34,197,94,0.2); color: #4ade80; }

/* ── Cyber Accordion ────────────────────────────────────────────────────────── */
.cyber-accordion-item { background: var(--bg-card); border: 1px solid var(--border-color) !important; border-radius: 10px !important; margin-bottom: 0.5rem; overflow: hidden; }
.cyber-accordion-item .accordion-button { background: transparent; color: var(--text-primary); font-size: 0.9rem; font-weight: 600; box-shadow: none; }
.cyber-accordion-item .accordion-button:not(.collapsed) { color: var(--cwg-cyan); }
.accordion-arrow { transition: transform 0.3s; }
.accordion-button:not(.collapsed) .accordion-arrow { transform: rotate(90deg); }
.cyber-accordion-item .accordion-body { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; }

/* ── Pagination ─────────────────────────────────────────────────────────────── */
.cyber-pagination .page-link {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-secondary);
  transition: var(--transition);
}
.cyber-pagination .page-link:hover { background: rgba(0,212,255,0.1); border-color: var(--cwg-cyan); color: var(--cwg-cyan); }
.cyber-pagination .page-item.active .page-link { background: var(--grad-cyber); border-color: transparent; color: #fff; }

/* ── Track Filters ──────────────────────────────────────────────────────────── */
.track-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.track-btn { background: var(--bg-secondary); border: 1px solid var(--border-color); color: var(--text-muted); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.track-btn.active, .track-btn:hover { background: rgba(0,212,255,0.1); border-color: var(--cwg-cyan); color: var(--cwg-cyan); }

/* ── Misc ───────────────────────────────────────────────────────────────────── */
.empty-state { color: var(--text-muted); text-align: center; }
.blink-dot { animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* ── Animations ─────────────────────────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.animate-fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-slide-up { animation: slideUp 0.8s ease forwards; }
.animate-fade-in-delay { animation: fadeIn 0.8s ease 0.3s forwards; opacity: 0; }
.animate-slide-up-delay { animation: slideUp 0.8s ease 0.5s forwards; opacity: 0; }

/* ── Intro Sci-Fi Overlay ───────────────────────────────────────────────── */
#introOverlay {
  position: fixed; inset: 0; z-index: 9990;
  background: #060c1a;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#introOverlay.done { opacity: 0; visibility: hidden; pointer-events: none; }

#introOverlay .io-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
#introOverlay .io-scan {
  position: absolute; left: 0; right: 0; height: 2px; top: -2px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(0,212,255,0.3) 15%,
    #00d4ff 50%,
    rgba(0,212,255,0.3) 85%, transparent 100%);
  box-shadow: 0 0 30px #00d4ff, 0 0 70px rgba(0,212,255,0.5), 0 0 120px rgba(0,212,255,0.2);
  animation: ioScan 2s cubic-bezier(0.4,0,0.6,1) 0.4s both;
}
@keyframes ioScan {
  0%   { top: -2px; opacity: 0; }
  3%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: calc(100% + 2px); opacity: 0; }
}
#introOverlay .io-frame { position: absolute; inset: 20px; pointer-events: none; }
#introOverlay .io-corner {
  position: absolute;
  animation: ioCorner 0.45s ease-out both;
}
#introOverlay .io-corner::before,
#introOverlay .io-corner::after {
  content: ''; position: absolute;
  background: #00d4ff; border-radius: 1px;
  box-shadow: 0 0 8px rgba(0,212,255,0.8);
}
#introOverlay .io-corner::before { width: 100%; height: 2px; top: 0; left: 0; }
#introOverlay .io-corner::after  { width: 2px; height: 100%; top: 0; left: 0; }
#introOverlay .io-corner.tl { top: 0;    left: 0;    animation-delay: 0.15s; }
#introOverlay .io-corner.tr { top: 0;    right: 0;   animation-delay: 0.25s; transform: scaleX(-1); }
#introOverlay .io-corner.bl { bottom: 0; left: 0;    animation-delay: 0.30s; transform: scaleY(-1); }
#introOverlay .io-corner.br { bottom: 0; right: 0;   animation-delay: 0.35s; transform: scale(-1,-1); }
@keyframes ioCorner {
  from { opacity: 0; width: 0; height: 0; }
  to   { opacity: 0.8; width: 44px; height: 44px; }
}
#introOverlay .io-rings {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); pointer-events: none;
}
#introOverlay .io-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.4);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.1);
  opacity: 0;
}
#introOverlay .io-ring:nth-child(1) {
  width: 80px; height: 80px; border-width: 2px;
  border-color: rgba(0,212,255,0.9);
  box-shadow: 0 0 18px rgba(0,212,255,0.5);
  animation: ioRing 1.4s ease-out 0.5s both;
}
#introOverlay .io-ring:nth-child(2) {
  width: 150px; height: 150px;
  animation: ioRing 1.4s ease-out 0.7s both;
}
#introOverlay .io-ring:nth-child(3) {
  width: 240px; height: 240px;
  border-color: rgba(124,58,237,0.45);
  animation: ioRing 1.4s ease-out 0.9s both;
}
@keyframes ioRing {
  0%   { transform: translate(-50%,-50%) scale(0.1); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 0; }
}
/* Hero elements hidden while intro is pending */
.intro-pending #hero .hero-badge    { animation-delay: 3.1s !important; opacity: 0; }
.intro-pending #hero .hero-title    { animation-name: heroTitleReveal !important; animation-delay: 3.3s !important; opacity: 0; }
.intro-pending #hero .hero-subtitle { animation-delay: 3.7s !important; opacity: 0; }
.intro-pending #hero .hero-tags     { animation-delay: 3.8s !important; opacity: 0; }
.intro-pending #hero .hero-actions  { animation-delay: 3.9s !important; opacity: 0; }
.intro-pending #hero .countdown-card{ animation-delay: 3.5s !important; opacity: 0; }
.intro-pending #hero .hack-begin-wrap { opacity: 0 !important; }
@keyframes heroTitleReveal {
  0%   { opacity: 0; clip-path: inset(0 0 100% 0); }
  15%  { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0% 0); }
}

/* ── Light Theme Component Overrides ────────────────────────────────────────── */

/* Hacker banner — always dark */
[data-theme="light"] .hacker-banner {
  background: #060c1a;
  border-bottom-color: rgba(14, 165, 233, 0.35);
}

/* Nav controls */
[data-theme="light"] .nav-link { color: #475569 !important; }
[data-theme="light"] .nav-link:hover { color: #0ea5e9 !important; }
[data-theme="light"] .nav-link::after { background: #0ea5e9; }
[data-theme="light"] .brand-accent { color: #0ea5e9; }
[data-theme="light"] .nav-logo { filter: drop-shadow(0 0 6px rgba(14,165,233,0.35)); }
[data-theme="light"] .cyber-toggler span { background: #0ea5e9; }
[data-theme="light"] .cyber-nav.scrolled { box-shadow: 0 4px 24px rgba(15,23,42,0.08); }

/* Dropdown */
[data-theme="light"] .cyber-dropdown {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(15,23,42,0.1);
}
[data-theme="light"] .cyber-dropdown .dropdown-item { color: #475569; }
[data-theme="light"] .cyber-dropdown .dropdown-item:hover {
  background: rgba(14, 165, 233, 0.08);
  color: #0ea5e9;
}

/* Btn controls in nav */
[data-theme="light"] .btn-icon { border-color: #e2e8f0; color: #475569; }
[data-theme="light"] .btn-icon:hover { border-color: #0ea5e9; color: #0ea5e9; box-shadow: 0 0 10px rgba(14,165,233,0.15); }
[data-theme="light"] .user-menu-btn { border-color: #e2e8f0; color: #475569; }
[data-theme="light"] .user-menu-btn:hover { border-color: #0ea5e9; color: #0ea5e9; }

/* Mobile nav collapse */
[data-theme="light"] .cyber-nav .navbar-collapse {
  background: #ffffff;
  border-color: #e2e8f0;
}

/* Hero section */
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(139,92,246,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(14,165,233,0.06) 0%, transparent 60%),
    #f8fafc;
}
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
}
[data-theme="light"] .hero-badge {
  background: rgba(14,165,233,0.08);
  border-color: rgba(14,165,233,0.25);
  color: #0ea5e9;
}
[data-theme="light"] .badge-dot { background: #0ea5e9; }
[data-theme="light"] .text-cyber { color: #0ea5e9 !important; }
[data-theme="light"] .text-glitch { color: #0ea5e9; }
[data-theme="light"] .text-glitch::before,
[data-theme="light"] .text-glitch::after { color: #0ea5e9; }

/* Hack begin decode block */
[data-theme="light"] .hack-begin-wrap {
  color: #0ea5e9;
  text-shadow: 0 0 14px rgba(14,165,233,0.35), 0 0 36px rgba(14,165,233,0.10);
}
[data-theme="light"] .hack-begin-prefix { color: #8b5cf6; }
[data-theme="light"] .hack-begin-text { color: #0ea5e9; }
[data-theme="light"] .hack-begin-cursor { background: #0ea5e9; }

/* Cyber tags */
[data-theme="light"] .cyber-tag {
  background: rgba(14,165,233,0.05);
  border-color: #e2e8f0;
  color: #475569;
}
[data-theme="light"] .cyber-tag i { color: #0ea5e9; }

/* Buttons */
[data-theme="light"] .btn-cyber-outline {
  color: #0ea5e9 !important;
  border-color: #0ea5e9;
}
[data-theme="light"] .btn-cyber-outline:hover {
  background: rgba(14,165,233,0.1);
  box-shadow: 0 0 14px rgba(14,165,233,0.15);
}

/* Countdown */
[data-theme="light"] .countdown-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}
[data-theme="light"] .countdown-label { color: #0ea5e9; }
[data-theme="light"] .ct-sep { color: #0ea5e9; }

/* Section header */
[data-theme="light"] .section-badge {
  background: rgba(14,165,233,0.08);
  border-color: rgba(14,165,233,0.25);
  color: #0ea5e9;
}

/* Stats */
[data-theme="light"] .stats-section { background: #eef2f7; border-color: #e2e8f0; }
[data-theme="light"] .stat-icon { color: #0ea5e9; }

/* Page hero */
[data-theme="light"] .page-hero { background: #eef2f7; }
[data-theme="light"] .page-hero::before {
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(14,165,233,0.05) 0%, transparent 60%),
    linear-gradient(rgba(14,165,233,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.025) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
}

/* Cards — news, sessions, speakers */
[data-theme="light"] .news-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .news-card:hover {
  border-color: #0ea5e9;
  box-shadow: 0 8px 24px rgba(15,23,42,0.07), 0 0 16px rgba(14,165,233,0.08);
}
[data-theme="light"] .session-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .session-card:hover { border-color: rgba(14,165,233,0.4); }
[data-theme="light"] .session-track {
  background: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.2);
  color: #7c3aed;
}
[data-theme="light"] .speaker-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .speaker-card:hover { border-color: #0ea5e9; }

/* Auth / dashboard */
[data-theme="light"] .auth-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .auth-bg {
  background: radial-gradient(ellipse 80% 60% at 30% 40%, rgba(139,92,246,0.06) 0%, transparent 70%);
}
[data-theme="light"] .auth-grid {
  background-image:
    linear-gradient(rgba(14,165,233,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.03) 1px, transparent 1px);
}
[data-theme="light"] .auth-link { color: #0ea5e9; }
[data-theme="light"] .dash-widget { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .widget-header { border-bottom-color: #e2e8f0; }
[data-theme="light"] .quick-link { background: #f1f5f9; border-color: #e2e8f0; }
[data-theme="light"] .quick-link i { color: #0ea5e9; }
[data-theme="light"] .quick-link:hover { border-color: #0ea5e9; color: #0ea5e9; background: rgba(14,165,233,0.05); }

/* Inputs */
[data-theme="light"] .cyber-input {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="light"] .cyber-input:focus {
  border-color: #0ea5e9 !important;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12) !important;
}
[data-theme="light"] .cyber-input::placeholder { color: #94a3b8; }

/* Leaderboard & scores */
[data-theme="light"] .cyber-table thead th { background: #f1f5f9; }
[data-theme="light"] .score-val,
[data-theme="light"] .lb-score { color: #0ea5e9; }
[data-theme="light"] .rank-badge { background: #f1f5f9; border-color: #e2e8f0; }
[data-theme="light"] .lb-upcoming-badge {
  background: rgba(14,165,233,0.08);
  color: #0ea5e9;
  border-color: rgba(14,165,233,0.3);
}

/* CTA section */
[data-theme="light"] .cta-bg {
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(139,92,246,0.1) 0%, transparent 70%);
}

/* Footer */
[data-theme="light"] .cyber-footer { background: #eef2f7; border-top-color: #e2e8f0; }
[data-theme="light"] .footer-glow {
  background: linear-gradient(90deg, transparent, #0ea5e9, #8b5cf6, transparent);
}
[data-theme="light"] .footer-bottom { border-top-color: #e2e8f0; }
[data-theme="light"] .social-link { border-color: #e2e8f0; color: #94a3b8; }
[data-theme="light"] .social-link:hover { border-color: #0ea5e9; color: #0ea5e9; }
[data-theme="light"] .footer-links a { color: #94a3b8; }
[data-theme="light"] .footer-links a:hover { color: #0ea5e9; }

/* Misc interactive */
[data-theme="light"] .track-btn { background: #f1f5f9; border-color: #e2e8f0; }
[data-theme="light"] .track-btn.active,
[data-theme="light"] .track-btn:hover { background: rgba(14,165,233,0.08); border-color: #0ea5e9; color: #0ea5e9; }
[data-theme="light"] .day-line { background: linear-gradient(90deg, #0ea5e9, transparent); }
[data-theme="light"] .day-label { color: #0ea5e9; }
[data-theme="light"] .cyber-pagination .page-link { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .cyber-pagination .page-link:hover { background: rgba(14,165,233,0.08); border-color: #0ea5e9; color: #0ea5e9; }
[data-theme="light"] .cyber-modal { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .cyber-modal .modal-header,
[data-theme="light"] .cyber-modal .modal-footer { border-color: #e2e8f0; }
[data-theme="light"] .cookie-notice { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .cookie-link { color: #0ea5e9; }

/* Accordion */
[data-theme="light"] .cyber-accordion-item { background: #ffffff; border-color: #e2e8f0 !important; }
[data-theme="light"] .cyber-accordion-item .accordion-button { color: #0f172a; background: transparent; }
[data-theme="light"] .cyber-accordion-item .accordion-button:not(.collapsed) { color: #0ea5e9; }
[data-theme="light"] .cyber-accordion-item .accordion-body { color: #475569; }

/* Onboarding / forms */
[data-theme="light"] .onboarding-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .ptc-inner { background: #f1f5f9; border-color: #e2e8f0; }
[data-theme="light"] .quiz-q-card { background: #f1f5f9; border-color: #e2e8f0; }
[data-theme="light"] .quiz-option { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .quiz-option:has(input:checked) { border-color: #0ea5e9; background: rgba(14,165,233,0.07); }
[data-theme="light"] .avatar-upload-area { background: #f1f5f9; border-color: #e2e8f0; }
[data-theme="light"] .avatar-upload-area:hover { border-color: #0ea5e9; }

/* CTF / Bug bounty */
[data-theme="light"] .ctf-prize-card,
[data-theme="light"] .bb-severity-card,
[data-theme="light"] .bb-rules-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .ctf-category-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .ctf-category-card:hover { border-color: #0ea5e9; }
[data-theme="light"] .ctf-cat-icon { color: #0ea5e9; }

/* Gallery list view */
[data-theme="light"] .gallery-item-list { background: #f8fafc; border-color: #e2e8f0; }
[data-theme="light"] .gallery-year-btn { background: #f1f5f9; border-color: #e2e8f0; }
[data-theme="light"] .gallery-view-btn { background: #f1f5f9; border-color: #e2e8f0; }

/* Partner cards */
[data-theme="light"] .partner-card-h { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .partner-card-h:hover { border-color: #0ea5e9; box-shadow: 0 4px 20px rgba(14,165,233,0.12); }
[data-theme="light"] .partner-detail-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .partner-detail-card:hover { border-color: #0ea5e9; box-shadow: 0 4px 24px rgba(14,165,233,0.1); }

/* Prev edition */
[data-theme="light"] .prev-stat { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .ps-val { color: #0ea5e9; }

/* Misc highlights */
[data-theme="light"] .player-type-tag { background: rgba(14,165,233,0.08); border-color: rgba(14,165,233,0.2); color: #0ea5e9; }
[data-theme="light"] .hex-item { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .hex-item:hover { border-color: #0ea5e9; }
[data-theme="light"] .value-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .value-card:hover { border-color: #0ea5e9; }
[data-theme="light"] .value-icon { color: #0ea5e9; }
[data-theme="light"] .organizer-section { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .contact-info { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .scroll-arrow { border-color: #0ea5e9; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .cyber-nav .navbar-collapse { background: var(--bg-card); padding: 1rem; border: 1px solid var(--border-color); border-radius: 12px; margin-top: 0.5rem; box-shadow: var(--shadow-card); }
  .hero-title { font-size: clamp(2rem, 8vw, 3.5rem); }
  .ct-val { font-size: 2rem; }
}
@media (max-width: 576px) {
  :root { --section-py: 3rem; }
  .auth-card { padding: 1.5rem; }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
  .player-type-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Team page ──────────────────────────────────────────────────────────────── */
.team-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.5rem; }
.team-tag-badge { background: var(--cyber-cyan); color: #000; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 8px; letter-spacing: 0.08em; min-width: 48px; text-align: center; }
.invite-box { background: rgba(0,255,242,0.04); }

/* Member cards */
.team-member-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 1.25rem 1rem; text-align: center; transition: border-color 0.2s; height: 100%; display: flex; flex-direction: column; align-items: center; }
.team-member-card:hover { border-color: var(--cyber-cyan); }
.team-member-pending { border-color: rgba(108,117,125,0.5); opacity: 0.85; }
.team-member-avatar-wrap { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2px solid var(--border-color); }
.team-member-avatar { width: 100%; height: 100%; object-fit: cover; }
.team-member-name { font-size: 0.9rem; }
.team-member-meta { font-size: 0.75rem; }

[data-theme="light"] .team-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .team-member-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .team-member-card:hover { border-color: #0ea5e9; }
[data-theme="light"] .invite-box { background: rgba(14,165,233,0.04); }

/* ═══════════════════════════════════════ PRIZE POOL ═══════════════════════════ */

/* ── Section ─── */
.pp-section {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
  background: var(--bg-primary);
}

/* ── Background ─── */
.pp-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.pp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.pp-circuit {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
/* Radial glow pulses */
.pp-pulse {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0;
  animation: ppPulse 6s ease-in-out infinite;
}
.pp-pulse-1 { width: 500px; height: 500px; left: 50%; top: 30%; transform: translate(-50%,-50%); background: rgba(0,212,255,0.08); animation-delay: 0s; }
.pp-pulse-2 { width: 300px; height: 300px; left: 15%; top: 60%; background: rgba(124,58,237,0.06); animation-delay: 2s; }
.pp-pulse-3 { width: 300px; height: 300px; right: 10%; top: 20%; background: rgba(0,212,255,0.05); animation-delay: 4s; }
@keyframes ppPulse {
  0%, 100% { opacity: 0; transform: translate(-50%,-50%) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
}

/* ── Header ─── */
.pp-header { margin-bottom: 3.5rem; }
.pp-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.pp-title-accent {
  color: var(--cwg-cyan);
  position: relative;
}
.pp-title-accent::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cwg-cyan), transparent);
  opacity: 0.5;
}

/* CWG Prize headline */
.pp-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}
.pp-hl-line {
  flex: 0 1 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cwg-cyan), transparent);
  opacity: 0.3;
}
.pp-hl-text {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cwg-cyan);
  text-shadow: 0 0 30px rgba(0,212,255,0.3);
  white-space: nowrap;
}

/* ── Podium layout ─── */
.pp-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.pp-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Card ─── */
.pp-card {
  position: relative;
  width: 260px;
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(165deg,
    rgba(15,23,42,0.95) 0%,
    rgba(10,15,30,0.98) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.pp-card:hover {
  transform: translateY(-10px);
  border-color: var(--pp-accent, var(--cwg-cyan));
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 0 40px var(--pp-glow, rgba(0,212,255,0.08)),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Holographic scanline */
.pp-holo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,212,255,0.015) 3px,
    rgba(0,212,255,0.015) 4px
  );
}

/* Top edge glow */
.pp-edge-glow {
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--pp-accent, var(--cwg-cyan)), transparent);
  opacity: 0.5;
  box-shadow: 0 0 15px var(--pp-glow, rgba(0,212,255,0.3));
}

/* ── Hex rank badge ─── */
.pp-hex {
  position: relative;
  width: 56px; height: 64px;
  margin: 0 auto 1rem;
  color: var(--pp-accent, var(--cwg-cyan));
}
.pp-hex-svg { width: 100%; height: 100%; }
.pp-hex-num {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pp-accent, var(--cwg-cyan));
  text-shadow: 0 0 20px var(--pp-glow, rgba(0,212,255,0.4));
}

/* ── Icon ─── */
.pp-icon {
  position: relative;
  width: 60px; height: 60px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--pp-accent, var(--cwg-cyan));
  z-index: 1;
}
.pp-icon-ring {
  position: absolute; inset: -4px;
  border: 1px solid var(--pp-accent, var(--cwg-cyan));
  border-radius: 50%;
  opacity: 0.2;
  animation: ppRingPulse 3s ease-in-out infinite;
}
@keyframes ppRingPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.12); }
}
.pp-card:hover .pp-icon-ring { opacity: 0.5; }

/* ── Text ─── */
.pp-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  position: relative; z-index: 1;
}
.pp-amount {
  position: relative; z-index: 1;
  margin-bottom: 0.4rem;
}
.pp-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pp-accent, var(--cwg-cyan));
  letter-spacing: 0.02em;
  text-shadow: 0 0 25px var(--pp-glow, rgba(0,212,255,0.2));
}
.pp-cur {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-top: 2px;
}
.pp-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.4;
  position: relative; z-index: 1;
}

/* ── Data bar (bottom of card) ─── */
.pp-databar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.2rem;
  position: relative; z-index: 1;
}
.pp-db-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--pp-accent, var(--cwg-cyan));
  opacity: 0.5;
}
.pp-db-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--pp-accent, var(--cwg-cyan)), transparent);
  opacity: 0.15;
}
.pp-db-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--pp-accent, var(--cwg-cyan));
  opacity: 0.4;
  white-space: nowrap;
}

/* ── Pedestal glow ─── */
.pp-pedestal {
  width: 120px; height: 20px;
  position: relative;
  margin-top: -1px;
}
.pp-ped-glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 2px;
  background: var(--pp-accent, var(--cwg-cyan));
  border-radius: 50%;
  box-shadow: 0 0 20px var(--pp-glow, rgba(0,212,255,0.3)), 0 0 60px var(--pp-glow, rgba(0,212,255,0.1));
  opacity: 0.6;
}

/* ── Tier: Gold (#1) — elevated & larger ─── */
.pp-gold {
  --pp-accent: #d4af37;
  --pp-glow: rgba(212,175,55,0.25);
  margin-bottom: 30px;
}
.pp-gold .pp-card {
  width: 290px;
  padding: 3rem 1.8rem 1.8rem;
  border-color: rgba(212,175,55,0.15);
  box-shadow: 0 0 50px rgba(212,175,55,0.05);
}
.pp-gold .pp-hex { width: 66px; height: 74px; }
.pp-gold .pp-hex-num { font-size: 1.8rem; }
.pp-gold .pp-icon { width: 68px; height: 68px; font-size: 1.7rem; }
.pp-gold .pp-val { font-size: 2.1rem; }
.pp-gold .pp-pedestal { width: 140px; }

/* ── Tier: Silver (#2) ─── */
.pp-silver {
  --pp-accent: #a0a0b0;
  --pp-glow: rgba(160,160,176,0.2);
}
.pp-silver .pp-card { border-color: rgba(160,160,176,0.1); }

/* ── Tier: Bronze (#3) ─── */
.pp-bronze {
  --pp-accent: #c0845e;
  --pp-glow: rgba(192,132,94,0.2);
}
.pp-bronze .pp-card { border-color: rgba(192,132,94,0.1); }

/* ── Total box ─── */
.pp-total {
  text-align: center;
}
.pp-total-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem 3rem;
  position: relative;
  background: rgba(0,212,255,0.03);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 4px;
}
/* Corner accents */
.pp-total-corner {
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--cwg-cyan);
  border-style: solid;
  border-width: 0;
  opacity: 0.5;
}
.pp-tc-tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.pp-tc-tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.pp-tc-bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.pp-tc-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

.pp-total-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pp-total-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cwg-cyan);
  text-shadow: 0 0 30px rgba(0,212,255,0.3);
}
.pp-total-val small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

/* ── Light theme ─── */
[data-theme="light"] .pp-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.98) 100%);
  border-color: var(--border-color);
}
[data-theme="light"] .pp-card:hover { border-color: var(--pp-accent, var(--cwg-cyan)); }
[data-theme="light"] .pp-holo {
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,120,200,0.02) 3px, rgba(0,120,200,0.02) 4px);
}
[data-theme="light"] .pp-total-box {
  background: rgba(14,165,233,0.04);
  border-color: rgba(14,165,233,0.15);
}
[data-theme="light"] .pp-grid {
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
}

/* ── Responsive ─── */
@media (max-width: 991px) {
  .pp-podium { gap: 1.2rem; }
  .pp-card { width: 220px; padding: 2rem 1rem 1.2rem; }
  .pp-gold .pp-card { width: 250px; padding: 2.5rem 1.2rem 1.5rem; }
  .pp-val { font-size: 1.5rem; }
  .pp-gold .pp-val { font-size: 1.8rem; }
  .pp-gold { margin-bottom: 20px; }
}
@media (max-width: 767px) {
  .pp-section { padding: 4rem 0 3rem; }
  .pp-podium {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .pp-col { order: 0; }
  .pp-gold { order: -1; margin-bottom: 0; }
  .pp-card, .pp-gold .pp-card { width: min(320px, 90vw); }
  .pp-gold .pp-val { font-size: 2rem; }
  .pp-val { font-size: 1.6rem; }
  .pp-hl-line { flex: 0 1 30px; }
  .pp-total-box { padding: 0.8rem 1.5rem; }
  .pp-total-val { font-size: 1.3rem; }
}
@media (max-width: 420px) {
  .pp-headline { flex-direction: column; gap: 0.3rem; }
  .pp-hl-line { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   TEAM / ORGANIZERS SECTION
══════════════════════════════════════════════════════════════════════════════ */

/* ── Game Master — Hero card ─────────────────────────────────── */
.org-gm-card {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}
.org-gm-glow {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--cwg-cyan), var(--cwg-purple), var(--cwg-cyan));
  background-size: 300% 300%;
  animation: org-glow-rotate 4s ease infinite;
  z-index: 0;
}
@keyframes org-glow-rotate {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.org-gm-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 14px;
}
.org-gm-photo-wrap {
  flex-shrink: 0;
  position: relative;
}
.org-gm-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cwg-cyan);
  box-shadow: var(--glow-cyan);
}
.org-gm-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  font-size: 3rem;
  color: var(--cwg-cyan);
}
.org-gm-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 14px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  background: linear-gradient(135deg, var(--cwg-purple), var(--cwg-cyan));
  box-shadow: 0 2px 12px rgba(0, 212, 255, 0.4);
  white-space: nowrap;
}
.org-gm-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.org-gm-title {
  color: var(--cwg-cyan);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.org-gm-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* ── Social links ────────────────────────────────────────────── */
.org-social {
  display: flex;
  gap: 0.6rem;
}
.org-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--cwg-cyan);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.org-social-link:hover {
  background: var(--cwg-cyan);
  color: var(--bg-primary);
  box-shadow: var(--glow-cyan);
}
.org-social-sm .org-social-link {
  width: 30px;
  height: 30px;
  font-size: 0.75rem;
}

/* ── Staff cards ─────────────────────────────────────────────── */
.org-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: var(--grad-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.org-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.org-card-photo-wrap {
  margin-bottom: 1rem;
}
.org-card-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}
.org-card:hover .org-card-photo {
  border-color: var(--cwg-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}
.org-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: var(--bg-secondary);
  font-size: 2rem;
  color: var(--text-muted);
}
.org-card-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.org-card-title {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.org-card-role {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--cwg-cyan);
  border: 1px solid rgba(0, 212, 255, 0.15);
  margin-bottom: 0.6rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .org-gm-inner {
    flex-direction: column;
    text-align: center;
  }
  .org-gm-photo { width: 120px; height: 120px; }
  .org-gm-info { text-align: center; }
  .org-social { justify-content: center; }
}
