@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;500;700;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --bg: #0b0c0e;
  --bg-alt: #17191c;
  --bg-card: #1f2226;
  --text: #f4f1ea;
  --text-dim: #a9a69f;
  --accent: #bf6c28;
  --accent-light: #dc7c2e;
  --accent-dark: #8f4f1c;
  --accent-2: #6a88a0;
  --border: #2c2f34;
  --radius: 4px;
  --maxw: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.display {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(11,12,14,0.9), rgba(11,12,14,0));
  padding: 18px 0;
  transition: background 0.3s;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.logo span { color: var(--accent); }

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 3px;
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}

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

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 72%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-alt);
    padding: 90px 32px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 26px; }
  .main-nav a { font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, #14161a 0%, #0b0c0e 100%);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('../images/room_aframe_3.jpg');
  background-size: cover;
  background-position: center 30%;
}

.hero-media img, .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,12,14,0.35) 0%, rgba(11,12,14,0.55) 55%, rgba(11,12,14,0.97) 92%),
    linear-gradient(90deg, rgba(11,12,14,0.75) 0%, rgba(11,12,14,0.1) 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 90px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: var(--accent-light);
  border: 1px solid var(--accent-dark);
  background: rgba(191,108,40,0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 20px;
}

.hero-content .catch {
  font-size: clamp(2rem, 5.2vw, 3.8rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 14px;
  max-width: 820px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.hero-content .catch-sub {
  color: var(--text-dim);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  margin: 0 0 40px;
  max-width: 560px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.stat-strip {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
}

.stat-strip .stat {
  display: flex;
  flex-direction: column;
}

.stat-strip .stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text);
  letter-spacing: 0.03em;
}

.stat-strip .stat .num span { color: var(--accent-light); }

.stat-strip .stat .label {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

a.stat { transition: transform 0.15s; }
a.stat:hover { transform: translateY(-2px); }
a.stat:hover .num { color: var(--accent-light); }
a.stat:hover .num span { color: var(--accent); }

.hero-mascot {
  position: absolute;
  right: 5%;
  bottom: 100px;
  z-index: 2;
  width: clamp(140px, 20vw, 300px);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5));
}

@media (max-width: 620px) {
  .hero-mascot { display: none; }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  z-index: 2;
}

/* ---------- Section shell ---------- */
section { padding: 80px 0; }

.section-label {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--accent);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  margin: 0 0 6px;
}

.section-title {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 36px;
}

/* ---------- Events ---------- */
.events { background: var(--bg-alt); }

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.event-card.spotlight {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
}

@media (max-width: 760px) {
  .event-card.spotlight { flex-direction: column; }
}

.event-card.spotlight .event-flyer {
  width: 320px;
  flex-shrink: 0;
  aspect-ratio: auto;
  height: auto;
  object-position: top center;
  border-bottom: none;
  border-right: 1px solid var(--border);
}

@media (max-width: 760px) {
  .event-card.spotlight .event-flyer {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.event-card.spotlight .event-body { flex: 1; }

.event-card .event-flyer {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--border);
}

.event-card .event-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
  letter-spacing: 0.05em;
}

.event-tag.host { background: rgba(224,134,44,0.15); color: var(--accent); border: 1px solid var(--accent-dark); }
.event-tag.sponsor { background: rgba(106,136,160,0.2); color: #a9c2d6; border: 1px solid var(--accent-2); }

.event-card h3 { margin: 0; font-size: 1.25rem; }

.event-meta { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
.event-meta strong { color: var(--text); font-weight: 600; }

.event-actions { display: flex; gap: 12px; margin-top: auto; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--accent);
  transition: transform 0.15s, background 0.15s;
}

.btn-solid { background: var(--accent); color: #17191c; }
.btn-solid:hover { background: var(--accent-light); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-sponsor { border-color: var(--accent-2); color: #a9c2d6; }
.btn-sponsor:hover { background: var(--accent-2); color: #0b0c0e; }

/* ---------- 4-way button zone ---------- */
.gate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .gate-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gate-grid { grid-template-columns: 1fr; }
}

.gate-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #23262b, #121316);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background-size: cover;
  background-position: center;
  transition: border-color 0.2s;
}

.gate-card:hover { border-color: var(--accent); }

.gate-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0.05) 0%, rgba(11,12,14,0.35) 45%, rgba(11,12,14,0.96) 100%);
  transition: background 0.2s;
  z-index: 0;
}

