/* 古德酒馆 · PC 官网样式 */
:root {
  --bg: #0b0a0d;
  --bg-soft: #121016;
  --card: #17141c;
  --line: rgba(255, 255, 255, 0.08);
  --txt: #f6f1e9;
  --sub: #9c9488;
  --accent: #a82b22;
  --accent-deep: #591512;
  --gold: #e8b45a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- 导航 ---------- */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(13, 13, 16, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.topnav.scrolled { background: rgba(13, 13, 16, 0.92); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 28px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 16px; color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  overflow: hidden;
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.nav-name { font-weight: 800; letter-spacing: 1px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--sub); transition: color 0.2s; }
.nav-links a:hover { color: var(--txt); }
.nav-tel {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 16px;
  background: var(--card);
  transition: border-color 0.2s, color 0.2s;
}
.nav-tel:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('./assets/storefront.jpg') center 42% / cover no-repeat;
  opacity: 0.62;
  filter: saturate(1.05);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 8, 11, 0.78) 0%, rgba(9, 8, 11, 0.5) 42%, rgba(9, 8, 11, 0.94) 100%),
    radial-gradient(circle at 50% 45%, rgba(232, 180, 90, 0.12), transparent 55%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.32; }
.g1 { width: 480px; height: 480px; background: var(--accent); top: -140px; left: -120px; }
.g2 { width: 380px; height: 380px; background: var(--gold); bottom: -120px; right: -80px; opacity: 0.2; }
.hero-inner { position: relative; text-align: center; padding-top: 64px; }
.hero-logo {
  width: 108px; height: 108px;
  margin: 0 auto 22px;
  border-radius: 30px;
  display: grid; place-items: center;
  font-size: 48px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 20px 60px rgba(232, 52, 47, 0.35);
  overflow: hidden;
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-en { letter-spacing: 6px; color: var(--gold); font-size: 13px; font-weight: 600; }
.hero-title { font-size: 56px; font-weight: 900; letter-spacing: 4px; margin: 8px 0 10px; }
.hero-sub { color: var(--sub); font-size: 17px; letter-spacing: 2px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin: 32px 0 40px; }
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 32px;
  font-size: 15px; font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; box-shadow: 0 10px 30px rgba(232, 52, 47, 0.35); }
