*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #070810; --bg-2: #0d0f1e; --bg-card: #111326;
  --border: rgba(255,255,255,0.07); --purple: #7b2ff7; --purple-2: #9b5eff;
  --purple-glow: rgba(123,47,247,0.35); --accent: #c084fc;
  --text: #e2e8f0; --text-muted: #8892a4; --white: #ffffff;
  --discord: #5865f2; --danger: #ef4444;
  --radius: 14px; --radius-lg: 22px; --shadow: 0 8px 40px rgba(0,0,0,0.6);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 99px; }

/* ── NAVBAR ── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(7,8,16,0.7); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); transition: var(--transition); }
.navbar.scrolled { background: rgba(7,8,16,0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 32px; }
.nav-logo { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }
.nav-server-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(123,47,247,0.5);
  border: 1px solid rgba(155,94,255,0.4);
  display: block;
}
.logo-shadow { color: var(--white); }
.logo-practise { color: var(--purple-2); }
.nav-links { display: flex; gap: 28px; list-style: none; margin-left: auto; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--purple-2); transform: scaleX(0); transition: transform var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { margin-left: 24px; }
.btn-discord { display: flex; align-items: center; gap: 8px; background: var(--discord); color: #fff; border: none; cursor: pointer; padding: 9px 18px; border-radius: 10px; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.btn-discord:hover { background: #4752c4; transform: translateY(-1px); }
.user-pill { display: flex; align-items: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--border); padding: 6px 14px 6px 6px; border-radius: 99px; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--purple); }
.user-name { font-size: 0.85rem; font-weight: 600; }
.btn-logout { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 0.8rem; margin-left: 6px; transition: color var(--transition); }
.btn-logout:hover { color: var(--danger); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; padding: 16px 24px 20px; border-top: 1px solid var(--border); gap: 14px; }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.mobile-menu.open { display: flex; }
@media (max-width: 768px) { .nav-links, .nav-actions { display: none; } .hamburger { display: flex; margin-left: auto; } }

/* ── SERVER SELECT MODAL ── */
.server-modal { max-width: 520px !important; }
.server-modal-header { margin-bottom: 24px; }
.server-modal-header h3 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.server-modal-header p { color: var(--text-muted); font-size: 0.9rem; }

.server-list { display: flex; flex-direction: column; gap: 14px; }

.server-item {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.server-item:hover {
  background: rgba(88,101,242,0.1);
  border-color: rgba(88,101,242,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.server-icon {
  width: 56px; height: 56px; border-radius: 16px;
  overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--border);
}
.server-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nzr-icon { box-shadow: 0 0 20px rgba(123,47,247,0.4); }
.ban-icon { box-shadow: 0 0 20px rgba(212,175,55,0.3); }

.server-info { flex: 1; min-width: 0; }
.server-info h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.server-info p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.server-badge { font-size: 0.72rem; font-weight: 600; color: #4ade80; display: flex; align-items: center; gap: 5px; }
.server-badge i { font-size: 0.5rem; }

.server-join-btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--discord); color: #fff;
  padding: 9px 16px; border-radius: 10px;
  font-size: 0.82rem; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
  transition: var(--transition);
}
.server-item:hover .server-join-btn { background: #4752c4; }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 40px 60px; overflow: hidden; width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(123,47,247,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(123,47,247,0.08) 1px, transparent 1px); background-size: 60px 60px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.glow-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(123,47,247,0.25), transparent 70%); top: -150px; left: -100px; animation: glow-drift 8s ease-in-out infinite alternate; }
.glow-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(96,165,250,0.15), transparent 70%); bottom: 0; right: 0; animation: glow-drift 10s ease-in-out infinite alternate-reverse; }
@keyframes glow-drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.1); } }

/* Hero Split Layout - przesunięty bardziej w lewo */
.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1450px;
  min-height: calc(100vh - 160px);
  padding-left: 20px;
  padding-right: 80px;
}

/* Lewa strona ze statystykami - przesunięta bliżej lewej krawędzi */
.hero-stats-side {
  width: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 20px;
}

