/* ===== 全局 CSS 变量与重置 ===== */
:root {
  --primary-color: #dc2626;
  --primary-hover: #b91c1c;
  --secondary-color: #f59e0b;
  --accent-gold: #fde047;
  --bg-gradient: linear-gradient(135deg, #120303 0%, #2e0707 50%, #150412 100%);
  --card-bg: rgba(30, 10, 10, 0.85);
  --card-border: rgba(239, 68, 68, 0.3);
  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --text-highlight: #fde047;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-gradient);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== 头部 Header ===== */
.header {
  background: rgba(18, 3, 3, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--card-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.logo-flag {
  font-size: 1.4rem;
}

.logo-text span {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-gold);
}

/* ===== Hero 区域 ===== */
.hero {
  padding: 30px 0 20px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-title span {
  background: linear-gradient(90deg, #ffe600, #ff6b00, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 20px;
}

.top-links-header {
  margin: 20px 0 15px;
  text-align: center;
}

.top-links-header h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffe600;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.5);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.top-cards-grid {
  margin-bottom: 30px;
}

/* ===== 核心卡片展示区 (紧凑设计 + 亮色大按钮) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.3);
  border-color: rgba(255, 230, 0, 0.8);
}

.featured-card {
  border: 2px solid #ef4444;
  background: linear-gradient(180deg, rgba(50, 10, 10, 0.95) 0%, rgba(80, 15, 15, 0.8) 100%);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.card-tag {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(90deg, #dc2626, #ef4444);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.tag-gold {
  background: linear-gradient(90deg, #d97706, #ffb700);
  color: #000000;
}

.tag-purple {
  background: linear-gradient(90deg, #7c3aed, #c084fc);
  color: #ffffff;
}

.tag-blue {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  color: #ffffff;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.card-title-group h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.rating {
  font-size: 0.78rem;
  color: #fbbf24;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.4;
  flex-grow: 1;
}

.card-benefits {
  background: rgba(10, 3, 3, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.benefit-item {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

/* ===== 核心高亮亮色按钮 CSS (针对移动端与全浏览器强效兼容) ===== */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 20px !important;
  border-radius: 30px !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
  border: none !important;
  text-align: center !important;
  line-height: 1.3 !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.btn-block {
  width: 100% !important;
}

/* 红色亮色主按钮 */
.btn-primary, .btn-primary:visited, .btn-primary:hover, .btn-primary:active {
  background: linear-gradient(90deg, #ff1a1a 0%, #ff5252 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(255, 26, 26, 0.6) !important;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #e60000 0%, #ff3333 100%) !important;
  transform: scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(255, 26, 26, 0.8) !important;
}

/* 黄金超亮按钮 (充20送20专用) */
.btn-gold, .btn-gold:visited, .btn-gold:hover, .btn-gold:active {
  background: linear-gradient(90deg, #ffb700 0%, #ff8800 100%) !important;
  color: #000000 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  box-shadow: 0 6px 20px rgba(255, 183, 0, 0.7) !important;
}

.btn-gold:hover {
  background: linear-gradient(90deg, #ffa600 0%, #e67300 100%) !important;
  transform: scale(1.02) !important;
  box-shadow: 0 8px 28px rgba(255, 183, 0, 0.9) !important;
}

/* 紫色高亮按钮 */
.btn-purple, .btn-purple:visited, .btn-purple:hover, .btn-purple:active {
  background: linear-gradient(90deg, #a855f7 0%, #d8b4fe 100%) !important;
  color: #000000 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.6) !important;
}

.btn-purple:hover {
  background: linear-gradient(90deg, #9333ea 0%, #c084fc 100%) !important;
  transform: scale(1.02) !important;
}

/* 蓝色高亮按钮 */
.btn-blue, .btn-blue:visited, .btn-blue:hover, .btn-blue:active {
  background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 210, 255, 0.6) !important;
}

.btn-blue:hover {
  background: linear-gradient(90deg, #00b8e6 0%, #2e6bc4 100%) !important;
  transform: scale(1.02) !important;
}

.btn-large {
  padding: 16px 28px !important;
  font-size: 1.15rem !important;
}

/* ===== 4D 赔率表展示区 ===== */
.payout-section {
  padding: 40px 0;
  background: rgba(18, 3, 3, 0.9);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.brand-badge {
  display: inline-block;
  background: linear-gradient(90deg, #dc2626, #ef4444);
  color: #ffffff;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.operators-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.op-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Promotional Poster Styling */
.promo-poster-box {
  text-align: center;
  margin: 0 auto 30px auto;
}

.promo-poster-img {
  width: 100%;
  max-width: 680px;
  height: auto;
  border-radius: 16px;
  border: 3px solid #ef4444;
  box-shadow: 0 12px 35px rgba(239, 68, 68, 0.5);
  transition: transform 0.3s ease;
}

.promo-poster-img:hover {
  transform: scale(1.015);
}

/* Card Banner Image Styling */
.card-banner-box {
  margin: 12px 0 16px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #f59e0b;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.card-banner-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.card-banner-img:hover {
  transform: scale(1.03);
}

/* Telegram Official Banner Styling */
.telegram-banner-box {
  background: linear-gradient(135deg, #0088cc, #00b4d8);
  border: 2px solid #38bdf8;
  border-radius: 16px;
  padding: 16px 24px;
  margin: 20px 0 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.4);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.telegram-banner-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.6);
}

.telegram-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.telegram-icon {
  font-size: 2.2rem;
  background: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.telegram-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.telegram-text p {
  font-size: 0.85rem;
  color: #e0f2fe;
  margin: 0;
}

.btn-telegram {
  background: #ffffff;
  color: #0088cc;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Floating Telegram Button */
.floating-telegram-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #0088cc, #00b4d8);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.6);
  border: 2px solid #ffffff;
  z-index: 9990;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: telegramPulse 2s infinite;
}

.floating-telegram-btn:hover {
  transform: scale(1.08);
  color: #ffffff;
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.8);
}

@keyframes telegramPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(0, 180, 216, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0); }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid #ef4444;
  margin-bottom: 16px;
}

.payout-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.95rem;
  text-align: center;
}

.payout-table th {
  background: linear-gradient(180deg, #180303 0%, #000000 100%);
  color: #ffffff;
  padding: 12px 8px;
  font-weight: 900;
  font-size: 0.9rem;
  border-bottom: 3px solid #ef4444;
  white-space: nowrap;
}

.payout-table td {
  padding: 12px 8px;
  border: 1px solid #e2e8f0;
  font-weight: 800;
}

.cat-name {
  color: #991b1b;
  font-weight: 900 !important;
  font-size: 1rem;
  background: #fef2f2;
}

.val {
  color: #0f172a;
  font-size: 1rem;
}

.val-empty {
  color: #cbd5e1;
}

.row-highlight-red {
  background-color: #fff5f5;
}

.row-highlight-gold {
  background-color: #fefce8;
}

.row-highlight-blue {
  background-color: #eff6ff;
}

.row-highlight-purple {
  background-color: #faf5ff;
}

.badge-gold {
  color: #b45309 !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
}

.badge-purple {
  color: #7e22ce !important;
  font-size: 1.2rem !important;
  font-weight: 900 !important;
}

.table-notes {
  background: rgba(30, 10, 10, 0.8);
  border-left: 4px solid var(--primary-color);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.table-notes p {
  margin-bottom: 4px;
}

.table-notes p:last-child {
  margin-bottom: 0;
}

.payout-cta {
  text-align: center;
}

/* ===== FAQ 区 ===== */
.faq {
  padding: 40px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-arrow {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 16px 16px 16px;
}

/* ===== 页脚 Footer ===== */
.footer {
  background: #080202;
  border-top: 1px solid var(--card-border);
  padding: 30px 0;
  text-align: center;
}

.copyright {
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.disclaimer {
  color: var(--text-muted);
  font-size: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Toast 消息弹窗 ===== */
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #ef4444;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 1000;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== 📱 手机端专用优化 (全部电话看到很大 + 紧凑好看) ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }

  .hero {
    padding: 20px 0 15px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .nav {
    display: none;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 16px;
  }

  .card-header {
    gap: 10px;
    margin-bottom: 8px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .card-title-group h3 {
    font-size: 1.05rem;
  }

  .card-desc {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .card-benefits {
    padding: 8px 10px;
    margin-bottom: 14px;
    font-size: 0.8rem;
  }

  /* 📱 手机端按钮超大高亮超醒目 */
  .btn {
    padding: 16px 16px !important;
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    border-radius: 25px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
  }

  .btn-large {
    padding: 16px 16px !important;
    font-size: 1.05rem !important;
  }

  .payout-table th, .payout-table td {
    padding: 8px 4px;
    font-size: 0.82rem;
  }

  .top-links-header h2 {
    font-size: 1.15rem;
  }
}
