@import url("colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
body { overflow-x: hidden; }

/* ============== PAGE SHELL ============== */
.page {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
}

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 20px;
  margin: 20px 32px 0;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.nav-logo-link {
  display: inline-flex;
  align-items: center;
  border: none;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-snap);
}
.nav-logo-link:hover { transform: scale(1.04); }
.nav-logo-link:active { transform: scale(0.97); }
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  margin: 24px 32px 0;
  padding: 64px 56px 80px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--slam-black);
  border: 1px solid var(--border);
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg svg, .hero-bg video, .hero-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Subtle slow drift on the bg pattern — gives life without distraction */
.hero-bg.vignette > svg {
  animation: bg-drift 38s linear infinite;
  transform-origin: center;
}
@keyframes bg-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1.08); }
  50%  { transform: translate3d(-2.5%, -1.5%, 0) scale(1.12); }
  100% { transform: translate3d(0, 0, 0) scale(1.08); }
}
.hero-bg.vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
}
.hero-bg.solid-red { background: var(--slam-red); }
.hero-bg.solid-lime { background: var(--slam-lime); }
.hero-bg.solid-black { background: var(--slam-black); }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

/* CENTERED variant for the simple welcome layout */
.hero-center {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up 0.7s var(--ease-out) 0.05s forwards;
}

/* Big centered logo — Google-homepage style */
.hero-logo {
  display: block;
  width: clamp(280px, 46vw, 560px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(128, 255, 0, 0.18));
  opacity: 0;
  transform: scale(0.92);
  animation: logo-in 1.1s var(--ease-out) 0.2s forwards;
}
@keyframes logo-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9.4vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.018em;
  margin: 0;
  text-transform: uppercase;
  color: var(--slam-white);
}
.hero-title-center {
  margin: 0 auto;
  text-align: center;
  max-width: 900px;
}
.hero-title .accent-red { color: var(--slam-red); }
.hero-title .accent-lime { color: var(--slam-lime); }
.hero-title .bang { color: var(--slam-lime); }

/* Word-by-word reveal */
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  filter: blur(8px);
  animation: word-in 0.85s var(--ease-out) forwards;
}
.hero-title .word:nth-child(odd) { color: var(--slam-white); }
/* Highlight "SLAM!" word in lime */
.hero-title .word:first-of-type {
  color: var(--slam-lime);
}
@keyframes word-in {
  0%   { opacity: 0; transform: translateY(0.55em); filter: blur(10px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.signup-wrap-center {
  width: 100%;
  max-width: 580px;
  margin: 36px auto 18px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 0.95s forwards;
}

.hero-desc {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 12px auto 0;
  max-width: 480px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 1.15s forwards;
}

/* ============== SIGNUP FORM ============== */
.signup {
  margin-top: 0;
  max-width: 580px;
  width: 100%;
}
.signup-form {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 20, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(128, 255, 0, 0.4);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-snap);
  position: relative;
  animation: signup-breathe 3.2s ease-in-out infinite;
}
@keyframes signup-breathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(128, 255, 0, 0.12),
                0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(128, 255, 0, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(128, 255, 0, 0.04),
                0 0 36px rgba(128, 255, 0, 0.22),
                0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(128, 255, 0, 0.55);
  }
}
.signup-form:focus-within {
  animation: none;
  border-color: var(--slam-lime);
  box-shadow: 0 0 0 5px rgba(128, 255, 0, 0.22),
              0 0 48px rgba(128, 255, 0, 0.32),
              0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}
.signup-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--slam-white);
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 16px 6px;
  min-width: 0;
  text-align: left;
}
.signup-input::placeholder { color: var(--fg-dim); }
.signup-submit {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--slam-red);
  color: var(--slam-white);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-snap),
              box-shadow var(--dur-base) var(--ease-out);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(218, 0, 22, 0.32);
}
.signup-submit:hover {
  background: var(--slam-red-deep);
  box-shadow: 0 6px 20px rgba(218, 0, 22, 0.5);
}
.signup-submit:active { transform: scale(0.96); }
.signup-submit:disabled { opacity: 0.6; cursor: wait; }
.signup-submit svg { transition: transform var(--dur-base) var(--ease-snap); }
.signup-submit:hover svg { transform: translateX(3px); }

