:root {
  --black: #03040a;
  --ink: #080910;
  --white: #f8fbff;
  --cyan: #15d7ff;
  --pink: #ff11b7;
  --yellow: #ffe600;
  --orange: #ff4200;
  --line: rgba(255, 255, 255, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(3, 4, 10, 0.06), rgba(3, 4, 10, 0.55) 52%, rgba(3, 4, 10, 0.94)),
    url("../img/back_tate.png") center top / cover no-repeat;
  transform: scale(1.02);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 18%), rgba(21, 215, 255, 0.18), transparent 24rem),
    linear-gradient(90deg, rgba(255, 17, 183, 0.08), transparent 22%, transparent 78%, rgba(21, 215, 255, 0.08));
  mix-blend-mode: screen;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ruby rt {
  color: var(--cyan);
  font-family: "Bebas Neue", "Anton", sans-serif;
  font-size: 0.42em;
  letter-spacing: 0.08em;
  text-shadow: 0 0 10px rgba(21, 215, 255, 0.8);
}

.dechau-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(3, 4, 10, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.dechau-logo {
  display: flex;
  justify-content: center;
  padding: 9px 16px;
  background: var(--orange);
}

.dechau-logo img {
  width: min(72vw, 360px);
}

.dechau-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 6vw, 64px);
  padding: 8px 14px 10px;
  font-size: 0.82rem;
  font-weight: 900;
}

.dechau-nav a {
  position: relative;
}

.dechau-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.dechau-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-shell {
  position: relative;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 92px);
  place-items: center;
  padding: clamp(28px, 6vw, 70px) 18px 44px;
  overflow: hidden;
}

.scanlines,
.hero-grid,
.light-beam {
  pointer-events: none;
  position: absolute;
}

.scanlines {
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
  opacity: 0.18;
  animation: scanMove 5s linear infinite;
}

.hero-grid {
  right: -10vw;
  bottom: -28vh;
  left: -10vw;
  height: 56vh;
  z-index: 1;
  background:
    linear-gradient(rgba(21, 215, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 17, 183, 0.22) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(450px) rotateX(62deg);
  transform-origin: top center;
  animation: gridRun 1.6s linear infinite;
  mask-image: linear-gradient(transparent, black 35%, black);
}

.light-beam {
  top: -18vh;
  width: 24vw;
  height: 140vh;
  z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 17, 183, 0.22), transparent);
  filter: blur(7px);
  opacity: 0.68;
  transform: rotate(22deg);
  animation: beamPulse 4.8s ease-in-out infinite;
}

.beam-a {
  left: 2vw;
}

.beam-b {
  right: 4vw;
  background: linear-gradient(90deg, transparent, rgba(21, 215, 255, 0.2), transparent);
  transform: rotate(-20deg);
  animation-delay: -1.9s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(10px, 2vw, 18px);
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: rgba(3, 4, 10, 0.58);
  box-shadow: 0 0 28px rgba(21, 215, 255, 0.18);
  color: var(--white);
  font-weight: 900;
}

.eyebrow span {
  padding: 2px 9px 4px;
  background: var(--yellow);
  color: var(--ink);
  transform: skewX(-10deg);
}

.main-logo {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(255, 17, 183, 0.44)) drop-shadow(0 0 34px rgba(21, 215, 255, 0.24));
  animation: logoFloat 4.2s ease-in-out infinite;
}

.main-logo img {
  width: min(100%, 860px);
}

.date-unit {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, auto) auto;
  align-items: end;
  justify-content: center;
  gap: clamp(9px, 2vw, 18px);
  margin: clamp(4px, 1.5vw, 14px) auto clamp(18px, 3vw, 28px);
  line-height: 0.84;
  text-shadow: 0 0 20px rgba(255, 17, 183, 0.8);
}

.date-unit::before,
.date-unit::after {
  content: "";
  position: absolute;
  right: -2vw;
  left: -2vw;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 215, 255, 0.72), rgba(255, 17, 183, 0.72), transparent);
  transform: scaleX(0);
  transition: transform 0.42s ease;
}