/* Czysty, bezramkowy panel - brak obramowania, tła i cienia, pełna lekkość */
.hero-stats-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 250px;
  position: relative;
}

/* Viewport z miękką maską gradientową: góra i dół płynnie nikną w przezroczystości */
.stats-ticker-viewport {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.stat-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(-65px);
  filter: blur(6px);
  transition: transform 1.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.1s ease, filter 1s ease;
  pointer-events: none;
}

.stat-slide.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
  pointer-events: auto;
}

.stat-slide.slide-out {
  opacity: 0;
  transform: translateY(65px);
  filter: blur(6px);
}


/* Prawa strona: zawartość hero - również przesunięta w lewo wraz z całym układem */
.hero-main-side {
  width: 58%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(88,101,242,0.18);
  border: 1px solid rgba(88,101,242,0.5);
  color: #c7d2fe;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 99px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(3.2rem, 6.5vw, 5.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 22px;
}
.title-shadow { color: var(--white); display: block; text-shadow: 0 4px 25px rgba(0,0,0,0.7); }
.title-practise {
  display: block;
  background: linear-gradient(90deg, #9333ea, #c084fc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: 1.22rem;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--purple), #5a18d6);
  color: #fff;
  padding: 15px 32px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 35px var(--purple-glow);
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 55px rgba(123,47,247,0.65); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 15px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px) scale(1.02); border-color: rgba(255,255,255,0.3); }

/* Mniejsze i estetyczne liczby w panelu */
.stat-slide .stat-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
  line-height: 1.1;
}

.stat-slide .stat-label {
  font-size: 0.76rem;
  color: #a855f7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

.scroll-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--text-muted); font-size: 1rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

@media (max-width: 960px) {
  .hero-layout {
    flex-direction: column-reverse;
    gap: 36px;
    padding-top: 30px;
  }
  .hero-stats-side, .hero-main-side {
    width: 100%;
  }
  .hero-stats-panel {
    width: 260px;
  }
}

