:root {
  --color-bg: #0a0a0d;
  --color-text: rgba(255, 255, 255, 0.96);
  --color-sub: rgba(255, 255, 255, 0.72);
  --color-line: rgba(255, 255, 255, 0.18);
  --color-accent: #c6a66a;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.18);
  --container-x: clamp(24px, 4vw, 56px);
  --container-y: clamp(22px, 3.6vw, 36px);
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.teaser {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-bg);
}

.teaser__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("./images/event-2025.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.015);
  animation: bgZoom 14s ease-out forwards;
}

.teaser__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.66) 22%,
      rgba(0, 0, 0, 0.34) 42%,
      rgba(0, 0, 0, 0.14) 62%,
      rgba(0, 0, 0, 0.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.06) 24%,
      rgba(0, 0, 0, 0.24) 100%
    );
}

.teaser::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 76%, rgba(198, 166, 106, 0.10), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.04), transparent 30%);
}

.teaser__header {
  position: absolute;
  top: var(--container-y);
  left: var(--container-x);
  right: var(--container-x);
  z-index: 3;
}

.teaser__sponsors {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}

.teaser__sponsorsLabel {
  margin: 0;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.teaser__sponsorsLogos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.teaser__sponsorCard {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.teaser__sponsorLogo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding:
    clamp(112px, 14vh, 150px)
    var(--container-x)
    clamp(28px, 5vh, 46px);
}

.hero__content {
  position: relative;
  max-width: 560px;
  align-self: flex-end;
  padding: 20px 24px 18px;
  animation: fadeUp 1.1s ease 0.15s both;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.34) 100%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.hero__eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 0.72rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 500px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero__titleTop {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero__titleBottom {
  display: block;
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero__copy {
  margin: 20px 0 0;
  max-width: 30rem;
}

.hero__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.94rem, 1.1vw, 1.04rem);
  line-height: 1.82;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero__copy p + p {
  margin-top: 6px;
}

.hero__copyNote {
  margin-top: 10px !important;
  color: rgba(255, 255, 255, 0.64) !important;
  font-size: 0.84em !important;
  letter-spacing: 0.03em !important;
  line-height: 1.75 !important;
}

.hero__meta {
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.hero__metaItem {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero__metaItem dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.6;
}

.hero__metaItem dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  letter-spacing: 0.03em;
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero__venueLine {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero__venue {
  display: inline-block;
}

.hero__mapLink {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.84em;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 166, 106, 0.45);
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.hero__mapLink:hover {
  opacity: 0.75;
  border-color: rgba(198, 166, 106, 0.8);
}

.hero__address {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.88em;
  letter-spacing: 0.03em;
  line-height: 1.65;
}

.hero__addressSub {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82em;
  letter-spacing: 0.03em;
  line-height: 1.65;
}

.hero__notice {
  display: block;
}

.hero__noticeSub {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86em;
  letter-spacing: 0.03em;
  line-height: 1.65;
}

.countdown {
  align-self: flex-end;
  display: grid;
  grid-template-columns: repeat(4, minmax(68px, 96px));
  gap: 10px;
  padding: 0;
  animation: fadeUp 1.1s ease 0.35s both;
}

.countdown__item {
  position: relative;
  padding: 14px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.countdown__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.countdown__num {
  display: block;
  font-size: clamp(1.7rem, 2.3vw, 2.45rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  display: block;
  margin-top: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.54);
}

.is-ended .countdown {
  grid-template-columns: minmax(220px, 420px);
}

.is-ended .countdown__item {
  padding: 18px 20px;
}

.is-ended .countdown__num {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: 0.18em;
}

.is-ended .countdown__label {
  margin-top: 12px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.015);
  }
}

@media (max-width: 1200px) {
  .hero {
    gap: 32px;
  }

  .hero__content {
    max-width: 540px;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(64px, 88px));
  }
}

@media (max-width: 1024px) {
  .hero {
    gap: 28px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .hero__content {
    max-width: 580px;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(68px, 1fr));
    width: min(100%, 520px);
  }
}

@media (max-width: 767px) {
  .teaser__bg {
    background-position: center center;
  }

  .teaser__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.46) 0%,
        rgba(0, 0, 0, 0.38) 24%,
        rgba(0, 0, 0, 0.62) 64%,
        rgba(0, 0, 0, 0.84) 100%
      ),
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.36) 0%,
        rgba(0, 0, 0, 0.14) 100%
      );
  }

  .teaser__header {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .teaser__sponsors {
    gap: 7px;
  }

  .teaser__sponsorsLabel {
    font-size: 0.60rem;
    letter-spacing: 0.20em;
  }

  .teaser__sponsorsLogos {
    gap: 8px;
  }

  .teaser__sponsorCard {
    width: 88px;
    height: 40px;
    padding: 6px 8px;
  }

  .hero {
    padding: 112px 20px 22px;
    gap: 24px;
  }

  .hero__content {
    max-width: 100%;
    padding: 16px 16px 14px;
  }

  .hero__content::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.28) 0%,
      rgba(0, 0, 0, 0.42) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .hero__eyebrow {
    margin-bottom: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
  }

  .hero__title {
    max-width: 100%;
    gap: 8px;
  }

  .hero__titleTop {
    font-size: clamp(1rem, 4.6vw, 1.28rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
  }

  .hero__titleBottom {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    line-height: 1;
  }

  .hero__copy {
    margin-top: 18px;
    max-width: 100%;
  }

  .hero__copy p {
    font-size: 0.92rem;
    line-height: 1.76;
  }

  .hero__copyNote {
    font-size: 0.82em !important;
    line-height: 1.68 !important;
  }

  .hero__meta {
    margin-top: 22px;
    gap: 10px;
  }

  .hero__metaItem {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-top: 10px;
  }

  .hero__metaItem dt {
    font-size: 0.66rem;
  }

  .hero__metaItem dd {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .hero__venueLine {
    gap: 7px;
  }

  .hero__mapLink {
    font-size: 0.80em;
  }

  .hero__address,
  .hero__noticeSub,
  .hero__addressSub {
    font-size: 0.84em;
  }

  .countdown {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-top: 0;
  }

  .countdown__item {
    padding: 12px 10px 10px;
  }

  .countdown__num {
    font-size: 1.75rem;
  }

  .countdown__label {
    margin-top: 7px;
    font-size: 0.60rem;
    letter-spacing: 0.18em;
  }

  .is-ended .countdown {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .hero__titleBottom {
    font-size: 1.7rem;
  }

  .countdown__num {
    font-size: 1.55rem;
  }
}