/* ============================================
   Sperare Membership — Design Tokens
============================================ */
:root {
  --bg-primary:   #0a0a0f;
  --bg-card:      #14141c;
  --bg-card-alt:  #101017;
  --gold:         #c9a45c;
  --gold-bright:  #e8c97a;
  --gold-dim:     #8a7040;
  --text-primary: #f5f0e6;
  --text-muted:   #9a948a;

  --tier-vip:     #c9a45c;
  --tier-dia:     #7ec8e3;
  --tier-black:   #999;
  --tier-plat:    #c0c0cc;
  --tier-gold:    #d4af37;
  --tier-std:     #8a8a8a;

  --font-serif: "Cormorant Garamond", "Shippori Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;

  --max-width: 1200px;
}

/* ============================================
   Reset
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--gold-dim); color: var(--text-primary); }

/* ============================================
   Utility
============================================ */
.section { padding: 100px 24px; position: relative; }
.section-alt { background: var(--bg-card-alt); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }

.section-eyebrow {
  font-family: var(--font-serif);
  color: var(--gold);
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 0.95rem;
}

.contact-eyebrow { margin-top: 72px; }

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: 1px solid var(--gold-dim);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #0a0a0f;
  font-weight: 600;
  border: none;
}
.btn-primary:hover {
  box-shadow: 0 0 24px rgba(201, 164, 92, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(201, 164, 92, 0.08);
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(201, 164, 92, 0.25);
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Header
============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 24px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gold-dim);
  padding: 14px 24px;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-desktop { display: flex; gap: 40px; }
.nav-desktop a {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 4px;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-desktop a:hover::after { width: 100%; }
.nav-desktop a:hover { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.nav-mobile.is-open { max-height: 240px; }
.nav-mobile a {
  padding: 14px 8px;
  border-bottom: 1px solid rgba(138, 112, 64, 0.3);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

/* ============================================
   Hero
============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201, 164, 92, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 164, 92, 0.10), transparent 55%),
    linear-gradient(180deg, #0a0a0f 0%, #0f0e13 60%, #0a0a0f 100%);
  z-index: -1;
}

.hero-content { max-width: 720px; }

.hero-eyebrow {
  font-family: var(--font-serif);
  color: var(--gold);
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary), var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: var(--gold-dim);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-bright);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -60px; }
  60% { top: 60px; }
  100% { top: 60px; }
}

/* ============================================
   Membership Cards
============================================ */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tier-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(201, 164, 92, 0.15);
}

.tier-card.is-premium {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, var(--gold-bright), var(--gold-dim), var(--gold-bright)) border-box;
}

.tier-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: 999px;
  color: #0a0a0f;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  box-shadow: 0 4px 12px rgba(201, 164, 92, 0.4);
}

.tier-kana {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.tier-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tier-color, var(--gold-bright));
  margin-bottom: 20px;
}

.tier-price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--tier-color, var(--gold));
  margin-bottom: 4px;
}

.tier-price-unit {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tier-benefits {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.tier-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.tier-benefits li::before {
  content: "✓";
  color: var(--tier-color, var(--gold));
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   Special Menu
============================================ */
.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  padding: 22px 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(201, 164, 92, 0.12);
}

.menu-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item-kana {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.menu-item-price {
  font-family: var(--font-serif);
  color: var(--gold-bright);
  font-size: 1.3rem;
  font-weight: 600;
  white-space: nowrap;
}

.menu-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 28px;
}

/* ============================================
   Coming Soon
============================================ */
.coming-soon-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px dashed var(--gold-dim);
  border-radius: 4px;
  padding: 48px 32px;
  text-align: center;
  filter: grayscale(0.6);
  opacity: 0.75;
  position: relative;
}

.coming-soon-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  border: 1px solid var(--text-muted);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 20px;
}

.coming-soon-kana {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.coming-soon-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.coming-soon-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   Notice / Contact
============================================ */
.notice-list {
  max-width: 640px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notice-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.notice-list li::before {
  content: "―";
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}

.store-info {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.9;
  margin-bottom: 32px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   Footer
============================================ */
.site-footer {
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid var(--gold-dim);
}

.footer-logo-img {
  height: 32px;
  width: auto;
  margin: 0 auto 12px;
}

.footer-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}
.footer-link:hover { color: var(--gold-bright); }

.footer-copy {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 900px) {
  .membership-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 72px 20px; }
  .membership-grid { grid-template-columns: 1fr; }
  .menu-list { grid-template-columns: 1fr; }
  .header-inner { padding: 0; }
  .contact-buttons { flex-direction: column; align-items: stretch; }
  .contact-buttons .btn { text-align: center; }
}
