/* 新葡京 Grand Lisboa - 主样式文件 */
/* gbnkn.cn */

:root {
  --primary: #8b0000;
  --primary-dark: #5a0000;
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --gold-dark: #9a7a30;
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --text: #e8e0d0;
  --text-muted: #a09880;
  --white: #ffffff;
  --border: rgba(201,168,76,0.3);
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --radius: 8px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', '微软雅黑', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-alt { background: var(--dark2); }

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
  padding: 8px 0;
  text-align: center;
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 1px;
  border-bottom: 1px solid var(--gold-dark);
}
.top-bar marquee { display: inline-block; }

/* ===== 头部导航 ===== */
.site-header {
  background: linear-gradient(180deg, rgba(10,10,10,0.98) 0%, rgba(10,10,10,0.95) 100%);
  border-bottom: 2px solid var(--gold-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo img {
  height: 52px;
  width: auto;
  border-radius: 4px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(201,168,76,0.5);
}
.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 60%; }

/* 汉堡菜单 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
  border-radius: 2px;
}

/* ===== 搜索栏 ===== */
.search-bar {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.search-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-form {
  display: flex;
  align-items: center;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  flex: 1;
  max-width: 500px;
}
.search-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 8px 16px;
  color: var(--text);
  font-size: 14px;
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
  background: var(--primary);
  border: none;
  color: var(--gold-light);
  padding: 8px 18px;
  cursor: pointer;
  font-size: 14px;
  transition: background var(--transition);
}
.search-form button:hover { background: var(--primary-dark); }
.search-hot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.search-hot span { color: var(--gold); }
.search-hot a {
  color: var(--text-muted);
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 12px;
  transition: all var(--transition);
}
.search-hot a:hover { color: var(--gold); border-color: var(--gold); }

/* ===== 面包屑 ===== */
.breadcrumb {
  background: var(--dark2);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--text-muted); }
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-inner span { color: var(--gold); }

/* ===== 英雄区 ===== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero_banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,0,0,0.6) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--gold-light);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border: 1px solid var(--gold-dark);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
  text-shadow: 0 0 20px rgba(201,168,76,0.6);
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--gold-light);
  border: 1px solid var(--gold-dark);
  box-shadow: 0 4px 16px rgba(139,0,0,0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #a00000, var(--primary));
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139,0,0,0.6);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold-light);
}

/* ===== 统计数字区 ===== */
.stats-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
  padding: 28px 0;
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.stat-item h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
.stat-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

/* ===== 节标题 ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
}
.section-header p { color: var(--text-muted); font-size: 15px; max-width: 560px; margin: 16px auto 0; }

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--dark2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark3);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(139,0,0,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  transform: scale(0.8);
  transition: transform var(--transition);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon::after {
  content: '';
  border-left: 18px solid var(--gold-light);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--gold-light);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--gold-dark);
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: var(--white);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}
.video-info { padding: 14px; }
.video-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 3px; }

/* ===== 专家卡片 ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}
.expert-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.expert-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid var(--gold-dark);
  overflow: hidden;
  background: var(--dark3);
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-name { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.expert-title { font-size: 13px; color: var(--gold); margin-bottom: 12px; }
.expert-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.expert-awards { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 16px; }
.award-tag {
  background: rgba(139,0,0,0.3);
  border: 1px solid var(--primary);
  color: var(--gold-light);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm { padding: 6px 14px; font-size: 12px; border-radius: 4px; }

/* ===== 合作品牌 ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.partner-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}
.partner-item:hover {
  border-color: var(--gold-dark);
  background: var(--dark3);
}
.partner-logo {
  width: 80px;
  height: 40px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
}
.partner-name { font-size: 12px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  user-select: none;
}
.faq-question:hover { color: var(--gold); }
.faq-question.active { color: var(--gold); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}
.faq-answer.open { max-height: 300px; padding: 0 24px 18px; }

/* ===== 用户评论 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 60px;
  color: rgba(201,168,76,0.15);
  font-family: Georgia, serif;
  line-height: 1;
}
.review-stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.review-user { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  flex-shrink: 0;
}
.review-info h4 { font-size: 14px; font-weight: 600; color: var(--text); }
.review-info p { font-size: 12px; color: var(--text-muted); }

/* ===== 联系区 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid var(--gold-dark);
}
.contact-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-muted); }
.contact-card a { color: var(--gold); }

/* ===== 二维码区 ===== */
.qr-section { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img {
  width: 140px;
  height: 140px;
  border: 3px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 4px;
  background: var(--white);
}
.qr-item p { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* ===== 社交分享 ===== */
.share-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.share-wechat { background: #07c160; color: #fff; }
.share-weibo { background: #e6162d; color: #fff; }
.share-douyin { background: #010101; color: #fff; border: 1px solid #333; }
.share-bilibili { background: #00a1d6; color: #fff; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); color: #fff; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark);
  border-top: 2px solid var(--gold-dark);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-brand .logo-name { font-size: 24px; margin-bottom: 12px; }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 40px;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== 内页 Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark2) 100%);
  padding: 60px 0;
  border-bottom: 2px solid var(--gold-dark);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }

/* ===== 内容文章 ===== */
.article-content {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  line-height: 1.9;
  font-size: 15px;
  color: var(--text-muted);
}
.article-content h2 { color: var(--gold); font-size: 20px; margin: 24px 0 12px; }
.article-content h3 { color: var(--white); font-size: 17px; margin: 20px 0 10px; }
.article-content p { margin-bottom: 14px; }
.article-content ul { padding-left: 20px; margin-bottom: 14px; }
.article-content li { margin-bottom: 6px; }

/* ===== 标签 ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(139,0,0,0.2);
  border: 1px solid var(--primary);
  color: var(--gold-light);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 16px;
  transition: all var(--transition);
}
.tag:hover { background: var(--primary); color: var(--gold-light); }

/* ===== 加载动画 ===== */
.lazy-img { opacity: 0; transition: opacity 0.4s ease; }
.lazy-img.loaded { opacity: 1; }

/* ===== 滚动到顶部 ===== */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  color: var(--gold-light);
  font-size: 18px;
  text-decoration: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--primary-dark); color: var(--gold-light); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 16px;
    border-bottom: 2px solid var(--gold-dark);
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 16px; width: 100%; }
  .header-inner { position: relative; }
  .search-hot { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 420px; }
  .section { padding: 48px 0; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; align-items: center; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}