.signup-status {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 18px;
}
.signup-status.success { color: var(--slam-lime); }
.signup-status.error { color: var(--slam-red); }
.signup-status svg { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .signup-form, .hero-bg.vignette > svg { animation: none; }
  .welcome-eyebrow, .signup-wrap-center, .hero-desc, .hero-logo { opacity: 1; animation: none; transform: none; }
  .hero-title .word { opacity: 1; transform: none; filter: none; animation: none; }
}

/* ============== WHAT'S HAPPENING (3 col) ============== */
.happening {
  margin: 80px 32px 80px;
  position: relative;
}
.happening-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 0 4px;
}
.happening-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--slam-white);
  margin: 0;
}
.happening-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0;
}

.happening-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* ---- Generic card chrome ---- */
.card {
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.92), rgba(14, 14, 14, 0.92));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.feed { border-color: rgba(128,255,0,0.22); }
.cal { border-color: rgba(218,0,22,0.24); }
.qa { border-color: rgba(255,255,255,0.16); }
.card:hover { border-color: var(--border-strong); }
.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: -24px -24px 0;
  padding: 18px 24px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}
.feed .card-head {
  background: linear-gradient(90deg, rgba(128,255,0,0.16), rgba(128,255,0,0.03));
  border-bottom-color: rgba(128,255,0,0.22);
}
.cal .card-head {
  background: linear-gradient(90deg, rgba(218,0,22,0.2), rgba(218,0,22,0.035));
  border-bottom-color: rgba(218,0,22,0.24);
}
.qa .card-head {
  background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(128,255,0,0.035));
  border-bottom-color: rgba(255,255,255,0.16);
}
.card-eyebrow {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--slam-white);
}
.card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---- Calendar ---- */
.cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  text-align: center;
  padding-bottom: 4px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-cell {
  appearance: none;
  -webkit-appearance: none;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.cal-cell.empty { visibility: hidden; }
.cal-cell.has-event { color: var(--slam-white); font-weight: 700; }
.cal-cell.has-event:hover { background: var(--slam-coal); cursor: pointer; }
.cal-cell.today {
  background: var(--slam-red);
  color: var(--slam-white);
  font-weight: 700;
}
.cal-cell.selected {
  border-color: var(--slam-lime);
  box-shadow: 0 0 0 2px rgba(128, 255, 0, 0.12);
  color: var(--slam-white);
}
.cal-cell:focus-visible {
  outline: 2px solid var(--slam-lime);
  outline-offset: 2px;
}
.cal-dot {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--slam-lime);
}
.cal-cell.today .cal-dot { background: var(--slam-white); }

.cal-upcoming {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cal-upcoming-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.cal-event {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cal-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 42px;
  padding: 6px 0;
  background: var(--slam-coal);
  border-radius: 10px;
}
.cal-event-dow {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--slam-lime);
}
.cal-event-day {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--slam-white);
  margin-top: 2px;
}
.cal-event-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: var(--slam-coal);
  border-radius: 12px;
}
.cal-event-emoji {
  font-size: 24px;
  line-height: 1;
}
.cal-event-body { flex: 1; min-width: 0; }
.cal-event-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.tag-practice { background: rgba(128,255,0,0.12); color: var(--slam-lime); }
.tag-game     { background: rgba(218,0,22,0.15); color: var(--slam-red); }
.tag-event    { background: var(--slam-coal); color: var(--fg-muted); }
.cal-event-title {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
}
.cal-event-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-top: 3px;
}
.cal-empty {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-dim);
  padding: 8px 0;
  font-style: italic;
}
.cal-month-list {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cal-games-list {
  margin-top: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cal-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}
.cal-section-sub {
  margin-top: 4px;
  color: var(--fg-dim);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.3;
}
.cal-filter {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 58%;
}
.cal-filter-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 7px 9px;
  text-transform: uppercase;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.cal-filter-btn:hover,
.cal-filter-btn.active {
  background: rgba(128,255,0,0.12);
  border-color: rgba(128,255,0,0.38);
  color: var(--slam-lime);
}
.cal-month-event {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  padding: 9px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--fg);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.cal-month-event:hover,
.cal-month-event.selected {
  background: var(--slam-coal);
  border-color: var(--border);
}
.cal-month-day {
  width: 42px;
  min-height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(128,255,0,0.12);
  color: var(--slam-lime);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.cal-month-dow {
  color: var(--fg-dim);
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 3px;
}
.cal-month-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cal-month-title {
  min-width: 0;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
}
.cal-month-meta {
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- Feed ---- */
.feed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
}
.post-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  background: rgba(10,10,10,0.58);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--slam-white);
}
.post-body { flex: 1; min-width: 0; }
.post-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.post-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--fg);
}
.post-handle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
}
.post-date {
  margin-left: auto;
  color: var(--slam-lime);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.post-text {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg);
  margin: 6px 0 10px;
}
.post-link,
.post-cta {
  color: var(--slam-lime);
  font-weight: 700;
  text-decoration: none;
}
.post-link:hover,
.post-cta:hover { text-decoration: underline; }
.post-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-stats {
  display: flex;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
}
.post-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--dur-fast) var(--ease-out);
  cursor: pointer;
}
.post-stats span:hover { color: var(--slam-white); }

