/* ----------------------------
   Swift Azz Veteran Events (S.A.V.E.)
   Global Styles – Beautified
   ---------------------------- */

:root {
  --bg: #05060d;
  --bg-alt: #0a0f1e;
  --bg-elevated: #101528;
  --card: #141a33;
  --primary: #244a86;
  --primary-soft: #345c9d;
  --accent: #e0574f;
  --accent-soft: #f07a6e;
  --gold: #f2c14f;
  --text: #f7f7fa;
  --muted: #a5abc7;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.6);
  --max-width: 1150px;

  --transition-fast: 0.16s ease-out;
  --transition-med: 0.25s ease-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 0 0, #172037 0, transparent 55%),
    radial-gradient(circle at 100% 0, #161a2d 0, transparent 55%),
    radial-gradient(circle at 50% 100%, #111321 0, #05060d 55%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Scrollbar for desktop */

@media (min-width: 769px) {
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #05060d;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
  }
}

    /* Logo row */
    .logo-row {
      display: flex;
      align-items: center;
      gap: 0.15rem;
      margin-bottom: 1.0rem;
      flex-wrap: nowrap;
    }

    .logo-img {
      max-width: 100px;
      width: 30vw;
      height: auto;
      flex-shrink: 0;
      display: block;
    }

    .logo-text {
      font-size: 1.05rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

/* Layout */

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ----------------------------
   Header / Navigation
   ---------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 15, 0.96),
    rgba(5, 7, 15, 0.86),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 0, #fff4d0, #f2c14f 45%, #e0574f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #23180a;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.brand-text-main {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.brand-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.13em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: var(--muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 10px -3px 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--accent-soft));
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.nav-links a.is-active {
  color: #101010;
  background: linear-gradient(120deg, var(--gold), var(--accent-soft));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.nav-links a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  border: none;
  background: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ----------------------------
   Buttons / Pills
   ---------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #fff5d4, var(--gold) 40%, var(--accent-soft));
  color: #23180a;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--muted);
  background: radial-gradient(circle at 0 0, rgba(220, 230, 255, 0.05), rgba(8, 10, 24, 0.98));
}

.btn-danger {
  background: linear-gradient(135deg, #f36b6b, #b62626);
  border-color: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.btn-sm {
  font-size: 0.74rem;
  padding: 0.25rem 0.7rem;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.7);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 193, 79, 0.4);
  background:
    radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.22), transparent 60%),
    linear-gradient(120deg, rgba(13, 18, 37, 0.95), rgba(8, 10, 25, 0.95));
  color: #fdf5d4;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9ff59f;
  box-shadow: 0 0 9px #9ff59f;
}

/* ----------------------------
   Sections / Hero
   ---------------------------- */

section {
  padding: 2.7rem 0;
}

.hero {
  padding: 3.4rem 0 3rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 15% -30% auto;
  background: radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.08), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.05fr);
  gap: 2.7rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  line-height: 1.08;
  margin-bottom: 0.9rem;
}

.hero-title span {
  background: linear-gradient(120deg, var(--gold), var(--accent-soft));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 35rem;
}

.hero-subtitle strong {
  color: #fdf5d4;
  font-weight: 600;
}

.hero-eyebrow {
  margin-bottom: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.7rem 0 1.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.9rem;
}

.hero-meta-item strong {
  display: block;
  font-size: 0.86rem;
  color: var(--text);
}

/* Hero visual card */

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-card {
  background:
    radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.06), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(224, 87, 79, 0.08), transparent 55%),
    linear-gradient(145deg, #171e3c, #101528);
  border-radius: 28px;
  padding: 1.6rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.12), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-card-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--muted);
  background: rgba(5, 8, 24, 0.9);
}

.hero-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.3rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.8rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 9, 30, 0.96), rgba(11, 16, 40, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(242, 193, 79, 0.6);
}

.timeline-label {
  display: flex;
  flex-direction: column;
}

.timeline-label span:first-child {
  font-weight: 600;
  font-size: 0.79rem;
}

.timeline-label span:last-child {
  font-size: 0.72rem;
  color: var(--muted);
}

