:root {
  color-scheme: dark;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --muted: #98a5be;
  --line: rgba(185, 201, 232, 0.12);
  --accent: #a3f2ce;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #f6f8ff;
  background:
    radial-gradient(ellipse at 50% -12%, rgba(91, 107, 221, 0.24), transparent 49%),
    radial-gradient(ellipse at 100% 100%, rgba(39, 125, 119, 0.12), transparent 35%),
    #090e1b;
}

.join-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.join-card {
  position: relative;
  width: min(100%, 500px);
  overflow: hidden;
  padding: 42px 42px 28px;
  border: 1px solid rgba(177, 194, 229, 0.16);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(27, 37, 60, 0.97), rgba(17, 25, 43, 0.98));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.05);
  text-align: center;
}

.join-card::before {
  position: absolute;
  top: 0;
  left: 18%;
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(163, 242, 206, 0.7), transparent);
  content: "";
}

.brand-mark {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 0 auto 22px;
  border: 1px solid rgba(163, 242, 206, 0.24);
  border-radius: 15px;
  background: rgba(163, 242, 206, 0.08);
  transform: rotate(-4deg);
}

.brand-mark span {
  width: 4px;
  border-radius: 5px;
  background: var(--accent);
}
.brand-mark span:nth-child(1), .brand-mark span:nth-child(4) { height: 11px; opacity: 0.55; }
.brand-mark span:nth-child(2) { height: 20px; }
.brand-mark span:nth-child(3) { height: 15px; opacity: 0.8; }

.eyebrow, .panel-heading {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow { margin: 0 0 14px; }

h1 {
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(36px, 8vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h1 span { color: #b6c2ff; }

.intro {
  max-width: 340px;
  margin: 16px auto 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.meeting-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 13, 25, 0.38);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #aab5cb;
  font-size: 9px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(163, 242, 206, 0.75);
}

.meeting-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.meeting-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px;
}

.join-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(200, 255, 231, 0.65);
  border-radius: 12px;
  background: linear-gradient(135deg, #b5f5d7, #83dfbb);
  box-shadow: 0 8px 24px rgba(106, 218, 173, 0.13);
  color: #10251e;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.join-button::after { content: "↗"; font-size: 16px; }
.join-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(106, 218, 173, 0.24); filter: brightness(1.04); }
.join-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.card-footer {
  margin: 22px 0 0;
  color: #74819a;
  font-size: 11px;
}

@media (max-width: 480px) {
  .join-card { padding: 34px 20px 24px; border-radius: 23px; }
  .meeting-panel { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
