/* Milan Design Week - Black Gold Theme */
/* Luxurious Black and Gold Design System */

/* Color Variables - Black Gold Theme */
:root {
  /* Primary Gold Colors */
  --gold-primary: #D4AF37;
  --gold-light: #F4E5B2;
  --gold-dark: #B8941F;
  --gold-accent: #FFD700;
  
  /* White/Light Colors */
  --black-primary: #FFFFFF;
  --black-secondary: #F8F8F8;
  --black-light: #F0F0F0;
  --black-lighter: #E8E8E8;
  
  /* Text Colors */
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-muted: #666666;
  --text-gold: #D4AF37;
  
  /* Border Colors */
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-gray: rgba(0, 0, 0, 0.1);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 4px 16px rgba(212, 175, 55, 0.3);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Typography */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;
  
  /* Transitions */
  --transition-fast: 150ms;
  --transition-normal: 300ms;
  --transition-slow: 500ms;
}

/* Base Font Styles for Chinese */
body {
  font-family: 'MiSans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  font-feature-settings: 'kern' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--black-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
  background-color: var(--black-primary);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Chinese Text Optimization */
:lang(zh-CN) {
  font-family: 'MiSans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  letter-spacing: 0.05em;
}

/* Selection Colors */
  ::selection {
  background-color: var(--gold-primary);
  color: var(--black-primary);
}

/* Professional Buttons - Black Gold Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: var(--text-base);
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  color: #000000;
  box-shadow: 0 4px 14px 0 rgba(212, 175, 55, 0.4);
  font-weight: 700;
}

.btn-primary::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;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.6);
  color: #000000;
}

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

.btn-secondary:hover {
  background-color: var(--gold-primary);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Navigation - Black Gold Style */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 1000;
  height: 80px;
  transition: all 0.3s ease;
}

/* 滚动后的样式 - 配合 Alpine.js 使用 */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 为了避免内容被固定导航遮挡，需要在 body 或主要内容上添加 padding-top */
body {
  padding-top: 80px;
}

/* 移动端调整 */
@media (max-width: 991px) {
  .navbar {
    height: 70px;
  }
  
  body {
    padding-top: 70px;
  }
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.navbar-logo {
  height: 40px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: -0.025em;
  transition: all 0.3s ease;
}

.navbar-logo:hover {
  color: var(--gold-accent);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}



.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
}

.navbar-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 0;
  transition: all var(--transition-fast);
  position: relative;
  text-transform: uppercase;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
  transition: width 0.3s ease;
}

.navbar-nav a:hover {
  color: var(--gold-primary);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-nav a.active {
  color: var(--gold-primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.hamburger {
  width: 24px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--gold-primary);
  margin-bottom: 6px;
  transition: all var(--transition-normal);
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu {
    position: fixed;
    top: 80px; /* 与导航栏高度一致 */
    left: 0;
    right: 0;
    background: var(--black-primary);
    border-bottom: 1px solid var(--border-gold);
    padding: var(--space-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  
  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mobile-menu li {
    margin-bottom: var(--space-md);
  }
  
  .mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
  }
  
  .mobile-menu a:hover {
    color: var(--gold-primary);
  }
}

/* Professional Hero Banner - Black Gold Style */
.hero-banner {
  position: relative;
  /* height: 80vh; */
  min-height: 600px;
  overflow: hidden;
  background: var(--black-primary);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-content {
  position: absolute;
  bottom: 4rem;
  left: 4rem;
  max-width: 650px;
  color: var(--text-primary);
  z-index: 3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(212, 175, 55, 0.1) 100%);
  z-index: 1;
}

.hero-content h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, var(--text-primary), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: var(--text-xl);
  line-height: 1.5;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .hero-banner {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-content {
    bottom: 2rem;
    left: 1.5rem;
    right: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: var(--text-3xl);
  }
  
  .hero-content p {
    font-size: var(--text-base);
  }
}

/* Carousel Controls - Gold Style */
.carousel-controls {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  gap: var(--space-sm);
  z-index: 3;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid var(--gold-primary);
}

.carousel-dot:hover {
  background: var(--gold-primary);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--gold-primary);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Section Headers - Black Gold Style */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  max-width: 100px;
}

/* Professional Cards - White Gold Style */
.card {
  background: linear-gradient(135deg, var(--black-primary), var(--black-secondary));
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
}

.card-body {
  padding: var(--space-xl);
  position: relative;
  z-index: 1;
}

/* Professional Competition Cards - Black Gold Style */
.competition-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.competition-card {
  background: linear-gradient(135deg, var(--black-primary), var(--black-secondary));
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border-gold);
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.competition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-accent));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.competition-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(212, 175, 55, 0.3);
  border-color: var(--gold-primary);
}

.competition-card:hover::before {
  transform: translateX(0);
}

.competition-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto var(--space-md);
  filter: brightness(0.9) sepia(0.2);
}

