:root {
  color-scheme: dark;
  --black: #0d0d0d;
  --panel: #151515;
  --panel-soft: #1b1b1b;
  --border: #2d2d2d;
  --muted: #a3a3a3;
  --yellow: #ffd23f;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 4%, rgba(255, 210, 63, 0.1), transparent 28rem),
    var(--black);
  color: var(--white);
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 900; }
.brand > span > span { color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language-pair { color: #d0d0d0; font-family: 'Inter', 'Noto Sans JP', sans-serif; font-size: 13px; font-weight: 700; }
.language-pair b { margin: 0 5px; color: var(--yellow); }
.home-link { padding: 9px 14px; border: 1px solid #444; border-radius: 999px; font-size: 13px; font-weight: 700; }
.home-link:hover { border-color: var(--yellow); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 78px);
  padding: clamp(46px, 8vw, 96px) clamp(24px, 6vw, 72px);
  border: 1px solid rgba(255, 210, 63, 0.42);
  border-radius: 32px;
  background: radial-gradient(circle at 90% 8%, rgba(255, 210, 63, 0.17), transparent 36%), linear-gradient(145deg, #18160e, #111 64%);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 210, 63, 0.45);
  border-radius: 999px;
  color: var(--yellow);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 0;
  padding-top: 22px;
  font-size: clamp(2.45rem, 5.6vw, 5rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
h1 span { display: block; }
.accent { color: var(--yellow); }
.hero-lead { margin: 26px 0 0; color: #d0d0d0; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.85; }
.hero-lead span { display: block; }
.hero-lead span[lang='en'] { color: #9a9a9a; font-family: 'Inter', sans-serif; }
.event-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 34px 0 0; }
.event-facts div { padding: 15px 16px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255, 255, 255, 0.035); }
.event-facts dt { color: #999; font-size: 12px; font-weight: 700; }
.event-facts dd { margin: 5px 0 0; font-size: 15px; font-weight: 800; line-height: 1.5; }

.join-panel {
  align-self: center;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.38);
}
.countdown-label { color: #999; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.countdown { display: block; margin-top: 8px; color: var(--yellow); font-family: 'Inter', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.live-status { min-height: 25px; margin: 14px 0 0; color: #aaa; font-size: 13px; font-weight: 600; }
.intent-prompt { margin: 20px 0 0; color: #d5d5d5; font-size: 13px; line-height: 1.65; }
.intent-prompt span { color: #979797; }
.join-buttons { display: grid; gap: 10px; margin-top: 24px; }
.join-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--yellow);
  border-radius: 14px;
  background: var(--yellow);
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}
.join-button.secondary { border-color: #484848; background: #202020; color: #fff; }
.join-button:hover { transform: translateY(-2px); background: #ffe16d; }
.join-button.secondary:hover { background: #2a2a2a; }
.join-button.is-registered { border-color: #74dda3; background: #163522; color: #e9fff1; }
.join-button.is-muted { border-color: #343434; background: #171717; color: #777; }
.intent-status { min-height: 22px; margin: 13px 0 0; color: #74dda3; font-size: 12px; font-weight: 700; line-height: 1.6; }
.join-note { margin: 17px 0 0; color: #858585; font-size: 12px; line-height: 1.65; }

.content-section { padding: clamp(76px, 10vw, 126px) 0; }
.section-heading { max-width: 750px; }
.section-heading > span, .safety-copy > span { color: var(--yellow); font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.11em; }
.section-heading h2, .bilingual-note h2, .safety-copy h2 { margin: 14px 0 0; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.2; letter-spacing: -0.045em; text-wrap: balance; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-family: 'Inter', sans-serif; font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.steps article { min-height: 250px; padding: 26px; border: 1px solid var(--border); border-radius: 22px; background: var(--panel); }
.step-number { color: var(--yellow); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 900; }
.steps h3 { margin: 58px 0 0; font-size: 20px; line-height: 1.5; }
.steps p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

.bilingual-note {
  padding: clamp(42px, 7vw, 74px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, #171717, #111);
}
.bilingual-note h2 { max-width: 900px; }
.bilingual-note p { max-width: 780px; margin: 22px 0 0; color: #aaa; font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.85; }

.safety-share { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 22px; padding: clamp(76px, 10vw, 126px) 0; }
.safety-copy, .share-card { padding: clamp(28px, 5vw, 48px); border: 1px solid var(--border); border-radius: 24px; background: var(--panel); }
.safety-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.safety-copy p { margin: 18px 0 0; color: #aaa; font-size: 14px; line-height: 1.85; }
.share-card { display: flex; flex-direction: column; justify-content: center; background: #17150e; }
.share-card > strong { font-size: 18px; line-height: 1.65; }
.share-card > p { margin: 8px 0 0; color: #999; font-family: 'Inter', sans-serif; font-size: 13px; }
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
.share-actions button, .share-actions a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 14px; border: 1px solid #4a4a4a; border-radius: 12px; background: #1c1c1c; color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.share-actions button:hover, .share-actions a:hover { border-color: var(--yellow); }
.share-status { min-height: 20px; margin-top: 8px; color: var(--yellow); font-size: 12px; overflow-wrap: anywhere; }

footer { display: flex; justify-content: space-between; gap: 20px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 42px; border-top: 1px solid var(--border); color: #777; font-size: 12px; }
footer a { color: #aaa; font-family: 'Inter', sans-serif; font-weight: 800; }

@media (max-width: 820px) {
  .event-hero { display: flex; flex-direction: column; gap: 24px; padding: clamp(30px, 6vw, 48px) clamp(24px, 5vw, 40px); }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { align-self: flex-start; order: 1; }
  .hero-copy h1 { order: 2; padding-top: 0; }
  .hero-copy .hero-lead { order: 3; }
  .join-panel { display: flex; order: 4; width: 100%; flex-direction: column; }
  .event-facts { order: 5; }
  .live-status { order: 1; margin-top: 0; }
  .join-buttons { order: 2; margin-top: 12px; }
  .intent-status { order: 3; }
  .intent-prompt { order: 4; margin-top: 12px; }
  .countdown-label { order: 5; margin-top: 18px; }
  .countdown { order: 6; }
  .join-note { order: 7; }
  .safety-share { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: auto; }
  .steps h3 { margin-top: 28px; }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { padding: 15px 0; }
  .brand { font-size: 17px; }
  .brand img { width: 29px; height: auto; }
  .language-pair { display: none; }
  .home-link { padding: 7px 10px; font-size: 12px; }
  .event-hero { gap: 16px; padding: 24px 20px 22px; border-radius: 22px; }
  h1 { padding-top: 0; font-size: clamp(2rem, 10vw, 3.25rem); }
  h1 span { white-space: nowrap; }
  .hero-lead span { display: inline; }
  .event-facts { grid-template-columns: 1fr; }
  .event-facts div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
  .event-facts dd { margin-top: 0; text-align: right; }
  .join-panel { padding: 18px; }
  .content-section { padding: 68px 0; }
  .section-heading h2 br { display: none; }
  .steps { margin-top: 32px; }
  .bilingual-note, .safety-copy, .share-card { padding: 28px 22px; border-radius: 20px; }
  .safety-share { padding: 68px 0; }
  .share-actions { grid-template-columns: 1fr; }
  footer { flex-direction: column; padding-bottom: 30px; }
}
