/* ==========================================================================
   GAD Launch LP — Design Tokens
   Concept: 東京の夜景とライブ会場のネオン。GADロゴの「地球儀×未来感」を
   タイポグラフィと余白で表現する。JA=シアン基調 / EN=エメラルド基調。
   ========================================================================== */

:root {
  /* --- Base --- */
  --bg: #07070d;
  --surface: #0e0f1a;
  --surface-raised: #14162a;
  --text: #f3f4f8;
  --text-muted: #9aa0b8;
  --border: rgba(255, 255, 255, 0.1);

  /* --- Accent (JA既定：フライヤーのシアン系) --- */
  --accent: #4fd8e8;
  --accent-soft: rgba(79, 216, 232, 0.16);
  --accent-secondary: #8b6cff; /* 参考画像の紫のステージ照明 */

  /* --- 動画/写真に掛ける色相フィルター（言語別の世界観差分） --- */
  --media-hue: 0deg;
  --media-saturate: 1;

  /* --- Type --- */
  --font-display: "Playfair Display", "Noto Serif JP", serif;
  --font-body: "Inter", "Noto Sans JP", sans-serif;
  --font-tech: "Orbitron", "Inter", sans-serif;

  /* --- Layout --- */
  --header-height: 76px;
  --section-padding-y: clamp(80px, 12vw, 160px);
  --content-max: 1160px;
  --gutter: clamp(24px, 5vw, 64px);
}

/* EN：エメラルド系に切り替え。動画・写真もhue-rotateで色温度をシフト */
:root[data-lang="en"] {
  --accent: #46e8b0;
  --accent-soft: rgba(70, 232, 176, 0.16);
  --media-hue: 26deg;
  --media-saturate: 1.05;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* すべてのメディア（動画キャンバス・写真）に言語別カラーを一括適用。
   ロゴは透過PNGを別レイヤーで重ねる設計にし、フィルター対象から外すこと。 */
.motion-canvas,
.fv-fallback-bg,
.artist-card__photo {
  filter: hue-rotate(var(--media-hue)) saturate(var(--media-saturate));
  transition: filter 0.6s ease;
}

/* ==========================================================================
   Loading Overlay
   ========================================================================== */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.loading-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-mark {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--accent);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(7, 7, 13, 0.9), transparent);
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5))
          drop-shadow(0 0 14px rgba(79, 216, 232, 0.4));
}

.header-nav {
  display: none;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--accent);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-toggle__ja,
.lang-toggle__en {
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.5;
}

.lang-toggle__divider {
  color: var(--text-muted);
}

:root[data-lang="ja"] .lang-toggle__ja,
:root[data-lang="en"] .lang-toggle__en {
  color: var(--accent);
  opacity: 1;
}

/* ==========================================================================
   First View
   ========================================================================== */
.fv {
  position: relative;
  height: 160vh;
}

.fv-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.fv-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.motion-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.motion-canvas.is-ready {
  opacity: 1;
}

/* 本番シネマティック動画のフレームが揃うまでの仮背景。
   TODO: frames1/ 連番読み込みが動き出したら不要になる。 */
.fv-fallback-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/reference-01.png");
  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease;
}

.fv-fallback-bg.is-hidden {
  opacity: 0;
}

.fv-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(7, 7, 13, 0.35) 45%, rgba(7, 7, 13, 0.55) 100%),
    linear-gradient(to right, rgba(7, 7, 13, 0.5) 0%, transparent 50%);
}

.fv-content {
  position: relative;
  z-index: 1;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-height) + 40px) var(--gutter) 76px;
}

.fv-top,
.fv-middle,
.fv-bottom {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.fv-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 720px) {
  .fv-top {
    align-items: flex-end;
    text-align: right;
  }
}

.fv-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 18px;
}

.fv-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fv-title__presents {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.fv-title__main {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(56px, 13vw, 132px);
  line-height: 0.92;
  color: var(--text);
  letter-spacing: -0.01em;
}

.fv-cta-wrapper {
  margin-top: 24px;
}

.fv-middle {
  max-width: 420px;
}

.fv-copy {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0;
}

.fv-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

@media (min-width: 560px) {
  .fv-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.fv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-display);
  font-size: 19px;
}

.fv-meta__venue::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--border);
  margin-right: 20px;
  vertical-align: middle;
}

