/* ===============================
   Aarhus Gamestormers - style.css v7
   Design tokens:
   --purple:     #2B2436
   --green:      #96C38D
   --cream:      #F7F4EE
   =============================== */

/* ─── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  --purple:     #2B2436;
  --green:      #96C38D;
  --green-dark: #7aaa71;
  --green-light:#c2dbbe;
  --cream:      #F7F4EE;
  --cream-dark: #EDE8DF;
  --text:       #1C1826;
  --muted:      #5a5366;
  --white:      #ffffff;
  --shadow-sm:  0 2px 8px rgba(43,36,54,0.10);
  --shadow-md:  0 8px 28px rgba(43,36,54,0.14);
  --shadow-lg:  0 20px 56px rgba(43,36,54,0.18);
  --header-h:   72px;
  --radius:     16px;
}

/* ─── Base ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ─── Layout ─────────────────────────────────────────────────────────────────── */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Header ─────────────────────────────────────────────────────────────────── */
.gs-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--purple);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(150,195,141,0.12);
}
.gs-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}
.gs-logo { height: 40px; width: auto; }
.gs-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.gs-nav a.nav-text {
  color: rgba(247,244,238,0.75);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.gs-nav a.nav-text:hover { color: var(--cream); }
.nav-discord {
  background: var(--green);
  color: var(--purple);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.nav-discord:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}
.gs-lang {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 3px;
}
.gs-lang a {
  background: transparent;
  color: rgba(247,244,238,0.6);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 9px;
  border-radius: 6px;
  transition: all 0.15s;
}
.gs-lang a.active {
  background: var(--cream);
  color: var(--purple);
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.gs-hero {
  background: var(--green);
  padding: 44px 0 100px;
  overflow: hidden;
  position: relative;
}
.gs-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
}
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  opacity: 0.7;
  margin-bottom: 16px;
}
.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--purple);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--purple);
  opacity: 0.8;
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-countdown {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.countdown-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  opacity: 0.65;
}
.countdown-units {
  display: flex;
  gap: 6px;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.35);
  border-radius: 8px;
  padding: 5px 9px;
  min-width: 46px;
}
.countdown-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--purple);
}
.countdown-unit-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  opacity: 0.55;
  margin-top: 3px;
}
.countdown-today {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--purple);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 12px;
  transition: transform 0.1s, box-shadow 0.1s;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--purple);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid rgba(43,36,54,0.35);
  transition: border-color 0.15s, transform 0.1s;
}
.btn-ghost:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  width: 88%;
  height: 88%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,36,54,0.18) 0%, transparent 70%);
  filter: blur(28px);
  transform: translateY(12%);
  z-index: 0;
}
.hero-logo-img {
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 1;
}

/* ─── Section Titles ─────────────────────────────────────────────────────────── */
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--purple);
  line-height: 1.1;
  margin-bottom: 32px;
}

