:root {
  --bg: #07090f;
  --bg-2: #0c111a;
  --card: #121826;
  --card-2: #171e2e;
  --line: rgba(231, 237, 246, 0.1);
  --text: #e7edf6;
  --muted: #95a2b8;
  --teal: #2ee6c7;
  --teal-deep: #0e8f86;
  --gold: #f0b429;
  --violet: #9b8cff;
  --ink: #061018;
  --display: "Unbounded", sans-serif;
  --font: "Manrope", sans-serif;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1000px 520px at 0% -10%, rgba(46, 230, 199, 0.14), transparent 55%),
    radial-gradient(800px 480px at 100% 0%, rgba(240, 180, 41, 0.1), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.sg-header {
  position: relative;
  z-index: 20;
  background: rgba(7, 9, 15, 0.92);
  border-bottom: 1px solid var(--line);
}

.sg-nav { padding: 0.85rem 0; }

.sg-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.sg-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--ink);
  background: linear-gradient(145deg, var(--teal) 0%, #6aa7ff 62%, var(--gold) 140%);
  box-shadow: 0 10px 28px rgba(46, 230, 199, 0.28);
  font-size: 1.15rem;
}

.sg-brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sg-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.sg-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sg-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.sg-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.sg-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.sg-menu .nav-link {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.68rem;
  border-radius: 999px;
  white-space: nowrap;
}

.sg-menu .nav-link:hover,
.sg-menu .nav-link:focus-visible,
.sg-menu .nav-link.is-active {
  color: var(--ink);
  background: var(--teal);
}

.sg-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 4.5rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(7, 9, 15, 0.15) 0%, rgba(7, 9, 15, 0.55) 42%, rgba(7, 9, 15, 0.94) 100%),
    url("/assets/images/hero-arena.jpg") center 30% / cover no-repeat;
  overflow: hidden;
}

.sg-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: 10%;
  background: radial-gradient(circle, rgba(46, 230, 199, 0.28), transparent 68%);
  animation: sg-pulse 7s ease-in-out infinite;
  pointer-events: none;
}

.sg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 1rem;
}

.sg-kicker i { color: var(--teal); }

h1, h2, h3, h4, .sg-display {
  font-family: var(--display);
  letter-spacing: -0.045em;
  line-height: 1.08;
  font-weight: 700;
}

.sg-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  max-width: 14ch;
  margin: 0 0 1rem;
}

.sg-lead {
  max-width: 42rem;
  color: #d5deec;
  font-size: 1.12rem;
  margin-bottom: 1.6rem;
}

.sg-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.sg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.sg-btn:hover { transform: translateY(-2px); }

.sg-btn-solid {
  background: linear-gradient(120deg, var(--teal), #b8fff2);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(46, 230, 199, 0.25);
}

.sg-btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(7, 9, 15, 0.35);
  color: white;
}

.sg-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.sg-hero-meta strong { color: white; display: block; font-size: 1rem; }

.sg-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.95rem 0;
}

.sg-marquee-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: sg-slide 38s linear infinite;
}

.sg-marquee span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #c9d3e4;
}

.sg-marquee i { color: var(--teal); }

.sg-section { padding: 5.4rem 0; }

.sg-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sg-section h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin: 0; }

.sg-section p.sg-intro { color: var(--muted); max-width: 38rem; margin: 0.6rem 0 0; }

.sg-link {
  color: var(--teal);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.sg-link:hover { color: white; }

.sg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.sg-stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.15rem;
  position: relative;
  overflow: hidden;
}

.sg-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--teal), var(--gold));
}

.sg-stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.sg-stat span { color: var(--muted); font-size: 0.92rem; }

.sg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.sg-card, .sg-panel, .sg-city, .sg-tile, .sg-info {
  background: rgba(18, 24, 38, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

a.sg-card, a.sg-tile, a.sg-city, a.sg-icon-card {
  display: flex;
  flex-direction: column;
  color: inherit;
}

.sg-card { transition: transform 0.35s ease, border-color 0.35s ease; }

.sg-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 230, 199, 0.45);
}

.sg-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.sg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.sg-card:hover .sg-media img { transform: scale(1.07); }

.sg-media em {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  font-style: normal;
  background: rgba(6, 16, 24, 0.78);
  color: var(--gold);
  border: 1px solid rgba(240, 180, 41, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sg-card-body, .sg-panel, .sg-info { padding: 1.2rem 1.2rem 1.3rem; }

.sg-card h3, .sg-panel h3, .sg-info h3, .sg-tile h3 {
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}

.sg-card p, .sg-panel p, .sg-info p, .sg-city p, .sg-prose p { color: var(--muted); }

.sg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  color: #c5d0e2;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.sg-meta i { color: var(--teal); margin-right: 0.35rem; }

.sg-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: stretch;
}

.sg-photo {
  border-radius: var(--radius);
  min-height: 360px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.sg-photo figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(7, 9, 15, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(8px);
}

.sg-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.sg-tile {
  grid-column: span 4;
  min-height: 250px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.sg-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 15, 0.05), rgba(7, 9, 15, 0.88));
  z-index: -1;
}