.gate-card:hover::after { background: linear-gradient(180deg, rgba(11,12,14,0) 0%, rgba(11,12,14,0.25) 45%, rgba(11,12,14,0.92) 100%); }

.gate-card > div { position: relative; z-index: 1; }

.gate-card .icon {
  font-size: 1.7rem;
  margin-bottom: 10px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,12,14,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.gate-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.gate-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.gate-card.featured::after {
  background: linear-gradient(180deg, rgba(20,10,2,0.05) 0%, rgba(20,10,2,0.4) 45%, rgba(11,12,14,0.96) 100%);
}

.gate-card.featured:hover::after {
  background: linear-gradient(180deg, rgba(20,10,2,0) 0%, rgba(191,108,40,0.3) 45%, rgba(11,12,14,0.92) 100%);
}

.gate-card.featured { border-color: var(--accent-dark); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
}

.about-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #23262b, #121316);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-photo.mascot-plate {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-image:
    radial-gradient(circle at 50% 38%, rgba(191,108,40,0.35), transparent 60%),
    linear-gradient(180deg, rgba(11,12,14,0.15) 0%, rgba(11,12,14,0.55) 55%, rgba(11,12,14,0.95) 100%),
    url('../images/room_lounge_2.jpg');
  background-size: cover;
  background-position: center;
}

.about-photo.mascot-plate img {
  width: 58%;
  margin-bottom: 8%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.55));
}

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

/* ---------- Video grid ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }

.video-card { display: block; }

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #23262b, #121316);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 1.4rem;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb.has-img::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  background: rgba(11,12,14,0.25);
  opacity: 0;
  transition: opacity 0.2s;
}

.video-card:hover .video-thumb.has-img::after { opacity: 1; }

.video-card h4 {
  font-size: 0.85rem;
  margin: 0;
  font-weight: 500;
  color: var(--text-dim);
}

.video-grid + .center-link { text-align: center; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 16px; }
.social-links a { font-size: 1.3rem; }
.social-links a:hover { color: var(--accent); }

.site-footer .lang-switch a {
  color: var(--text-dim);
  margin-left: 12px;
}
.site-footer .lang-switch a.active { color: var(--accent); }

/* ---------- Inner page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 70px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero.with-photo {
  background-size: cover;
  background-position: center;
}

.page-hero.with-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0.55) 0%, rgba(11,12,14,0.88) 100%);
}

.page-hero .wrap { position: relative; z-index: 1; }

.page-hero .section-label { margin-bottom: 10px; }
.page-hero h1 {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}
.page-hero p { color: var(--text-dim); max-width: 640px; margin: 0; }

/* ---------- Generic content blocks ---------- */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
}

.callout.warning {
  border-left-color: #c0483f;
  background: rgba(192,72,63,0.1);
}
.callout.warning strong { color: #e08277; }

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.section-header-flex .section-title { margin-bottom: 0; }

.callout.compact {
  margin: 0;
  padding: 18px 22px;
  max-width: 360px;
  flex-shrink: 0;
}

.callout.compact strong { font-size: 0.95rem; }

.callout.compact p {
  font-size: 0.85rem;
  margin: 8px 0 14px;
}

.callout.compact .btn {
  padding: 9px 18px;
  font-size: 0.8rem;
}

@media (max-width: 860px) {
  .callout.compact { max-width: 100%; }
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0 40px;
}
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 32px;
}

.brand-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat-card .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--accent);
  display: block;
}

.stat-card .label { font-size: 0.82rem; color: var(--text-dim); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(160deg, #23262b, #121316);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Studio / base-camp masonry gallery ---------- */
.studio { background: var(--bg-alt); }

.masonry {
  columns: 3 260px;
  column-gap: 16px;
}

.masonry figure {
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.masonry img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.masonry figure:hover img { transform: scale(1.05); }

@media (max-width: 620px) {
  .masonry { columns: 2 160px; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

form.contact-form {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.password-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 28px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}
