:root {
  --bg: #0d141f;
  --bg-elevated: #132132;
  --bg-soft: #192c43;
  --surface: rgba(12, 19, 29, 0.84);
  --surface-strong: #101c2b;
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f1e8;
  --text-soft: #d2c7b4;
  --text-muted: #aeb8c7;
  --gold: #e5b45d;
  --gold-strong: #f6c56e;
  --red: #bd3b33;
  --red-deep: #8a241d;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --content-width: 1180px;
  --announcement-height: 44px;
  --header-height: 90px;
  --sticky-stack-height: calc(var(--announcement-height) + var(--header-height));
  --font-display: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sticky-stack-height) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(229, 180, 93, 0.18), transparent 36%),
    linear-gradient(180deg, #08111b 0%, #0d141f 30%, #101b28 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold-strong);
  text-decoration: none;
}

a:hover {
  color: #ffd58e;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(246, 197, 110, 0.8);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 300;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  top: 1rem;
}

.announcement-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: var(--announcement-height);
  padding: 0.7rem 1rem;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(229, 180, 93, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(229, 180, 93, 0.18),
    0 8px 18px rgba(15, 23, 35, 0.18);
  color: #f7f1e6;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.announcement-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #141b24;
  background-image:
    linear-gradient(
      90deg,
      #10161e 0%,
      #202a36 18%,
      #151d27 38%,
      #2b3644 58%,
      #121923 78%,
      #0d131a 100%
    );
  background-size: 100% 100%;
  z-index: 0;
}

.announcement-content {
  position: relative;
  z-index: 1;
  display: block;
  color: #f7f1e6;
}

.announcement-bar a,
.announcement-bar a:visited {
  color: #f7f1e6;
}

.announcement-content:hover {
  color: #ffe2a6;
}

.site-header {
  position: sticky;
  top: var(--announcement-height);
  z-index: 180;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0b1118;
  z-index: 0;
}

.header-shell,
.section-shell,
.footer-bottom {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.header-shell {
  min-height: var(--header-height);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}

.brand-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-title,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-title {
  font-size: 1.35rem;
  color: var(--gold-strong);
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.desktop-nav {
  display: none;
}

.nav-list,
.mobile-nav-list,
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: flex;
  gap: 0.3rem;
}

.nav-list a,
.mobile-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  color: var(--text-soft);
}

.nav-list a:hover,
.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-cta {
  display: none;
}

.hamburger-menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.hamburger-menu span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--gold-strong);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger-menu.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-menu.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: relative;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  border-top: 1px solid transparent;
}

.mobile-nav.is-open {
  max-height: 400px;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.mobile-nav-list {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 0.75rem 0 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0.5rem;
  border-radius: 12px;
}

main section,
.site-footer {
  padding: 5.5rem 0;
}

.hero-section {
  position: relative;
  overflow: clip;
  padding-top: 4.5rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 14, 21, 0.95) 5%, rgba(8, 14, 21, 0.72) 45%, rgba(8, 14, 21, 0.95) 100%),
    url("./assets/hero/event-crowd-hero.png") center/cover no-repeat;
  transform: scale(1.04);
  filter: saturate(0.9);
}

