:root {
  --bg: #f6f4ef;
  --hero-bg: #f2ead8;
  --surface: #fcfbf7;
  --border: #e6e1d8;
  --text: #101932;
  --muted: #63718b;
  --accent: #2f86b6;
  --accent-soft: #dfeef6;
  --team-bg-1: #05091c;
  --team-bg-2: #0a1233;
  --card-dark: rgba(255,255,255,0.06);
  --shadow: 0 10px 30px rgba(12, 18, 36, 0.08);
  --radius: 18px;
  --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section-title,
.hero h1,
.page-title,
.month-title,
.event-card h2,
.contact h2,
.team-section h2,
.helpline-name,
.brand {
  font-family: Georgia, "Times New Roman", serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 244, 239, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  font-size: 2rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover,
.nav a.active { color: var(--text); }

.discord-link {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.hero {
  background: var(--hero-bg);
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-inner {
  position: relative;
  max-width: 960px;
  padding: 80px 0;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero h1,
.page-title,
.team-section h2,
.contact h2 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  margin: 20px 0 18px;
}

.hero p,
.page-subtitle,
.contact p,
.team-section p,
.section-copy {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.hero-hand {
  position: absolute;
  inset: 42% auto auto 50%;
  width: 260px;
  height: 260px;
  border: 3px solid rgba(204, 156, 120, 0.28);
  border-radius: 52% 48% 44% 56% / 46% 53% 47% 54%;
  transform: translate(-10%, -35%) rotate(-12deg);
  filter: blur(0.3px);
  opacity: 0.9;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  padding: 15px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

.btn-soft {
  background: #eef7fb;
  color: var(--accent);
}

.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow { margin-bottom: 12px; display: inline-block; }
.section-title { font-size: clamp(2.8rem, 6vw, 4.5rem); margin: 0 0 14px; line-height: 1; }

.helplines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.helpline-card,
.event-card,
.contact-card {
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}

.helpline-card {
  min-height: 238px;
}

.icon-circle,
.avatar-circle,
.event-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.helpline-name { font-size: 2rem; margin: 18px 0 14px; line-height: 1.1; }
.helpline-phone {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.helpline-url,
.helpline-meta { display: block; margin-top: 10px; color: var(--muted); }
.helpline-meta {
  margin-top: 16px;
  background: #edf3f7;
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-block;
  font-size: 0.92rem;
}

.page-shell { padding: 36px 0 88px; }
.page-top-link { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.page-hero { text-align: center; margin: 28px auto 44px; }
.page-title { font-size: clamp(2.8rem, 6vw, 4.6rem); margin-bottom: 10px; }

.planning-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.planning-head {
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 34px 18px 24px;
}
.month-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.month-sub { margin-top: 8px; opacity: 0.9; font-size: 1.1rem; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.day-name,
.calendar-cell {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.day-name:nth-child(6n),
.calendar-cell:nth-child(6n) { border-right: 0; }
.day-name {
  padding: 12px 8px;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  background: #fbfbfa;
}
.calendar-cell {
  min-height: 170px;
  padding: 10px;
  background: white;
}
.cell-date { font-weight: 700; margin-bottom: 10px; }
.cell-item {
  background: #dfeef7;
  color: #2d6f96;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.96rem;
  margin-bottom: 8px;
}
.muted-date { color: #a4afbc; }

.event-page-wrap { display: grid; place-items: center; min-height: calc(100vh - 160px); }
.event-card {
  width: min(760px, 100%);
  text-align: center;
  padding: 48px 32px;
}
.event-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  margin: 0 auto 24px;
  font-size: 1.8rem;
}
.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 18px;
}
.event-card h2 { font-size: clamp(2.6rem, 5vw, 4rem); margin: 0 0 12px; }
.event-date { color: var(--accent); font-size: 1.2rem; font-weight: 700; }
.event-description { color: var(--muted); font-size: 1.2rem; margin: 22px 0 28px; }

.team-section {
  background: linear-gradient(90deg, var(--team-bg-1), var(--team-bg-2));
  color: white;
  min-height: calc(100vh - 72px);
  padding: 52px 0 96px;
}
.team-section p { color: rgba(225, 231, 244, 0.78); }
.team-section .text-accent { color: var(--accent); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
  justify-items: center;
}
.team-card {
  width: 100%;
  max-width: 225px;
  min-height: 220px;
  background: var(--card-dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
}
.team-card.last-centered { grid-column: 2 / span 2; justify-self: center; }
.avatar-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 18px;
  color: white;
  font-size: 2rem;
  background: linear-gradient(135deg, #3a9bd5, #5f78d4);
}
.team-card:nth-child(2) .avatar-circle { background: linear-gradient(135deg, #8d35d6, #d04ca1); }
.team-card:nth-child(3) .avatar-circle { background: linear-gradient(135deg, #31c39a, #469bd5); }
.team-card:nth-child(4) .avatar-circle { background: linear-gradient(135deg, #d38b1e, #e9d23d); }
.team-card:nth-child(5) .avatar-circle { background: linear-gradient(135deg, #a53cb7, #d05ea2); }
.team-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  margin: 0 0 12px;
}
.role-pill {
  display: inline-block;
  background: rgba(47, 134, 182, 0.22);
  color: #4eb6e7;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

.contact {
  text-align: center;
  padding: 88px 0 96px;
}
.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 46px;
}
.discord-btn-large {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 16px;
  background: #5b62f6;
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1100px) {
  .helplines-grid,
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card.last-centered { grid-column: auto; }
}

@media (max-width: 800px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .site-header .container { padding: 14px 0; align-items: flex-start; }
  .nav { gap: 14px 18px; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .day-name:nth-child(2n), .calendar-cell:nth-child(2n) { border-right: 0; }
  .day-name:nth-child(6n), .calendar-cell:nth-child(6n) { border-right: 1px solid var(--border); }
  .day-name { text-align: left; padding-left: 12px; }
}

@media (max-width: 680px) {
  .hero { min-height: auto; padding: 40px 0 60px; }
  .helplines-grid,
  .team-grid,
  .calendar-grid { grid-template-columns: 1fr; }
  .day-name, .calendar-cell { border-right: 0 !important; }
  .team-card,
  .team-card.last-centered { max-width: none; grid-column: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
