/*
=================================================================
33WIN01 WEBSITE - RENAISSANCE FRESCO STYLE
=================================================================
核心理念: 营造佛罗伦萨教堂或宫殿的庄严华丽感
色彩: 赭石、灰绿、暗金、天空蓝
字体: 古典优雅的衬线字体
视觉: 大理石纹理、壁画、古典雕塑、华丽画框
=================================================================
*/

/* CSS变量 - Renaissance Fresco配色方案 */
:root {
  /* 主色调 */
  --primary-burgundy: #8B0000;     /* 勃艮第红 */
  --primary-gold: #DAA520;         /* 暗金色 */
  --primary-navy: #1B1B3A;        /* 海军蓝 */
  --primary-cream: #F5F5DC;       /* 奶油色 */

  /* 辅助色 */
  --accent-bronze: #CD7F32;       /* 青铜色 */
  --accent-marble: #E6E6E6;       /* 大理石灰 */
  --accent-fresco: #D2B48C;       /* 壁画棕 */
  --accent-olive: #808000;        /* 橄榄绿 */

  /* 文字色彩 */
  --text-dark: #2F2F2F;
  --text-light: #FFFFFF;
  --text-gold: var(--primary-gold);
  --text-muted: #666666;

  /* 背景和边框 */
  --bg-primary: var(--primary-cream);
  --bg-dark: var(--primary-navy);
  --bg-overlay: rgba(27, 27, 58, 0.85);
  --border-gold: 2px solid var(--primary-gold);

  /* 字体系列 */
  --font-primary: 'Trajan Pro', 'Cinzel', serif;
  --font-secondary: 'Crimson Text', 'Playfair Display', serif;
  --font-body: 'Libre Baskerville', 'Georgia', serif;
  --font-modern: 'Inter', 'Segoe UI', sans-serif;

  /* 间距系统 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* 断点 */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
  --breakpoint-desktop: 1200px;
}

/* Google字体导入 */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-primary);
  background-image:
    radial-gradient(circle at 25% 25%, rgba(218, 165, 32, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 0, 0, 0.05) 0%, transparent 50%);
  overflow-x: hidden;
}

/* 古典画框效果容器 */
.fresco-frame {
  position: relative;
  padding: var(--spacing-lg);
  background: linear-gradient(145deg, var(--accent-marble), var(--primary-cream));
  border: 3px solid var(--primary-gold);
  border-radius: 8px;
  box-shadow:
    inset 0 0 20px rgba(218, 165, 32, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.15);
}

.fresco-frame::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  background: linear-gradient(45deg, var(--accent-bronze), var(--primary-gold), var(--accent-bronze));
  border-radius: 12px;
  z-index: -1;
}

/* =================================================================
HEADER AND NAVIGATION
================================================================= */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--primary-navy), rgba(27, 27, 58, 0.95));
  backdrop-filter: blur(10px);
  border-bottom: var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
  max-width: var(--breakpoint-desktop);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
}

.logo {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-gold);
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

/* Image logo support */
.logo img {
  height: 40px;
  width: auto;
  display: block;
}


.main-nav > ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.7em;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, var(--primary-navy), rgba(27, 27, 58, 0.98));
  border: 1px solid var(--primary-gold);
  border-radius: 8px;
  padding: var(--spacing-xs) 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1001;
}

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

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: var(--spacing-xs) var(--spacing-md);
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(218, 165, 32, 0.15);
  color: var(--primary-gold);
  padding-left: calc(var(--spacing-md) + 8px);
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1.1rem;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

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

.main-nav a:hover {
  color: var(--primary-gold);
  background: rgba(218, 165, 32, 0.1);
}

.main-nav a:hover::before {
  width: 100%;
}

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

/* 移动端导航 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: var(--border-gold);
  color: var(--primary-gold);
  font-size: 1.5rem;
  padding: var(--spacing-xs);
  border-radius: 4px;
  cursor: pointer;
}

/* =================================================================
BUTTON STYLES
================================================================= */

.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-secondary);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-burgundy), #A0001C);
  color: var(--text-light);
  border: 2px solid var(--primary-gold);
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-gold), #E6B800);
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.2rem;
}

/* =================================================================
HERO SECTIONS
================================================================= */

