/* ============================================
   MENU — menu cards + full-screen horizontal scroll
   Dipakai di index2.html (/club)
   ============================================ */

/* ============ MENU LIST ============ */
.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  flex: 1;
  max-width: 960px;
  margin: auto;
}

@media (min-width: 600px) {
  .menu-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.menu-card {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border-gold-soft);
  border-radius: 12px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  min-height: 76px;
}

.menu-card:active {
  transform: scale(0.98);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: #1f1f24;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 12px;
  border: 1px solid rgba(212, 175, 55, 0.08);
}

.card-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.card-desc {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 400;
}

.card-arrow {
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 380px) {
  .menu-card { padding: 10px; flex-direction: column; text-align: center; gap: 8px; }
  .card-icon { margin-right: 0; }
  .card-arrow { display: none; }
}

@media (min-width: 768px) {
  .menu-card { padding: 18px 20px; min-height: 90px; }
  .card-icon { width: 48px; height: 48px; margin-right: 16px; }
  .card-icon svg { width: 22px; height: 22px; }
  .card-title { font-size: 15px; }
  .card-desc { font-size: 12px; }
}

/* ============ FULLSCREEN PAGE ============ */
.page {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  width: 100dvw;
  background: #000;
  z-index: 100;
  display: none;
  flex-direction: column;
}

.page.active { display: flex; }

.page-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 16px 14px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
  pointer-events: none;
}

.page-header > * { pointer-events: auto; }

.back-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.back-btn:active { background: rgba(212, 175, 55, 0.25); }

.back-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* ============ HORIZONTAL SCROLL ============ */
.scroll-wrap {
  flex: 1;
  display: flex;
  overflow-y: hidden;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  will-change: scroll-position;       /*  */
  overscroll-behavior-x: contain;     /*  */
}

.scroll-wrap::-webkit-scrollbar { display: none; }
.scroll-wrap { scrollbar-width: none; }

.full-item {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
  touch-action: pan-x;
}

.full-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img-url);
  background-size: cover;
  background-position: center;
  filter: blur(25px) brightness(0.3);
  z-index: 0;
  
}

.full-item img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.full-item .info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 80px 20px calc(32px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.4) 60%, transparent);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
}

.full-item .info .name {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
  color: #f5efdc;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.full-item .info .price {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--gold);
  letter-spacing: 2px;
}

.counter {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  right: calc(16px + env(safe-area-inset-right));
  z-index: 120;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold);
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: calc(20px + env(safe-area-inset-right));
  z-index: 120;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideHint 1.6s infinite ease-in-out;
  pointer-events: none;
}

.scroll-hint svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes slideHint {
  0%, 100% { transform: translateX(0); opacity: 0.9; }
  50%      { transform: translateX(6px); opacity: 0.5; }
}