/* Critical CSS - 首屏優化 */
body { font-family: 'Noto Sans HK', 'PingFang HK', 'Microsoft JhengHei', 'Heiti TC', 'Arial', sans-serif; margin: 0; padding: 0; background: #f7f8fa; color: #333; font-display: swap; }

/* 預載入關鍵資源 */
.preload-critical { display: contents; }

/* 減少CLS - 為圖片預留空間 */
.aspect-ratio-container { position: relative; width: 100%; }
.aspect-ratio-container::before { content: ''; display: block; }
.banner-aspect::before { padding-top: 36.45%; } /* 1348/491 */
.logo-aspect::before { padding-top: 100%; } /* 1:1 */
.intro-aspect::before { padding-top: 78.19%; } /* 560/440 */

.aspect-ratio-container img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
header, footer { background: #1a1a1a; color: #fff; padding: 1em 0; text-align: center; }
.container { max-width: 1200px; margin: 40px auto; padding: 30px; background: #fff; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.08);}
h1 { text-align: center; color: #ff6600; margin-bottom: 30px;}
h2 { color: #333; margin-top: 30px;}
ul { margin-left: 20px;}
p { line-height: 1.7;}
.button, .action-btn { display: inline-block; padding: 12px 25px; background: #ff6600; color: #fff; border-radius: 5px; font-weight: bold; text-decoration: none; transition: background 0.3s; font-size: 1em; text-align: center;}
.button:hover, .action-btn:hover { background: #e65c00;}
.footer-nav a { color: #fff; text-decoration: none; margin: 0 10px; transition: color 0.3s;}
.footer-nav a:hover { color: #ff6600;}
nav { background: #333; padding: 0.5em 0; text-align: center; position: sticky; top: 0; z-index: 100;}
nav a { color: #fff; margin: 0 15px; text-decoration: none; padding: 8px 12px; border-radius: 4px; transition: background 0.3s;}
nav a:hover { background: #444;}
nav a[aria-current="page"] { background: #ff6600;}
.agent-button { background: #ff0000; color: #fff; padding: 8px 15px; border-radius: 5px; font-weight: bold; animation: pulse 1.5s infinite; display: inline-block; margin-left: 15px; transition: transform 0.2s;}
@keyframes pulse { 0%{transform:scale(1);} 50%{transform:scale(1.1);} 100%{transform:scale(1);} }
@media (max-width: 768px) { .container { padding: 10px; margin: 10px; } h1 { font-size: 1.5em; } h2 { font-size: 1.2em; } .action-btn, .button { width: 100%; font-size: 1em; } nav a { margin: 0 8px; font-size: 0.9em;} .agent-button { margin: 10px auto; display: block; width: fit-content; } }
.float-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,#ff6600 0,#ffb347 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255,102,0,0.18);
  z-index: 11000;
  transition: transform 0.3s, box-shadow 0.3s;
}
.float-button:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(255,102,0,0.22); }
.float-button img { width: 35px; height: 35px; }
.popup-bubble {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(255,102,0,0.12);
  z-index: 11001;
  cursor: pointer;
  animation: fadeIn 0.5s;
  border: 1.5px solid #ffb347;
  color: #ff6600;
  font-weight: bold;
  min-width: 180px;
  min-height: 44px;
  display: block;
  box-sizing: border-box;
  max-width: 96vw;
  overflow: visible;
}
.popup-bubble .close-bubble-btn {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 26px;
  height: 26px;
  background: none;
  border: none;
  color: #ff6600;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  z-index: 12002;
  border-radius: 50%;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.popup-bubble .close-bubble-btn:hover {
  background: #ffe0c2;
}
.popup-bubble .bubble-msg {
  margin-right: 32px;
  display: block;
  text-align: left;
  font-size: 1.08em;
  line-height: 1.7;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* 導航欄優化 - 電腦版不換行 */
.main-nav { 
  background: #fff; 
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 0.5em 1.5vw; 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  flex-wrap: nowrap;
  min-width: 0;
}
.nav-left { 
  display: flex; 
  align-items: center; 
  flex-shrink: 0;
  min-width: 0;
}
.logo-link { 
  display: flex; 
  align-items: center; 
  text-decoration: none; 
  margin-right: 12px; 
  flex-shrink: 0;
}
.logo-link img { 
  border-radius: 12px; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
  margin-right: 6px; 
  flex-shrink: 0;
}
.brand-name { 
  font-size: 1.3em; 
  font-weight: bold; 
  color: #ff6600; 
  letter-spacing: 0.5px; 
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links { 
  display: flex; 
  gap: 4px; 
  align-items: center; 
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}
.agent-btn, .reg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: inherit;
  color: inherit;
  font-weight: bold;
  font-size: 0.85em;
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  height: 36px;
  line-height: 1.2;
  cursor: pointer;
  animation: inherit;
  transition: inherit;
  box-shadow: none;
  margin: 0;
  white-space: nowrap;
  vertical-align: middle;
  text-align: center;
  flex-shrink: 0;
}
.nav-links .agent-btn,
.nav-links .reg-btn {
  margin-left: 2px;
  padding: 0 14px;
  font-size: 0.85em;
  height: 36px;
}
.nav-links a { 
  color: #333; 
  text-decoration: none; 
  padding: 5px 8px; 
  border-radius: 6px; 
  font-weight: 500; 
  font-size: 0.85em;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s; 
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links a:hover { 
  background: linear-gradient(90deg,#ff6600 0,#ffb347 100%); 
  color: #fff; 
  box-shadow: 0 2px 8px rgba(255,102,0,0.12); 
}

/* 下拉選單樣式 */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  font-size: 0.7em;
  transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  min-width: 160px;
  padding: 8px 0;
  margin-top: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 1000;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 0.9em;
  transition: background 0.2s, color 0.2s;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: linear-gradient(90deg,#ff6600 0,#ffb347 100%);
  color: #fff;
  box-shadow: none;
}

/* 手機版下拉選單樣式 */
@media (max-width: 900px) {
  .nav-dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    min-width: auto;
    width: 100%;
  }
  
  .nav-links.open .dropdown-menu {
    display: block;
  }
  
  .nav-links:not(.open) .dropdown-menu {
    display: none;
  }
  
  .dropdown-menu a {
    padding: 12px 24px;
    border-left: 3px solid #ff6600;
    background: rgba(255, 102, 0, 0.05);
    margin-left: 16px;
    border-radius: 0;
  }
  
  .dropdown-arrow {
    transition: transform 0.3s;
  }
  
  .nav-links.open .dropdown-arrow {
    transform: rotate(180deg);
  }
}

/* 桌面版隱藏漢堡選單 */
.hamburger {
  display: none;
}

.close-menu-btn {
  display: none;
}

.nav-btn { 
  background: linear-gradient(90deg,#ff6600 0,#ffb347 100%); 
  color: #fff; 
  font-weight: bold; 
  box-shadow: 0 2px 8px rgba(255,102,0,0.18); 
  border: none; 
  transition: transform 0.2s, box-shadow 0.2s; 
}
.nav-btn:hover { 
  transform: scale(1.08); 
  box-shadow: 0 4px 16px rgba(255,102,0,0.22); 
}

/* Banner - 修復置中問題 */
.banner-section { 
  text-align: center; 
  margin: 32px auto 24px; 
  padding: 0 16px; 
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.banner-section .aspect-ratio-container {
  max-width: 1348px;
  width: 100%;
  margin: 0 auto;
}

.banner-section img { 
  border-radius: 18px; 
  box-shadow: 0 4px 24px rgba(0,0,0,0.10); 
  display: block; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 區塊/卡片/按鈕現代化 */
.container, .intro-section, .register-section, .promo-section, .partners-section { background: #fff; border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); margin: 32px auto; padding: 32px 24px; max-width: 1200px; }
.intro-content { display: flex; align-items: center; gap: 36px; }
.intro-content.reverse { flex-direction: row-reverse; }
.intro-text { flex: 1; }
.intro-img { flex: 1; text-align: center; }
.intro-img img { border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,0.10); }
.action-btn, .nav-btn { display: inline-block; padding: 14px 36px; background: linear-gradient(90deg,#ff6600 0,#ffb347 100%); color: #fff; border-radius: 8px; font-weight: bold; text-decoration: none; font-size: 1.1em; box-shadow: 0 2px 8px rgba(255,102,0,0.12); border: none; transition: background 0.3s, transform 0.2s, box-shadow 0.2s; cursor: pointer; margin-top: 18px; }
.action-btn:hover, .nav-btn:hover { background: linear-gradient(90deg,#ffb347 0,#ff6600 100%); transform: scale(1.06); box-shadow: 0 4px 16px rgba(255,102,0,0.18); }

/* 優惠卡片 */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 28px; margin: 32px 0; }
.promo-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(255,102,0,0.10); padding: 28px 20px; transition: transform 0.2s, box-shadow 0.2s; border: 1.5px solid #ffe0c2; position: relative; }
.promo-card:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 8px 32px rgba(255,102,0,0.18); border-color: #ffb347; }
.promo-card.featured { border: 2px solid #ff6600; background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%); }
.promo-card h3 { color: #ff6600; margin-bottom: 12px; font-size: 1.2em; }
.promo-note { color: #888; font-size: 0.95em; margin-top: 18px; }

/* 優惠徽章 */
.promo-badge { 
  position: absolute; 
  top: -8px; 
  right: 16px; 
  background: linear-gradient(90deg, #ff6600 0%, #ffb347 100%); 
  color: #fff; 
  padding: 6px 12px; 
  border-radius: 12px; 
  font-size: 0.8em; 
  font-weight: bold; 
  box-shadow: 0 2px 8px rgba(255,102,0,0.3); 
}
.promo-badge.hot { 
  background: linear-gradient(90deg, #ff0000 0%, #ff6600 100%); 
  animation: pulse 1.5s infinite; 
}

/* 優惠亮點 */
.promo-highlight { 
  background: #ff6600; 
  color: #fff; 
  padding: 4px 12px; 
  border-radius: 20px; 
  font-size: 0.85em; 
  font-weight: bold; 
  display: inline-block; 
  margin: 8px 0; 
}

/* 優惠條款 */
.promo-terms { 
  color: #999; 
  font-size: 0.8em; 
  margin-top: 12px; 
  line-height: 1.4; 
}

/* 福利項目 */
.benefit-item { 
  background: linear-gradient(90deg, #ff6600 0%, #ffb347 100%); 
  color: #fff; 
  padding: 8px 16px; 
  border-radius: 20px; 
  font-size: 0.9em; 
  font-weight: 600; 
  white-space: nowrap; 
  display: inline-block; 
}

/* CRO優化 - 價值主張 */
.value-proposition h2 {
  font-size: 2.2em;
  color: #ff6600;
  margin-bottom: 24px;
  line-height: 1.2;
}

.main-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.benefit-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
  border: 2px solid #ffb347;
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255,102,0,0.15);
}

.benefit-icon {
  font-size: 2em;
  flex-shrink: 0;
}

.benefit-text strong {
  display: block;
  color: #ff6600;
  font-size: 1.1em;
  margin-bottom: 4px;
}

.benefit-text small {
  color: #666;
  font-size: 0.9em;
}

/* 社會證明 */
.social-proof-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}

.trust-indicator {
  background: #f0f8ff;
  border: 1px solid #4CAF50;
  color: #2E7D32;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
}

/* 主要CTA按鈕 */
.cta-section {
  margin: 32px 0;
  text-align: center;
}

.primary-cta {
  display: inline-block;
  background: linear-gradient(135deg, #ff0000 0%, #ff6600 50%, #ffb347 100%);
  color: #fff;
  padding: 20px 40px;
  border-radius: 50px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(255,102,0,0.3);
  transition: all 0.3s ease;
  animation: pulse-glow 2s infinite;
  position: relative;
  overflow: hidden;
}

.primary-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(255,102,0,0.4);
}

.primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.primary-cta:hover::before {
  left: 100%;
}

.cta-text {
  display: block;
  font-size: 1.1em;
}

.cta-subtext {
  display: block;
  font-size: 0.8em;
  opacity: 0.9;
  margin-top: 4px;
}

.urgency-text {
  color: #ff6600;
  font-weight: bold;
  margin-top: 12px;
  animation: blink 1.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(255,102,0,0.3); }
  50% { box-shadow: 0 8px 32px rgba(255,102,0,0.5), 0 0 20px rgba(255,102,0,0.3); }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.7; }
}

/* CRO進階優化 */
.urgency-indicators {
  text-align: center;
  margin-top: 16px;
}

.live-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.stat-item {
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
  border: 1px solid #ffb347;
  color: #333;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  animation: pulse-subtle 3s infinite;
}

.stat-item strong {
  color: #ff6600;
  font-weight: bold;
}

@keyframes pulse-subtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* A/B測試準備 */
.cta-variant-a .primary-cta {
  background: linear-gradient(135deg, #ff0000 0%, #ff6600 50%, #ffb347 100%);
}

.cta-variant-b .primary-cta {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

/* 信任指標增強 */
.trust-indicator {
  position: relative;
}

.trust-indicator::before {
  content: '🛡️';
  margin-right: 4px;
}

/* 部落格文章樣式 */
.article-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.article-header h1 {
  color: #333;
  font-size: 2.2em;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-meta {
  color: #666;
  font-size: 0.9em;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.article-content h2 {
  color: #ff6600;
  font-size: 1.6em;
  margin: 40px 0 20px 0;
  border-left: 4px solid #ff6600;
  padding-left: 16px;
}

.article-content h3 {
  color: #333;
  font-size: 1.3em;
  margin: 30px 0 15px 0;
}

.article-content h4 {
  color: #ff6600;
  font-size: 1.1em;
  margin: 25px 0 10px 0;
}

.intro-text {
  font-size: 1.1em;
  color: #555;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
  border-left: 4px solid #ff6600;
}

/* 遊戲排行榜樣式 */
.top-games-list {
  margin: 40px 0;
}

.game-rank-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.game-rank-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.rank-number {
  background: linear-gradient(135deg, #ff6600 0%, #ffb347 100%);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 20px;
  flex-shrink: 0;
}

.game-info h3 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 1.2em;
}

.game-info p {
  margin: 8px 0;
  color: #666;
  line-height: 1.6;
}

.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.play-btn {
  background: linear-gradient(135deg, #ff6600 0%, #ffb347 100%);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9em;
  display: inline-block;
  margin-top: 12px;
  transition: transform 0.2s;
}

.play-btn:hover {
  transform: scale(1.05);
  text-decoration: none;
  color: #fff;
}

/* 遊戲選擇指南 */
.game-selection-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.guide-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #ff6600;
}

.guide-item h4 {
  margin: 0 0 12px 0;
  color: #ff6600;
}

/* 獎勵區塊 */
.rewards-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.reward-item {
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ffb347;
  text-align: center;
}

.reward-item h4 {
  margin: 0 0 12px 0;
  color: #ff6600;
}

/* 遊戲類型卡片 */
.game-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.game-type-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s;
}

.game-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.game-type-card h4 {
  margin: 0 0 12px 0;
  color: #ff6600;
}

.game-type-card h4 a {
  color: #ff6600;
  text-decoration: none;
}

.game-type-card h4 a:hover {
  text-decoration: underline;
}

/* FAQ區塊 */
.faq-section {
  margin: 30px 0;
}

.faq-item {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}

.faq-item h4 {
  margin: 0 0 12px 0;
  color: #ff6600;
  font-size: 1.1em;
}

.faq-item p {
  margin: 0;
  color: #555;
}

/* 行動按鈕 */
.action-btn {
  background: linear-gradient(135deg, #ff6600 0%, #ffb347 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.2s;
}

.action-btn:hover {
  transform: scale(1.05);
  text-decoration: none;
  color: #fff;
}

/* 相關連結 */
.article-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #f0f0f0;
}

/* E-E-A-T 專業認證區塊 */
.eeat-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 0;
  margin: 40px auto;
  max-width: 1200px;
}

.eeat-section h2 {
  text-align: center;
  color: #ff6600;
  font-size: 2.2em;
  margin-bottom: 40px;
}

.eeat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
  padding: 0 20px;
}

.eeat-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 2px solid #f0f0f0;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  text-align: center;
}

.eeat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(255,102,0,0.15);
  border-color: #ffb347;
}

.eeat-icon {
  font-size: 3em;
  margin-bottom: 16px;
  display: block;
}

.eeat-card h3 {
  color: #ff6600;
  font-size: 1.3em;
  margin: 0 0 12px 0;
  font-weight: bold;
}

.eeat-card p {
  margin: 8px 0;
  line-height: 1.7;
  color: #555;
}

.eeat-card p strong {
  color: #ff6600;
  font-size: 1.05em;
}

/* 專業知識展示 */
.expertise-showcase {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  margin: 40px 20px 0 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.expertise-showcase h3 {
  color: #ff6600;
  font-size: 1.5em;
  margin-bottom: 24px;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.expertise-tag {
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
  border: 2px solid #ffb347;
  color: #ff6600;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.95em;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.expertise-tag:hover {
  background: linear-gradient(135deg, #ff6600 0%, #ffb347 100%);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255,102,0,0.2);
}

/* 專業認證徽章 */
.expertise-badges {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.expertise-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
  border: 2px solid #ffb347;
  border-radius: 12px;
  padding: 12px 20px;
  flex: 1;
  min-width: 200px;
  transition: all 0.3s ease;
}

.expertise-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(255,102,0,0.2);
  border-color: #ff6600;
}

.badge-icon {
  font-size: 2em;
  flex-shrink: 0;
}

.badge-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-content strong {
  color: #ff6600;
  font-size: 1em;
  font-weight: bold;
}

.badge-content small {
  color: #666;
  font-size: 0.85em;
}

/* 響應式優化 */
@media (max-width: 768px) {
  .expertise-badges {
    flex-direction: column;
    gap: 12px;
  }
  
  .expertise-badge {
    min-width: 100%;
  }
  
  .eeat-section {
    padding: 40px 0;
    margin: 20px auto;
  }
  
  .eeat-section h2 {
    font-size: 1.8em;
    margin-bottom: 24px;
  }
  
  .eeat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
  
  .eeat-card {
    padding: 24px 16px;
  }
  
  .eeat-icon {
    font-size: 2.5em;
  }
  
  .expertise-showcase {
    margin: 24px 12px 0 12px;
    padding: 24px 16px;
  }
  
  .expertise-tags {
    gap: 8px;
  }
  
  .expertise-tag {
    font-size: 0.85em;
    padding: 8px 16px;
  }
}

.related-links h3 {
  color: #ff6600;
  margin-bottom: 20px;
}

.related-links ul {
  list-style: none;
  padding: 0;
}

.related-links li {
  margin-bottom: 12px;
}

.related-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.related-links a:hover {
  color: #ff6600;
  text-decoration: underline;
}

/* 響應式優化 */
@media (max-width: 768px) {
  .value-proposition h2 {
    font-size: 1.8em;
  }
  
  .main-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .benefit-highlight {
    padding: 12px;
  }
  
  .primary-cta {
    padding: 16px 32px;
    font-size: 1.1em;
  }
  
  .social-proof-inline {
    justify-content: center;
  }
}

/* 新頁面樣式 */
.brands-grid, .games-grid, .sports-grid, .betting-grid, .contact-grid, .service-categories, .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.brand-card, .game-card, .sport-card, .betting-type, .contact-card, .service-category, .feature-item {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.brand-card:hover, .game-card:hover, .sport-card:hover, .betting-type:hover, .contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255,102,0,0.12);
}

.game-card.featured, .contact-card.primary {
  border: 2px solid #ff6600;
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
}

.contact-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff6600 0%, #ffb347 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 12px 0;
  transition: transform 0.2s;
  border: none;
  cursor: pointer;
}

.contact-btn:hover {
  transform: scale(1.05);
}

.faq-items {
  margin-top: 16px;
}

.faq-item {
  margin-bottom: 20px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #ff6600;
}

.faq-item h3 {
  color: #ff6600;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.events-list {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.event-item {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #ff6600;
}

.mt-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.mt-feature {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
  border-radius: 12px;
  border: 2px solid #ffb347;
}

@media (max-width: 768px) {
  .brands-grid, .games-grid, .sports-grid, .betting-grid, .contact-grid, .service-categories, .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .brand-card, .game-card, .sport-card, .betting-type, .contact-card, .service-category, .feature-item {
    padding: 16px;
  }
}

/* 合作夥伴logo */
.partners-logos { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; margin-top: 18px; }
.partners-logos img { background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 8px 18px; transition: transform 0.2s, box-shadow 0.2s; }
.partners-logos img:hover { transform: scale(1.08); box-shadow: 0 4px 16px rgba(255,102,0,0.16); }

/* 註冊步驟 */
.register-section { text-align: center; }
.register-steps { list-style: decimal inside; margin: 18px 0 24px 0; padding: 0; color: #ff6600; font-size: 1.1em; display: inline-block; text-align: left; }
.register-section > ol, .register-section > .register-steps { display: inline-block; text-align: left; }
@media (max-width: 600px) {
  .register-steps { font-size: 1em; }
}

/* 響應式優化 */
/* 超大螢幕優化 (1600px+) */
@media (min-width: 1600px) {
  .container, .intro-section, .register-section, .promo-section, .partners-section {
    max-width: 1400px;
  }
  .main-nav {
    padding: 0.5em 4vw;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 1em;
    padding: 8px 16px;
  }
}

/* 大螢幕優化 (1400px - 1600px) */
@media (min-width: 1400px) and (max-width: 1599px) {
  .main-nav {
    padding: 0.5em 3vw;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 0.95em;
    padding: 8px 14px;
  }
}

/* 中等螢幕 (1024px - 1400px) */
@media (max-width: 1400px) and (min-width: 1025px) {
  .main-nav {
    padding: 0.5em 1.2vw;
  }
  .nav-links {
    gap: 6px;
  }
  .nav-links a {
    font-size: 0.85em;
    padding: 6px 10px;
  }
  .brand-name {
    font-size: 1.3em;
  }
  .agent-btn, .reg-btn {
    font-size: 0.9em;
    padding: 0 16px;
    height: 38px;
  }
}

/* 平板橫向 (768px - 1024px) */
@media (max-width: 1024px) {
  .container, .intro-section, .register-section, .promo-section, .partners-section { padding: 18px 6vw; }
  .intro-content, .intro-content.reverse { flex-direction: column; gap: 18px; }
  .banner-section {
    padding: 0 2vw;
  }
  .banner-section .aspect-ratio-container {
    max-width: 96vw;
  }
  .main-nav {
    padding: 0.5em 2vw;
  }
  .nav-links {
    gap: 4px;
  }
  .nav-links a {
    font-size: 0.8em;
    padding: 5px 8px;
  }
  .brand-name {
    font-size: 1.2em;
  }
  .agent-btn, .reg-btn {
    font-size: 0.85em;
    padding: 0 14px;
    height: 36px;
  }
}
@media (max-width: 900px) {
  /* LOGO區塊精簡 */
  .main-nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    min-height: 48px;
    max-height: 52px;
    padding: 0 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  /* 隱藏桌面版導航連結，但選單打開時顯示 */
  .nav-links:not(.open) {
    display: none;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  /* 顯示漢堡選單 */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
  }
  
  .close-menu-btn {
    display: block !important;
    position: fixed;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255, 102, 0, 0.1);
    border: 2px solid #ff6600;
    border-radius: 50%;
    color: #ff6600;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  
  .close-menu-btn:hover {
    background: #ff6600;
    color: #fff;
  }
  .logo-link img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px;
    max-height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0 6px 0 0;
    display: block;
    object-fit: contain;
  }
  .brand-name {
    font-size: 1em;
    font-weight: bold;
    color: #ff6600;
    letter-spacing: 1px;
    margin-right: 6px;
    white-space: nowrap;
    line-height: 44px;
    height: 44px;
    display: flex;
    align-items: center;
  }
  /* Banner與內容卡片寬度、圓角、陰影、padding統一 */
  .banner-section {
    padding: 0 2vw;
  }
  .banner-section .aspect-ratio-container {
    max-width: 96vw;
  }
  .banner-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .container, .intro-section, .register-section, .promo-section, .partners-section {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 12px 2vw;
    border-radius: 14px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #fff;
  }
  /* 主按鈕現代化 */
  .reg-btn, .agent-btn, .action-btn, .nav-btn {
    width: 92vw !important;
    max-width: 320px;
    min-width: 0;
    margin: 18px auto 0 auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(255,102,0,0.12);
    padding: 0 18px;
    text-align: center;
    white-space: nowrap;
    font-weight: bold;
    letter-spacing: 1px;
  }
  /* 內容卡片與圖片間距優化 */
  .promo-card, .register-section, .intro-section {
    padding: 12px 2vw;
    border-radius: 14px;
    margin-bottom: 12px;
  }
  .intro-img img, .promo-card img {
    width: 100%;
    max-width: 100vw;
    height: auto;
    display: block;
    margin: 0 auto 12px auto;
    border-radius: 10px;
  }
  .intro-text, .promo-card p {
    margin-bottom: 10px;
  }
  /* 選單展開遮罩 */
  .nav-links {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 80px 0 32px 0;
    z-index: 2000;
    transform: translateY(-100%);
    transition: transform 0.3s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    display: flex;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links .agent-btn,
  .nav-links .reg-btn {
    width: 90vw !important;
    max-width: 320px;
    margin: 0 auto 12px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.08em;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255,102,0,0.10);
    padding: 0 18px;
    text-align: center;
    white-space: nowrap;
    font-weight: bold;
    letter-spacing: 1px;
    background: linear-gradient(90deg,#ff6600 0,#ffb347 100%);
    color: #fff;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    animation: pulse 1.5s infinite;
  }
  .nav-links .agent-btn { background: #ff0000 !important; color: #fff !important; margin-top: auto; animation: pulse 1.5s infinite; }
  .nav-links .reg-btn { background: linear-gradient(90deg,#ffb347 0%,#ff6600 100%) !important; color: #fff !important; margin-bottom: 12px; animation: none; }
  .nav-links .reg-btn:hover { filter: brightness(1.08); transform: scale(1.08); }
  .nav-links .agent-btn:hover { background: #d90000 !important; transform: scale(1.08); }
  /* 關閉選單按鈕 */
  .close-bubble-btn {
    position: absolute;
    top: 4px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    color: #ff6600;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    z-index: 12002;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .close-bubble-btn:hover {
    background: #ffe0c2;
  }

  /* --- 客服浮窗 --- */
  .float-button {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
    z-index: 11000;
    display: flex !important;
    background: linear-gradient(135deg,#ff6600 0,#ffb347 100%);
    box-shadow: 0 2px 10px rgba(255,102,0,0.18);
  }
  .float-button img {
    width: 28px;
    height: 28px;
    margin: auto;
    display: block;
  }
  .popup-bubble {
    right: 8px;
    bottom: 70px;
    font-size: 1em;
    padding: 10px 10px 10px 14px;
    min-width: 140px;
    max-width: 98vw;
  }
  .popup-bubble .close-bubble-btn {
    top: 4px;
    right: 6px;
    width: 22px;
    height: 22px;
    font-size: 1em;
  }
  .popup-bubble .bubble-msg {
    margin-right: 28px;
  }
}

/* 小螢幕手機優化 (480px以下) */
@media (max-width: 480px) {
  .main-nav {
    padding: 0 8px;
    height: 44px;
    min-height: 44px;
  }
  
  .logo-link img {
    width: 36px !important;
    height: 36px !important;
    margin-right: 4px;
  }
  
  .brand-name {
    font-size: 0.9em;
    letter-spacing: 0.5px;
  }
  
  .hamburger {
    width: 28px;
    height: 28px;
  }
  
  .banner-section {
    margin: 16px auto 16px;
    padding: 0 8px;
  }
  
  .container, .intro-section, .register-section, .promo-section, .partners-section {
    padding: 12px 4vw;
    margin: 16px auto;
  }
  
  .intro-content, .intro-content.reverse {
    gap: 12px;
  }
  
  .nav-links {
    padding: 60px 0 24px 0;
    gap: 16px;
  }
  
  .nav-links a {
    font-size: 1em;
    padding: 12px 16px;
    width: 85vw;
    max-width: 300px;
    text-align: center;
  }
  
  .nav-links .agent-btn,
  .nav-links .reg-btn {
    width: 85vw !important;
    max-width: 300px;
    font-size: 1em;
  }
  
  .close-menu-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
    top: 8px;
    right: 8px;
  }
  
  .popup-bubble .bubble-msg {
    margin-right: 24px;
    font-size: 1em;
  }

  /* --- 漢堡選單 RWD --- */
  .hamburger {
    display: flex !important;
    position: fixed;
    top: 10px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 3000;
    justify-content: center;
    align-items: center;
  }
  .hamburger span {
    background: #ff6600;
  }
  .hamburger span.open:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger span.open:nth-child(2) { opacity: 0; }
  .hamburger span.open:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .close-bubble-btn {
    top: 2px;
    right: 4px;
    width: 24px;
    height: 24px;
    font-size: 1.2em;
  }
}

@media (min-width: 901px) {
  .main-nav {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2vw;
    height: 45px;
    min-height: 45px;
    max-height: 45px;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav-left {
    display: flex;
    align-items: center;
    height: 45px;
  }
  .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 24px;
    height: 45px;
  }
  .logo-link img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    min-width: 40px;
    min-height: 40px;
    margin-right: 10px;
    display: block;
    object-fit: contain;
  }
  .brand-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #ff6600;
    letter-spacing: 1.5px;
    line-height: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  .nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
    height: 45px;
  }
  .nav-links a {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1em;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    height: 32px;
    display: flex;
    align-items: center;
  }
  .nav-links a:hover {
    background: linear-gradient(90deg,#ff6600 0,#ffb347 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,102,0,0.12);
  }
  .nav-btn, .reg-btn, .agent-btn {
    height: 32px;
    min-width: 90px;
    font-size: 1em;
    border-radius: 8px;
    padding: 0 18px;
    margin: 0 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255,102,0,0.10);
    font-weight: bold;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  }
  .reg-btn { background: linear-gradient(90deg, #ffb347 0%, #ff6600 100%); color: #fff; }
  .agent-btn { background: #ff0000; color: #fff !important; animation: pulse 1.5s infinite; }
  .nav-btn:hover, .reg-btn:hover, .agent-btn:hover { filter: brightness(1.08); transform: scale(1.08); }
  .nav-links .agent-btn { margin-left: 12px; }
  .nav-links .reg-btn { margin-left: 6px; }
  /* 內容區塊、按鈕、LOGO等微調 */
  .container, .intro-section, .register-section, .promo-section, .partners-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 36px 40px;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    background: #fff;
  }
  .action-btn {
    font-size: 1.12em;
    border-radius: 10px;
    padding: 14px 40px;
    margin-top: 18px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255,102,0,0.12);
  }
  /* 合作夥伴logo 5x5 grid */
  .partners-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    justify-items: center;
    align-items: center;
    margin-top: 18px;
  }
  .partners-logos img {
    width: 75px;
    height: 75px;
    max-width: 75px;
    max-height: 75px;
    min-width: 75px;
    min-height: 75px;
    padding: 4px;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    background: #fff;
    object-fit: contain;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .partners-logos img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(255,102,0,0.16);
  }
  /* 內容區塊圖片靠左，文字靠右 */
  .intro-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .intro-img {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .intro-img img {
    width: 100%;
    max-width: 340px;
    min-width: 180px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    margin: 0;
    display: block;
  }
  .intro-text {
    flex: 1 1 60%;
    max-width: 60%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
  }
  /* 首頁內容區塊主按鈕全部置中 */
  .intro-section .action-btn,
  .register-section .action-btn,
  .promo-section .action-btn,
  .partners-section .action-btn,
  .intro-section .reg-btn,
  .register-section .reg-btn,
  .promo-section .reg-btn,
  .partners-section .reg-btn,
  .intro-section .nav-btn,
  .register-section .nav-btn,
  .promo-section .nav-btn,
  .partners-section .nav-btn,
  .intro-section .agent-btn,
  .register-section .agent-btn,
  .promo-section .agent-btn,
  .partners-section .agent-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  /* intro2（sport.webp）圖片永遠靠左，文字靠右 */
  .intro-section.intro2 .intro-content {
    flex-direction: row !important;
  }
  .intro-section.intro2 .intro-img {
    order: 1;
    flex: 0 0 40%;
    max-width: 40%;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .intro-section.intro2 .intro-img img {
    width: 100%;
    max-width: 340px;
    min-width: 180px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    margin: 0;
    display: block;
  }
  .intro-section.intro2 .intro-text {
    order: 2;
    flex: 1 1 60%;
    max-width: 60%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
  }
}

.footer-nav { background: #fff; color: #888; padding: 2em 0; text-align: center; border-top: 1.5px solid #eee; margin-top: 32px; }
.footer-nav nav { margin-bottom: 20px; }
.footer-nav a { color: #ff6600; text-decoration: none; margin: 0 10px; transition: color 0.3s; font-weight: 500; }
.footer-nav a:hover { color: #ffb347; }

.footer-info p { margin: 8px 0; }
.last-updated { color: #666; font-size: 0.9em; font-weight: 500; }
.disclaimer { color: #999; font-size: 0.85em; margin-top: 16px; font-style: italic; }

@media (max-width: 768px) { 
  .footer-nav nav { display: flex; flex-direction: column; gap: 8px; }
  .footer-nav { padding: 1.5em 0; }
  .footer-info p { font-size: 0.9em; }
}
a:focus, a:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* --- 重新設計 立即註冊按鈕 --- */
.reg-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ffb347 0%, #ff6600 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.08em;
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 0 36px;
  height: 48px;
  line-height: 48px;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), filter 0.18s;
  box-shadow: none;
  margin: 0;
  white-space: nowrap;
  vertical-align: middle;
}
.reg-btn:hover, .reg-btn:focus {
  filter: brightness(1.08);
  transform: scale(1.08);
}
.reg-btn:active {
  filter: brightness(0.96);
  transform: scale(0.98);
}

/* --- 誠徵代理按鈕維持紅底白字與 pulse 動畫 --- */
.agent-btn {
  display: inline-block;
  background: #ff0000;
  color: #fff !important;
  font-weight: bold;
  font-size: 1.08em;
  border: none;
  border-radius: 8px;
  padding: 0 36px;
  height: 48px;
  line-height: 48px;
  cursor: pointer;
  animation: pulse 1.5s infinite;
  transition: transform 0.18s cubic-bezier(.4,2,.6,1);
  box-shadow: none;
  margin: 0;
  white-space: nowrap;
  vertical-align: middle;
}
.agent-btn:hover, .agent-btn:focus {
  background: #d90000;
  transform: scale(1.08);
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* --- 漢堡選單 RWD --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1201;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #ff6600;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger span.open:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger span.open:nth-child(2) { opacity: 0; }
.hamburger span.open:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 圖片自適應比例 - 優化LCP */
img, .banner-section img, .intro-img img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  loading: lazy;
  decoding: async;
}

/* 關鍵圖片優先載入 */
.banner-section img, .logo-link img {
  loading: eager;
  fetchpriority: high;
}

/* 減少重繪 */
.nav-links, .promo-card, .step-card {
  will-change: transform;
  backface-visibility: hidden;
}

/* 優化動畫性能 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.register-steps-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  margin: 32px 0 24px 0;
}
.step-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(255,102,0,0.10);
  padding: 32px 22px 28px 22px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #ffe0c2;
}
.step-card:hover {
  box-shadow: 0 8px 32px rgba(255,102,0,0.16);
  transform: translateY(-6px) scale(1.04);
  border-color: #ffb347;
}
.step-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(90deg,#ff6600 0,#ffb347 100%);
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(255,102,0,0.10);
}
.step-title {
  font-size: 1.18em;
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 10px;
  text-align: center;
}
.step-desc {
  font-size: 1em;
  color: #555;
  text-align: center;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .register-steps-cards {
    flex-direction: column;
    gap: 18px;
    margin: 18px 0 18px 0;
  }
  .step-card {
    max-width: 98vw;
    width: 100%;
    margin: 0 auto;
    padding: 22px 8px 18px 8px;
  }
  .step-num { width: 40px; height: 40px; font-size: 1.3em; }
} 

/* FAQ 樣式 */
.faq-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.faq-section h2 {
  text-align: center;
  color: #ff6600;
  margin-bottom: 40px;
  font-size: 2.2em;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(255,102,0,0.12);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  background: #fff;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #fffbf7;
}

.faq-question h3 {
  margin: 0;
  color: #333;
  font-size: 1.1em;
  font-weight: 600;
  flex: 1;
}

.faq-icon {
  color: #ff6600;
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s;
  margin-left: 16px;
}

.faq-answer {
  padding: 0 24px 20px;
  background: #fff;
  animation: fadeIn 0.3s ease-in-out;
}

.faq-answer p {
  margin: 0;
  line-height: 1.8;
  color: #555;
  font-size: 1.05em;
}

/* 評論樣式 */
.reviews-section {
  padding: 60px 0;
  background: #fff;
}

.reviews-section h2 {
  text-align: center;
  color: #ff6600;
  margin-bottom: 40px;
  font-size: 2.2em;
}

.reviews-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 0 20px;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255,102,0,0.12);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.reviewer-info h4 {
  margin: 0 0 4px 0;
  color: #333;
  font-size: 1.1em;
}

.reviewer-location {
  color: #888;
  font-size: 0.9em;
}

.review-rating {
  display: flex;
  gap: 2px;
}

.star {
  color: #ddd;
  font-size: 1.2em;
  transition: color 0.2s;
}

.star.filled {
  color: #ff6600;
}

.review-title {
  color: #ff6600;
  margin: 8px 0;
  font-size: 1.05em;
  font-weight: 600;
}

.review-content {
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 1.02em;
}

.review-date {
  color: #999;
  font-size: 0.9em;
  text-align: right;
}

/* 響應式設計 */
/* 功能標籤樣式 */
.highlight-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.feature-tag {
  background: linear-gradient(90deg, #ff6600 0%, #ffb347 100%);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  white-space: nowrap;
}

/* 關鍵詞標籤樣式 */
.keyword-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  justify-content: center;
}

.keyword-tag {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  color: #ff6600;
  border: 1px solid #ff6600;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85em;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.keyword-tag:hover {
  background: linear-gradient(135deg, #ff6600 0%, #ffb347 100%);
  color: #fff;
  transform: scale(1.05);
}

/* 價值副標題 */
.value-subtitle {
  color: #666;
  font-size: 1.1em;
  margin: 8px 0 20px 0;
  text-align: center;
  font-weight: 500;
}

/* 內部連結樣式 */
.internal-links {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  border-left: 4px solid #ff6600;
}

.internal-links p {
  margin: 8px 0;
  line-height: 1.6;
}

.internal-links a {
  color: #ff6600;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.internal-links a:hover {
  color: #ffb347;
  text-decoration: underline;
}

/* 遊戲分類樣式 */
.game-categories h3 {
  color: #ff6600;
  margin: 16px 0 8px 0;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-categories p {
  margin: 0 0 12px 0;
  line-height: 1.6;
}

/* 社會證明樣式 */
.social-proof {
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
  border: 2px solid #ffb347;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
  text-align: center;
}

.social-proof .stat-number {
  font-size: 2em;
  font-weight: bold;
  color: #ff6600;
  display: block;
}

.social-proof .stat-label {
  color: #666;
  font-size: 0.9em;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .faq-section, .reviews-section {
    padding: 40px 0;
  }
  
  .faq-question {
    padding: 16px 20px;
  }
  
  .faq-question h3 {
    font-size: 1.02em;
  }
  
  .faq-answer {
    padding: 0 20px 16px;
  }
  
  .reviews-container {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  
  .review-card {
    padding: 20px;
  }
  
  .highlight-features {
    justify-content: center;
  }
  
  .feature-tag {
    font-size: 0.85em;
    padding: 5px 10px;
  }
} 