.hero-shell,
.split-section,
.about-shell,
.countdown-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.hero-shell {
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  line-height: 0.97;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

h3 {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
}

.hero-lead,
.section-intro,
.about-copy p,
.info-panel p,
.gallery-card-copy p,
.faq-item p,
.site-footer p,
.detail-card p,
.hero-card-body li {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-lead {
  max-width: 58ch;
  font-size: 1.1rem;
  margin: 1.4rem 0 0;
}

.hero-event-strip {
  display: grid;
  gap: 0.65rem;
  margin: 1.75rem 0;
}

.hero-event-strip p {
  width: fit-content;
  margin: 0;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff5e4;
  font-weight: 600;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-badges span {
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(189, 59, 51, 0.16);
  border: 1px solid rgba(229, 180, 93, 0.24);
  color: #fff3dd;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #d56254);
  color: #fff9f4;
  box-shadow: 0 12px 25px rgba(189, 59, 51, 0.28);
}

.btn-outline {
  border-color: rgba(229, 180, 93, 0.4);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold-strong);
}

.btn-small {
  min-height: 42px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.hero-card,
.detail-card,
.category-card,
.form-panel,
.stats-panel,
.gallery-card,
.faq-item,
.info-panel,
.notice-panel {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(10, 17, 26, 0.72);
}

.hero-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card-body {
  padding: 1.35rem;
}

.hero-card-label {
  margin: 0 0 0.6rem;
  color: var(--gold-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card-points {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.countdown-section {
  background: linear-gradient(180deg, rgba(22, 37, 56, 0.78), rgba(8, 15, 24, 0.35));
}

.countdown-shell {
  align-items: center;
}

.countdown-display {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1rem;
}

.countdown-item {
  padding: 1.3rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(7, 13, 20, 0.82);
  border: 1px solid rgba(229, 180, 93, 0.18);
  text-align: center;
}

.countdown-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff2d8;
}

.countdown-label {
  margin-top: 0.45rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.post-event-message {
  grid-column: 1 / -1;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(7, 13, 20, 0.82);
  border: 1px solid rgba(229, 180, 93, 0.18);
  color: #fff2d8;
  font-size: 1.1rem;
  text-align: center;
}

.details-grid,
.categories-grid,
.gallery-grid,
.footer-shell {
  display: grid;
  gap: 1.25rem;
}

.detail-card,
.category-card,
.gallery-card-copy,
.info-panel,
.notice-panel,
.stats-panel,
.form-panel,
.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
}

.detail-card {
  padding: 1.4rem;
}

.button-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.notice-panel {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  color: #fff5e8;
}

.categories-section {
  background: linear-gradient(180deg, rgba(13, 20, 31, 0.15), rgba(20, 34, 52, 0.42));
}

.categories-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.category-card {
  padding: 1.35rem 1rem;
  background:
    linear-gradient(145deg, rgba(229, 180, 93, 0.12), rgba(189, 59, 51, 0.14)),
    rgba(13, 20, 31, 0.78);
  text-align: center;
}

.category-card h3 {
  margin: 0;
}

.split-copy {
  align-self: start;
}

.info-panel {
  padding: 1.15rem 1.2rem;
}

.form-panel {
  padding: 1.3rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.45rem;
}

.form-group label,
.form-check label {
  color: #f7f0e2;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(5, 11, 18, 0.72);
  color: var(--text);
}

.form-group textarea {
  min-height: 124px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
}

.form-check input {
  margin-top: 0.22rem;
  accent-color: var(--red);
}

.form-message {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  font-weight: 600;
}

.form-message.is-success {
  background: rgba(63, 140, 102, 0.18);
  border: 1px solid rgba(132, 231, 181, 0.35);
  color: #dcffea;
}

.form-message.is-error {
  background: rgba(189, 59, 51, 0.18);
  border: 1px solid rgba(255, 183, 175, 0.28);
  color: #ffe3dd;
}

.is-invalid {
  border-color: rgba(255, 155, 140, 0.75) !important;
}

.signup-section {
  background:
    linear-gradient(135deg, rgba(229, 180, 93, 0.11), rgba(189, 59, 51, 0.1)),
    rgba(14, 23, 35, 0.42);
}

.about-shell {
  align-items: start;
}

.stats-panel {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.stat-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-item strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #fff2d8;
  font-size: 2rem;
  font-family: var(--font-display);
}

.stat-item span {
  color: var(--text-muted);
}

.gallery-grid {
  align-items: stretch;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.gallery-card figcaption,
.gallery-card-copy {
  padding: 1rem 1.1rem;
}

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

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item summary {
  padding: 1.15rem 1.2rem;
  cursor: pointer;
  color: #fff3de;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 18, 0.92);
}

.footer-shell {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-shell h2,
.footer-shell h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-list li + li {
  margin-top: 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-note {
  margin: 0;
}

@media (min-width: 760px) {
  .desktop-nav,
  .header-cta {
    display: block;
  }

  .hamburger-menu {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .hero-shell,
  .countdown-shell,
  .split-section,
  .about-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  }

  .countdown-display {
    grid-template-columns: repeat(4, minmax(110px, 1fr));
  }

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

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

  .form-group-full {
    grid-column: 1 / -1;
  }

  .gallery-grid {
    grid-template-columns: 1.25fr 0.85fr 0.9fr;
  }

  .gallery-card-large {
    grid-row: span 1;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 759px) {
  .site-header {
    top: var(--announcement-height);
  }

  .brand-logo {
    width: 172px;
  }

  .brand-subtitle,
  .header-cta {
    display: none;
  }

  .hero-actions .btn,
  .button-stack .btn,
  .form-panel .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