/* ─── How It Works ───────────────────────────────────────────────────────────── */
.gs-how {
  padding: 40px 0 64px;
  background: var(--cream);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Events ─────────────────────────────────────────────────────────────────── */
.gs-events {
  padding: 64px 0 64px;
  background: var(--purple);
}
.gs-events .section-title { color: var(--cream); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}
.event-card {
  display: flex;
  flex-direction: column;
  background: rgba(247,244,238,0.055);
  border: 1px solid rgba(150,195,141,0.2);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
  border-color: rgba(150,195,141,0.4);
}
.event-cover {
  width: 100%;
  aspect-ratio: 460/215;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}
.event-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 26px 26px;
}
.event-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.event-badge {
  display: flex;
  align-items: center;
}
.event-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(150,195,141,0.14);
  border: 1px solid rgba(150,195,141,0.12);
  padding: 5px 11px;
  border-radius: 20px;
}
.event-store-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  align-items: center;
}
.event-store-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--green);
  background: rgba(150,195,141,0.12);
  padding: 0 9px;
  border-radius: 6px;
  transition: background 0.15s;
}
.event-store-links a:hover {
  background: rgba(150,195,141,0.22);
}
.event-store-links a.store-link-on-sale {
  gap: 6px;
  color: var(--purple);
  background: var(--green);
}
.event-store-links a.store-link-on-sale:hover {
  background: var(--green-light);
}
.store-sale-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  min-width: 32px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--purple);
  color: var(--cream);
  font-size: 0.66rem;
  line-height: 1;
}
.event-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.08;
}
.event-details {
  display: grid;
  grid-template-columns: minmax(112px, 0.85fr) minmax(132px, 0.95fr) minmax(180px, 1.4fr);
  gap: 8px;
  margin-bottom: 18px;
}
.event-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  background: rgba(247,244,238,0.045);
  border: 1px solid rgba(247,244,238,0.075);
  border-radius: 8px;
  padding: 10px 11px;
}
.event-detail-label {
  display: block;
  margin-bottom: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(247,244,238,0.42);
}
.event-detail-value {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  color: rgba(247,244,238,0.78);
}
.event-detail-time {
  white-space: nowrap;
}
.event-venue-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 4px;
  transition: color 0.15s;
}
.event-venue-link:hover {
  color: var(--green);
}
.event-venue-link::after {
  content: "↗";
  display: inline-block;
  font-size: 0.66rem;
  line-height: 1;
  opacity: 0.72;
  transform: translateY(-0.04em);
}
.event-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.event-desc p + p {
  margin-top: 0.65em;
}
.cal-wrap {
  position: relative;
  margin-top: auto;
  padding-top: 20px;
  align-self: flex-start;
}
.cal-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(150,195,141,0.08);
  border: 1px solid rgba(150,195,141,0.28);
  border-radius: 10px;
  color: rgba(247,244,238,0.75);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cal-btn:hover,
.cal-wrap.open .cal-btn {
  background: rgba(150,195,141,0.15);
  border-color: rgba(150,195,141,0.45);
  color: var(--cream);
}
.cal-chevron {
  transition: transform 0.2s;
  opacity: 0.6;
}
.cal-wrap.open .cal-chevron {
  transform: rotate(180deg);
}
.cal-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 190px;
  background: var(--cream);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  list-style: none;
  margin: 0;
  padding: 5px;
  display: none;
  z-index: 50;
}
.cal-wrap.open .cal-dropdown {
  display: block;
}
.cal-option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
}
.cal-option:hover {
  background: var(--cream-dark);
}
.discord-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 22px 28px;
}
.discord-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
}
.discord-banner-icon {
  color: var(--green);
  flex-shrink: 0;
}
.discord-banner-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.discord-banner-desc {
  font-size: 0.88rem;
  color: rgba(247,244,238,0.6);
  line-height: 1.5;
  max-width: 480px;
}
.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--purple);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 12px;
  transition: transform 0.1s, background 0.15s;
}
.btn-green:hover {
  transform: translateY(-2px);
  background: var(--green-light);
}

/* ─── About ──────────────────────────────────────────────────────────────────── */
.gs-about {
  padding: 64px 0 64px;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.about-body p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-body p:last-child { margin-bottom: 0; }
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.info-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--cream-dark);
}
.info-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--cream-dark);
  align-items: baseline;
}
.info-row:last-child { border-bottom: none; }
.info-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.info-value {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}
.info-value a {
  color: var(--purple);
  border-bottom: 1px solid rgba(43,36,54,0.2);
  transition: border-color 0.15s;
}
.info-value a:hover { border-color: var(--purple); }

