:root {
  --bg: #070409;
  --bg-2: #0b0612;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.1);
  --cyan: #00f0ff;
  --purple: #a855f7;
  --lime: #9dff00;
  --orange: #ff8a00;
  --text: #e8ecff;
  --muted: #9aa3c7;
  --title: clamp(1.7rem, 4vw, 2.6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--cyan) transparent; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.glow-cyan  { text-shadow: 0 0 6px rgba(0, 240, 255, .8), 0 0 24px rgba(0, 240, 255, .5); }
.glow-lime  { text-shadow: 0 0 6px rgba(157, 255, 0, .8), 0 0 24px rgba(157, 255, 0, .4); }
.accent { color: var(--lime); text-shadow: 0 0 8px rgba(157, 255, 0, .9), 0 0 30px rgba(157, 255, 0, .5); }

#particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .55; }

/* ===== NAV (identical to MANZAR desktop nav) ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(7, 4, 9, .7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--panel-border), 0 8px 30px rgba(0, 0, 0, .5);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-weight: 800; font-size: 1.4rem; letter-spacing: 2px; }
.brand span { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }
.menu { display: flex; gap: 1.6rem; align-items: center; }
.menu a { color: var(--muted); font-size: .95rem; transition: color .2s; position: relative; padding: .3rem 0; }
.menu a:hover { color: var(--text); }
.menu a.is-active { color: var(--text); }
.menu a.is-active::after { width: 100%; }
.menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transition: width .25s;
}
.menu a:hover::after { width: 100%; }
.menu .nav-cta {
  color: var(--bg); background: var(--cyan); padding: .5rem 1.1rem; border-radius: 999px;
  font-weight: 700; box-shadow: 0 0 16px rgba(0, 240, 255, .5);
}
.menu .nav-cta::after { display: none; }
.menu .nav-btn {
  color: var(--cyan); border: 1.5px solid var(--cyan); padding: .38rem 1rem; border-radius: 999px;
  font-weight: 700; box-shadow: 0 0 10px rgba(0, 240, 255, .2);
  transition: background .2s, box-shadow .2s;
}
.menu .nav-btn::after { display: none; }
.menu .nav-btn:hover { background: rgba(0, 240, 255, .12); box-shadow: 0 0 20px var(--cyan); }
.menu .nav-btn.is-active { background: rgba(0, 240, 255, .15); }

/* ===== MENU TOGGLE (hamburger) ===== */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; z-index: 120; position: relative; }
.menu-toggle span { width: 26px; height: 2.5px; background: var(--text); transition: .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== PAGE HEAD ===== */
.page-head {
  min-height: 92vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 1.5rem 3rem;
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 240, 255, .16), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(168, 85, 247, .18), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(157, 255, 0, .12), transparent 45%),
    linear-gradient(180deg, #0b0612 0%, var(--bg) 90%);
}
.eyebrow { font-size: .8rem; letter-spacing: 5px; text-transform: uppercase; color: var(--cyan); margin-bottom: 1.2rem; }
.page-title {
  font-size: var(--title); font-weight: 900; line-height: 1.12; letter-spacing: 1px;
  background: linear-gradient(100deg, #fff 10%, var(--cyan) 50%, var(--purple) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 240, 255, .3));
}
.page-sub { margin-top: 1.1rem; color: var(--muted); font-size: clamp(.95rem, 2vw, 1.1rem); max-width: 640px; }

/* ===== SECTION ===== */
.section { padding: 5rem 1rem; position: relative; }
.wrap { max-width: 1200px; margin: 0 auto; }
.section-tag { color: var(--cyan); letter-spacing: 4px; text-transform: uppercase; font-size: .8rem; margin-bottom: .6rem; }
.section-title {
  font-size: var(--title); font-weight: 800; margin-bottom: 1.6rem;
  background: linear-gradient(90deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===== TOOLBAR ===== */
.results-toolbar { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }
.search-box {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(20, 14, 34, 0.72);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  padding: .4rem .9rem;
  max-width: 420px;
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: var(--cyan); box-shadow: 0 0 14px rgba(0, 240, 255, .2); }
.search-icon { color: var(--muted); font-size: 1rem; }
.search-box input {
  flex: 1; background: none; border: 0; outline: none;
  color: var(--text); font-family: inherit; font-size: .95rem; padding: .45rem 0;
}
.search-box input::placeholder { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--panel-border);
  background: rgba(20, 14, 34, 0.72); color: var(--muted); cursor: pointer;
  font-size: .8rem; letter-spacing: 1px; font-weight: 700; transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.filter:hover { color: var(--text); border-color: var(--cyan); }
.filter.is-active { background: var(--cyan); color: #03060a; border-color: var(--cyan); box-shadow: 0 0 16px rgba(0, 240, 255, .4); }

.results-status { color: var(--muted); margin-bottom: 1.4rem; }

/* ===== RESULTS LIST ===== */
.results-list { display: flex; flex-direction: column; gap: 1.6rem; opacity: 0; transition: opacity .4s; }
.results-list.ready { opacity: 1; }

.event-block {
  background: rgba(20, 14, 34, 0.72);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.event-block:hover { border-color: var(--cyan); box-shadow: 0 0 26px rgba(0, 240, 255, .12); }
.event-head {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--panel-border);
  background: linear-gradient(135deg, rgba(0, 240, 255, .1), rgba(168, 85, 247, .1));
}
.event-icon { font-size: 1.6rem; color: var(--cyan); text-shadow: 0 0 14px var(--cyan); }
.event-name { font-size: 1.25rem; font-weight: 800; letter-spacing: .5px; flex: 1; }
.event-count { font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.4rem 1.5rem; }
.podium-item {
  position: relative;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 1.2rem 1.1rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.podium-item:hover { transform: translateY(-4px); }
.podium-item.first { border-color: rgba(255, 210, 122, .6); box-shadow: 0 0 22px rgba(255, 210, 122, .18); }
.podium-item.second { border-color: rgba(200, 210, 230, .5); box-shadow: 0 0 18px rgba(200, 210, 230, .14); }
.podium-item.third { border-color: rgba(255, 138, 0, .5); box-shadow: 0 0 18px rgba(255, 138, 0, .14); }

.medal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.1rem; font-weight: 900; margin-bottom: .6rem;
}
.podium-item.first .medal { background: linear-gradient(135deg, #ffd27a, #ff9d00); color: #3a2400; box-shadow: 0 0 16px rgba(255, 210, 122, .5); }
.podium-item.second .medal { background: linear-gradient(135deg, #e8ecff, #aab4d6); color: #232a3d; box-shadow: 0 0 14px rgba(200, 210, 230, .4); }
.podium-item.third .medal { background: linear-gradient(135deg, #ffb066, #ff8a00); color: #3a1c00; box-shadow: 0 0 14px rgba(255, 138, 0, .4); }

.place-label { font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.winner-name { font-size: 1.05rem; font-weight: 800; color: var(--text); }
.team-name { font-size: .85rem; color: var(--cyan); margin-top: .15rem; }
.podium-details { font-size: .82rem; color: var(--muted); margin-top: .5rem; line-height: 1.5; }

/* ===== EMPTY / COMING SOON ===== */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  border: 1px dashed var(--panel-border);
  border-radius: 20px;
  background: rgba(20, 14, 34, 0.5);
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; filter: drop-shadow(0 0 18px rgba(0, 240, 255, .4)); }
.empty-title { font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.empty-sub { color: var(--muted); max-width: 460px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--panel-border); padding: 3.5rem 1rem; text-align: center; background: linear-gradient(180deg, transparent, rgba(168,85,247,.06)); }
.footer-inner { max-width: 760px; margin: 0 auto; }
.foot-name { font-size: 1.6rem; font-weight: 900; letter-spacing: 3px; margin-bottom: .6rem; text-shadow: 0 0 14px var(--cyan); }
.foot-sub { color: var(--muted); margin-bottom: 1.2rem; }
.foot-contact { display: inline-block; color: var(--cyan); border-bottom: 1px solid transparent; }
.foot-contact:hover { border-color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }
.foot-legal { color: var(--muted); font-size: .8rem; margin-top: 1rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu { display: none; flex-direction: column; align-items: stretch; }
  .menu-toggle { display: flex; }
  .menu.open {
    display: flex;
    position: fixed; inset: 0; z-index: 110;
    background: rgba(7, 4, 9, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    justify-content: center; align-items: center; gap: 1.6rem; padding: 5rem 1.5rem;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .menu.open a {
    font-size: 1.35rem; color: var(--text); padding: .8rem 1.2rem; border-radius: 10px;
    text-align: center; width: 100%; max-width: 320px;
  }
  .menu.open a:hover { background: rgba(0, 240, 255, .1); color: var(--cyan); }
  .menu.open a::after { display: none; }
  .menu.open .nav-cta { margin-top: .4rem; }
  .menu.open .nav-btn, .menu.open .nav-cta { text-align: center; }
  .podium { grid-template-columns: 1fr; }
  .search-box { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