.hero-overlay {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(27, 27, 58, 0.7), rgba(139, 0, 0, 0.5)),
              url('../imgs/hero-casino-bg.jpg') center/cover no-repeat;
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(218, 165, 32, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(139, 0, 0, 0.15) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--spacing-xl);
  background: rgba(27, 27, 58, 0.85);
  border: var(--border-gold);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--primary-gold);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-family: var(--font-secondary);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: var(--spacing-lg);
  font-style: italic;
  color: var(--primary-cream);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.trust-badges {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-modern);
  font-size: 0.9rem;
  color: var(--accent-marble);
}

.trust-badges span {
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(218, 165, 32, 0.2);
  border-radius: 20px;
  border: 1px solid var(--primary-gold);
}

/* Hero左右布局 */
.hero-left-right {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  max-width: var(--breakpoint-desktop);
  margin: var(--spacing-xxl) auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero-left-right .hero-content {
  background: var(--bg-primary);
  color: var(--text-dark);
  border: var(--border-gold);
}

.hero-left-right h1 {
  color: var(--primary-burgundy);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: var(--border-gold);
}

/* =================================================================
CONTENT BLOCKS
================================================================= */

.content-blocks {
  max-width: var(--breakpoint-desktop);
  margin: var(--spacing-xxl) auto;
  padding: 0 var(--spacing-md);
}

.content-block {
  display: grid;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xxl);
  align-items: center;
}

.content-blocks.horizontal .content-block {
  grid-template-columns: 1fr 2fr;
}

.content-blocks.horizontal .content-block:nth-child(even) {
  grid-template-columns: 2fr 1fr;
}

.content-blocks.horizontal .content-block:nth-child(even) .block-image {
  order: 2;
}

.content-blocks.vertical .content-block {
  grid-template-columns: 1fr;
  text-align: center;
}

.block-image {
  position: relative;
}

.block-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: var(--border-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.block-content {
  padding: var(--spacing-lg);
  background: var(--bg-primary);
  border: var(--border-gold);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.block-content h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.block-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  text-align: justify;
}

.block-content p:last-child {
  margin-bottom: 0;
}

/* =================================================================
CONTENT GRIDS
================================================================= */

.content-grid {
  max-width: var(--breakpoint-desktop);
  margin: var(--spacing-xxl) auto;
  padding: 0 var(--spacing-md);
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-burgundy);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
  transform: translateX(-50%);
}

.grid-container {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.grid-container.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-container.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-item {
  background: var(--bg-primary);
  border: var(--border-gold);
  border-radius: 8px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(139, 0, 0, 0.2);
}

.item-image {
  margin-bottom: var(--spacing-md);
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.item-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.grid-item:hover .item-image img {
  transform: scale(1.05);
}

.grid-item h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.grid-item p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  text-align: justify;
}

.item-link {
  display: inline-block;
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-secondary);
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.item-link:hover {
  border-bottom-color: var(--primary-gold);
}

/* =================================================================
STATISTICS AND TESTIMONIALS
================================================================= */

.testimonials-stats {
  background: var(--primary-navy);
  color: var(--text-light);
  padding: var(--spacing-xxl) var(--spacing-md);
  margin: var(--spacing-xxl) 0;
}

.testimonials-stats .section-title {
  color: var(--primary-gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  max-width: var(--breakpoint-desktop);
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(218, 165, 32, 0.1);
  border: 2px solid var(--primary-gold);
  border-radius: 8px;
}

.stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-gold);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: var(--text-light);
}

/* =================================================================
CTA SECTIONS
================================================================= */

.cta-section {
  background: linear-gradient(135deg, var(--primary-burgundy), #A0001C);
  color: var(--text-light);
  text-align: center;
  padding: var(--spacing-xxl) var(--spacing-md);
  margin: var(--spacing-xxl) 0;
}

.cta-section h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-md);
  color: var(--primary-gold);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* =================================================================
FOOTER
================================================================= */

/* Main Footer (new unified footer) */
.main-footer {
  background: linear-gradient(135deg, var(--primary-navy), rgba(27, 27, 58, 0.95));
  color: var(--text-light);
  padding-top: var(--spacing-xxl);
  border-top: 3px solid var(--primary-gold);
}

.footer-content {
  max-width: var(--breakpoint-desktop);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--spacing-xl);
  padding: 0 var(--spacing-md) var(--spacing-xl);
}

