:root {
  --navy: #07163a;
  --navy-deep: #040c22;
  --blue: #1f6fe0;
  --ice: #8fd8ff;
  --gold: #ffc83d;
  --text: #f2f7ff;
  --muted: #b9c8e6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.5;
  background:
    radial-gradient(ellipse at top, #1b4fb0 0%, rgba(27, 79, 176, 0) 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 16px 32px;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.poster {
  width: 100%;
  max-width: 620px;
  /* keep the whole poster visible on tall and short screens */
  max-height: 85vh;
  display: flex;
  justify-content: center;
}

.poster img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(143, 216, 255, 0.35);
}

.info {
  width: 100%;
  max-width: 620px;
  margin-top: 24px;
  text-align: center;
}

.info h1 {
  font-size: clamp(1.4rem, 5vw, 2rem);
  line-height: 1.2;
  color: var(--ice);
  margin-bottom: 4px;
}

.info .presenter {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.details {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}

@media (min-width: 560px) {
  .details { grid-template-columns: 1fr 1fr; }
  .details .wide { grid-column: 1 / -1; }
}

.card {
  background: rgba(4, 12, 34, 0.75);
  border: 1px solid rgba(143, 216, 255, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
}

.card h2 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.card p { font-size: 1.05rem; }
.card small { display: block; color: var(--muted); font-size: 0.85rem; }

.cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 1.05rem;
  word-break: break-all;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover, .cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 200, 61, 0.4);
  outline: 3px solid var(--ice);
  outline-offset: 3px;
}

.register p { margin-bottom: 10px; color: var(--muted); }

footer {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

footer .byline { margin-top: 24px; }
footer a { color: var(--ice); }
footer a:hover, footer a:focus-visible { color: var(--gold); }

/* Court outline overlay (remove this block to turn it off) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("court.svg") center / min(110vw, 190vh) auto no-repeat;
  opacity: 0.08;
}
