:root {
  color-scheme: light;
  --ink: #10131f;
  --paper: #fff7df;
  --paper-deep: #ffe9a8;
  --muted: #5b5160;
  --blue: #2659ff;
  --blue-deep: #10298d;
  --pink: #ff4d9d;
  --yellow: #ffd43b;
  --green: #3df2b0;
  --line: #151515;
  font-family:
    Inter, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16px 16px, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 24px),
    linear-gradient(135deg, #121633 0%, #232465 42%, #ff4d9d 100%);
  color: var(--ink);
  line-height: 1.7;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  display: block;
  width: 42vmin;
  height: 42vmin;
  border: 18px solid rgba(255, 212, 59, 0.75);
  content: "";
  transform: rotate(18deg);
}

body::before {
  top: -14vmin;
  right: -10vmin;
}

body::after {
  bottom: -18vmin;
  left: -12vmin;
  border-color: rgba(61, 242, 176, 0.55);
  border-radius: 50%;
}

a {
  color: inherit;
}

main {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto;
  overflow: hidden;
  border: 5px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 77, 157, 0.12) 58% 72%, transparent 72%),
    radial-gradient(circle at 10% 12%, rgba(38, 89, 255, 0.17), transparent 19rem),
    radial-gradient(circle at 92% 22%, rgba(61, 242, 176, 0.24), transparent 17rem),
    var(--paper);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.35);
}

main::before {
  position: absolute;
  inset: 18px;
  z-index: 0;
  border: 2px dashed rgba(16, 19, 31, 0.22);
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

main::after {
  position: absolute;
  top: 26px;
  right: -72px;
  z-index: 0;
  width: 250px;
  padding: 8px 0;
  background: var(--yellow);
  color: var(--ink);
  content: "GAME FES 2026";
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  transform: rotate(35deg);
  border-block: 3px solid var(--line);
}

.hero,
.page-header,
.section,
.info-band {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  display: grid;
  min-height: 78vh;
  place-items: center;
  padding: 86px 0 52px;
  text-align: center;
}

.hero__content {
  max-width: 870px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  border: 3px solid var(--line);
  background: var(--green);
  padding: 5px 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--line);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(3rem, 10vw, 7.7rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-wrap: balance;
  text-shadow:
    4px 4px 0 var(--yellow),
    8px 8px 0 rgba(255, 77, 157, 0.55);
}

h2 {
  display: inline;
  margin-bottom: 26px;
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  font-size: clamp(1.55rem, 4vw, 2.55rem);
  font-weight: 950;
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.35;
}

.catchcopy {
  display: inline-block;
  margin-bottom: 24px;
  border: 4px solid var(--line);
  background: var(--blue);
  padding: 10px 18px;
  color: #ffffff;
  font-size: clamp(1.25rem, 3.6vw, 2.3rem);
  font-weight: 900;
  line-height: 1.35;
  box-shadow: 8px 8px 0 var(--pink);
}

.hero__text,
.page-header p {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 4px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  padding: 0 28px;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 7px 7px 0 var(--line);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 var(--line);
}

.section {
  padding: 46px 0;
}

.section--compact {
  padding-top: 26px;
}

.section__inner {
  border: 4px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(38, 89, 255, 0.09) 0 50%, transparent 50%),
    var(--paper-deep);
  background-size: 18px 18px;
  padding: 30px;
  box-shadow: 9px 9px 0 rgba(16, 19, 31, 0.9);
}

.overview,
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.overview article,
.event-card,
.status {
  border: 3px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 7px 7px 0 rgba(16, 19, 31, 0.88);
}

.overview article {
  padding: 20px;
}

.overview article:nth-child(2),
.event-card:nth-child(even) {
  background: #eef3ff;
}

.overview article:nth-child(3) {
  background: #fff0f7;
}

.overview p,
.event-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin-bottom: 70px;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 9px 9px 0 rgba(16, 19, 31, 0.9);
}

.info-band div {
  padding: 18px 20px;
  background: #ffffff;
}

.info-band div:nth-child(2) {
  background: var(--yellow);
}

.info-band span,
.event-card__meta {
  display: block;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-band strong {
  display: block;
  margin-top: 4px;
  font-size: 1.06rem;
  font-weight: 950;
  line-height: 1.35;
}

.page-header {
  padding: 62px 0 16px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(3rem, 9vw, 6.4rem);
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 5px 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--line);
}

.back-link:hover {
  background: var(--green);
}

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

.event-card {
  position: relative;
  padding: 24px;
}

.event-card::before {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px;
  height: 22px;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-right: 32px;
}

.event-card__meta span {
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  padding: 4px 10px;
  color: var(--ink);
}

.event-card h2 {
  display: block;
  margin-bottom: 10px;
  background: none;
  font-size: 1.35rem;
}

.status {
  padding: 18px 20px;
  color: var(--muted);
  font-weight: 900;
}

.status--error {
  background: #fff1f1;
  color: #a61919;
}

@media (max-width: 820px) {
  body {
    background:
      radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 22px),
      linear-gradient(135deg, #121633 0%, #232465 48%, #ff4d9d 100%);
  }

  main {
    width: min(100% - 22px, 1120px);
    margin: 14px auto;
    border-width: 4px;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34);
  }

  main::before {
    inset: 12px;
  }

  main::after {
    top: 18px;
    right: -86px;
    width: 250px;
    font-size: 0.72rem;
  }

  .hero,
  .page-header,
  .section,
  .info-band {
    width: min(100% - 28px, 960px);
  }

  .hero {
    min-height: auto;
    padding: 68px 0 38px;
  }

  h1,
  .page-header h1 {
    font-size: clamp(2.55rem, 14vw, 4.3rem);
    text-shadow:
      3px 3px 0 var(--yellow),
      6px 6px 0 rgba(255, 77, 157, 0.55);
  }

  .catchcopy {
    padding: 9px 12px;
    box-shadow: 5px 5px 0 var(--pink);
  }

  .section__inner {
    padding: 22px;
    box-shadow: 6px 6px 0 rgba(16, 19, 31, 0.9);
  }

  .overview,
  .event-grid,
  .info-band {
    grid-template-columns: 1fr;
  }

  .overview article,
  .event-card,
  .status,
  .info-band {
    box-shadow: 5px 5px 0 rgba(16, 19, 31, 0.88);
  }

  .info-band div + div {
    border-top: 3px solid var(--line);
  }
}
