/* ============================================================
   EXTRAS — new sections + interactions
============================================================ */

/* Magnetic button — extra motion smoothing */
.btn, .icon-btn { will-change: transform; }

/* Sound toggle (FAB) */
.sound-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--surface-line);
  color: var(--ink-200);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--dur-fast);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
}
.sound-fab:hover { border-color: var(--gold-300); color: var(--gold-100); }
.sound-fab .bars { display: flex; gap: 2px; align-items: center; height: 14px; }
.sound-fab .bars span {
  width: 2px; background: currentColor; border-radius: 1px;
  animation: eq 1s infinite ease-in-out;
}
.sound-fab .bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.sound-fab .bars span:nth-child(2) { height: 80%; animation-delay: .2s; }
.sound-fab .bars span:nth-child(3) { height: 60%; animation-delay: .4s; }
.sound-fab .bars span:nth-child(4) { height: 90%; animation-delay: .1s; }
.sound-fab.off .bars span { animation-play-state: paused; height: 30%; opacity: .4; }
@keyframes eq {
  0%, 100% { transform: scaleY(.4); }
  50% { transform: scaleY(1.4); }
}

/* ==========================================================
   MEMBERSHIP — join block
========================================================== */
.membership {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--surface-line);
  border-radius: 4px;
  overflow: hidden;
  min-height: 520px;
}
@media (max-width: 860px) {
  .membership { grid-template-columns: 1fr; }
}
.membership-img {
  position: relative;
  overflow: hidden;
}
.membership-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.85) contrast(1.05);
  transform: scale(1.02);
  transition: transform 1.6s var(--ease-out-cubic);
}
.membership:hover .membership-img img { transform: scale(1.06); }
.membership-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(0,0,0,.4));
}
.membership-body {
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-1);
}
.membership-body h3 {
  font-family: var(--font-serif-kr);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink-100);
  margin-bottom: var(--s-4);
}
html[data-era="modern"] .membership-body h3 {
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
}
.membership-tiers {
  display: grid;
  gap: var(--s-3);
  margin: var(--s-5) 0;
}
.tier-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--surface-line);
  align-items: baseline;
}
.tier-row:last-child { border-bottom: 0; }
.tier-row .tname {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
  min-width: 80px;
}
.tier-row .tdesc {
  font-size: 13px;
  color: var(--ink-300);
  line-height: 1.5;
}
.tier-row .tprice {
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
  color: var(--ink-100);
  font-size: 16px;
  font-feature-settings: "tnum" 1;
}
.tier-row .tprice small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-500);
  margin-top: 2px;
  text-align: right;
}

/* ==========================================================
   EVENTS — horizontal scroll cards
========================================================== */
.events-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 380px);
  gap: var(--s-5);
  overflow-x: auto;
  padding-bottom: var(--s-4);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.events-rail::-webkit-scrollbar { height: 6px; }
.event-card {
  scroll-snap-align: start;
  background: var(--surface-1);
  border: 1px solid var(--surface-line);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--dur-fast), transform var(--dur-med) var(--ease-out-cubic);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-3px);
}
.event-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.82) contrast(1.05);
  transition: transform 900ms var(--ease-out-cubic);
}
.event-card:hover .event-img img { transform: scale(1.08); }
.event-date {
  position: absolute;
  top: var(--s-4);
  left: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-100);
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
}
.event-tag {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-200);
  background: rgba(0,0,0,.6);
  padding: 6px 10px;
  border-radius: 2px;
}
.event-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.event-en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.event-kr {
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-100);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.event-meta {
  display: flex;
  justify-content: space-between;
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--surface-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-400);
}
.event-meta .seats { color: var(--gold-300); }

.events-head-extra {
  display: flex;
  gap: 8px;
  align-items: center;
}
.rail-arrows {
  display: flex;
  gap: 4px;
}
.rail-arrows button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--surface-line);
  background: transparent;
  color: var(--ink-300);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--dur-fast);
  display: grid;
  place-items: center;
}
.rail-arrows button:hover {
  border-color: var(--gold-300);
  color: var(--gold-100);
}

/* Input / Form elements */
.inp {
  width: 100%;
  background: var(--surface-0);
  border: 1px solid var(--surface-line);
  color: var(--ink-100);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 14px 16px;
  border-radius: 3px;
  outline: none;
  transition: border-color var(--dur-fast);
  -webkit-appearance: none;
}
.inp::placeholder { color: var(--ink-500); }
.inp:focus { border-color: var(--gold-300); }
select.inp { cursor: pointer; }
select.inp option { background: var(--surface-1); color: var(--ink-100); }
textarea.inp { line-height: 1.6; }

/* Light mode inputs */
:root[data-mode="light"] .inp {
  background: var(--surface-0);
  color: var(--ink-100);
}

html[data-era="modern"] .hero-title .dot-end { color: var(--gold-300); }

/* Remove some "casino" visuals: pulse too strong → softer */
@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 3px rgba(168,194,226,.14); }
  50% { box-shadow: 0 0 0 5px rgba(168,194,226,0); }
}
[data-accent="sapphire"] .hero-chip .live,
[data-accent="sapphire"] .nav-concierge .live,
[data-accent="sapphire"] .res-timer .dot {
  animation: pulse-soft 2.4s infinite;
}

/* Cursor — hide in light mode (customary for light sites) */
:root[data-mode="light"] .cursor-dot,
:root[data-mode="light"] .cursor-ring {
  display: none;
}

/* Light mode bottle media — photo heavy */
:root[data-mode="light"] .bottle {
  background: var(--surface-1);
  border-color: var(--surface-line-soft);
}
:root[data-mode="light"] .bottle:hover { border-color: var(--gold-400); }
