:root {
  --accent: #1ec7d1;
  --accent-dark: #16a8b0;
  --accent-2: #b155ff;
  --bg: #0e0e0f;
  --bg-light: #17181a;
  --text: #f0f0f0;
  --muted: #9a9a9a;
  --radius: 8px;
  --transition: 0.3s ease;
  --font: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); overflow-x: hidden; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }

.nav { background: rgba(15,15,17,.8); backdrop-filter: blur(10px); position: fixed; width: 100%; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__inner { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.6rem; max-width: 1400px; margin: 0 auto; }
.nav__inner--centered { justify-content: space-between; position: relative; }
.brand--centered { position: absolute; left: 50%; transform: translateX(-50%); }
.brand img { height: 48px; }

.menu { display: flex; gap: .8rem; }
.btn-nav {
  padding: .55rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .8rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: all .25s ease;
}
.btn-nav:hover,
.btn-nav.is-active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(30,199,209,.5);
}

.hero { position: relative; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 70px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: -1; }
.hero__logo { max-width: 340px; margin-bottom: 1.5rem; }
.hero__title { font-size: 1.9rem; margin-bottom: 2rem; }
.hero__cta { display: flex; justify-content: center; gap: 1rem; }

.btn {
  padding: .9rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #000;
  box-shadow: 0 4px 16px rgba(30,199,209,.3);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(30,199,209,.5);
}
.btn--ghost {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 4px 16px rgba(30,199,209,.4);
}

.hero__status { margin-top: 2rem; color: var(--muted); }

.section { padding: 6rem 1rem; }
.section__title { text-align: center; font-size: 2rem; margin-bottom: .75rem; }
.section--accent { background: linear-gradient(180deg,#16a8b0,#1ec7d1); color: #000; }
.section--dark { background: var(--bg-light); }

.events--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1rem; }
.event-card { background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.event-card h3 { margin: 0 0 .4rem; }
.event-card p { margin: .2rem 0 .6rem; color: #0a0a0a; }
.event-card small { color: #001; opacity: .8; }

.masonry { columns: 3 300px; column-gap: 1rem; }
.masonry img, .masonry video { width: 100%; margin-bottom: 1rem; border-radius: var(--radius); display: block; cursor: pointer; transition: transform .25s; background: #0f0f0f; border: 1px solid rgba(255,255,255,.12); }
.masonry img:hover, .masonry video:hover { transform: scale(1.02); }

.lightbox { position: fixed; inset: 0; display: none; justify-content: center; align-items: center; background: rgba(0,0,0,.95); z-index: 999; }
.lightbox.active { display: flex; }
.lightbox__stage img, .lightbox__stage video { max-width: 90%; max-height: 80vh; border-radius: var(--radius); }
.lightbox__nav, .lightbox__close { position: absolute; background: transparent; color: #fff; border: 0; font-size: 2rem; cursor: pointer; user-select: none; }
.lightbox__close { top: 20px; right: 30px; }
.lightbox__prev { left: 40px; }
.lightbox__next { right: 40px; }
.lightbox__caption { position: absolute; bottom: 40px; text-align: center; width: 100%; color: #ccc; }

.accordion--cards { max-width: 900px; margin: 0 auto; }
.accordion__item { background: var(--bg); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); margin-bottom: 1rem; padding: 1rem 1.2rem; }
.accordion__item summary { font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 1.2rem; }
.accordion__item summary::after { content: '▸'; position: absolute; right: .2rem; top: 0; font-size: 1rem; color: var(--muted); transition: transform .2s; }
.accordion__item[open] summary::after { content: '▾'; color: var(--accent); }
.accordion__panel { margin-top: .65rem; padding-top: .6rem; line-height: 1.7; color: #dcdcdc; border-top: 1px solid rgba(255,255,255,.08); }

.rules-hero { padding: 7rem 0 1.5rem; background: linear-gradient(180deg,#0b0b0b,#0a0a0a); border-bottom: 1px solid rgba(255,255,255,.08); }
.rules-hero__title { font-size: 2.2rem; font-weight: 800; margin-bottom: .25rem; }
.rules-hero__sub { color: var(--muted); margin-bottom: 1rem; }
.rules-topbar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pillbar { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .9rem;
  border-radius: var(--radius);
  background: #141414;
  border: 1px solid #1e1e1e;
  color: #d6d6d6;
  text-decoration: none;
  font-size: .9rem;
  transition: all .25s ease;
}
.pill:hover { background: #1d1d1d; color: #fff; }
.pill.is-active { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #000; border-color: transparent; }

.rules-search { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem; background: #121212; border: 1px solid #1e1e1e; border-radius: var(--radius); }
.rules-search input { background: transparent; border: 0; outline: 0; color: #eaeaea; width: 260px; }

.rules-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; }
.rule-section__title { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 800; letter-spacing: .2px; margin-bottom: 1rem; }
.rule-section__title .accent { width: 6px; height: 18px; border-radius: 4px; display: inline-block; background: #f5c542; box-shadow: 0 0 0 2px rgba(245,197,66,.15); }
.rule-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.rule-cards--single { grid-template-columns: 1fr; }
.rule-card { background: #101010; border: 1px solid #1b1b1b; border-radius: 14px; padding: 1.1rem 1.2rem; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.rule-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; }
.rule-card ul { list-style: disc; margin-left: 1.2rem; color: #d7d7d7; }
.rule-card li { margin: .3rem 0; }

.footer { background: #0b0b0b; padding: 2rem 1rem; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.footer__brand img { height: 50px; margin-bottom: .5rem; }
.footer__motto { color: var(--muted); font-size: .9rem; }
.footer__social { margin-top: 1.2rem; display: flex; justify-content: center; gap: 1.1rem; }
.footer__social a { display: inline-flex; width: 28px; height: 28px; }
.footer__social img { width: 100%; height: 100%; object-fit: contain; display: block; opacity: .9; transition: transform .2s, opacity .2s, filter .2s; }
.footer__social img:hover { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 6px var(--accent)); }
.footer__copy { margin-top: 1rem; color: var(--muted); font-size: .8rem; }

@media (max-width: 900px) {
  .rule-cards { grid-template-columns: 1fr; }
  .rules-search input { width: 200px; }
  .masonry { columns: 2 160px; }
}