/* ─── History ────────────────────────────────────────────────────────────────── */
.gs-history {
  padding: 64px 0 64px;
  background: var(--purple);
}
.gs-history .section-title { color: var(--cream); }
.history-sub {
  font-size: 1rem;
  color: rgba(247,244,238,0.5);
  margin-bottom: 40px;
  max-width: 520px;
}
.history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: start;
}
.history-card {
  background: rgba(247,244,238,0.04);
  border: 1px solid rgba(150,195,141,0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.15s, border-color 0.15s;
  outline: none;
}
.history-card:hover {
  background: rgba(150,195,141,0.08);
  border-color: rgba(150,195,141,0.25);
}
.history-card.open {
  background: rgba(150,195,141,0.12);
  border-color: rgba(150,195,141,0.3);
}
.history-toggle:focus-visible {
  outline: 2px solid rgba(150,195,141,0.5);
  outline-offset: -2px;
}
.history-card-banner {
  position: relative;
  overflow: hidden;
}
.history-banner {
  width: 100%;
  aspect-ratio: 460/215;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.history-card:hover .history-banner { transform: scale(1.04); }
.history-num {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--cream);
  background: rgba(43,36,54,0.72);
  padding: 2px 6px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.history-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.history-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  flex: 1;
}
.history-genre {
  display: inline-flex;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(150,195,141,0.12);
  min-height: 18px;
  padding: 0 7px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.history-genre-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  gap: 4px;
  margin-bottom: 8px;
}
.event-playtime {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(247,244,238,0.82);
  background: rgba(247,244,238,0.08);
  border: 1px solid rgba(247,244,238,0.12);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.01em;
  align-self: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.event-playtime:hover {
  background: rgba(150,195,141,0.14);
  border-color: rgba(150,195,141,0.35);
  color: var(--cream);
}
.event-playtime::after {
  content: "↗";
  display: inline-block;
  font-size: 0.62rem;
  line-height: 1;
  opacity: 0.72;
  transform: translateY(-0.04em);
}
.history-chevron {
  font-size: 0.55rem;
  color: rgba(150,195,141,0.45);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.history-card.open .history-chevron { transform: rotate(180deg); }
.history-expand {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}
.history-card.open .history-expand {
  max-height: 200px;
  opacity: 1;
}
.history-expand-inner {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(150,195,141,0.1);
}
.history-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  margin-bottom: 10px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.history-links { display: flex; gap: 8px; flex-wrap: nowrap; overflow: hidden; }
.history-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  background: var(--green);
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s, transform 0.1s;
}
.history-link:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}
.history-link img { width: 12px; height: 12px; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.gs-footer {
  background: var(--purple);
  padding: 22px 0;
  border-top: 1px solid rgba(150,195,141,0.15);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo { height: 26px; width: auto; opacity: 0.7; }
.footer-copy {
  font-size: 0.83rem;
  color: rgba(247,244,238,0.5);
}
.footer-copy a {
  color: rgba(247,244,238,0.7);
  border-bottom: 1px solid rgba(247,244,238,0.2);
  transition: color 0.15s, border-color 0.15s;
}
.footer-copy a:hover {
  color: var(--cream);
  border-color: rgba(247,244,238,0.55);
}
.footer-credit {
  font-size: 0.75rem;
  color: rgba(247,244,238,0.28);
}
.footer-credit a {
  color: rgba(247,244,238,0.4);
  border-bottom: 1px solid rgba(247,244,238,0.15);
  transition: color 0.15s, border-color 0.15s;
}
.footer-credit a:hover {
  color: rgba(247,244,238,0.7);
  border-color: rgba(247,244,238,0.4);
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .wrap { padding: 0 20px; }
  .gs-nav .nav-text { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-countdown { justify-content: center; flex-direction: column; align-items: center; gap: 8px; }
  .hero-logo-wrap { order: -1; }
  .hero-logo-img { max-width: 240px; }
  .gs-hero { padding: 40px 0 80px; }
  .gs-hero::after { height: 52px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-card { text-align: center; }
  .events-grid { grid-template-columns: 1fr; }
  .discord-banner { flex-direction: column; align-items: center; gap: 16px; padding: 20px; }
  .discord-banner-content { flex-direction: column; align-items: center; text-align: center; }
  .discord-banner .btn-green { width: 100%; justify-content: center; }
  .event-details { grid-template-columns: 1fr 1fr; }
  .event-detail-wide { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .footer-left { flex-direction: column; gap: 6px; }
  .history-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .history-card.open .history-expand { max-height: 300px; }
  .gs-how { padding: 28px 0 44px; }
  .gs-events,
  .gs-about,
  .gs-history { padding: 48px 0 44px; }
  .section-title { margin-bottom: 24px; }
}

@supports (padding: max(0px)) {
  .gs-header .wrap {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }
}

@media (max-width: 860px) {
  @supports (padding: max(0px)) {
    .gs-header .wrap {
      padding-left: max(20px, env(safe-area-inset-left));
      padding-right: max(20px, env(safe-area-inset-right));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-img,
  .btn-primary,
  .btn-ghost,
  .btn-green,
  .nav-discord,
  .step-card,
  .event-card,
  .history-card,
  .history-banner,
  .history-chevron { transition: none; }
  .history-expand { transition: none; }
}