.shoutout-form {
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(128,255,0,0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(128,255,0,0.095), rgba(255,255,255,0.035));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shoutout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.shoutout-title {
  color: var(--slam-white);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 800;
}
.shoutout-sub {
  margin-top: 2px;
  color: var(--fg-dim);
  font-family: var(--font-sans);
  font-size: 12px;
}
.shoutout-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(10,10,10,0.48);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.shoutout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.shoutout-input,
.shoutout-textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(0,0,0,0.25);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  padding: 10px 11px;
}
.shoutout-input:focus,
.shoutout-textarea:focus {
  border-color: rgba(128,255,0,0.5);
  box-shadow: 0 0 0 3px rgba(128,255,0,0.12);
}
.shoutout-textarea {
  min-height: 84px;
  resize: vertical;
}
.shoutout-input option {
  background: var(--slam-black);
  color: var(--fg);
}
.shoutout-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.shoutout-submit {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-radius: 999px;
  background: var(--slam-lime);
  color: var(--slam-black);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 10px 13px;
  text-transform: uppercase;
  white-space: nowrap;
}
.shoutout-submit:disabled { opacity: 0.65; cursor: wait; }
.shoutout-status {
  min-width: 0;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}
.shoutout-status.success { color: var(--slam-lime); }
.shoutout-status.error { color: var(--slam-red); }

/* ---- Q&A ---- */
.qa-list {
  display: flex;
  flex-direction: column;
}
.qa-item {
  border-bottom: 1px solid var(--border);
}
.qa-item:last-child { border-bottom: none; }
.qa-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  background: transparent;
  border: none;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.qa-q:hover { color: var(--slam-lime); }
.qa-icon {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--slam-lime);
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-snap);
  width: 22px;
  text-align: center;
}
.qa-item.open .qa-icon { transform: rotate(180deg); }
.qa-a-wrap {
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-in-out);
}
.qa-a {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0 0 16px;
  padding-right: 36px;
}
.ask-form {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ask-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ask-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  color: var(--slam-white);
  text-transform: uppercase;
}
.ask-sub {
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--fg-dim);
}
.ask-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ask-input,
.ask-textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.42);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.35;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.ask-input {
  height: 38px;
  padding: 0 12px;
}
.ask-textarea {
  resize: vertical;
  min-height: 82px;
  max-height: 180px;
  padding: 11px 12px;
}
.ask-input::placeholder,
.ask-textarea::placeholder { color: var(--fg-dim); }
.ask-input:focus,
.ask-textarea:focus {
  border-color: rgba(128,255,0,0.55);
  box-shadow: 0 0 0 3px rgba(128,255,0,0.10);
}
.ask-suggestions {
  border: 1px solid rgba(128,255,0,0.22);
  border-radius: 12px;
  background: rgba(128,255,0,0.06);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ask-suggestions-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slam-lime);
}
.ask-suggestion {
  border-radius: 9px;
  background: rgba(10, 10, 10, 0.36);
  border: 1px solid var(--border);
  overflow: hidden;
}
.ask-suggestion summary {
  padding: 10px 12px;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}