.btn.ghost { border: 1px solid var(--line); background: var(--card); color: var(--txt); }
.btn:hover { transform: translateY(-2px); }
.hero-meta { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; color: var(--sub); font-size: 14px; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: var(--sub); font-size: 20px;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- 公告条 ---------- */
.notice-bar {
  background: linear-gradient(90deg, rgba(232, 52, 47, 0.16), rgba(212, 162, 74, 0.12));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.notice-inner { display: flex; align-items: center; gap: 12px; padding: 13px 24px; font-size: 14px; color: var(--txt); }

/* ---------- 区块通用 ---------- */
.sec { padding: 88px 0; }
.sec-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-tag { color: var(--gold); letter-spacing: 5px; font-size: 12px; font-weight: 700; }
.sec-title { font-size: 32px; font-weight: 900; margin: 6px 0 10px; letter-spacing: 2px; }
.sec-sub { color: var(--sub); margin-bottom: 40px; font-size: 15px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s;
}
.about-card:hover { transform: translateY(-4px); border-color: rgba(212, 162, 74, 0.4); }
.about-ico {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.about-card h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: 1px; }
.about-card p { color: var(--sub); font-size: 14px; }

/* ---------- 门店实景 ---------- */
.sec-gallery { background: #0e0c10; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: 20px; align-items: stretch; }
.gallery-photo {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-side {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gallery-logo { width: 100%; border-radius: 14px; }
.gallery-side p { color: var(--sub); font-size: 14px; line-height: 1.9; }

/* ---------- 活动 ---------- */
.act-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.act-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 24px;
  display: flex; gap: 18px;
  overflow: hidden;
  transition: transform 0.25s;
}
.act-card:hover { transform: translateY(-4px); }
.act-emoji {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 28px;
}
.act-info h3 { font-size: 17px; margin-bottom: 6px; }
.act-meta { color: var(--sub); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; }
.act-tag {
  position: absolute; top: 16px; right: 16px;
  font-size: 12px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.tag-open { background: rgba(232, 52, 47, 0.18); color: #ff8a80; }
.tag-full { background: rgba(255, 255, 255, 0.08); color: var(--sub); }
.tag-end { background: rgba(255, 255, 255, 0.06); color: var(--sub); }
.act-empty { color: var(--sub); font-size: 15px; padding: 30px 0; text-align: center; }

/* ---------- 菜单 ---------- */
.cat-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  padding: 8px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--sub);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.chip.active { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; border-color: transparent; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.menu-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  padding: 20px;
  transition: transform 0.25s, border-color 0.25s;
}
.menu-card:hover { transform: translateY(-4px); border-color: rgba(212, 162, 74, 0.4); }
.menu-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.menu-sym {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.menu-name { font-weight: 700; font-size: 15px; }
.menu-cat { color: var(--gold); font-size: 12px; }
.menu-desc { color: var(--sub); font-size: 13px; min-height: 40px; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.menu-price { color: var(--gold); font-size: 20px; font-weight: 800; }
.menu-price::before { content: "¥"; font-size: 13px; margin-right: 2px; }
.menu-stock { color: var(--sub); font-size: 12px; }
.out-tag { color: #ff8a80; }

/* ---------- 储值 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  padding: 26px 22px;
  text-align: center;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.hot { border-color: rgba(212, 162, 74, 0.55); background: linear-gradient(160deg, rgba(212, 162, 74, 0.08), var(--card) 55%); }
.plan-hot {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #a97b2c);
  color: #1a1408;
  font-size: 12px; font-weight: 800;
  padding: 4px 14px;
  border-radius: 16px;
  white-space: nowrap;
}
.plan-pay { font-size: 34px; font-weight: 900; color: var(--txt); }
.plan-pay::before { content: "¥"; font-size: 18px; margin-right: 2px; color: var(--sub); }
.plan-pay-label { color: var(--sub); font-size: 13px; margin-top: 4px; }
.plan-gift { margin-top: 14px; color: var(--gold); font-weight: 700; }
.plan-times { color: var(--sub); font-size: 13px; margin-top: 4px; }
.plan-tip {
  margin-top: 30px;
  border: 1px dashed rgba(212, 162, 74, 0.4);
  border-radius: 16px;
  padding: 18px 22px;
  color: var(--sub);
  font-size: 14px;
  display: flex; gap: 12px; align-items: center;
}
.plan-tip strong { color: var(--txt); }

/* ---------- 门店 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.c-row { display: flex; gap: 14px; align-items: flex-start; }
.c-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.c-label { color: var(--sub); font-size: 12px; }
.c-val { font-size: 15px; margin-top: 2px; }
.contact-map {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 162, 74, 0.1), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(232, 52, 47, 0.12), transparent 45%),
    var(--bg-soft);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.25s;
}
.contact-map:hover { border-color: rgba(212, 162, 74, 0.5); }
.map-emoji { font-size: 44px; }
.map-hint { color: var(--sub); font-size: 13px; }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 34px 0; }
.foot-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-brand { font-weight: 800; letter-spacing: 1px; }
.foot-line { color: var(--sub); font-size: 13px; margin-top: 6px; }
.foot-right { text-align: right; color: var(--sub); font-size: 13px; }
.foot-copy { margin-top: 6px; color: #6d6a62; }
.foot-icp { color: #6d6a62; text-decoration: none; border-bottom: 1px dotted #6d6a62; }
.foot-icp:hover { color: var(--sub, #a09c92); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-title { font-size: 40px; }
  .about-grid, .plan-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .act-grid, .contact-grid, .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
}
