:root {
  color-scheme: dark;
  --background: #0b001a;
  --surface-deep: #1a0b2e;
  --surface: #250f44;
  --pink: #ff007f;
  --cyan: #00f0ff;
  --white: #ffffff;
  --muted: #b9cacb;
  --font-pixel: "JetBrains Mono", ui-monospace, monospace;
  --font-headline: "Space Grotesk", "Noto Sans JP", sans-serif;
  --font-body: "Hanken Grotesk", "Noto Sans JP", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #e2e2e2;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 50% 6%, rgba(77, 0, 128, 0.34), transparent 32rem),
    var(--background);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #ffff00;
  outline-offset: 4px;
}

p,
h1 {
  margin-top: 0;
}

.scanlines {
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.07) 0,
    rgba(255, 255, 255, 0.07) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: soft-light;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(20px, 4vw, 56px);
  border-bottom: 2px solid var(--pink);
  background: rgba(5, 5, 5, 0.92);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.site-brand,
.site-status {
  margin: 0;
  font-family: var(--font-pixel);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-brand {
  color: var(--pink);
  font-size: 18px;
  text-decoration: none;
  text-shadow: 1px 0 rgba(0, 240, 255, 0.42), -1px 0 rgba(255, 0, 127, 0.42);
}

.site-status {
  color: var(--cyan);
  font-size: 13px;
  text-shadow: 0 0 7px rgba(0, 240, 255, 0.7);
}

main {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  overflow: hidden;
}

.synthwave-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 127, 0.2) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 78%, transparent 100%);
}

.teaser {
  display: grid;
  justify-items: center;
  width: min(100% - 48px, 960px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 9vw, 112px);
  text-align: center;
}

.teaser-heading {
  width: 100%;
}

.event-kicker {
  margin-bottom: 24px;
  color: var(--cyan);
  font-family: var(--font-pixel);
  font-size: clamp(13px, 1.7vw, 18px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.62);
}

.event-logo {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 25px rgba(255, 0, 127, 0.8));
  image-rendering: crisp-edges;
}

h1 {
  margin: clamp(34px, 5vw, 52px) 0 clamp(46px, 6vw, 68px);
  color: var(--white);
  font-family: var(--font-headline);
  font-size: clamp(27px, 4.7vw, 48px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-shadow: 2px 0 rgba(0, 240, 255, 0.34), -2px 0 rgba(255, 0, 127, 0.42), 0 0 18px rgba(255, 255, 255, 0.16);
}

.mobile-break {
  display: none;
}

.mobile-event-break {
  display: none;
}

.event-panel {
  position: relative;
  display: grid;
  gap: 28px;
  width: min(100%, 780px);
  padding: clamp(34px, 5vw, 52px);
  border: 2px solid var(--pink);
  background: rgba(26, 11, 46, 0.94);
  box-shadow:
    0 0 0 4px var(--background),
    0 0 0 6px var(--pink),
    0 0 26px rgba(255, 0, 127, 0.3);
}

.event-panel::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(0, 240, 255, 0.22);
  content: "";
  pointer-events: none;
}

.panel-tag {
  position: absolute;
  top: 0;
  left: 22px;
  z-index: 1;
  padding: 5px 10px;
  color: var(--background);
  font-family: var(--font-pixel);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  background: var(--pink);
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.68);
}

.event-date,
.event-details,
.calendar-actions,
.coming-soon {
  position: relative;
  z-index: 1;
}

.label {
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: var(--font-pixel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.58);
}

.date {
  margin-bottom: 0;
  color: var(--cyan);
  font-family: var(--font-pixel);
  font-size: clamp(32px, 6.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 0 0 11px rgba(0, 240, 255, 0.72);
}

.date span {
  color: var(--white);
  font-size: 0.5em;
  letter-spacing: 0.11em;
}

.event-details {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255, 0, 127, 0.64);
  border-bottom: 1px solid rgba(255, 0, 127, 0.64);
}

.detail-item {
  display: grid;
  align-content: center;
  min-height: 118px;
  padding: 22px 24px;
}

.detail-item + .detail-item {
  border-top: 1px solid rgba(255, 0, 127, 0.64);
  border-left: 0;
}

