@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --ink: #070910;
  --ink-2: #101726;
  --panel: rgba(12, 18, 34, 0.82);
  --panel-solid: #121a2c;
  --cyan: #5ce1ff;
  --gold: #f0c15a;
  --rose: #ff5d8f;
  --violet: #9b8cff;
  --text: #eef3fb;
  --muted: #9aabc4;
  --line: rgba(150, 196, 255, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --display: "Syne", sans-serif;
  --body: "Outfit", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(92, 225, 255, 0.08), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(240, 193, 90, 0.06), transparent 50%),
    var(--ink);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; }

a:hover { color: var(--gold); }

h1, h2, h3, h4, .display {
  font-family: var(--display);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

p { color: var(--muted); }

.citadel-nav {
  position: relative;
  background: rgba(8, 12, 22, 0.94);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  z-index: 20;
}

.citadel-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  min-width: 0;
}

.citadel-logo:hover { color: var(--text); }

.logo-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--gold);
  background:
    linear-gradient(160deg, rgba(92, 225, 255, 0.2), rgba(8, 14, 28, 0.2)),
    #0c1528;
  border: 1px solid rgba(92, 225, 255, 0.45);
  box-shadow: inset 0 0 0 1px rgba(240, 193, 90, 0.25), 0 0 22px rgba(92, 225, 255, 0.16);
  font-size: 1.2rem;
}

.logo-name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.logo-tag {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8fd8ff;
}

.citadel-toggler {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #121a2e;
  color: var(--text);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.citadel-toggler:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible,
.chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.citadel-nav .nav-link {
  color: #d5e2f5;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.78rem;
  border-radius: 999px;
}

.citadel-nav .nav-link:hover,
.citadel-nav .nav-link.active {
  color: #071018;
  background: linear-gradient(90deg, var(--gold), #ffe3a1);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
}

.hero-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.88) 0%, rgba(7, 9, 16, 0.55) 48%, rgba(7, 9, 16, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.15), rgba(7, 9, 16, 0.78));
}

.hero-content,
.page-hero .container { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.eyebrow i { color: var(--cyan); }

.hero h1,
.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}

.hero .lead,
.page-hero .lead {
  font-size: 1.12rem;
  max-width: 46rem;
  color: #d5deee;
}

