* { box-sizing: border-box; }

:root {
  --bg: #07111f;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --ink: #07111f;
  --muted: #526071;
  --line: #d9e3f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #107a51;
  --amber: #c57a12;
  --night: #050a12;
  --radius-card: 8px;
  --radius-panel: 12px;
  --focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.28);
  --shadow-card: 0 24px 70px rgba(7, 17, 31, 0.18);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--night);
  color: var(--ink);
}

a { color: inherit; }

.hidden { display: none !important; }

#boot-diagnostic {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #07111f;
  color: #e5e7eb;
}

#boot-diagnostic-card {
  width: min(560px, 100%);
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #0d1728;
  padding: 24px;
}

#boot-diagnostic-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 10px;
  font-weight: 900;
}

#boot-diagnostic-message {
  margin: 0;
  color: #d1d5db;
  white-space: pre-wrap;
  word-break: break-word;
}

.site-shell {
  min-height: 100vh;
  background: var(--surface-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  min-width: 0;
}

.brand strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.05;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
  color: #1e293b;
}

.site-nav a:hover { color: var(--blue); }

.nav-pill {
  padding: 10px 14px;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--blue) !important;
  border: 1px solid #cfe0ff;
}

.site-hero {
  min-height: calc(100vh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 7vw, 92px) clamp(18px, 5vw, 72px) clamp(42px, 7vw, 80px);
  background:
    linear-gradient(115deg, rgba(5, 10, 18, 0.96) 0 58%, rgba(7, 17, 31, 0.86) 58% 100%),
    url("./icon-maskable-512.png") right 9% center / min(36vw, 420px) no-repeat,
    #07111f;
  color: #fff;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #82b4ff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-hero h1,
.section h2,
.app-hero h1 {
  margin: 0;
  font-weight: 950;
  letter-spacing: 0;
}

.site-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.9rem, 7.2vw, 6.8rem);
  line-height: 0.94;
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #dbeafe;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary,
button {
  color: #fff;
  background: var(--blue);
}

.btn-primary:hover,
button:hover { background: var(--blue-dark); }