.detail-item p:last-child {
  margin-bottom: 0;
  color: var(--white);
  font-family: var(--font-headline);
  font-size: clamp(17px, 2.3vw, 22px);
  font-weight: 700;
  line-height: 1.55;
}

.detail-item .venue {
  font-family: var(--font-pixel);
  letter-spacing: 0.04em;
}

.calendar-actions {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(0, 240, 255, 0.56);
  background: rgba(11, 0, 26, 0.5);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.12) inset;
}

.calendar-actions-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.calendar-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calendar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  color: var(--cyan);
  font-family: var(--font-pixel);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--cyan);
  background: rgba(0, 240, 255, 0.06);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.24);
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.calendar-link:hover,
.calendar-link:focus-visible {
  color: var(--background);
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.68);
}

.coming-soon {
  justify-self: center;
  min-width: min(100%, 340px);
  margin: 0;
  padding: 13px 24px;
  color: var(--background);
  font-family: var(--font-headline);
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--pink);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.62);
}

.hashtags {
  margin: 38px 0 26px;
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 700;
  letter-spacing: 0.07em;
}

.live-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  color: var(--white);
  font-family: var(--font-headline);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--cyan);
  background: #102c47;
  box-shadow: 0 4px 0 #005d68, 0 0 15px rgba(0, 240, 255, 0.55);
  transition: filter 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.live-site-link:hover {
  filter: brightness(1.16);
  transform: translateY(-1px);
}

.live-site-link:active {
  box-shadow: 0 1px 0 #005d68, 0 0 10px rgba(0, 240, 255, 0.45);
  transform: translateY(3px);
}

.live-site-link > span:first-child,
.live-site-link .arrow {
  color: var(--cyan);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.live-site-link .arrow {
  font-size: 18px;
}

.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 4vw, 56px);
  border-top: 2px solid var(--pink);
  background: #06000d;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.32) inset;
}

.footer-brand {
  color: var(--pink);
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-family: var(--font-pixel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-social-links a {
  color: var(--cyan);
  transition: color 160ms ease, text-shadow 160ms ease;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  color: var(--white);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
}

.site-footer small {
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.03em;
}

@media (max-width: 767px) {
  .site-header {
    min-height: 68px;
    padding: 14px 20px;
  }

  .site-brand {
    font-size: 16px;
  }

  .site-status {
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  main {
    min-height: calc(100vh - 68px);
  }

  .teaser {
    width: min(100% - 32px, 960px);
    padding: 52px 0 68px;
  }

  .event-kicker {
    margin-bottom: 20px;
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: 0.11em;
  }

  .event-logo {
    width: 100%;
  }

  h1 {
    margin: 34px 0 48px;
    font-size: clamp(25px, 7.5vw, 34px);
    line-height: 1.55;
    letter-spacing: 0.035em;
  }

  .mobile-break {
    display: block;
  }

  .mobile-event-break {
    display: block;
  }

  .event-panel {
    gap: 24px;
    padding: 34px 20px 28px;
    box-shadow:
      0 0 0 2px var(--background),
      0 0 0 4px var(--pink),
      0 0 20px rgba(255, 0, 127, 0.26);
  }

  .panel-tag {
    left: 14px;
    max-width: calc(100% - 28px);
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .date {
    font-size: clamp(29px, 9.2vw, 42px);
    letter-spacing: 0.01em;
  }

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

  .detail-item {
    min-height: 0;
    padding: 20px 12px;
  }

  .detail-item + .detail-item {
    border-top: 1px solid rgba(255, 0, 127, 0.64);
    border-left: 0;
  }

  .detail-item p:last-child {
    font-size: 18px;
  }

  .calendar-actions {
    padding: 16px 12px;
  }

  .calendar-links {
    grid-template-columns: 1fr;
  }

  .coming-soon {
    min-width: 0;
    width: 100%;
    padding-inline: 12px;
    font-size: 18px;
  }

  .hashtags {
    margin-top: 32px;
  }

  .live-site-link {
    flex-wrap: wrap;
    width: 100%;
    gap: 7px 10px;
    padding-inline: 14px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
    text-align: center;
  }

  .site-footer small {
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
