:root {
  --white: #fff;
  --gold: #caa667;
  --deep-red: #650707;
  --ring-red: #a54848;
  --font-display: barlow-condensed, "Arial Narrow", Impact, sans-serif;
}

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

html {
  min-height: 100%;
  overflow-x: hidden;
  background-color: var(--deep-red);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  overflow-x: hidden;
  color: var(--white);
  font-family: var(--font-display);
  background:
    linear-gradient(90deg, rgba(75, 0, 0, 0.16), rgba(0, 0, 0, 0.06)),
    url("/image/tmariko_template/ppptokyo-live/background.png") center / cover no-repeat,
    var(--deep-red);
}

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

.countdown-page {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 48px 28px;
}

.page-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.word-ring {
  position: fixed;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: clamp(1080px, 75vw, 1540px);
  max-width: none;
  opacity: 1;
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: rotation1 190s linear infinite;
  mix-blend-mode: hard-light;
  pointer-events: none;
  user-select: none;
}

.hero {
  display: flex;
  width: min(100%, 840px);
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.logo {
  width: 212px;
  height: 217px;
  object-fit: contain;
  margin-bottom: 18px;
  transform: translateX(8px);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.16));
}

h1 {
  margin: 0 0 50px;
  color: var(--gold);
  font-size: 78px;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}

.open-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(100%, 420px);
  min-width: 0;
  margin: 0 0 34px;
  padding: 6px 16px 9px;
  border: 2px solid currentColor;
  font-size: 35px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.open-date span,
.open-date time {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.countdown-number,
.countdown-label {
  display: block;
  color: var(--white);
}

.countdown-number {
  font-size: 57px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 1px;
}

.countdown-label {
  margin-top: 10px;
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
}

@keyframes rotation1 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 767px) {
  body {
    overflow-y: auto;
  }

  .countdown-page {
    min-height: 100vh;
    min-height: 100svh;
    padding: 15vh 44px 10vh;
  }

  .word-ring {
    width: clamp(850px, 188vw, 1120px);
    opacity: 1;
  }

  .hero {
    width: 100%;
    transform: translateY(-52px);
  }

  .logo {
    width: min(54vw, 212px);
    height: auto;
    margin-bottom: 24px;
  }

  h1 {
    margin-bottom: 45px;
    font-size: clamp(45px, 12.8vw, 74px);
    letter-spacing: 0.012em;
  }

  .open-date {
    width: 100%;
    min-width: 0;
    gap: 20px;
    margin-bottom: 42px;
    padding: 14px 16px 18px;
    border-width: 3px;
    font-size: clamp(27px, 7vw, 38px);
    letter-spacing: 0;
  }

  .countdown {
    justify-content: center;
    gap: 30px;
  }

  .countdown-number {
    font-size: clamp(51px, 11.8vw, 72px);
  }

  .countdown-label {
    margin-top: 10px;
    font-size: clamp(25px, 5.5vw, 32px);
  }
}

@media (max-width: 430px) {
  .countdown-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .open-date {
    gap: 14px;
    margin-bottom: 30px;
    padding: 8px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: clamp(21px, 10vw, 32px);
  }

  .countdown {
    gap: 30px;
  }
}