.competition-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
  line-height: 1.4;
  color: var(--gold-primary);
}

.competition-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  margin: var(--space-lg) 0;
  opacity: 0.5;
}

.competition-time {
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.competition-time p:first-child {
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: var(--space-xs);
}

/* Professional Category Cards - Black Gold Style */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.category-card {
  background: var(--black-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.category-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 175, 55, 0.2);
}

.category-card:hover::after {
  width: 300px;
  height: 300px;
}

.category-icon {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: var(--space-md);
}

.category-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

/* Professional Timeline - Black Gold Style */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-3xl) 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-dark) 0%, var(--gold-primary) 50%, var(--gold-accent) 100%);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-3xl);
  display: flex;
  align-items: center;
}

@media (min-width: 769px) {
  .timeline-item:nth-child(even) {
    justify-content: flex-end;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 32px);
    text-align: left;
    max-width: calc(50% - 32px);
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: calc(50% + 32px);
    text-align: right;
    max-width: calc(50% - 32px);
  }
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--gold-primary);
  border: 4px solid var(--black-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  transition: all 0.3s ease;
}

.timeline-content {
  flex: 1;
  background: linear-gradient(135deg, var(--black-secondary), var(--black-light));
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-xl), 0 0 30px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.timeline-item:hover .timeline-dot {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
}

@media (max-width: 768px) {
  .timeline-line {
    left: var(--space-lg);
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    order: 0;
    text-align: left;
    margin: 0 0 0 calc(var(--space-lg) * 2);
    width: calc(100% - calc(var(--space-lg) * 2));
  }
  
  .timeline-dot {
    left: var(--space-lg);
  }
}

/* News Section - Black Gold Style */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.news-card {
  background: var(--black-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-gold);
}

.news-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--gold-primary);
}

.news-header a {
  color: var(--gold-primary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity var(--transition-fast);
}

.news-header a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.2s ease;
}

.news-list li:hover {
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-md);
  margin: 0 calc(var(--space-sm) * -1);
  padding: var(--space-md) var(--space-sm);
}

.news-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.news-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.news-list a:hover {
  color: var(--gold-primary);
}

.news-date {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: var(--space-xs);
}

/* Toolkit Sidebar - Black Gold Style */
.toolkit {
  position: fixed;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  background: linear-gradient(135deg, var(--black-secondary), var(--black-light));
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: var(--space-sm);
  box-shadow: var(--shadow-lg);
}

.toolkit-item {
  display: block;
  padding: var(--space-sm);
  color: var(--text-secondary);
  text-decoration: none;
  text-align: center;
  font-size: 0.75rem;
  transition: all var(--transition-fast);
  margin-bottom: var(--space-xs);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.toolkit-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  opacity: 0.3;
}

.toolkit-item:hover::before {
  width: 100px;
  height: 100px;
}

.toolkit-item:hover {
  color: var(--gold-primary);
  transform: scale(1.05);
}

.toolkit-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  display: block;
}

@media (max-width: 1024px) {
  .toolkit {
    display: none;
  }
}

/* Gallery - Black Gold Style */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition-normal);
  border: 1px solid var(--border-gold);
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Region Tags - Black Gold Style */
.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-3xl);
}