.btn-gold,
.btn-line {
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-gold {
  background: linear-gradient(90deg, var(--gold), #ffe7ad);
  color: #1a1406;
}

.btn-gold:hover { color: #1a1406; transform: translateY(-2px); }

.btn-line {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(8, 12, 22, 0.35);
}

.btn-line:hover { color: var(--gold); border-color: var(--gold); }

.hero-panel {
  background: rgba(8, 12, 22, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.2rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-panel strong { color: #fff; }

.mini-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem;
}

.mini-stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  color: #fff;
}

.mini-stat span { color: var(--muted); font-size: 0.86rem; }

.marquee {
  overflow: hidden;
  max-width: 100%;
  border-bottom: 1px solid var(--line);
  background: #0b1220;
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #d7e4f7;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.marquee-item i { color: var(--cyan); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-pad { padding-top: 5rem; padding-bottom: 5rem; }

.section-head { margin-bottom: 2rem; }

.section-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0.2rem 0 0.6rem; }

.panel,
.game-card,
.news-card,
.setup-card,
.team-card,
.info-card,
.tourney-card,
.match-card,
.policy-card {
  background: linear-gradient(180deg, rgba(22, 31, 52, 0.92), rgba(12, 17, 31, 0.92));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.match-card,
.tourney-card,
.news-card,
.setup-card,
.team-card,
.info-card,
.game-card { padding: 1.15rem; height: 100%; }

.media-frame {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.media-frame img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.tourney-card:hover img,
.news-card:hover img,
.setup-card:hover img,
.team-card:hover img { transform: scale(1.05); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d9f7ff;
  background: rgba(92, 225, 255, 0.1);
  border: 1px solid rgba(92, 225, 255, 0.25);
}

.tag.gold {
  color: #2a210c;
  background: var(--gold);
  border-color: transparent;
}

.card h3,
.tourney-card h3,
.news-card h3,
.setup-card h3,
.team-card h3,
.info-card h3,
.game-card h3,
.match-card h3 {
  font-size: 1.35rem;
  margin: 0.75rem 0 0.4rem;
  color: #fff;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.meta i { color: var(--gold); margin-right: 0.3rem; }

.game-card {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 193, 90, 0.45);
}

.game-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #071018;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}

.stat-band {
  background:
    linear-gradient(100deg, rgba(92, 225, 255, 0.08), rgba(240, 193, 90, 0.08)),
    #0c1322;
  border-block: 1px solid var(--line);
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  display: block;
  line-height: 1;
}

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.bento-photo {
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}

.bento-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

.bento-photo figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(7, 10, 18, 0.78);
  border-radius: 16px;
  padding: 1rem;
}

.bento-photo h3 { margin: 0 0 0.3rem; }

.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding: 4.5rem 0 2.6rem;
  overflow: hidden;
}

.page-hero .hero-shade { background: linear-gradient(180deg, rgba(7, 9, 16, 0.25), rgba(7, 9, 16, 0.88)); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.split img,
.rounded-shot {
  border-radius: 24px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  border: 1px solid var(--line);
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: auto;
  background: #0e1628;
}

table { margin: 0; color: var(--text); min-width: 680px; }

table thead th {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #121b30;
  border-color: var(--line);
}

table td, table th { border-color: var(--line); padding: 0.9rem 1rem; }

@media (max-width: 767.98px) {
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
  table thead { display: none; }
  table tbody tr {
    display: block;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
  }
  table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    border: 0;
    padding: 0.28rem 0;
    text-align: right;
  }
  table td::before {
    content: attr(data-label);
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    text-align: left;
  }
}

table tbody tr:hover { background: rgba(92, 225, 255, 0.05); }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }

.chip {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0.45rem 0.85rem;
  font-weight: 600;
}

.chip.is-on,
.chip:hover {
  background: var(--gold);
  color: #1b1507;
  border-color: transparent;
}

.timeline { border-left: 1px solid var(--line); margin-left: 0.6rem; }

.time-item { padding: 0 0 1.4rem 1.2rem; position: relative; }

.time-item:before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(92, 225, 255, 0.15);
  position: absolute;
  left: -7px;
  top: 0.35rem;
}

.prose h2 { font-size: 2rem; margin-top: 0; }

.prose h3 { margin-top: 1.4rem; }

.prose p, .prose li { color: #c9d5e8; }

.policy-card { padding: 1.5rem; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #080d18;
  padding: 3.5rem 0 1.4rem;
}

.site-footer h2 {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.site-footer a { color: #d5e0f2; }
.site-footer .stack a { display: block; margin: 0.28rem 0; }

.site-footer a:hover { color: var(--cyan); }

.footer-brand p { max-width: 28rem; }

.socials { display: flex; gap: 0.6rem; }

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin: 0;
}

.legal-bar {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

.delay-2 { transition-delay: 0.12s; }
.delay-3 { transition-delay: 0.24s; }

.soft-list { list-style: none; padding: 0; margin: 0; }

.soft-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.7rem 0;
  color: #d5deee;
}

.soft-list i { color: var(--gold); margin-top: 0.25rem; }

.rank-pos {
  font-family: var(--display);
  color: var(--gold);
}

@media (max-width: 1199.98px) {
  .citadel-nav .navbar-brand { margin-right: 0; padding-top: 0; padding-bottom: 0; }
  .citadel-logo { max-width: calc(100% - 62px); }
  .logo-name { font-size: 1rem; white-space: nowrap; }
  .citadel-toggler { display: inline-flex; flex: 0 0 46px; margin-left: auto; }
  .citadel-nav .navbar-collapse {
    flex-basis: 100%;
    margin-top: 0.85rem;
    background: #10182b;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.55rem;
  }
  .citadel-nav .nav-link { display: block; margin: 0.15rem 0; }
}

@media (max-width: 480px) {
  .logo-tag { display: none; }
  .logo-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .logo-name { font-size: 0.92rem; }
}

@media (max-width: 991.98px) {
  .bento, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2.5rem; }
  .hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
