/* ABCVIP - 永恒金爵风格 (Eternal Gold Luxury) */
/* 黑金奢华设计系统 */

:root {
  /* 主色调 - 黑金配色 */
  --primary-black: #0a0a0a;
  --secondary-black: #1a1a1a;
  --accent-gold: #d4af37;
  --light-gold: #f4e4a6;
  --dark-gold: #b8941f;
  
  /* 辅助色彩 */
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #888888;
  --dark-gray: #333333;
  --red-accent: #dc3545;
  --green-accent: #28a745;
  
  /* 字体系统 */
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Inter', sans-serif;
  --font-vietnamese: 'Roboto', 'Segoe UI', sans-serif;
  
  /* 间距系统 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* 阴影系统 */
  --shadow-light: 0 2px 4px rgba(212, 175, 55, 0.1);
  --shadow-medium: 0 4px 8px rgba(212, 175, 55, 0.2);
  --shadow-heavy: 0 8px 16px rgba(212, 175, 55, 0.3);
  --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.4);
  
  /* 边框半径 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* 重置和基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-vietnamese);
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

/* 容器系统 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-md);
}

/* 头部样式 */
.header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-gold);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-heavy);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
}

.logo {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  flex-shrink: 0;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* 桌面端：隐藏nav内的CTA按钮 */
nav .cta-buttons {
  display: none;
}

/* 桌面端：显示header-content内的CTA按钮 */
.header-content > .cta-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cta-buttons .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* 汉堡菜单按钮 - 默认隐藏 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  order: 3;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-item a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-item a:hover {
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: var(--shadow-light);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-item a:hover::after {
  width: 100%;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
}

/* 按钮系统 */
.btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-vietnamese);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--dark-gold) 100%);
  color: var(--primary-black);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(135deg, var(--light-gold) 0%, var(--accent-gold) 100%);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--primary-black);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* 主要内容区域 */
.main-content {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* 内容块系统 */
.content-block {
  padding: var(--spacing-xxl) 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.content-block:last-child {
  border-bottom: none;
}

.content-block.horizontal .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.content-block.vertical {
  text-align: center;
}

.content-block.vertical p {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-block h2 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.content-block p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--light-gray);
  margin-bottom: var(--spacing-md);
}

/* 网格系统 */
.content-grid {
  padding: var(--spacing-xxl) 0;
}

.content-grid .container {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 .container { grid-template-columns: repeat(2, 1fr); }
.grid-3 .container { grid-template-columns: repeat(3, 1fr); }
.grid-4 .container { grid-template-columns: repeat(4, 1fr); }

.grid-item {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.grid-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.grid-item h3 {
  font-family: var(--font-primary);
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.grid-item p {
  color: var(--light-gray);
  font-size: 0.95rem;
}

/* 英雄区域 */
.hero {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  padding: var(--spacing-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.7) 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero Background Images */
.hero.hero-homepage {
  background-image: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.7) 100%), url('images/hero-homepage.jpg');
}

.hero.hero-services {
  background-image: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.7) 100%), url('images/hero-services.jpg');
}

.hero.hero-about {
  background-image: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.7) 100%), url('images/hero-about.jpg');
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.hero p {
  font-size: 1.3rem;
  color: var(--light-gray);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 页脚样式 */
.footer {
  background: var(--primary-black);
  border-top: 2px solid var(--accent-gold);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  color: var(--accent-gold);
  font-family: var(--font-primary);
  margin-bottom: var(--spacing-md);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: var(--medium-gray);
}

/* 支付方式图标 */
.payment-icons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  margin: var(--spacing-lg) 0;
}

.payment-icon {
  width: 50px;
  height: 30px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--dark-gray);
  font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
  /* 显示汉堡菜单 */
  .hamburger {
    display: flex;
  }

  /* 隐藏桌面端的导航 */
  nav {
    display: none;
  }

  /* 隐藏桌面端的CTA按钮 */
  .header-content > .cta-buttons {
    display: none;
  }

  /* 移动端菜单样式 */
  nav.active {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(10, 10, 10, 0.98);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: var(--spacing-lg);
  }

  .nav-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-item a {
    display: block;
    padding: var(--spacing-md);
    font-size: 1rem;
  }

  /* 移动端菜单内的CTA按钮 */
  nav .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
  }

  nav .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .content-block.horizontal .container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .grid-2 .container, .grid-3 .container, .grid-4 .container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .content-block h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}

/* E-E-A-T Elements Styling */

/* Responsible Gambling Warning */
.rg-warning {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  border-bottom: 3px solid #d4af37;
}

.rg-warning p {
  margin: 0;
  text-align: center;
}

.rg-warning a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

.rg-warning a:hover {
  color: var(--accent-gold);
}

/* Affiliate Disclosure */
.affiliate-disclosure {
  background: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--accent-gold);
  padding: 1.5rem 0;
  margin: 2rem 0;
}

.affiliate-disclosure p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.affiliate-disclosure strong {
  color: var(--accent-gold);
}

/* Author Section */
.author-section {
  background: var(--secondary-black);
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 2px solid var(--accent-gold);
}

.author-section h3 {
  color: var(--accent-gold);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.author-card {
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.author-info h4 {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.author-title {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.author-bio {
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.author-credentials {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 1rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.author-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Last Updated */
.last-updated {
  background: var(--secondary-black);
  padding: 1rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.last-updated p {
  margin: 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .rg-warning {
    font-size: 0.8rem;
    padding: 1rem 0;
  }
  
  .rg-warning p {
    line-height: 1.6;
  }
  
  .affiliate-disclosure {
    padding: 1rem 0;
  }
  
  .affiliate-disclosure p {
    font-size: 0.85rem;
  }
  
  .author-card {
    padding: 1.5rem;
  }
  
  .author-info h4 {
    font-size: 1.2rem;
  }
  
  .author-title {
    font-size: 1rem;
  }
}
