@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* All colour pairs below meet WCAG AA (most AAA) against #0d0e12 */
:root {
  --bg: #0d0e12;
  --panel: #16171d;
  --text: #f6f7f9;
  --muted: #d3d6df;
  --accent: #fece08;
  --border: #3a3c46;

  /* Spacing scales with viewport height so the page fits one screen */
  --gap: clamp(8px, 2vh, 20px);
  --pad: clamp(16px, 3.5vh, 36px);
}

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

html,
body {
  height: 100%;
}

body {
  /* dvh accounts for mobile browser toolbars; vh is the fallback */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap);
  padding: var(--gap) 16px;
  background-color: var(--bg);
  background-image: url('./background-image.png');
  background-size: cover;
  background-position: center;
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  font-size: clamp(0.875rem, 0.6rem + 0.9vh, 1rem);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 640px;
}

/* Solid panel keeps text legible over the background image */
.notice {
  background-color: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--pad);
}

.heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.heading img {
  height: clamp(48px, 11vh, 110px);
  width: auto;
  align-self: center;
}

.heading-text {
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(1.25rem, 0.8rem + 2.2vh, 2rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.lead {
  font-size: 1.1em;
}

.details {
  list-style: none;
  margin-top: var(--pad);
  display: flex;
  flex-direction: column;
  gap: calc(var(--gap) * 0.75);
}

.details li {
  border-left: 4px solid var(--accent);
  background-color: var(--bg);
  border-radius: 0 8px 8px 0;
  padding: clamp(10px, 1.6vh, 16px) clamp(14px, 2vw, 20px);
}

.details h2 {
  font-size: 1.05em;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

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

a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.copy {
  color: var(--muted);
  font-size: 0.85em;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .notice {
    padding: var(--pad) 16px;
  }

  .details li {
    padding-left: 12px;
    padding-right: 12px;
  }
}