.ask-suggestion p {
  margin: 0;
  padding: 0 12px 12px;
  color: var(--fg-muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.45;
}
.ask-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ask-submit {
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  background: var(--slam-lime);
  color: var(--slam-black);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 15px;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-snap),
              opacity var(--dur-fast) var(--ease-out);
}
.ask-submit:active { transform: scale(0.97); }
.ask-submit:disabled { opacity: 0.65; cursor: wait; }
.ask-status {
  min-width: 0;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ask-status.success { color: var(--slam-lime); }
.ask-status.error { color: var(--slam-red); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .happening-grid { grid-template-columns: 1fr 1fr; }
  .happening-grid .qa { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { margin: 16px 16px 0; padding: 8px 16px; }
  .nav-logo-img { height: 38px; }
  .hero { margin: 16px 16px 0; padding: 48px 24px 64px; min-height: 75vh; border-radius: 24px; }
  .signup-form { padding: 4px 4px 4px 18px; flex-wrap: wrap; }
  .signup-submit { padding: 13px 18px; }
  .happening { margin: 56px 16px; }
  .happening-grid { grid-template-columns: 1fr; }
  .happening-grid .qa { grid-column: auto; }
  .happening-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 520px) {
  .hero { margin: 12px 10px 0; padding: 42px 16px 48px; min-height: 68vh; border-radius: 18px; }
  .welcome-eyebrow { margin-bottom: 20px; }
  .signup-wrap-center { max-width: 100%; margin: 28px auto 12px; }
  .signup { max-width: 100%; margin-left: auto; margin-right: auto; }
  .signup-form {
    align-items: stretch;
    border-radius: 30px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 12px;
  }
  .signup-input {
    padding: 15px 12px 9px;
    width: 100%;
    text-align: center;
  }
  .signup-submit {
    width: 100%;
    min-height: 56px;
    justify-content: center;
    margin-top: 0;
    padding: 15px 16px;
  }
  .signup-status { text-align: center; }
  .hero-logo { width: min(74vw, 320px); }
  .hero-desc { max-width: 310px; text-align: center; }
  .happening { margin: 42px 10px; }
  .happening-title { font-size: clamp(34px, 12vw, 48px); }
  .card { padding: 18px; border-radius: 16px; gap: 14px; }
  .card-head { margin: -18px -18px 0; padding: 16px 18px 14px; }
  .card-head { align-items: flex-start; gap: 8px; }
  .card-eyebrow { font-size: 20px; }
  .cal-grid { gap: 3px; }
  .cal-cell { min-width: 0; border-radius: 7px; font-size: 11px; }
  .cal-event { gap: 10px; }
  .cal-event-icon { width: 40px; height: 40px; border-radius: 10px; }
  .cal-event-emoji { font-size: 21px; }
  .cal-section-head { flex-direction: column; align-items: stretch; }
  .cal-filter { justify-content: flex-start; max-width: none; }
  .cal-filter-btn { font-size: 8.5px; padding: 7px 8px; }
  .cal-month-event { grid-template-columns: 38px 1fr; gap: 8px; padding: 7px; }
  .cal-month-day { width: 38px; min-height: 36px; }
  .post { gap: 10px; }
  .post-avatar { width: 34px; height: 34px; font-size: 20px; border-radius: 10px; }
  .post-date { width: 100%; margin-left: 0; }
  .shoutout-row { grid-template-columns: 1fr; }
  .shoutout-actions { align-items: stretch; flex-direction: column; }
  .shoutout-submit { width: 100%; }
  .qa-q { gap: 10px; font-size: 13.5px; }
  .qa-a { padding-right: 0; }
  .ask-row { grid-template-columns: 1fr; }
  .ask-actions { align-items: stretch; flex-direction: column; }
  .ask-submit { width: 100%; }
}
