:root {
  --bg-ink: #06070f;
  --bg-mid: #0c1220;
  --bg-panel: rgba(10, 16, 30, 0.92);
  --text: #f4f8ff;
  --text-muted: #9da6bf;
  --cyan: #2bf6ff;
  --magenta: #ff3be6;
  --blue: #4b8dff;
  --lime: #d4ff3a;
  --yellow: #f9d34a;
  --border-strong: rgba(43, 246, 255, 0.4);
  --glow-cyan: 0 0 0 1px rgba(43, 246, 255, 0.55),
    0 0 16px rgba(43, 246, 255, 0.35);
  --glow-magenta: 0 0 0 1px rgba(255, 59, 230, 0.55),
    0 0 16px rgba(255, 59, 230, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg-ink);
}

body {
  font-family: "Arial Black", "Arial", "Helvetica Neue", Helvetica, sans-serif;
  color: var(--text);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0 2px,
      rgba(255, 255, 255, 0) 2px 7px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0 1px,
      rgba(255, 255, 255, 0) 1px 11px
    ),
    radial-gradient(circle at 15% 10%, rgba(255, 59, 230, 0.24), transparent 36%),
    radial-gradient(circle at 90% 60%, rgba(43, 246, 255, 0.2), transparent 35%),
    var(--bg-ink);
  background-size: auto;
  background-attachment: fixed;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem clamp(0.8rem, 2vw, 1.5rem) 2rem;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  width: 180vw;
  height: 1px;
  left: -40vw;
  background: repeating-linear-gradient(
    90deg,
    rgba(43, 246, 255, 0.2) 0 8px,
    rgba(255, 59, 230, 0.2) 8px 16px,
    rgba(255, 255, 255, 0) 16px 100vw
  );
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  top: 0.8rem;
}

.page-shell::after {
  bottom: 0.8rem;
}

main {
  display: grid;
  gap: 1rem;
}

.hero {
  position: relative;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1.14fr 0.86fr;
  align-items: center;
  border: 4px solid var(--cyan);
  border-radius: 2px;
  padding: clamp(1.1rem, 2.4vw, 2rem);
  background:
    linear-gradient(145deg, rgba(18, 27, 53, 0.94), rgba(8, 11, 21, 0.9)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      rgba(255, 255, 255, 0) 2px 10px
    );
  box-shadow: inset 0 0 0 2px rgba(255, 59, 230, 0.25), 0 0 38px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.hero::before {
  content: "LIVE ANNOUNCEMENT";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.3rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #130018;
  background: linear-gradient(90deg, #ffea3d, #ff3be6, #2bf6ff, #d4ff3a);
  font-weight: 800;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 4px,
    rgba(255, 255, 255, 0.04) 4px 5px
  );
  mix-blend-mode: screen;
  opacity: 0.25;
}

.hero-inner,
.hero-artwork {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  margin: 1.4rem 0 0.8rem;
  padding: 0.25rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.42);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  line-height: 1.05;
}

h1 {
  margin-top: 0;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  letter-spacing: 0.05em;
  color: var(--lime);
  text-shadow: 0 0 0 rgba(0, 0, 0, 0),
    0 2px 18px rgba(212, 255, 58, 0.45);
}

.subheadline {
  margin: 0 0 0.9rem;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  color: var(--text);
  text-transform: none;
  text-shadow: 0 1px 6px rgba(11, 244, 255, 0.25);
}