.fv-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border: 1px solid rgba(180, 220, 230, 0.4);
  border-radius: 999px;
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(180, 220, 230, 0.12) 20%, rgba(60, 90, 110, 0.1) 50%, rgba(20, 35, 45, 0.18) 65%, rgba(120, 170, 190, 0.12) 100%),
    linear-gradient(135deg, rgba(79, 216, 232, 0.25), rgba(139, 108, 255, 0.25));
  background-blend-mode: overlay;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow:
    0 0 18px rgba(79, 216, 232, 0.45),
    0 2px 4px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -1px 2px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease, transform 0.25s ease, filter 0.25s ease;
  width: fit-content;
  overflow: hidden;
}

.fv-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.6) 48%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.fv-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 0 26px rgba(79, 216, 232, 0.7),
    0 4px 8px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -1px 2px rgba(0, 0, 0, 0.45);
}

.fv-cta:hover::before {
  transform: translateX(120%);
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 2px;
  height: 52px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.scroll-cue span {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scroll-cue-fall 1.8s ease-in-out infinite;
}

@keyframes scroll-cue-fall {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ==========================================================================
   共通セクション
   ========================================================================== */
.section {
  padding: var(--section-padding-y) 0;
  position: relative;
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 40px;
}

/* ==========================================================================
   About
   ========================================================================== */
.about-section {
  background: var(--surface);
}

.about-body {
  max-width: 640px;
  font-size: 16px;
  color: var(--text-muted);
}

.about-body p {
  margin: 0 0 24px;
}

.about-closing {
  color: var(--text);
}

/* ==========================================================================
   Event Information
   ========================================================================== */
.event-section {
  position: relative;
}

.event-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .event-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.event-block {
  background: rgba(7, 7, 13, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 32px 28px;
}

.event-block h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 500;
}

.event-dates {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
}

.event-dates li {
  display: flex;
  gap: 16px;
}

.event-dates__vol {
  color: var(--accent);
  font-size: 14px;
  min-width: 44px;
}

.event-time {
  color: var(--text-muted);
  font-size: 14px;
}

.event-venue-name {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 12px;
}

.event-venue-address,
.event-venue-access {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 8px;
}

/* ==========================================================================
   Lineup
   ========================================================================== */
.lineup-section {
  background: var(--surface);
}

.artist-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}

@media (min-width: 720px) {
  .artist-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .artist-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.artist-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

/* アーティスト写真：個別素材の到着待ちプレースホルダー。
   background-imageが指定された場合はそのまま写真がcoverで表示される */
.artist-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--surface-raised);
  background-size: cover;
  background-position: center;
  position: relative;
}

.artist-card__photo::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.artist-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 24px 24px 8px;
}

.artist-card__genre,
.artist-card__market {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 24px 8px;
}

.artist-card__market {
  margin-bottom: 24px;
}

.youtube-embed {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
}

.youtube-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 28px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.youtube-link--secondary {
  padding: 10px 22px;
  font-size: 12px;
  color: var(--text-muted);
}

.youtube-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.youtube-link__icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   Tickets
   ========================================================================== */
.ticket-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
  margin-bottom: 32px;
}

@media (min-width: 900px) {
  .ticket-grid {
    max-width: 1100px;
    gap: 32px;
  }
}

@media (min-width: 768px) {
  .ticket-card__price {
    font-size: 120px;
  }

  .ticket-card {
    padding: 80px 32px;
  }
}

.ticket-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 56px 32px;
  text-align: center;
}

@media (min-width: 900px) {
  .ticket-card {
    padding: 80px 40px;
  }
}

.ticket-card__type {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.ticket-card__price {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 100px);
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.ticket-card__price > span:not(.count-up):not(.ticket-card__yen) {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
}

.ticket-card__type {
  font-size: 16px;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}

.ticket-card__yen {
  font-size: 0.5em;
  font-weight: 500;
  vertical-align: 0.2em;
  margin-right: 2px;
}

.ticket-note {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 48px;
}

.special-offer {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  max-width: 560px;
}

.special-offer__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 12px;
}

.special-offer__copy {
  font-size: 18px;
  margin: 0 0 8px;
}

.special-offer__note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Reservation
   ========================================================================== */
.reservation-section {
  background: var(--surface);
}

.reservation-form-placeholder {
  border: 1px dashed var(--border);
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 48px;
  color: var(--text-muted);
  font-size: 13px;
}

.form-fields-preview {
  margin: 16px 0 0;
  padding-left: 20px;
}