.date-unit::before {
  top: -10px;
}

.date-unit::after {
  bottom: -12px;
}

.date-unit.is-counting {
  filter: drop-shadow(0 0 18px rgba(21, 215, 255, 0.48));
}

.date-unit.is-counting::before,
.date-unit.is-counting::after,
.date-unit.is-locked::before,
.date-unit.is-locked::after {
  transform: scaleX(1);
}

.date-unit.is-locked {
  animation: dateLock 0.42s steps(2, end);
}

.date-year,
.date-day {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.8rem, 7vw, 5rem);
  color: var(--cyan);
  writing-mode: vertical-rl;
  min-inline-size: 1.05em;
}

.date-main {
  font-family: "Anton", sans-serif;
  font-size: clamp(4.7rem, 18vw, 12.8rem);
  color: var(--white);
  font-variant-numeric: tabular-nums;
  min-width: 3.05em;
}

.date-year,
.date-main,
.date-day {
  will-change: contents, transform, filter;
}

.date-unit.is-counting .date-year,
.date-unit.is-counting .date-main,
.date-unit.is-counting .date-day {
  animation: digitJitter 0.12s steps(2, end) infinite;
}

.lead {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 24px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(3, 4, 10, 0.74), transparent);
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  font-weight: 900;
  line-height: 1.8;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(20px, 5vw, 42px);
  color: var(--white);
  font-weight: 900;
  animation: cueBounce 1.8s ease-in-out infinite;
}

.scroll-cue span {
  font-size: 0.92rem;
}

.scroll-cue b {
  color: var(--pink);
  font-family: "Bebas Neue", "Anton", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(3, 4, 10, 0.82);
}

.info-item {
  min-width: 0;
  padding: clamp(16px, 3vw, 28px) 10px;
  text-align: center;
}

.info-item + .info-item {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.info-item span {
  display: block;
  color: var(--cyan);
  font-family: "Bebas Neue", "Anton", sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  letter-spacing: 0.08em;
}

.info-item strong {
  display: block;
  margin-top: 5px;
  font-family: "Anton", "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 3.7vw, 2.4rem);
  line-height: 1;
}

.stores-section {
  position: relative;
  padding: clamp(54px, 9vw, 110px) 18px;
  background:
    linear-gradient(180deg, rgba(3, 4, 10, 0.3), rgba(3, 4, 10, 0.92)),
    radial-gradient(circle at 12% 24%, rgba(255, 230, 0, 0.1), transparent 22rem);
}

.stores-section::before {
  content: "KURUME JACK";
  position: absolute;
  top: 24px;
  left: 50%;
  color: rgba(255, 255, 255, 0.06);
  font-family: "Anton", sans-serif;
  font-size: clamp(4rem, 18vw, 15rem);
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

.section-heading {
  position: relative;
  z-index: 1;
  margin: 0 auto clamp(26px, 5vw, 48px);
  text-align: center;
}

.section-heading p {
  color: var(--yellow);
  font-weight: 900;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 0 22px rgba(255, 17, 183, 0.64);
}

.store-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  width: min(100%, 1060px);
  margin: 0 auto;
}

.store-card {
  position: relative;
  display: grid;
  gap: clamp(13px, 2vw, 18px);
  padding: clamp(10px, 1.7vw, 16px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 17, 183, 0.28), transparent 24%),
    linear-gradient(315deg, rgba(21, 215, 255, 0.24), transparent 26%),
    rgba(4, 7, 18, 0.88);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.46);
  transform-style: preserve-3d;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-card::before {
  content: "";
  position: absolute;
  inset: -70% -20%;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.22), transparent 65%);
  transform: translateX(-55%) rotate(8deg);
  transition: transform 0.6s ease;
}

.store-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
}

.store-card:hover,
.store-card:focus-within {
  border-color: rgba(21, 215, 255, 0.76);
  box-shadow: 0 24px 62px rgba(21, 215, 255, 0.18), 0 18px 44px rgba(0, 0, 0, 0.44);
}