/* ── SECTIONS ── */
.section { padding: 100px 24px; }
.section-dark { background: var(--bg-2); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { display: inline-block; background: rgba(123,47,247,0.15); border: 1px solid rgba(123,47,247,0.4); color: var(--purple-2); font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: -0.5px; }
.section-desc { color: var(--text-muted); font-size: 1rem; max-width: 520px; margin: 0 auto; }

/* ── CUSTOMS FILTERS ── */
.customs-filters {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: flex-end;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.filter-group { display: flex; flex-direction: column; gap: 10px; }
.filter-group-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.filter-group-label i { color: var(--purple-2); }

.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.85rem; font-weight: 600;
  padding: 8px 18px; border-radius: 99px; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.pill:hover { border-color: var(--purple-2); color: var(--white); }
.pill.active { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: 0 0 18px var(--purple-glow); }

/* Date navigator */
.date-nav {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 99px; overflow: hidden;
}
.date-arrow {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 0.75rem;
  padding: 9px 14px; transition: var(--transition);
}
.date-arrow:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.date-arrow:disabled { opacity: 0.3; cursor: default; }
.date-label {
  font-size: 0.88rem; font-weight: 700; color: var(--white);
  padding: 9px 16px; min-width: 110px; text-align: center;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  white-space: nowrap;
}

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.custom-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.custom-card:hover { border-color: rgba(123,47,247,0.5); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.card-img-wrap { position: relative; }
.card-img { height: 180px; position: relative; display: flex; align-items: flex-end; justify-content: space-between; padding: 14px; }
.card-map-code { background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; letter-spacing: 1px; }
.card-badge-mode { background: rgba(123,47,247,0.5); backdrop-filter: blur(6px); border: 1px solid rgba(123,47,247,0.4); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); }
.custom-card:hover .card-overlay { opacity: 1; }
.btn-view-session { display: flex; align-items: center; gap: 8px; background: var(--purple); color: #fff; border: none; cursor: pointer; padding: 11px 22px; border-radius: 10px; font-size: 0.88rem; font-weight: 700; transition: var(--transition); }
.btn-view-session:hover { background: var(--purple-2); transform: scale(1.05); }
.card-body { padding: 20px; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,0.07); color: var(--text-muted); }
.active-tag { background: rgba(34,197,94,0.15); color: #4ade80; }
.hot-tag { background: rgba(245,158,11,0.15); color: #fbbf24; }
.new-tag { background: rgba(168,85,247,0.2); color: #d8b4fe; }
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.card-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 14px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.78rem; color: var(--text-muted); }
.card-meta i { color: var(--purple-2); margin-right: 4px; }

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.session-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 99px;
}
.session-status-badge.status-upcoming {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.4);
}
.session-status-badge.status-live {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.5);
  animation: pulseLive 1.8s infinite;
}
.session-status-badge.status-ended {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

@keyframes pulseLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 10px 3px rgba(239, 68, 68, 0.3); }
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.status-upcoming .status-dot { background: #60a5fa; }
.status-live .status-dot { background: #ef4444; }
.status-ended .status-dot { background: #94a3b8; }

.card-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-session-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-dropmap {
  background: rgba(123, 47, 247, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.4);
}
.btn-dropmap:hover {
  background: rgba(123, 47, 247, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-leaderboard {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(123, 47, 247, 0.3);
}
.btn-leaderboard:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* ── DROPMAP MODAL STYLING ── */
.dropmap-modal {
  max-width: 900px !important;
  width: 95% !important;
}
.dropmap-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-top: 15px;
}
@media (max-width: 768px) {
  .dropmap-container {
    grid-template-columns: 1fr;
  }
}
.dropmap-canvas-wrap {
  position: relative;
  background: radial-gradient(circle at center, #1b2838 0%, #0d121d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  min-height: 380px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}
.fortnite-map-grid {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background-image: 
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.poi-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  padding: 6px 10px;
  background: rgba(13, 15, 30, 0.85);
  border: 1px solid var(--purple-2);
  border-radius: 20px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.poi-pin::before {
  content: '📍';
  font-size: 0.75rem;
}
.poi-pin:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--purple);
  border-color: #fff;
  z-index: 10;
}
.dropmap-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dropmap-sidebar h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropmap-sidebar h4 i {
  color: var(--purple-2);
}
.dropmap-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.dropmap-poi-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}
.poi-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.poi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  margin-right: 8px;
}
.poi-count {
  font-size: 0.72rem;
  color: #4ade80;
  font-weight: 700;
  background: rgba(74, 222, 128, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}
.dropmap-footer-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.25);
  padding: 10px;
  border-radius: 8px;
  margin-top: 14px;
}

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 2.5rem; margin-bottom: 16px; display: block; color: var(--border); }
.empty-state p { font-size: 1rem; }

/* ── SESSION MODAL ── */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.75); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; position: relative; transform: scale(0.9); transition: transform var(--transition); }
.modal-overlay.open .modal { transform: scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.07); border: none; color: var(--text-muted); cursor: pointer; width: 34px; height: 34px; border-radius: 8px; font-size: 1rem; transition: var(--transition); }
.modal-close:hover { background: var(--danger); color: #fff; }
.modal-header { margin-bottom: 18px; }
.modal-header h3 { font-size: 1.3rem; font-weight: 800; color: var(--white); }
.modal-date { font-size: 0.82rem; color: var(--text-muted); }
.modal-map-preview { height: 100px; border-radius: 12px; margin-bottom: 20px; border: 1px solid var(--border); }
.table-wrap { overflow-x: auto; }
.session-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.session-table th { background: rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; padding: 10px 14px; text-align: left; }
.session-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text); }
.session-table tbody tr:last-child td { border-bottom: none; }
.session-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
.rank-1 { color: #fbbf24; font-weight: 800; }
.rank-2 { color: #94a3b8; font-weight: 700; }
.rank-3 { color: #cd7f32; font-weight: 700; }

/* ── CTA ── */
.cta-section { padding: 80px 24px; position: relative; overflow: hidden; background: linear-gradient(135deg, #0d0f1e, #1a0a2e); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(123,47,247,0.2), transparent 70%); pointer-events: none; }
.cta-content { position: relative; text-align: center; max-width: 560px; margin: 0 auto; }
.cta-icon { font-size: 3.5rem; color: var(--discord); display: block; margin-bottom: 20px; filter: drop-shadow(0 0 20px rgba(88,101,242,0.5)); }
.cta-content h2 { font-size: 2.4rem; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.cta-content p { color: var(--text-muted); margin-bottom: 28px; font-size: 1rem; }
.cta-content strong { color: var(--purple-2); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 20px; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 20px; text-align: center; display: block; transition: var(--transition); }
.contact-card i { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.contact-card h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.contact-card p { font-size: 0.85rem; color: var(--text-muted); word-break: break-all; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.discord-card:hover { border-color: var(--discord); } .discord-card i { color: var(--discord); }
.email-card:hover { border-color: var(--purple-2); } .email-card i { color: var(--purple-2); }
.email-display {
  display: inline-block;
  font-size: 0.88rem !important;
  word-break: normal !important;
  overflow-wrap: break-word;
  white-space: nowrap;
  font-weight: 500;
  color: var(--white) !important;
}
.twitter-card:hover { border-color: #1d9bf0; } .twitter-card i { color: #1d9bf0; }
.tiktok-card:hover { border-color: #69C9D0; } .tiktok-card i { color: #69C9D0; }

.policy-controller-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.policy-controller-box p {
  margin: 0;
  font-size: 0.92rem;
}
.policy-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── FOOTER ── */
.footer { background: #040508; border-top: 1px solid var(--border); padding: 60px 24px 30px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-top: 10px; }
.footer-links h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 10px; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 4px; }
.footer-disclaimer { font-size: 0.75rem; opacity: 0.5; }
/* ── DISCORD EMBED RECRUITMENT BANNER ── */
.discord-embed-card {
  max-width: 760px;
  margin: 0 auto 30px auto;
  background: #111326;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  position: relative;
}
.discord-embed-side {
  width: 6px;
  background: linear-gradient(180deg, var(--purple-2), #5a18d6);
  flex-shrink: 0;
}
.discord-embed-body {
  padding: 28px 30px;
  width: 100%;
}
.discord-embed-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.discord-embed-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(123,47,247,0.4);
  box-shadow: 0 0 16px rgba(123,47,247,0.3);
  object-fit: cover;
}
.discord-embed-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
  margin-bottom: 2px;
}
.discord-embed-subtitle {
  font-size: 0.8rem;
  color: var(--purple-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.discord-embed-desc {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.discord-embed-bullets {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 14px 0;
}
.discord-embed-bullets h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.discord-embed-bullets ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.discord-embed-bullets li {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.discord-embed-cta-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.discord-embed-action {
  margin-top: 20px;
  display: flex;
}
.btn-discord-apply {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #23a55a;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(35,165,90,0.3);
}
.btn-discord-apply:hover {
  background: #1f9450;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35,165,90,0.45);
}

/* ── STAFF APPLICATION ── */
.app-card-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  animation: slideDownFade 0.45s ease forwards;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.app-form { display: flex; flex-direction: column; gap: 20px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 7px;
}
.form-group label i { color: var(--purple-2); }
.form-group label .req { color: var(--danger, #ef4444); }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--white);
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple-2);
  background: rgba(123,47,247,0.08);
  box-shadow: 0 0 15px rgba(123,47,247,0.3);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.app-status-msg {
  text-align: center;
  font-size: 0.92rem;
  padding: 12px 16px;
  border-radius: 10px;
  display: none;
}
.app-status-msg.success {
  display: block;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  color: #4ade80;
}
.app-status-msg.error {
  display: block;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.4);
  color: #f87171;
}

/* ── STANDALONE APPLICATION PAGE STYLES ── */
.apply-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.apply-main-wrapper {
  flex: 1;
  padding: 120px 24px 80px;
}
.apply-page-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
  transition: var(--transition);
}
.back-link:hover {
  color: var(--purple-2);
  transform: translateX(-3px);
}
.apply-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(123,47,247,0.12);
  border: 1px solid rgba(123,47,247,0.3);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple-2);
  margin-bottom: 16px;
}
.apply-header-badge .badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
}
.apply-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.apply-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.standalone-form-card {
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
  border-color: rgba(123,47,247,0.25);
}

/* ── CONSENT CHECKBOX & DISABLED BUTTON ── */
.discord-embed-consent {
  margin: 18px 0 16px 0;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}
.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.consent-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.custom-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: var(--transition);
}
.consent-checkbox-label input[type="checkbox"]:checked ~ .custom-checkbox {
  background: var(--purple);
  border-color: var(--purple-2);
  box-shadow: 0 0 12px var(--purple-glow);
}
.consent-checkbox-label input[type="checkbox"]:checked ~ .custom-checkbox::after {
  content: '✓';
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.consent-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.policy-link-inline {
  color: var(--purple-2);
  text-decoration: underline;
  font-weight: 600;
  transition: var(--transition);
}
.policy-link-inline:hover {
  color: var(--accent);
}
.form-consent-group {
  margin: 10px 0 6px 0;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* Disabled button state */
.btn-discord-apply.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.5);
  transform: none !important;
  box-shadow: none !important;
  pointer-events: auto; /* allows click handler to show feedback */
}

/* ── COOKIE CONSENT BANNER (RODO / GDPR) ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 900px;
  margin: 0 auto;
  z-index: 9999;
  background: rgba(13, 15, 30, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(123, 47, 247, 0.4);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7);
  animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(123, 47, 247, 0.15);
  border: 1px solid rgba(123, 47, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-2);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.cookie-text {
  flex: 1;
  min-width: 260px;
}
.cookie-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.cookie-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cookie-text a {
  color: var(--purple-2);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-actions .btn-primary,
.cookie-actions .btn-secondary {
  padding: 10px 18px;
  font-size: 0.85rem;
}

/* ── COOKIE SETTINGS ACCORDION PANEL ── */
.cookie-settings-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: slideDownFade 0.3s ease forwards;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}
.cookie-category-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  transition: var(--transition);
}
.cookie-category-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(123, 47, 247, 0.3);
}
.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cookie-cat-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-cat-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-cat-title i {
  color: var(--purple-2);
}
.cookie-badge-req {
  font-size: 0.72rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cookie-badge-opt {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 99px;
}
.cookie-cat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.cookie-settings-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
}

/* Toggle Switch Styling */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.12);
  transition: .3s;
  border: 1px solid var(--border);
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: .3s;
}
input:checked + .slider {
  background-color: var(--purple);
  border-color: var(--purple-2);
  box-shadow: 0 0 10px var(--purple-glow);
}
input:focus + .slider {
  box-shadow: 0 0 1px var(--purple);
}
input:checked + .slider:before {
  transform: translateX(20px);
}
input:disabled + .slider {
  cursor: not-allowed;
  opacity: 0.6;
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

/* ── PRIVACY POLICY PAGE STYLES ── */
.policy-card {
  max-width: 860px;
  padding: 40px;
}
.policy-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.policy-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 8px;
}
.policy-block p {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.policy-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 8px;
  margin: 10px 0;
}
.policy-block li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.policy-block li strong {
  color: var(--white);
}
.policy-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
}
.policy-table th,
.policy-table td {
  padding: 12px 14px;
}
.policy-table th {
  background: rgba(123, 47, 247, 0.1);
  color: var(--purple-2);
}
.policy-link {
  color: var(--purple-2);
  font-weight: 600;
}
.footer-legal-link {
  color: var(--purple-2);
  margin-left: 8px;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .customs-filters { flex-direction: column; align-items: stretch; }
  .form-row-2 { grid-template-columns: 1fr; }
  .app-card-wrapper { padding: 24px 18px; }
  .apply-main-wrapper { padding: 100px 16px 50px; }
  .cookie-banner { bottom: 12px; left: 12px; right: 12px; padding: 16px; }
  .cookie-actions { width: 100%; justify-content: stretch; }
  .cookie-actions button { flex: 1; text-align: center; }
  .policy-card { padding: 24px 18px; }
}