.timeline-chip {
  font-size: 0.7rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: rgba(62, 185, 141, 0.2);
  border: 1px solid rgba(62, 185, 141, 0.7);
  color: #d5ffe9;
  white-space: nowrap;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* hero highlight pill – moved under "Events & Meetups" */

.hero-highlight {
  position: absolute;
  top: 26rem;       /* distance from top of the card – tweak this number */
  /*right:  1.5rem; */   /* distance from right edge – tweak if needed */
  right: auto;
  bottom: auto;
  left: auto;
  transform: none; /* no centering */

  width: 450px; /*optional: adjust width so it fits nicely */
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.32), rgba(7, 9, 22, 0.98));
  border: 1px solid rgba(242, 193, 79, 0.45);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  backdrop-filter: blur(12px);
}


.hero-highlight-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 0, #fff6d4, var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #251906;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}

.hero-highlight-text {
  font-size: 0.76rem;
}

.hero-highlight-text strong {
  display: block;
  font-size: 0.8rem;
}

/* ----------------------------
   Section headers / Page hero
   ---------------------------- */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.1rem;
  margin-bottom: 1.7rem;
}

.section-title-group h2 {
  font-size: 1.35rem;
  margin-bottom: 0.18rem;
}

.section-title-group p {
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 26rem;
}

.section-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.14em;
}

.page-hero {
  padding: 3rem 0 1.7rem;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 -20% 35%;
  background: radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.1), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.45rem;
}

.page-hero p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 38rem;
}

/* ----------------------------
   About cards / points
   ---------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 1.8rem;
}

.about-card {
  background: radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.06), transparent 55%),
    linear-gradient(145deg, #101528, #080b18);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.about-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.about-points {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.about-point-bullet {
  width: 8px;
  height: 8px;
  margin-top: 0.25rem;
  border-radius: 999px;
  background: var(--accent);
}

/* ----------------------------
   Generic cards / grids
   ---------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.card {
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.05), transparent 50%),
    linear-gradient(150deg, #12172a, #090c17);
  border: 1px solid var(--border-subtle);
  padding: 1.05rem 1.05rem 0.95rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 100% 0, rgba(224, 87, 79, 0.1), transparent 53%);
  opacity: 0.5;
  pointer-events: none;
}

.card-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 0.32rem;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.card-meta {
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.card-body {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.77rem;
  color: var(--muted);
  gap: 0.6rem;
}

.card-footer .btn {
  font-size: 0.76rem;
  padding: 0.32rem 0.8rem;
}

/* ----------------------------
   Resources & social preview
   ---------------------------- */

.resources-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.6rem;
}

.resource-list {
  background: radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.08), transparent 55%),
    linear-gradient(145deg, #0c1020, #050611);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.resource-list h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.resource-list p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.resource-items {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.86rem;
}

