:root {
  color-scheme: dark;
  --bg: #242424;
  --panel: #1c1c1c;
  --panel2: #202020;
  --text: #ffffff;
  --muted: #d5d5d5;
  --red: #e30014;
  --green: #078236;
  --border: rgba(255,255,255,.14);
  --shadow: 0 12px 32px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 8%, rgba(227,0,20,.07), transparent 34rem),
    var(--bg);
  color: var(--text);
}

main {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
}

.logo-wrap,
.header-image {
  width: 100%;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #242424;
  box-shadow: var(--shadow);
}

.logo-wrap img,
.header-image img {
  display: block;
  width: 100%;
  height: auto;
}

.links {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.button {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 54px 14px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .015em;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transition: transform .16s ease, border-color .16s ease, filter .16s ease;
  -webkit-tap-highlight-color: transparent;
}

.button:active { transform: scale(.985); }
.button:hover { border-color: rgba(255,255,255,.35); filter: brightness(1.05); }

.button.cap-order { background: linear-gradient(135deg, #8b0010 0%, #d70016 100%); }
.button.instagram { background: linear-gradient(135deg, #7a26c9 0%, #d32977 48%, #f36d2e 100%); }
.button.facebook { background: linear-gradient(135deg, #0f5db8 0%, #1877f2 100%); }
.button.member { background: linear-gradient(135deg, #075e2a 0%, #078236 100%); }
.button.secondary { background: linear-gradient(135deg, #181818 0%, #2a2a2a 100%); }
.button.contact { background: linear-gradient(135deg, #8b0010 0%, #d70016 100%); }

.icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
}
.icon svg { width: 100%; height: 100%; display: block; }

.button-copy { display: grid; line-height: 1.08; }
.button-title { font-size: clamp(20px, 5vw, 27px); }
.button-subtitle {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 650;
  color: rgba(255,255,255,.84);
}

.arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  opacity: .95;
}

.topbar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.topbar a {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(20,20,20,.76);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.content-card {
  margin-top: 18px;
  padding: clamp(20px, 5vw, 34px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31,31,31,.98), rgba(22,22,22,.98));
  box-shadow: var(--shadow);
}

.content-card h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 9vw, 58px);
  line-height: .95;
  letter-spacing: .02em;
}

.content-card h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red) 0 45%, #fff 45% 68%, var(--green) 68% 100%);
}

.content-card p {
  margin: 0 0 18px;
  color: #efefef;
  font-size: clamp(16px, 4.1vw, 19px);
  line-height: 1.6;
}

.board {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.board-row {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) 1.2fr;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}
.board-role { color: var(--muted); font-weight: 700; }
.board-name { font-weight: 850; }

.contact-lines {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-line {
  display: block;
  padding: 17px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.045);
  color: #fff;
  text-decoration: none;
  font-weight: 760;
  line-height: 1.45;
}
.contact-line small { display: block; margin-bottom: 3px; color: var(--muted); font-weight: 650; }

footer {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  opacity: .7;
}

@media (max-width: 460px) {
  main { padding-left: 12px; padding-right: 12px; }
  .logo-wrap, .header-image { border-radius: 18px; }
  .links { margin-top: 14px; gap: 11px; }
  .button { min-height: 66px; border-radius: 16px; padding-left: 15px; }
  .icon { width: 34px; height: 34px; flex-basis: 34px; }
  .content-card { border-radius: 18px; }
  .board-row { grid-template-columns: 1fr; gap: 2px; }
}

/* Compact navigation under the logo */
.mini-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: -88px 28px 22px;
  position: relative;
  z-index: 2;
}
.mini-nav a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .055em;
  background: rgba(20,20,20,.54);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
}
.mini-nav a:active { transform: scale(.98); }
.mini-icon { width: 24px; height: 24px; display: grid; place-items: center; }
.mini-icon svg { width: 100%; height: 100%; }

@media (max-width: 460px) {
  .mini-nav { margin: -72px 18px 18px; gap: 12px; }
  .mini-nav a { min-height: 50px; border-radius: 14px; font-size: 12px; }
  .mini-icon { width: 21px; height: 21px; }
}
