:root {
  --bg: #0f0f0f;
  --bg-soft: #171717;
  --card: #1c1c1c;
  --text: #f2f2f2;
  --muted: #cfcfcf;
  --accent: #8dd3ff;
  --accent-2: #ffd78d;
  --border: #2a2a2a;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 18px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1000px 600px at 15% 0%, #131313 0%, var(--bg) 70%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
}

.brand-logo {
  width: 60px;          /* adjust this to your logo’s proportions */
  height: auto;
  margin-right: 10px;
  border-radius: 8px;   /* optional: softens edges */
  object-fit: contain;
  vertical-align: middle;
}

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

.brand-title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
}

.meeple {
  font-size: 26px;
  margin-left: 4px;
}

/* Mobile-first sizing & tap targets */
:root {
  --tap: 48px; /* min tap size */
}

/* Make header actions finger-friendly */
.cta-instagram,
.lang-btn {
  min-height: var(--tap);
  min-width: var(--tap);
}

/* Ensure logo scales nicely but reserves space from HTML attrs */
.brand-logo {
  width: 56px;
  height: auto;           /* HTML width/height reserve aspect ratio; CSS scales down */
  margin-right: 10px;
  object-fit: contain;
  border-radius: 8px;
}

/* Mobile: stack brand elements cleanly */
@media (max-width: 520px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }
  .brand {
    gap: 8px;
    flex-wrap: wrap;
  }
  .cta-instagram {
    justify-self: start;
  }
  .lang-switch {
    justify-self: start;
  }
}

/* Hero image is already mobile-friendly; tighten paddings on small screens */
@media (max-width: 520px) {
  .hero { padding: 72px 0; }
  .hero-text { font-size: 14px; }
}

/* Prefer reduced motion: disable hero zoom or other animations if you added them */
@media (prefers-reduced-motion: reduce) {
  .hero { animation: none !important; }
}

/* Accessibility: clear focus states */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.brand-subtitle { margin: -2px 0 0 0; font-size: 13px; color: var(--muted); }

.cta-instagram {
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.cta-instagram:hover { transform: translateY(-1px); filter: brightness(1.05); }
.cta-instagram:active { transform: translateY(0); box-shadow: none; }

/* Language switcher */
.lang-switch { display: inline-flex; gap: 6px; justify-self: end; }
.lang-btn {
  background: #111; color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 10px;
  font-weight: 700; font-size: 12px;
  cursor: pointer;
}
.lang-btn[aria-pressed="true"] { outline: 2px solid var(--accent); }

/* Hero */
/* Hero with background image */
.hero {
  position: relative;
  background: url("images/inside.png") center center / cover no-repeat;
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* darkens image for text readability */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2; /* keeps text above overlay */
}

.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.2;
  margin: 0 0 16px 0;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-text {
  max-width: 650px;
  margin: 0 auto 24px;
  color: #e8e8e8;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
  color: #fff;
  transition: background 0.3s ease;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.25);
}


/* Cards/Grid */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 6px auto 26px; }
@media (min-width: 820px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0)); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px 0; font-size: 20px; }

/* Sections */
.section-header { margin: 40px 0 14px 0; text-align: left; }
.section-title { margin: 0 0 6px 0; font-size: clamp(20px, 3vw, 28px); }
.section-subtitle { margin: 0; color: var(--muted); }
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 820px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.menu-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.menu-card h4 { margin: 0 0 8px 0; font-size: 18px; }
.list { padding-left: 18px; margin: 10px 0 0 0; }
.list li { margin: 6px 0; }

/* FAQ */
.faq .faq-item { background: #131313; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.faq .faq-item > summary { cursor: pointer; font-weight: 600; }
.faq .faq-item > p { margin: 8px 0 0 0; color: var(--muted); }

/* Language visibility */
.lang-en, .lang-ja { display: inline; }
html[data-lang="ja"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-ja { display: none !important; }

/* Notes */
.note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; background: #0e0e0e; }
.footer-inner { padding: 18px 0 34px 0; text-align: center; }
.footer-small { margin: 6px 0 0 0; color: var(--muted); font-size: 13px; }