.region-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--black-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.region-tag:hover,
.region-tag.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--black-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Footer - Black Gold Style */
.footer {
  /* background: linear-gradient(180deg, var(--black-primary), #000); */
  padding: var(--space-3xl) 0 var(--space-lg);
  border-top: 1px solid var(--border-gold);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  max-width: 1280px;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-xl);
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-section li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-gold);
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* Forms - Black Gold Style */
/* 使用 .theme-form-control 类来应用黑金主题表单样式 */
.theme-form-control {
  background: var(--black-light);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  width: 100%;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.theme-form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.theme-form-control::placeholder {
  color: var(--text-muted);
}

/* 为了兼容性，保留一个包装类的形式 */
.theme-form input[type="text"],
.theme-form input[type="email"],
.theme-form input[type="password"],
.theme-form input[type="tel"],
.theme-form input[type="number"],
.theme-form input[type="date"],
.theme-form input[type="url"],
.theme-form textarea,
.theme-form select {
  background: var(--black-light);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  width: 100%;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.theme-form input[type="text"]:focus,
.theme-form input[type="email"]:focus,
.theme-form input[type="password"]:focus,
.theme-form input[type="tel"]:focus,
.theme-form input[type="number"]:focus,
.theme-form input[type="date"]:focus,
.theme-form input[type="url"]:focus,
.theme-form textarea:focus,
.theme-form select:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.theme-form input::placeholder,
.theme-form textarea::placeholder {
  color: var(--text-muted);
}

/* Tables - Black Gold Style */
/* 使用 .theme-table 类来应用黑金主题表格样式 */
.theme-table {
  width: 100%;
  background: var(--black-secondary);
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.theme-table th {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  color: var(--black-primary);
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.theme-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-gold);
  color: var(--text-secondary);
}

.theme-table tr:last-child td {
  border-bottom: none;
}

.theme-table tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

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

@keyframes goldShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

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

.gold-shimmer {
  background: linear-gradient(90deg, 
    var(--gold-primary) 20%, 
    var(--gold-accent) 50%, 
    var(--gold-primary) 80%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 3s linear infinite;
}

.stagger-children > * {
  animation: fadeInUp 0.6s ease-out;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* Theme Utility Classes - 使用 theme- 前缀避免与 Tailwind 冲突 */
.theme-text-center { text-align: center; }
.theme-text-left { text-align: left; }
.theme-text-right { text-align: right; }

.theme-mb-xs { margin-bottom: var(--space-xs); }
.theme-mb-sm { margin-bottom: var(--space-sm); }
.theme-mb-md { margin-bottom: var(--space-md); }
.theme-mb-lg { margin-bottom: var(--space-lg); }
.theme-mb-xl { margin-bottom: var(--space-xl); }

.theme-mt-xs { margin-top: var(--space-xs); }
.theme-mt-sm { margin-top: var(--space-sm); }
.theme-mt-md { margin-top: var(--space-md); }
.theme-mt-lg { margin-top: var(--space-lg); }
.theme-mt-xl { margin-top: var(--space-xl); }

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Section Spacing */
/* 使用 .theme-section 类来应用黑金主题区块样式 */
.theme-section {
  padding: var(--space-3xl) 0;
  background: var(--black-primary);
}

/* Text Color Utilities - 使用 theme- 前缀 */
.theme-text-gold { color: var(--gold-primary); }
.theme-text-white { color: var(--text-primary); }
.theme-text-muted { color: var(--text-muted); }

/* Partners Section */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.partner-card {
  background: var(--black-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-normal);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  border-color: var(--gold-primary);
}

.partner-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-gold);
}

.partner-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin: 0;
}

.partner-header a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.partner-header a:hover {
  color: var(--gold-primary);
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* Partner Logo Hover Effect */
.partner-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  width: auto;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.partner-item:hover {
  background: rgba(212, 175, 55, 0.1);
}

.partner-item:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Scroll Target Offset */
.scroll-target {
  scroll-margin-top: 120px;
  padding-top: 20px;
  margin-top: -20px;
}

/* Prose Styling for Competition Introduction */
.prose h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1rem;
}

/* Sidebar Active State */
.sidebar-link.active {
  background-color: rgba(212, 175, 55, 0.2);
  color: #D4AF37;
}

/* Background Utilities - 使用 theme- 前缀 */
.theme-bg-black { background: var(--black-primary); }
.theme-bg-black-secondary { background: var(--black-secondary); }
.theme-bg-gradient-gold { 
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary)); 
}

/* Responsive utilities */
/* Mobile Responsive Utilities - 使用不同的命名避免与 Tailwind 冲突 */
@media (max-width: 768px) {
  .mobile-hidden { display: none; }
  .mobile-block { display: block; }
  .mobile-text-center { text-align: center; }
  
  .container {
    padding: 0 var(--space-lg);
  }
  
  .theme-section {
    padding: var(--space-2xl) 0;
  }
}

/* Competition Statistics Section */
.competition-stats {
  background: linear-gradient(135deg, var(--black-secondary) 0%, var(--black-primary) 100%);
  position: relative;
  overflow: hidden;
}

.competition-stats::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Countdown Timer */
.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Courier New', monospace;
  margin-bottom: 3rem;
}

.time-unit {
  text-align: center;
}

.time-value {
  background: var(--black-primary);
  color: var(--text-primary);
  font-size: 3.5rem;
  font-weight: 700;
  padding: 1rem 1.5rem;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.1em;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(212, 175, 55, 0.2);
  position: relative;
  overflow: hidden;
}

.time-value::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.1), transparent);
  pointer-events: none;
}

.time-separator {
  color: var(--gold-primary);
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0.5rem;
}

.time-label {
  color: var(--gold-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

/* Participant Counter */
.participant-counter {
  position: relative;
  z-index: 1;
}

.counter-wrapper {
  display: inline-block;
  padding: 3rem 5rem;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: var(--radius-xl);
}

.counter-label {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.counter-value {
  font-size: 5rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

#participant-count {
  transition: all 0.3s ease;
}

.counter-suffix {
  font-size: 3rem;
  opacity: 0.8;
}

.counter-description {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .countdown-timer {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .time-value {
    font-size: 2.5rem;
    padding: 0.75rem 1rem;
    min-width: 80px;
  }
  
  .time-separator {
    display: none;
  }
  
  .time-label {
    font-size: 0.75rem;
  }
  
  .counter-wrapper {
    padding: 2rem 3rem;
  }
  
  .counter-value {
    font-size: 3.5rem;
  }
  
  .counter-suffix {
    font-size: 2rem;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold-primary);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--black-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}