.sg-tile.wide { grid-column: span 6; min-height: 300px; }

.sg-tile small {
  display: block;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 0.3rem;
}

.sg-icon-grid, .sg-city-grid, .sg-info-grid {
  display: grid;
  gap: 1rem;
}

.sg-icon-grid { grid-template-columns: repeat(4, 1fr); }
.sg-city-grid { grid-template-columns: repeat(4, 1fr); }
.sg-info-grid { grid-template-columns: repeat(3, 1fr); }

.sg-icon-card, .sg-city {
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(18, 24, 38, 0.75);
  height: 100%;
}

.sg-icon-card i, .sg-city i, .sg-info > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  color: var(--ink);
  background: linear-gradient(145deg, var(--teal), #d8fff6);
}

.sg-icon-card h3, .sg-city h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }

.sg-icon-card p, .sg-city p { margin: 0; font-size: 0.92rem; }

.sg-band {
  background:
    linear-gradient(100deg, rgba(7, 9, 15, 0.88), rgba(7, 9, 15, 0.55)),
    url("/assets/images/gear-flatlay.jpg") center / cover no-repeat;
  border-block: 1px solid var(--line);
}

.sg-band-setup {
  background:
    linear-gradient(100deg, rgba(7, 9, 15, 0.9), rgba(7, 9, 15, 0.45)),
    url("/assets/images/pro-setup.jpg") center / cover no-repeat;
}

.sg-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  background: rgba(12, 17, 26, 0.8);
}

.sg-table {
  width: 100%;
  margin: 0;
  color: var(--text);
  min-width: 680px;
}

.sg-table th {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.sg-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.sg-table tr:last-child td { border-bottom: 0; }

.sg-table tbody tr { transition: background 0.25s ease; }

.sg-table tbody tr:hover { background: rgba(46, 230, 199, 0.06); }

.sg-rank {
  font-family: var(--display);
  color: var(--gold);
}

.sg-pagehero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 2.6rem;
  background-size: cover;
  background-position: center;
}

.sg-pagehero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 15, 0.25), rgba(7, 9, 15, 0.92));
}

.sg-pagehero .container-xxl { position: relative; z-index: 1; }

.sg-pagehero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 16ch; margin: 0; }

.sg-prose { max-width: 46rem; }
.sg-prose h2 { font-size: 1.7rem; margin: 2rem 0 0.6rem; }
.sg-prose h3 { font-size: 1.2rem; margin: 1.4rem 0 0.4rem; }
.sg-prose ul { color: var(--muted); padding-left: 1.1rem; }
.sg-prose li { margin: 0.35rem 0; }

.sg-steps { display: grid; gap: 0.9rem; }

.sg-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.sg-step b {
  font-family: var(--display);
  color: var(--teal);
  font-size: 1.1rem;
}

.sg-footer {
  border-top: 1px solid var(--line);
  padding: 3.2rem 0 1.4rem;
  background: #080b12;
  margin-top: 1rem;
}

.sg-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.sg-footer a { display: inline-flex; margin: 0.28rem 0; color: #d5deec; }
.sg-footer a:hover { color: var(--teal); }
.sg-footer p { color: var(--muted); }
.sg-footer ul { list-style: none; margin: 0; padding: 0; }

.sg-footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.sg-reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: sg-rise 0.8s ease forwards;
}

.sg-delay-1 { animation-delay: 0.12s; }
.sg-delay-2 { animation-delay: 0.24s; }
.sg-delay-3 { animation-delay: 0.36s; }

.sg-watch .sg-reveal {
  animation: none;
  opacity: 0;
  transform: translateY(28px);
}

.sg-watch .sg-reveal.is-in {
  animation: sg-rise 0.8s ease forwards;
}

@keyframes sg-rise {
  to { opacity: 1; transform: none; }
}

@keyframes sg-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes sg-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 1199.98px) {
  .sg-toggle { display: inline-flex; }

  #primaryNav {
    margin-top: 0.85rem;
    background: #0d131e;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.45rem;
  }

  .sg-menu .nav-link {
    display: block;
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    font-size: 1rem;
  }

  .sg-menu .nav-item + .nav-item { margin-top: 0.15rem; }
}

@media (max-width: 991.98px) {
  .sg-stats, .sg-grid, .sg-split, .sg-icon-grid, .sg-city-grid, .sg-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sg-tile, .sg-tile.wide { grid-column: span 6; }
  .sg-section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
  .sg-stats, .sg-grid, .sg-split, .sg-icon-grid, .sg-city-grid, .sg-info-grid {
    grid-template-columns: 1fr;
  }

  .sg-tile, .sg-tile.wide { grid-column: span 12; }
  .sg-hero { min-height: 100vh; padding-top: 3rem; }
  .sg-section { padding: 3.6rem 0; }
  .sg-brand-name { font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .sg-reveal { opacity: 1; transform: none; }
}
