/* NENAT: Synthwave, dialed back. Only theme, no switcher. */

@font-face {
  font-family: 'Audiowide';
  src: url('/fonts/audiowide.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #232136;
  --card: #2a273f;
  --raised: #393552;
  --border: #56526e;
  --text: #e0def4;
  --strong: #ffffff;
  --muted: #b8b5d0;
  --accent: #eb6f92;
  --on-accent: #232136;
  --radius: 10px;
  --display: 'Audiowide', 'Space Grotesk', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --glow: 0 0 12px rgb(235 111 146 / 0.5);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
}

.top,
.layout,
.foot {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.top {
  padding-top: 28px;
  padding-bottom: 20px;
}

h1 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.04em;
  color: var(--strong);
  text-shadow: var(--glow);
}

.intro {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
}

/* Left menu: desktop only */
.sections {
  display: none;
}

.sections ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sections a {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  border-left: 3px solid transparent;
  border-radius: 6px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-decoration: none;
}

.sections a:hover {
  color: var(--text);
}

.sections a[aria-current='true'] {
  background: var(--raised);
  border-left-color: var(--accent);
  color: var(--accent);
  text-shadow: var(--glow);
}

.sections .count {
  opacity: 0.75;
}

main section {
  margin-bottom: 28px;
}

h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.offer {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.offer:hover,
.offer:focus-within {
  border-color: var(--accent);
}

.offer p {
  margin: 0;
}

.name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--strong);
}

.bonus {
  margin-top: 4px !important;
  font-family: var(--display);
  font-size: 28px;
  color: var(--accent);
}

.req {
  flex: 1;
  margin: 2px 0 14px !important;
  color: var(--muted);
}

.go {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.go:hover {
  filter: brightness(1.08);
}

.go:focus-visible,
.sections a:focus-visible {
  outline: 3px solid var(--strong);
  outline-offset: 2px;
}

.dest,
.checked {
  margin-top: 8px !important;
  font-size: 13px;
  color: var(--muted);
}

.checked {
  margin-top: 2px !important;
}

.foot {
  padding-top: 18px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.foot p {
  margin: 0;
}

/* Tablet: two columns, no menu */
@media (min-width: 640px) {
  .top,
  .layout,
  .foot {
    padding-left: 28px;
    padding-right: 28px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: left menu plus three columns */
@media (min-width: 1024px) {
  .top {
    padding-top: 44px;
    padding-bottom: 32px;
  }
  h1 {
    font-size: 44px;
  }
  .intro {
    font-size: 17px;
  }
  .layout {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 36px;
    align-items: start;
  }
  .sections {
    display: block;
    position: sticky;
    top: 24px;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