.form-fields-preview li {
  margin-bottom: 6px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-links__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0;
}

.social-links a {
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 64px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.site-footer__logo {
  height: 40px;
  width: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4))
          drop-shadow(0 0 12px rgba(79, 216, 232, 0.3));
}

.site-footer__copy,
.site-footer__mail {
  font-size: 12px;
  color: var(--text-muted);
}

.site-footer__credit {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease;
}

.site-footer__credit:hover {
  color: var(--accent);
}

/* ==========================================================================
   Mobile FAB（予約導線）
   ========================================================================== */
#fab-group {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
}

.fab-reserve {
  position: absolute;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(180, 220, 230, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(180, 220, 230, 0.12) 20%, rgba(60, 90, 110, 0.1) 50%, rgba(20, 35, 45, 0.18) 65%, rgba(120, 170, 190, 0.12) 100%),
    linear-gradient(135deg, rgba(79, 216, 232, 0.25), rgba(139, 108, 255, 0.25));
  background-blend-mode: overlay;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow:
    0 0 18px rgba(79, 216, 232, 0.45),
    0 2px 4px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.utility-btn {
  position: absolute;
  right: 0;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 7, 13, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
}

.utility-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

#auto-scroll-btn {
  bottom: 0;
}

#to-top-btn {
  bottom: 0;
}

#auto-scroll-btn.is-active svg.icon-play {
  display: none;
}

#auto-scroll-btn.is-active svg.icon-pause {
  display: block;
}

#auto-scroll-btn.is-active {
  border-color: var(--accent);
}

/* + トグルボタン */
#fab-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

#fab-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--bg);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

#fab-toggle span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

/* 展開時：CTA・トップへ戻る・自動スクロールを表示し、+ を × に回転 */
#fab-group.open .fab-reserve {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-64px) scale(1);
}

#fab-group.open #to-top-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-176px) scale(1);
}

#fab-group.open #auto-scroll-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-120px) scale(1);
}

#fab-group.open #fab-toggle span {
  transform: translate(-50%, -50%) rotate(45deg);
}

#fab-group.open #fab-toggle span::before {
  transform: rotate(90deg);
}



/* ==========================================================================
   画像ブレイク：会場写真をフルブリードで一瞬見せる演出
   ========================================================================== */
.image-break {
  position: relative;
  height: 60vh;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: hue-rotate(var(--media-hue)) saturate(var(--media-saturate));
  transition: filter 0.6s ease;
}

.image-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    transparent 15%,
    transparent 85%,
    var(--bg) 100%
  );
}

.image-break--venue {
  background-image: url("../assets/images/reference-01.png");
}

.image-break--crowd {
  background-image: url("../assets/images/reference-02.png");
}

/* iOSはbackground-attachment: fixedが不安定なため、モバイルはscrollに切替 */
@media (max-width: 768px) {
  .image-break {
    background-attachment: scroll;
    height: 45vh;
    min-height: 280px;
  }
}

/* ==========================================================================
   EVENT INFORMATION：スクロール連動モーション背景
   ========================================================================== */
.event-section {
  position: relative;
  height: 130vh;
  color: var(--text);
}

.event-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.event-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.event-fallback-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/reference-02.png");
  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease;
}

.event-fallback-bg.is-hidden {
  opacity: 0;
}

.event-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(7, 7, 13, 0.55) 20%, rgba(7, 7, 13, 0.55) 80%, var(--bg) 100%),
    linear-gradient(to right, rgba(7, 7, 13, 0.6) 0%, transparent 60%);
}

.event-section .section-inner {
  position: relative;
  z-index: 1;
}

.event-section .event-block h3,
.event-section .event-time,
.event-section .event-venue-address,
.event-section .event-venue-access,
.event-section .event-venue-name,
.event-section .event-dates,
.event-section .section-label {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.8);
}



/* ==========================================================================
   EVENT INFORMATION：スクロール連動の登場アニメーション
   JS側（js/main.js）がスクロール進捗に応じてopacity/transformを直接更新する
   ========================================================================== */
/* EVENT INFORMATIONは常に表示（スクロール連動の登場演出は廃止） */

/* ==========================================================================
   Orbitron：GADロゴの近未来感に寄せたUI要素のフォント
   ========================================================================== */
