/* =========================
   中原店共用樣式 zhongyuan.css
   ========================= */

/* ===== 中原店整體背景 ===== */
body {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 30%),
    linear-gradient(to bottom, #050505 0%, #111 50%, #1a1a1a 100%);
  line-height: 1.9;
}

/* ===== 上方品牌列 ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.brand img {
  width: 46px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.brand h1,
.brand-text h1 {
  margin: 0;
  font-size: 20px;
}

.brand p,
.brand-text p {
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.back-btn {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 14px;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  transition: 0.25s ease;
}

.back-btn:hover {
  background: white;
  color: black;
}

/* ===== 首頁主視覺 ===== */
.hero {
  text-align: center;
  padding: 60px 20px 30px;
}

.hero h2 {
  font-size: 40px;
  margin: 0;
  letter-spacing: 3px;
}

.hero p {
  margin-top: 12px;
  color: rgba(255,255,255,0.7);
}

/* ===== 共用容器 ===== */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== 首頁遊戲卡片 ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:hover {
  text-decoration: none;
}

.card {
  background: #121212;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    opacity 0.6s ease;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.card:active {
  transform: scale(0.97);
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: black;
  transition: transform 0.4s ease;
}

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

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 26px;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 12px;
}

.meta {
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

/* ===== 共用按鈕 ===== */
.btn {
  display: inline-block;
  text-align: center;
  background: #ff2d6f;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(255,45,111,0.2);
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* 首頁卡片內按鈕撐滿 */
.card .btn {
  display: block;
  margin-top: auto;
}

/* ===== 首頁資訊區 ===== */
.info {
  margin-top: 40px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}

/* ===== 詳細頁主視覺（給 cheese / summer / punish / persona 用） ===== */
/* 注意：詳細頁 HTML 請把 <section class="hero"> 改成 <section class="detail-hero"> */
.detail-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 24px;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 36px;
  align-items: start;
}

.poster {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.poster img {
  width: 100%;
  display: block;
  border-radius: 14px;
  background: black;
  object-fit: contain;
}

.content h2 {
  margin: 0 0 10px;
  font-size: 42px;
  letter-spacing: 2px;
}

.subtitle {
  margin-bottom: 22px;
  color: rgba(255,255,255,0.68);
  font-size: 16px;
}

/* ===== 詳細頁資訊盒 ===== */
.story-box,
.info-box,
.notice-box,
.tips-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 22px;
  margin-top: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.box-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
  letter-spacing: 1px;
}

.story-text {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
}

/* ===== 詳細頁 meta 資訊 ===== */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.meta-item {
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.meta-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.meta-value {
  font-size: 17px;
  color: white;
  font-weight: 700;
}

.notice-box ol,
.tips-box ul {
  margin: 0;
  padding-left: 22px;
  color: rgba(255,255,255,0.8);
}

/* ===== 詳細頁底部預約區 ===== */
.bottom-action {
  max-width: 1200px;
  margin: 10px auto 60px;
  padding: 0 20px;
}

.booking-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.booking-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.booking-card p {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.72);
}

/* ===== 觸控裝置 ===== */
@media (hover: none) {
  .card img {
    transform: scale(1.02);
  }
}

/* ===== 手機版 ===== */
@media (max-width: 900px) {
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .content h2 {
    font-size: 34px;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .card-title {
    font-size: 24px;
  }

  .card-desc {
    font-size: 14px;
  }

  .topbar {
    padding: 14px 18px;
  }

  .container {
    padding: 18px;
  }
}