.btn-secondary,
button.ghost {
  color: #dbeafe;
  border-color: rgba(219, 234, 254, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover,
button.ghost:hover {
  border-color: #93c5fd;
  background: rgba(147, 197, 253, 0.12);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 8px 10px;
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #dbe6f3;
  box-shadow: var(--shadow-card);
}

.contact-panel .eyebrow { color: #94a3b8; }
.contact-panel h2 { margin: 0 0 16px; font-size: 1.45rem; }
.contact-panel p { margin: 0 0 14px; color: #334155; line-height: 1.55; }
.contact-panel a {
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
  margin-top: 8px;
}

.section {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.section + .section { border-top: 1px solid var(--line); }

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section h2 {
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.steps-grid article {
  padding: 22px;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.steps-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 950;
  font-size: 0.82rem;
}

.steps-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
}

.steps-grid p,
.split-section p,
.final-cta p {
  margin: 0;
  color: #334155;
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  background: #f8fafc;
}

.split-section p {
  margin-top: 24px;
  max-width: 680px;
  font-size: 1.06rem;
}

.fit-list {
  display: grid;
  gap: 12px;
}

.fit-list div {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.fit-list strong,
.fit-list span {
  display: block;
}

.fit-list strong {
  color: var(--ink);
  margin-bottom: 6px;
}

.fit-list span {
  color: var(--muted);
  line-height: 1.45;
}

.final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: #07111f;
  color: #fff;
}

.final-cta h2 { color: #fff; }
.final-cta p { color: #cbd5e1; max-width: 640px; margin-top: 14px; }
.final-cta .hero-actions { margin-top: 0; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: #050a12;
  color: #94a3b8;
  font-size: 0.9rem;
}

.site-footer a {
  color: #bfdbfe;
  text-decoration: none;
  font-weight: 800;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.55fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  padding: clamp(26px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(5,10,18,0.96), rgba(7,17,31,0.9)),
    #07111f;
  color: #fff;
}

.app-hero {
  display: grid;
  align-content: center;
  gap: 40px;
}

.app-hero .brand strong { color: #fff; }
.app-hero .brand small { color: #bfdbfe; }
.app-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 6.2vw, 5.8rem);
  line-height: 0.94;
}
.app-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: #dbeafe;
  font-size: 1.08rem;
  line-height: 1.6;
}

.card {
  width: 100%;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #dbe6f3;
  box-shadow: var(--shadow-card);
}

.card h2 { margin: 0 0 18px; }

.stack {
  display: grid;
  gap: 12px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

input {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  padding: 13px 14px;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}

input:focus {
  outline: 3px solid rgba(21, 94, 232, 0.18);
  border-color: var(--blue);
}

.error {
  margin-top: 14px;
  color: #b42318;
  font-weight: 800;
}

.muted { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.app {
  display: block;
  min-height: 220px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #dbe6f3;
  background: #f8fafc;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.app:hover {
  transform: translateY(-2px);
  border-color: var(--app-accent, #155ee8);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.app .label {
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.app-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf1ff;
  color: var(--blue);
  font-size: 1rem;
}

.app-art {
  height: 112px;
  border-radius: 8px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  background: #07111f;
}

.app-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.app-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-cover-shade,
.app-art-glow,
.admin-orbit,
.admin-core { display: none; }

.bundesliga-logo {
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
}

.bundesliga-mark { width: 74px; }
.bundesliga-svg { display: block; width: 100%; }
.bundesliga-wordmark { display: none; }

.app-title {
  font-size: 1.12rem;
  font-weight: 950;
  margin-bottom: 6px;
}

.app-subtitle { line-height: 1.45; }

.install-box { display: none; }

@media (max-width: 980px) {
  .site-hero,
  .split-section,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { min-height: 0; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .site-hero h1,
  .app-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.05rem);
    max-width: 14ch;
  }

  .hero-lead { font-size: 1.02rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .section h2 { max-width: 11ch; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .site-footer { flex-direction: column; }
  .app-shell { padding: 24px 16px 40px; }
}


/* Public website refresh: club first, actions second */
.club-hero {
  min-height: calc(88vh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 8vw, 104px) clamp(18px, 5vw, 72px) clamp(42px, 7vw, 76px);
  background:
    linear-gradient(115deg, rgba(5, 10, 18, 0.95), rgba(7, 17, 31, 0.82)),
    url("./icon-maskable-512.png") right 9% center / min(34vw, 420px) no-repeat,
    #07111f;
  color: #fff;
}

.club-hero-copy { max-width: 830px; }

.club-hero h1 {
  margin: 0;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.88;
  font-weight: 950;
  letter-spacing: 0;
}

.club-snapshot {
  display: grid;
  gap: 12px;
  align-self: stretch;
  align-content: center;
}

.club-snapshot div {
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(219, 234, 254, 0.18);
  backdrop-filter: blur(12px);
}

.club-snapshot strong,
.club-snapshot span {
  display: block;
}

.club-snapshot strong {
  color: #fff;
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.club-snapshot span {
  color: #dbeafe;
  line-height: 1.45;
}

.compact-head h2,
.public-data-section h2,
.bowling-section h2 {
  max-width: none;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.quick-section { background: #fff; }

.quick-grid,
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-card,
.data-card {
  display: block;
  min-width: 0;
  padding: 20px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.quick-card:hover {
  border-color: #9dbdf8;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.club-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 44px;
  padding-bottom: 10px;
}

.club-proof article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.club-proof span {
  display: block;
  color: var(--blue);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.club-proof strong {
  display: block;
  color: var(--ink);
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.club-proof p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.quick-card.static {
  cursor: default;
}

.join-proof {
  padding-top: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.card-link::after {
  content: "->";
  margin-left: 8px;
}

.card-link:hover {
  color: var(--blue-dark);
}

.quick-card span,
.data-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quick-card strong,
.data-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.quick-card p,
.data-card p,
.data-card small {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.data-card small {
  display: block;
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 800;
  color: #64748b;
}

.public-data-section.tinted { background: #f8fafc; }

.section-head.with-action {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover { color: var(--blue-dark); }

.data-list {
  display: grid;
  gap: 12px;
}

.event-row,
.result-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: #fff;
}

.event-row { grid-template-columns: 150px minmax(0, 1fr); }

.result-row b {
  justify-self: end;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eaf1ff;
  color: var(--blue);
  white-space: nowrap;
}

.muted-card {
  grid-column: 1 / -1;
  background: #fff;
}

.inline-actions { margin-top: 24px; }

.btn-secondary.light {
  color: var(--blue);
  border-color: #cfe0ff;
  background: #eef4ff;
}

.btn-secondary.light:hover {
  color: #fff;
  background: var(--blue-dark);
}

.bowling-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.9fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  background: #fff;
}

.bowling-copy p {
  margin: 0;
  color: #334155;
  font-size: 1.06rem;
  line-height: 1.7;
}

.final-cta a:not(.btn) {
  color: #bfdbfe;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 980px) {
  .club-hero,
  .bowling-section {
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .club-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .club-hero h1 {
    font-size: clamp(3.3rem, 18vw, 5.2rem);
  }

  .quick-grid,
  .data-grid,
  .club-proof {
    grid-template-columns: 1fr;
  }

  .section-head.with-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-row,
  .result-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .result-row b {
    justify-self: start;
  }
}


/* Multi-page public website */
.route-hidden { display: none !important; }

.site-nav a.active {
  color: var(--blue);
}

.page-hero {
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: clamp(32px, 6vw, 64px);
  background: #07111f;
  color: #fff;
}

.page-hero h1,
.legal-section h1 {
  margin: 0;
  max-width: 12ch;
  color: inherit;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow),
.legal-section > p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #dbeafe;
  font-size: 1.08rem;
  line-height: 1.65;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.subnav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: #dbeafe;
  border: 1px solid rgba(219, 234, 254, 0.26);
  text-decoration: none;
  font-weight: 900;
}

.subnav a:hover {
  color: #fff;
  border-color: #93c5fd;
  background: rgba(147, 197, 253, 0.12);
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: #fff;
}

.news-card small a,
.data-card a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.legal-section {
  background: #fff;
}

.legal-section h1 { color: var(--ink); }
.legal-section > p { color: #334155; }
.legal-grid { margin-top: 28px; }

html[data-public-route="home"] .public-data-section .section-head h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

html[data-public-route="news"] #public-news,
html[data-public-route="teams"] #public-teams,
html[data-public-route="team-herren"] #public-teams,
html[data-public-route="team-damen"] #public-teams {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html[data-public-route="home"] .about-layout {
  background: #f8fafc;
}

@media (max-width: 980px) {
  .about-layout,
  html[data-public-route="news"] #public-news,
  html[data-public-route="teams"] #public-teams,
  html[data-public-route="team-herren"] #public-teams,
  html[data-public-route="team-damen"] #public-teams {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page-hero h1,
  .legal-section h1 {
    font-size: clamp(2.7rem, 15vw, 4.3rem);
  }

  .about-layout,
  html[data-public-route="news"] #public-news,
  html[data-public-route="teams"] #public-teams,
  html[data-public-route="team-herren"] #public-teams,
  html[data-public-route="team-damen"] #public-teams {
    grid-template-columns: 1fr;
  }
}


/* Defensive mobile overflow fixes for public subpages */
.site-shell,
.site-header,
.section,
.club-hero,
.page-hero,
.final-cta,
.app-shell {
  max-width: 100%;
}

.site-nav,
.subnav,
.hero-actions,
.quick-grid,
.data-grid,
.data-list,
.about-layout {
  min-width: 0;
}

@media (max-width: 680px) {
  body,
  .site-shell {
    overflow-x: hidden;
  }

  .site-header,
  .section,
  .club-hero,
  .page-hero,
  .final-cta {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-nav,
  .subnav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav a,
  .subnav a {
    min-width: 0;
    text-align: center;
    overflow-wrap: anywhere;
  }
}


/* Home hero: venue links and news stage */
.venue-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 9px clamp(18px, 5vw, 72px);
  background: #07111f;
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 900;
  border-bottom: 1px solid rgba(219, 234, 254, 0.12);
}

.venue-strip span {
  color: #93c5fd;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.venue-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(219, 234, 254, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
}

.venue-strip a:hover,
.venue-strip a:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
}

.club-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  min-height: min(760px, calc(86vh - 96px));
  background:
    linear-gradient(115deg, rgba(5, 10, 18, 0.97), rgba(7, 17, 31, 0.88)),
    radial-gradient(circle at right 28%, rgba(21, 94, 232, 0.24), transparent 34%),
    #07111f;
}

.club-hero h1 {
  max-width: 8ch;
  font-size: clamp(4.8rem, 8vw, 7.4rem);
}

.hero-news {
  position: relative;
  min-height: clamp(420px, 48vw, 520px);
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(219, 234, 254, 0.18);
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.16), rgba(5, 10, 18, 0.96)),
    url('/icon-maskable-512.png') center 18% / min(70%, 430px) no-repeat,
    #0d1728;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.hero-news::before {
  content: '';
  position: absolute;
  inset: auto -22% -34% 20%;
  height: 52%;
  transform: skewX(-26deg);
  background: linear-gradient(90deg, rgba(21, 94, 232, 0.55), rgba(197, 122, 18, 0.34));
  opacity: 0.75;
}

.hero-news-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-news-top span {
  color: #dbeafe;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero-news-top a {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 8px;
  background: #fff;
  color: #07111f;
  text-decoration: none;
  font-weight: 950;
  font-size: 0.82rem;
}

.hero-news-slider {
  position: relative;
  z-index: 1;
  min-height: 300px;
  display: grid;
  align-items: end;
}

.hero-news-slide {
  grid-area: 1 / 1;
  align-self: end;
  padding: clamp(24px, 4vw, 38px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

.hero-news-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-news-slide span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-news-slide strong {
  display: block;
  max-width: 12ch;
  color: #fff;
  font-size: 2.45rem;
  line-height: 1.02;
  font-weight: 950;
}

.hero-news-slide p {
  max-width: 46ch;
  margin: 16px 0 0;
  color: #dbeafe;
  line-height: 1.55;
}

.hero-news-slide a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 11px 15px;
  border-radius: 8px;
  background: #fff;
  color: #07111f;
  text-decoration: none;
  font-weight: 950;
}

.hero-news-dots {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  padding: 0 clamp(24px, 4vw, 38px) clamp(22px, 4vw, 34px);
}

.hero-news-dots button {
  min-height: 0;
  width: 44px;
  height: 32px;
  padding: 13px 5px;
  border-radius: 999px;
  background: transparent;
  border: 0;
}

.hero-news-dots button::after {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.hero-news-dots button.active::after {
  background: var(--blue);
}

@media (max-width: 1100px) {
  .club-hero { grid-template-columns: 1fr; }
  .club-hero h1 { font-size: clamp(4.4rem, 10vw, 6.2rem); }
  .hero-news-slide strong { font-size: 2.05rem; }
}

@media (max-width: 980px) {
  .hero-news {
    min-height: 430px;
  }
}

@media (max-width: 680px) {
  .venue-strip {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-left: 16px;
    padding-right: 16px;
  }

  .club-hero h1 { font-size: clamp(3.5rem, 17vw, 4.8rem); }

  .hero-news {
    min-height: 410px;
  }

  .hero-news-slide strong {
    max-width: 11ch;
    font-size: 1.78rem;
  }
}


/* Shared interaction polish */
.site-nav a,
.subnav a,
.btn,
.text-link,
.quick-card,
.data-card,
.app,
.hero-news-top a,
.hero-news-slide a,
.venue-strip a {
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.site-nav a:focus-visible,
.subnav a:focus-visible,
.btn:focus-visible,
.text-link:focus-visible,
.quick-card:focus-visible,
.data-card a:focus-visible,
.card-link:focus-visible,
.app:focus-visible,
.hero-news-top a:focus-visible,
.hero-news-slide a:focus-visible,
.hero-news-dots button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.quick-card:hover,
.data-card:hover {
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.1);
}

.app-shell .card {
  background: rgba(13, 21, 38, 0.88);
  color: #f8fafc;
  border-color: rgba(147, 197, 253, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.app-shell input {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border-color: rgba(147, 197, 253, 0.26);
}

.app-shell input::placeholder { color: #94a3b8; }

.app-shell .app {
  position: relative;
  min-height: 230px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(13, 21, 38, 0.86));
  color: #e5edf8;
  border-color: rgba(147, 197, 253, 0.18);
}

.app-shell .app::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--app-accent, var(--blue));
}

.app-shell .app-title { color: #fff; }
.app-shell .app-subtitle { color: #94a3b8; }
.app-shell .app-arrow { background: rgba(37, 99, 235, 0.16); color: #bfdbfe; }
.app-shell .muted { color: #94a3b8; }
/* Public readiness additions: team detail, inquiry, partners and real media */
.card-link::after {
  content: "->";
  margin-left: 8px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.card-actions .card-link {
  margin-top: 0;
}

.team-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.8fr));
  gap: 14px;
}

.team-profile-card {
  background: #07111f;
  color: #fff;
}

.team-profile-card span,
.team-profile-card small,
.team-profile-card p {
  color: #dbeafe;
}

.team-profile-card strong {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
}

.schedule-empty {
  background: #07111f;
  color: #fff;
}

.schedule-empty span,
.schedule-empty p {
  color: #dbeafe;
}

.schedule-empty strong {
  color: #fff;
  font-size: 1.3rem;
}

.compact-row {
  background: #fff;
}

.inquiry-section {
  background: #fff;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: #1e293b;
  font-weight: 850;
}

.inquiry-form span {
  line-height: 1.35;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form-wide {
  grid-column: 1 / -1;
}

.inquiry-check {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start;
  font-weight: 700 !important;
  color: #475569 !important;
}

.inquiry-check input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.inquiry-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

#inquiry-status {
  color: #475569;
  font-weight: 900;
}

#inquiry-status.is-success {
  color: #047857;
}

#inquiry-status.is-error {
  color: #b42318;
}

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

.media-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e2e8f0;
}

.media-card figcaption {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.media-card strong {
  color: var(--ink);
}

.media-card span {
  color: #475569;
  line-height: 1.5;
}

.partner-grid {
  margin-top: 20px;
}

.partner-card img {
  max-width: 180px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: 6px;
  background: #fff;
}

@media (max-width: 980px) {
  .team-detail-grid,
  .media-grid,
  .inquiry-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-profile-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .team-detail-grid,
  .media-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .inquiry-actions button {
    width: 100%;
  }
}