.header-nav a,
.section-label,
.fv-eyebrow,
.fv-title__presents,
.fv-meta__date,
.fv-meta__venue,
.event-dates,
.event-time,
.lang-toggle,
.ticket-card__type,
.special-offer__label,
.artist-card__genre,
.artist-card__market {
  font-family: var(--font-tech);
  letter-spacing: 0.06em;
}

/* モバイル：EVENT INFORMATIONの文字位置調整（動画の明るい部分と重ならないよう上にずらす） */
@media (max-width: 719px) {
  .event-stage .section-inner {
    padding-top: 15vh;
  }
}

/* ==========================================================================
   RESERVEボタン：呼吸するような光の点滅
   ========================================================================== */
@keyframes cta-breathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(79, 216, 232, 0.6), 0 4px 20px rgba(79, 216, 232, 0.25);
  }
  50% {
    box-shadow: 0 0 22px 10px rgba(139, 108, 255, 0.15), 0 4px 20px rgba(79, 216, 232, 0.25);
  }
}

.fv-cta {
  animation: cta-breathe 2.6s ease-in-out infinite;
}

.fab-reserve {
  animation: cta-breathe 2.6s ease-in-out infinite;
}

/* ==========================================================================
   LINEUPカード：スクロールで画面に入った時の登場演出
   ========================================================================== */
.artist-card {
  opacity: 0;
  transform: translateY(32px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.artist-card.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.artist-card:nth-child(1).is-revealed { transition-delay: 0s; }
.artist-card:nth-child(2).is-revealed { transition-delay: 0.12s; }
.artist-card:nth-child(3).is-revealed { transition-delay: 0.24s; }
.artist-card:nth-child(4).is-revealed { transition-delay: 0.36s; }

/* ==========================================================================
   カウントダウンタイマー
   ========================================================================== */
.countdown {
  display: flex;
  gap: 18px;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}

.countdown__value {
  font-family: var(--font-tech);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.countdown__label {
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==========================================================================
   TICKETS：サウンドウェーブの装飾アニメーション
   ========================================================================== */
.tickets-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 90px;
}

.soundwave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.soundwave__bar {
  width: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform-origin: center;
  animation: soundwave-pulse 2.2s ease-in-out infinite;
}

@keyframes soundwave-pulse {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.tickets-section .section-inner {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   カーソル追従スポットライト（PCのみ）
   ========================================================================== */
#cursor-spotlight {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 216, 232, 0.08) 0%, rgba(139, 108, 255, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 5;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

@media (min-width: 900px) and (hover: hover) {
  #cursor-spotlight {
    display: block;
  }
}

/* ==========================================================================
   セクション切り替え時のワイプ演出
   ========================================================================== */
.section-wipe {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--accent), var(--accent-secondary), transparent);
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 16px 3px rgba(79, 216, 232, 0.45);
}

.section-wipe.is-active {
  animation: section-wipe-sweep 1.1s ease-out;
}

@keyframes section-wipe-sweep {
  0% {
    left: -4px;
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  85% {
    opacity: 0.85;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* モバイル：チケット価格のサイズ調整（画面幅に対して大きすぎて見切れるのを防ぐ） */
@media (max-width: 599px) {
  .ticket-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ticket-card {
    padding: 32px 20px;
  }

  .ticket-card__price {
    font-size: clamp(36px, 11vw, 52px);
  }

  .ticket-card__price > span:not(.count-up):not(.ticket-card__yen) {
    font-size: 13px;
  }
}

/* ==========================================================================
   Google Forms埋め込み：レスポンシブ対応
   ========================================================================== */
.reservation-form-embed {
  max-width: 640px;
  margin: 0 0 48px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.reservation-form-embed iframe {
  width: 100%;
  height: 1526px;
  border: none;
  display: block;
}

@media (max-width: 599px) {
  .reservation-form-embed iframe {
    height: 1700px;
  }
}

/* ==========================================================================
   EVENT INFORMATION：Googleマップ埋め込み
   ========================================================================== */
.event-map {
  margin-top: 20px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.event-map iframe {
  width: 100%;
  height: 220px;
  border: none;
  display: block;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

/* ==========================================================================
   動画ブレイク①：background-imageに代わるvideo要素のスタイル
   ========================================================================== */
.image-break__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-map-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 20px 0 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* モバイル：EVENT INFORMATIONの縦はみ出し対策 */
@media (max-width: 719px) {
  .event-stage {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    align-items: flex-start;
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .event-section {
    height: auto;
  }
}

.event-dates li.is-past {
  opacity: 0.35;
  text-decoration: line-through;
}