.resource-items li {
  padding: 0.5rem 0.6rem;
  border-radius: 0.7rem;
  background: rgba(7, 10, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.resource-items li strong {
  font-size: 0.84rem;
}

.resource-items li span {
  color: var(--muted);
  font-size: 0.8rem;
}

.resource-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.social-preview {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem 1.15rem;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background:
    radial-gradient(circle at 10% 0, rgba(201, 87, 79, 0.22), transparent 55%),
    linear-gradient(150deg, #0d0f1f, #050611);
  font-size: 0.87rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.social-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

/* ----------------------------
   CTA & Contact form
   ---------------------------- */

.cta {
  padding-bottom: 3.2rem;
}

.cta-inner {
  border-radius: 30px;
  background:
    radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.25), transparent 55%),
    linear-gradient(130deg, #151a34, #080a17);
  padding: 1.9rem 1.9rem 1.8rem;
  border: 1px solid rgba(242, 193, 79, 0.3);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.7rem;
}

.cta-inner h2 {
  font-size: 1.38rem;
  margin-bottom: 0.35rem;
}

.cta-inner p {
  font-size: 0.9rem;
  color: #fdf5d4;
  max-width: 29rem;
  margin-bottom: 0.8rem;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.8rem;
}

.cta-chip {
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.5);
  color: #fef9e6;
}

/* Form styles */

.cta-form {
  background: rgba(4, 6, 18, 0.97);
  border-radius: 20px;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.65);
  font-size: 0.86rem;
}

.cta-form h3 {
  font-size: 0.96rem;
  margin-bottom: 0.2rem;
}

.cta-form p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.8rem;
  margin-bottom: 0.6rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.76rem;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 0.42rem 0.55rem;
  background: rgba(7, 10, 26, 0.98);
  color: var(--text);
  font-size: 0.8rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(242, 193, 79, 0.7);
  box-shadow: 0 0 0 1px rgba(242, 193, 79, 0.35);
  background: rgba(10, 13, 30, 0.98);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-helper {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.form-footer .btn {
  font-size: 0.82rem;
  padding: 0.42rem 1.05rem;
}

/* ----------------------------
   Forum layout & chips
   ---------------------------- */

.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 1.8rem;
}

.forum-main {
  min-width: 0;
}

.forum-sidebar {
  min-width: 0;
}

.forum-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.forum-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 11, 28, 0.96);
  padding: 0.28rem 0.75rem;
  font-size: 0.76rem;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast), transform var(--transition-fast);
}

.forum-chip:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  color: #fdf5d4;
}

.forum-chip-active {
  border-color: var(--gold);
  background: radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.25), rgba(8, 10, 28, 0.96));
  color: #fdf5d4;
}

/* Threads */

.thread-list {
  display: grid;
  gap: 0.95rem;
}

.thread-card {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at 0 0, rgba(242, 193, 79, 0.08), transparent 55%),
    linear-gradient(145deg, #101528, #070916);
  padding: 1rem 1.05rem 0.9rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.68);
  cursor: pointer;
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med), background var(--transition-med);
}

.thread-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.78);
  border-color: rgba(242, 193, 79, 0.4);
}

.thread-header {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.42rem;
}

.thread-header h3 {
  font-size: 1rem;
}

.thread-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(44, 76, 131, 0.7);
  border: 1px solid rgba(143, 175, 230, 0.85);
  color: #d5e2ff;
  white-space: nowrap;
}

.thread-tag-alt {
  background: rgba(201, 87, 79, 0.7);
  border-color: rgba(226, 106, 106, 0.9);
  color: #ffe6e3;
}

.thread-tag-claim {
  background: rgba(79, 201, 157, 0.7);
  border-color: rgba(109, 232, 187, 0.9);
  color: #e9fff6;
}

.thread-tag-mental {
  background: rgba(112, 102, 201, 0.7);
  border-color: rgba(151, 142, 240, 0.9);
  color: #ebe8ff;
}

.thread-body {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.thread-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.74rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.45rem;
}

.thread-admin-actions {
  margin-top: 0.55rem;
}

/* Replies (posts) */

.post-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.post-card {
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(140deg, #090c19, #070812);
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.post-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.post-body {
  font-size: 0.84rem;
  color: var(--text);
}

.post-admin-actions {
  margin-top: 0.55rem;
}

/* ----------------------------
   Footer
   ---------------------------- */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.4rem 0 1.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: radial-gradient(circle at 50% 100%, #111322, rgba(5, 6, 13, 0.96));
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ----------------------------
   Utilities
   ---------------------------- */

.text-muted {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ----------------------------
   Responsive
   ---------------------------- */

@media (max-width: 1024px) {
  .hero-inner,
  .about-grid,
  .resources-layout,
  .cta-inner,
  .forum-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.7rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-highlight {
    position: static;
    transform: none;
    margin-top: 0.9rem;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-expanded {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav-expanded .nav-links,
  .nav-expanded .nav-cta {
    display: flex;
  }

  .nav-expanded .nav-links {
    width: 100%;
    margin-top: 0.7rem;
    flex-wrap: wrap;
  }

  .nav-expanded .nav-cta {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    padding: 1.5rem 1.3rem;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    padding-bottom: 1.3rem;
  }

  .thread-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
