:root {
  --bg: #07131a;
  --bg-alt: #0c1d25;
  --panel: rgba(12, 27, 35, 0.88);
  --panel-strong: rgba(18, 38, 49, 0.95);
  --text: #edf6f8;
  --muted: #a9c0c7;
  --line: rgba(129, 170, 184, 0.22);
  --accent: #f08c3b;
  --accent-soft: #ffb167;
  --teal: #67c7c8;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 140, 59, 0.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(103, 199, 200, 0.16), transparent 22%),
    linear-gradient(180deg, #03080d 0%, #07131a 44%, #0a1820 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover {
  color: #ffd1a0;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header,
.panel,
.site-footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-radius: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
}

.brand h1,
.hero h2,
.section-card h3,
.info-list h4 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  letter-spacing: 0.03em;
}

.brand h1 {
  margin: 4px 0 0;
  font-size: 1.5rem;
}

.eyebrow,
.section-tag,
.flyer-label {
  margin: 0;
  color: var(--teal);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.site-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(240, 140, 59, 0.16);
  color: #fff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-strong);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

main {
  margin-top: 22px;
}

.panel {
  border-radius: 28px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  padding: 34px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h2 {
  margin: 14px 0;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  line-height: 1.02;
}

.hero-text {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d55b25 100%);
  color: #fff;
}

.button-primary:hover {
  color: #fff;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.event-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
  color: var(--muted);
}

.event-points li {
  padding-left: 24px;
  position: relative;
}

.event-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--accent));
}

.flyer-card {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(103, 199, 200, 0.08), rgba(240, 140, 59, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flyer-image,
.flyer-placeholder {
  width: 100%;
  min-height: 520px;
  border-radius: 18px;
}

.flyer-image {
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
}

.flyer-placeholder {
  display: none;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at top, rgba(240, 140, 59, 0.12), transparent 36%),
    rgba(0, 0, 0, 0.2);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.rules-hero {
  padding: 34px;
}

.rules-grid .section-card {
  height: 100%;
}

.compact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.venue-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.info-list div.venue-wrapper {
  background-color: transparent;
  border-color: transparent;
  display: flex;
  flex-direction: row;
  padding: 0;
  
  & > div {
    background-color: transparent;
    border-color: transparent;
    display: inline-block;
    padding: 0;
    flex-grow: 1;
  }

}

img.venue-logo {
  width: 140px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 6px;
}

div.venue-logo {
  text-align: center;
}

.section-card {
  padding: 28px;
}

.section-card h3 {
  margin: 10px 0 12px;
  font-size: 1.85rem;
}

.section-card p {
  color: var(--muted);
  line-height: 1.7;
}

.info-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.info-list div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.info-list h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text);
}

.wide-button {
  width: 100%;
  margin-top: 10px;
}

.small-note {
  margin-top: 14px;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 20px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .compact-list {
    grid-template-columns: 1fr;
  }

  .venue-brand {
    align-items: flex-start;
  }

  .flyer-image,
  .flyer-placeholder {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 14px;
  }

  .site-header {
    top: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 8px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
  }

  .hero {
    padding: 22px;
  }

  .brand {
    width: calc(100% - 64px);
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .brand h1 {
    font-size: 1.2rem;
  }
}