.store-card:hover::before {
  transform: translateX(62%) rotate(8deg);
}

.store-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #060913;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 28px rgba(21, 215, 255, 0.16);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.store-photo::before,
.store-photo::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.store-photo::before {
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(3, 4, 10, 0.54)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

.store-photo::after {
  right: 0;
  bottom: 0;
  width: 72px;
  height: 22px;
  background: linear-gradient(90deg, var(--yellow), var(--pink));
  box-shadow: 0 0 18px rgba(255, 17, 183, 0.68);
}

.store-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.18) contrast(1.08);
  transition: transform 0.48s ease, filter 0.48s ease;
}

.store-card:hover .store-photo img {
  transform: scale(1.11);
  filter: saturate(1.34) contrast(1.14);
}

.store-card h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.04rem, 3vw, 1.86rem);
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
  padding: 4px clamp(4px, 1vw, 8px) 8px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
}

.alpha-ruby {
  display: block;
  margin-bottom: 5px;
  color: var(--yellow);
  font-family: "Bebas Neue", "Anton", sans-serif;
  font-size: 0.46em;
  letter-spacing: 0.1em;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.58);
}

.closing-panel {
  width: min(calc(100% - 36px), 820px);
  margin: 0 auto clamp(48px, 8vw, 90px);
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 4, 10, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 17, 183, 0.26), 0 0 54px rgba(255, 17, 183, 0.18);
  text-align: center;
}

.closing-panel .stamp {
  color: var(--cyan);
  font-family: "Anton", sans-serif;
  font-size: clamp(1.7rem, 6vw, 4rem);
}

.closing-panel h2 {
  margin: 8px 0;
  font-size: clamp(2rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
}

.closing-panel p:last-child {
  font-size: clamp(1rem, 2.7vw, 1.4rem);
  font-weight: 900;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 26px 18px 30px;
  background: #ff4200;
  color: #111;
}

.site-footer img {
  width: min(74vw, 360px);
}

.site-footer small {
  font-size: 0.72rem;
  font-weight: 700;
}

.js-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.glitch-hit {
  animation: glitchHit 0.22s steps(2, end);
}

@keyframes scanMove {
  from { transform: translateY(0); }
  to { transform: translateY(20px); }
}

@keyframes gridRun {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 54px, 0 54px; }
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.28; transform: translateX(-4vw) rotate(22deg); }
  50% { opacity: 0.82; transform: translateX(5vw) rotate(22deg); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.012); }
}

@keyframes cueBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes glitchHit {
  0% { transform: translate(0, 0) skewX(0); filter: hue-rotate(0); }
  30% { transform: translate(4px, -2px) skewX(-8deg); filter: hue-rotate(40deg); }
  60% { transform: translate(-5px, 2px) skewX(8deg); filter: hue-rotate(-35deg); }
  100% { transform: translate(0, 0) skewX(0); filter: hue-rotate(0); }
}

@keyframes digitJitter {
  0% { transform: translate(0, 0); filter: hue-rotate(0); }
  50% { transform: translate(1px, -1px); filter: hue-rotate(25deg); }
  100% { transform: translate(-1px, 1px); filter: hue-rotate(-20deg); }
}

@keyframes dateLock {
  0% { transform: scale(1); filter: brightness(1); }
  42% { transform: scale(1.035); filter: brightness(1.8); }
  100% { transform: scale(1); filter: brightness(1); }
}

@media (max-width: 720px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(3, 4, 10, 0.02), rgba(3, 4, 10, 0.42) 50%, rgba(3, 4, 10, 0.96)),
      url("../img/back_tate.png") center top / cover no-repeat;
  }

  .dechau-nav {
    gap: 0;
    justify-content: space-around;
  }

  .hero {
    min-height: calc(100svh - 84px);
    padding-inline: 14px;
  }

  .eyebrow {
    gap: 8px;
    font-size: 0.88rem;
  }

  .lead {
    text-align: left;
  }

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

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

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

  .store-card {
    min-height: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