.lead {
  margin: 0;
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  min-height: 3rem;
  min-width: 220px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 3px solid transparent;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    color 140ms ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.btn-primary {
  color: #1b0130;
  border-color: var(--magenta);
  background: linear-gradient(180deg, #ff3be6 0%, #bc17ff 100%);
  box-shadow: var(--glow-magenta);
}

.btn-primary:hover {
  box-shadow: 0 0 0 3px rgba(255, 59, 230, 0.2), 0 0 22px rgba(255, 59, 230, 0.5);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(6, 12, 23, 0.96), rgba(10, 16, 32, 0.96));
  box-shadow: var(--glow-cyan);
}

.btn-ghost:hover {
  box-shadow: 0 0 0 3px rgba(43, 246, 255, 0.2), 0 0 18px rgba(43, 246, 255, 0.45);
}

.hero-artwork {
  margin: 0;
  border: 4px solid var(--magenta);
  background:
    linear-gradient(160deg, rgba(17, 32, 78, 0.75), rgba(11, 17, 29, 0.75));
  padding: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.hero-artwork::before {
  content: "CODING WORKSHOP";
  text-align: center;
  letter-spacing: 0.12em;
  color: var(--yellow);
  font-size: 0.74rem;
  text-transform: uppercase;
  border: 1px dashed var(--yellow);
  padding: 0.3rem;
}

.hero-artwork img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05) brightness(0.92);
}

.hero-artwork figcaption {
  padding: 0.55rem 0.55rem 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.section {
  border: 4px solid rgba(75, 141, 255, 0.35);
  border-radius: 2px;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  background: linear-gradient(155deg, rgba(7, 13, 25, 0.96), rgba(12, 20, 38, 0.93));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 12px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--cyan), transparent, var(--magenta));
}

.section-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.73rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  text-transform: uppercase;
  color: var(--yellow);
}

h2 + p {
  margin-top: 0.35rem;
}

.content-block > p {
  color: var(--text);
  margin: 0 0 0.85rem;
  max-width: 70ch;
}

.details-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 0.85rem;
}

.detail-card {
  position: relative;
  border: 3px solid rgba(43, 246, 255, 0.35);
  border-radius: 2px;
  padding: 0.85rem;
  background: linear-gradient(155deg, rgba(20, 33, 57, 0.94), rgba(13, 17, 31, 0.95));
  min-height: 108px;
}

.detail-card::before {
  content: "»";
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  color: var(--magenta);
  font-size: 1.5rem;
}

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  width: 2rem;
  height: 2rem;
  border-radius: 2px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  font-size: 1rem;
}

.detail-title {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.13em;
}

.detail-value {
  margin: 0.35rem 0 0;
  font-size: 1.06rem;
  color: var(--text);
  font-weight: 700;
}

.card-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  counter-reset: card;
}

.info-card {
  position: relative;
  border: 3px solid rgba(255, 59, 230, 0.35);
  border-radius: 2px;
  padding: 0.85rem;
  background: linear-gradient(160deg, rgba(19, 27, 49, 0.95), rgba(11, 18, 34, 0.95));
  counter-increment: card;
}

.info-card::before {
  content: "0" counter(card);
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.05rem 0.45rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 0.85rem;
}

.info-card h3 {
  margin: 0 0 0.35rem;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 1rem;
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
}

.check-list,
.agenda-list {
  margin: 1rem 0 0;
  padding-left: 1.3rem;
  color: var(--text);
}

.check-list li,
.agenda-list li {
  margin-bottom: 0.58rem;
}

.check-list li::marker {
  content: "✓ ";
  color: var(--lime);
}

.agenda-list {
  display: grid;
  gap: 0.5rem;
}

.agenda-list li {
  list-style: none;
  position: relative;
  padding-left: 1.2rem;
}

.agenda-list li::before {
  content: "⌬";
  position: absolute;
  left: 0;
  top: 0.03rem;
  color: var(--magenta);
}

.highlight-note {
  display: inline-block;
  margin: 1rem 0 0;
  border-left: 4px solid var(--lime);
  padding: 0.25rem 0 0.25rem 0.7rem;
  color: var(--lime);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.final-cta {
  text-align: center;
}

.final-cta p {
  max-width: 65ch;
  margin: 0.3rem auto;
}

.footer {
  margin: 1rem auto 0;
  border-top: 4px solid rgba(212, 255, 58, 0.35);
  padding: 1rem 0.5rem 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer p {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.footer a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
}

.footer a:hover {
  text-decoration: underline;
  color: var(--magenta);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .page-shell {
    padding: 1rem 0.7rem 1.4rem;
  }

  .hero {
    padding-top: 2.3rem;
    gap: 1rem;
  }

  .hero::before {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .details-bar {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  h2 {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }

  .footer {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}
