/* ============================================================
   泉洲海洋公园 · 官网原型 设计体系 (Design Tokens)
   主色:深海蓝→海洋青渐变;点缀:珊瑚橙、浪花白、沙滩金
   ============================================================ */
:root {
  /* 品牌色板 */
  --ocean-deep: #042a4f;      /* 深海蓝(头部/页脚) */
  --ocean-mid: #0b5e8f;       /* 洋流蓝 */
  --ocean-teal: #12a5a0;      /* 海青(主按钮/强调) */
  --coral: #ff7a59;           /* 珊瑚橙(CTA/亮点) */
  --sand: #f6e3b4;            /* 沙滩金(标签/点缀) */
  --wave: #dff3f6;            /* 浪花浅青(底色) */
  --ink: #123047;             /* 正文 */
  --muted: #5c7689;           /* 次要文字 */
  --line: #d9e7ec;            /* 分隔线 */
  --white: #ffffff;

  /* 圆角/阴影/字体 */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --shadow: 0 6px 20px rgba(4, 42, 79, .10);
  --shadow-lg: 0 14px 40px rgba(4, 42, 79, .16);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.7; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部 ---------- */
.site-header {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 70%, var(--ocean-teal) 130%);
  color: #fff; position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { width: 42px; height: 42px; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: 2px; }
.brand-sub { font-size: 11px; opacity: .8; letter-spacing: 3px; margin-top: 2px; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; color: rgba(255,255,255,.88); transition: .2s; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.16); color: #fff; }
.nav .nav-cta { background: var(--coral); color: #fff !important; font-weight: 700; }
.nav .nav-cta:hover { background: #ff8f6f; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ocean-deep); color: rgba(255,255,255,.82); margin-top: 70px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 44px 20px; }
.footer-inner h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-inner li { list-style: none; margin: 7px 0; font-size: 13.5px; }
.footer-inner a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 20px; text-align: center; font-size: 12.5px; opacity: .75; }

/* ---------- 通用组件 ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, #04396b 0%, #0a6fa8 55%, #0fa5a3 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(2px 2px at 18% 32%, rgba(255,255,255,.85) 50%, transparent 51%),
    radial-gradient(2px 2px at 62% 18%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 84% 46%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 40% 68%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 74% 74%, rgba(255,255,255,.65) 50%, transparent 51%);
  background-size: 120px 120px;
  opacity: .5;
}
.hero-inner { position: relative; z-index: 1; padding: 76px 20px 86px; max-width: 1120px; margin: 0 auto; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; letter-spacing: 2px; }
.hero .tagline { font-size: clamp(15px, 2vw, 19px); opacity: .92; margin: 14px 0 8px; }
.hero .badges { margin: 18px 0 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); padding: 4px 14px; border-radius: 999px; font-size: 13px; }
.hero .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 700;
  font-size: 16px; transition: .2s; border: 0; cursor: pointer;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,122,89,.45); }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }

.section { padding: 58px 0 10px; }
.section-title { font-size: 27px; font-weight: 800; text-align: center; color: var(--ocean-deep); position: relative; padding-bottom: 14px; }
.section-title::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--coral), var(--ocean-teal)); }
.section-sub { text-align: center; color: var(--muted); margin: 12px auto 34px; max-width: 640px; }

.card {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow);
  overflow: hidden; transition: .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-body { padding: 18px 20px 22px; }
.card h3 { font-size: 17.5px; color: var(--ocean-deep); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }

/* 网格 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* 信息卡列表 */
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-row .ic { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--wave); display: grid; place-items: center; font-size: 17px; }
.info-row b { color: var(--ocean-deep); }
.info-row span { color: var(--muted); font-size: 14.5px; }

.tag { display: inline-block; background: var(--wave); color: var(--ocean-mid); font-size: 12.5px; padding: 2px 10px; border-radius: 999px; margin: 0 6px 6px 0; }

/* 图表占位视觉 */
.ph {
  background: linear-gradient(140deg, #0a6fa8, #12a5a0);
  display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 14px; letter-spacing: 2px;
}
.ph-wave { position: relative; }

/* 通知条 */
.notice { background: linear-gradient(90deg, #fff3e2, #ffe9d6); color: #8a5a12; font-size: 13.5px; padding: 9px 0; text-align: center; }
.notice b { color: var(--coral); }

/* 票务表 */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 13px 16px; text-align: left; font-size: 14.5px; }
.price-table thead th { background: var(--ocean-deep); color: #fff; font-weight: 600; }
.price-table tbody tr:nth-child(even) { background: #f5fafb; }
.price-table td.price { color: var(--coral); font-weight: 800; font-size: 18px; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 12px; padding: 14px 18px; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--ocean-deep); }
.faq-item p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* 页内正文 */
.page-hero { padding: 46px 20px 54px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); }
.crumb { font-size: 13px; opacity: .85; margin-bottom: 10px; }

.prose { font-size: 15.5px; }
.prose h2 { font-size: 21px; color: var(--ocean-deep); margin: 26px 0 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 8px 0; }
.prose li { margin: 6px 0; }

@media (max-width: 860px) {
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--ocean-deep); padding: 14px; display: none; }
  .nav.open { display: flex; }
  .nav a { width: 100%; text-align: center; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- 地图组件 ---------- */
.map-frame {
  width: 100%; height: 340px; border: 0; display: block; background: var(--wave);
}
#amap-box.map-frame { height: 340px; }
.map-actions {
  display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 16px; background: #fff;
}
.map-actions .btn { padding: 9px 18px; font-size: 14.5px; }
.map-btn-outline { color: var(--ocean-deep); border: 1.5px solid var(--line); background: #fff; }
.map-btn-outline:hover { background: var(--wave); }
@media (max-width: 640px) { .map-frame, #amap-box.map-frame { height: 260px; } }

/* ---------- 官方购票主入口 ---------- */
.buy-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, #ff7a59 0%, #ff5f3d 55%, #ff8f5e 100%);
  color: #fff; border-radius: var(--r-lg); padding: 30px 34px;
  box-shadow: 0 14px 34px rgba(255,95,61,.32); margin-top: 8px;
}
.buy-cta h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; letter-spacing: 1px; margin: 4px 0 8px; }
.buy-cta-kicker { font-size: 13px; letter-spacing: 3px; opacity: .92; }
.buy-cta-desc { font-size: 14.5px; opacity: .95; line-height: 1.9; }
.buy-cta-action { text-align: center; }
.buy-cta .btn-primary {
  background: #fff; color: #e5431f !important; font-size: 19px; padding: 16px 40px;
  box-shadow: 0 8px 22px rgba(0,0,0,.18); border-radius: 999px;
}
.buy-cta .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.24); }
.buy-cta-tip { font-size: 12.5px; opacity: .9; margin-top: 10px; }
@media (max-width: 720px) { .buy-cta { padding: 24px; } .buy-cta-action { width: 100%; } }

/* ---------- 图集 ---------- */
.gallery-card img { width: 100%; height: 200px; object-fit: cover; }
.gallery-card .card-body { padding: 12px 16px 16px; }
.gallery-card h3 { font-size: 15.5px; }

/* ---------- 直播入口横幅 ---------- */
.live-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: linear-gradient(90deg, #ff2d55, #ff5f3d); color: #fff;
  padding: 11px 20px; font-size: 14.5px; font-weight: 600;
}
.live-bar:hover { filter: brightness(1.06); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: livepulse 1.2s infinite; }
@keyframes livepulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
.live-go { margin-left: auto; background: rgba(255,255,255,.22); padding: 3px 12px; border-radius: 999px; font-size: 13px; }
