:root {
  --void: #120818;
  --magenta: #ff4d8d;
  --cyan: #7ef0e4;
  --paper: #f7eef4;
  --muted: #c9b3c4;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--void);
  color: var(--paper);
  font-family: Karla, sans-serif;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { font-family: "Chakra Petch", sans-serif; font-weight: 600; letter-spacing: -0.03em; line-height: 0.95; margin: 0 0 0.4em; }
.hatch {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hatch span {
  position: absolute;
  width: 100%;
  height: 80px;
  left: 0;
  background: repeating-linear-gradient(-18deg, transparent 0 14px, rgba(255, 77, 141, 0.16) 14px 16px);
  animation: slash 12s linear infinite;
}
.hatch span:nth-child(1) { top: 8%; }
.hatch span:nth-child(2) { top: 42%; animation-duration: 16s; background: repeating-linear-gradient(-18deg, transparent 0 18px, rgba(126, 240, 228, 0.12) 18px 20px); }
.hatch span:nth-child(3) { top: 74%; animation-duration: 20s; }
.top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 3px solid var(--magenta);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  text-decoration: none;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.2rem;
}
.logo img { width: 36px; height: 36px; }
.top nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.top nav a { color: var(--paper); text-decoration: none; }
.pad {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
}
.opener { padding: 36px 0 12px; }
.opener h1 { font-size: clamp(2.6rem, 8vw, 5.4rem); max-width: 16ch; }
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  gap: 12px;
  padding-bottom: 28px;
}
.shot {
  position: relative;
  grid-row: span 3;
  overflow: hidden;
  border-radius: 18px;
  min-width: 0;
}
.shot img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.ring {
  position: absolute;
  inset: 10%;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse 2.4s ease-in-out infinite;
}
.pillar {
  background: #241028;
  border-radius: 16px;
  padding: 16px;
  min-width: 0;
  border: 1px solid rgba(126, 240, 228, 0.25);
}
.pillar strong { color: var(--magenta); font-family: "Chakra Petch", sans-serif; font-size: 1.3rem; display: block; }
.worlds, .band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.worlds article, .diary {
  background: rgba(18, 8, 24, 0.82);
  border-radius: 16px;
  padding: 16px;
  min-width: 0;
}
.shot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.shot-row img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 16px; }
.play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--magenta);
  color: #2a0614;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.bottom {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 28px 16px 18px;
  background: #1c0c22;
}
.bottom-in {
  width: min(1100px, calc(100% - 8px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.bottom ul { list-style: none; padding: 0; margin: 0; }
.bottom a { color: var(--cyan); }
.year { width: min(1100px, calc(100% - 8px)); margin: 12px auto 0; color: var(--muted); }
.sav {
  position: fixed;
  z-index: 7;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: #2a1028;
  color: var(--paper);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--cyan);
}
.sav p { margin: 0; max-width: 38rem; }
.ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}
@keyframes slash {
  from { background-position: 0 0; }
  to { background-position: -120px 0; }
}
@keyframes pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.45; }
  50% { transform: scale(1); opacity: 1; }
}
@media (max-width: 800px) {
  .bento, .worlds, .band, .shot-row, .bottom-in { grid-template-columns: 1fr; }
  .shot { grid-row: auto; }
  .opener h1 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