.footer-section h3 {
  font-family: var(--font-primary);
  color: var(--primary-gold);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.footer-section a {
  color: var(--accent-marble);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-gold);
  padding-left: 8px;
}

.footer-section p {
  margin-bottom: var(--spacing-sm);
  color: var(--accent-marble);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-links a {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: var(--spacing-md);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: var(--spacing-md);
  text-align: center;
  border-top: 1px solid rgba(218, 165, 32, 0.3);
}

.footer-bottom .disclaimer {
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--accent-marble);
}

.footer-bottom .license-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.footer-bottom .license-info img {
  height: 40px;
  width: auto;
}

/* Old Trust Footer (kept for compatibility) */
.trust-footer {
  background: var(--primary-navy);
  color: var(--text-light);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

.disclaimer {
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--accent-marble);
}

.license-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.license-info img {
  height: 40px;
  width: auto;
}

.internal-links {
  background: var(--accent-fresco);
  padding: var(--spacing-md);
  text-align: center;
}

.internal-links a {
  color: var(--primary-navy);
  text-decoration: none;
  margin: 0 var(--spacing-sm);
  font-weight: 600;
  font-family: var(--font-secondary);
}

.internal-links a:hover {
  color: var(--primary-burgundy);
}

/* =================================================================
FORM STYLES
================================================================= */

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  background: var(--bg-primary);
  border: var(--border-gold);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm);
  border: 2px solid var(--accent-marble);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
}

.form-hint {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--spacing-xs);
}

/* =================================================================
RESPONSIVE DESIGN
================================================================= */

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--primary-navy);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    padding-top: 80px;
  }

  .main-nav.mobile-open {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: var(--spacing-md);
  }

  .main-nav li {
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
  }

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

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-toggle.active {
    color: var(--primary-gold);
    background: rgba(218, 165, 32, 0.2);
  }

  /* Mobile header layout optimizations */
  .header-cta { display: none; }
  .mobile-menu-toggle {
    border: none;
    background: transparent;
    font-size: 1.8rem;
    padding: 6px 10px;
    line-height: 1;
    border-radius: 6px;
  }
  .header-content { gap: 8px; }


  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .hero-left-right {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .content-blocks.horizontal .content-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .content-blocks.horizontal .content-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .content-blocks.horizontal .content-block:nth-child(even) .block-image {
    order: 0;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .trust-badges {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

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

@media (max-width: 480px) {
  :root {
    --spacing-xxl: 2rem;
    --spacing-xl: 1.5rem;
  }

  /* Adjust logo image size on mobile */
  .logo img {
    height: 32px;
  }


  .header-content {
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .logo {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .license-info {
    flex-direction: column;
  }
}

/* =================================================================
LOADING AND ANIMATION EFFECTS
================================================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.4), transparent);
  background-size: 200px 100%;
  animation: shimmer 2s infinite;
}

/* =================================================================
ACCESSIBILITY AND PRINT STYLES
================================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media print {
  .main-header,
  .mobile-menu-toggle,
  .cta-section,
  .trust-footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .content-block,
  .grid-item {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  :root {
    --primary-burgundy: #000000;
    --primary-gold: #FFFF00;
    --text-dark: #000000;
    --text-light: #FFFFFF;
  }
}

/* 减少动画偏好支持 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =================================================================
QUALITY CONTENT ELEMENTS
================================================================= */

/* 联盟披露声明 */
.affiliate-disclosure {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 16px 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: #856404;
}

.affiliate-disclosure p {
  margin: 0;
  font-weight: 500;
}

/* 作者信息框 */
.author-info {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details h4 {
  margin: 0 0 8px 0;
  color: var(--color-primary);
  font-size: 16px;
}

.author-details p {
  margin: 4px 0;
  font-size: 14px;
  color: #6c757d;
  line-height: 1.4;
}

.author-details strong {
  color: var(--color-text);
}

/* 更新日期 */
.last-updated {
  font-size: 12px;
  color: #6c757d;
  font-style: italic;
  text-align: center;
  margin: 16px 0;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 4px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .author-info {
    flex-direction: column;
    text-align: center;
  }

  .affiliate-disclosure {
    margin: 12px 0;
    padding: 10px 12px;
    font-size: 13px;
  }
}