:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #60a5fa;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-light: #9ca3af;
  --background: #f9fafb;
  --surface: #ffffff;
  --surface-light: #f3f4f6;
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding-bottom: 100px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.15);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand .logo {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.navbar-brand .logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.navbar-menu {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background-color 0.3s;
  position: relative;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s, left 0.3s;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.navbar-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
  transition: all 0.3s;
}

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

.navbar-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

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

.hero {
  text-align: center;
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background-color: white;
  color: var(--primary-color);
}

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

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.contact-section {
  padding: 100px 0 80px;
  background-color: var(--surface);
  position: relative;
  margin-top: -50px;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
}

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

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  margin: 0 auto;
  border-radius: 2px;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .contact-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

@media (min-width: 1200px) {
  .contact-container {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }
}

.contact-card {
  background-color: var(--surface);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.email-link:hover {
  background-color: rgba(59, 130, 246, 0.05);
}

.email-link:active {
  transform: translateY(-8px) scale(0.98);
  box-shadow: var(--shadow-lg);
}

.email-hint {
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.contact-card:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1);
  pointer-events: none;
}

.contact-visual {
  margin-bottom: 24px;
  position: relative;
}

.qr-container {
  position: relative;
  display: inline-block;
  pointer-events: none;
}

.qr-code {
  width: 140px;
  height: 140px;
  background-color: var(--surface-light);
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
  pointer-events: none;
}

.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  pointer-events: auto;
}

.qr-icon {
  width: 60px;
  height: 60px;
  background-color: var(--text-light);
  border-radius: 50%;
  position: relative;
}

.qr-icon::before,
.qr-icon::after {
  content: '';
  position: absolute;
  background-color: var(--surface-light);
}

.qr-icon::before {
  top: 20px;
  left: 10px;
  width: 40px;
  height: 20px;
}

.qr-icon::after {
  top: 10px;
  left: 20px;
  width: 20px;
  height: 40px;
}

#wechat-qr:after {
  content:;
}

#service-account:after {
  content:;
}

#official-account:after {
  content:;
}

#wechat-qr-secondary:after {
  content:;
}

#alipay-qr:after {
  content:;
}

.email-icon-container {
  position: relative;
  display: inline-block;
}

.email-icon {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
}

.email-icon svg {
  width: 80px;
  height: 80px;
  fill: white;
}

.glowing-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius);
  box-shadow: 0 0 20px rgba(63, 94, 251, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
}

.contact-card:hover .glowing-effect {
  opacity: 1;
}

.contact-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-content p {
  color: var(--text-secondary);
}

.business-section {
  padding: 80px 0 60px;
  background-color: var(--background);
  position: relative;
}

.sponsorship-section {
  padding: 60px 0 40px;
  background-color: var(--surface-light);
  position: relative;
}

.sponsorship-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--text-light), transparent);
  opacity: 0.3;
}

.sponsorship-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.payment-option {
  background-color: var(--surface);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.payment-option:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.payment-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.sponsorship-note {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

#sponsorship-wechat:after {
  content:;
}

#sponsorship-alipay:after {
  content:;
}

.business-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--text-light), transparent);
  opacity: 0.3;
}

.business-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.business-card {
  background-color: var(--surface);
  border-radius: var(--border-radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--surface-light);
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.2);
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform: scaleY(0);
  transition: transform 0.3s;
}

.business-card:hover::before {
  transform: scaleY(1);
}

.card-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 24px;
  opacity: 0.8;
  min-width: 60px;
}

.card-content {
  flex: 1;
}

.card-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card-arrow {
  margin-left: 16px;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--surface-light);
}

.business-card:hover .card-arrow {
  transform: translateX(8px);
  background-color: var(--primary-color);
}

.business-card:hover .arrow-icon {
  fill: white;
}

.arrow-icon {
  width: 20px;
  height: 20px;
  fill: var(--text-light);
  transition: fill 0.3s;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: var(--surface);
  margin: 15% auto;
  padding: 0;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
  animation: fadeIn 0.3s ease;
}

.image-modal-content {
  position: relative;
  margin: 0 auto;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1002;
}

.image-modal-close:hover {
  color: #bbb;
}

.image-modal-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
}

.image-modal-caption {
  color: white;
  text-align: center;
  margin-top: 20px;
  font-size: 1.1rem;
}

.clickable-image {
  cursor: pointer;
  transition: transform 0.2s ease;
  pointer-events: auto;
  z-index: 10;
  position: relative;
}

.clickable-image:hover {
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 24px;
  color: white;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-body {
  padding: 32px 24px;
}

.countdown-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}

.progress-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-bg {
  fill: none;
  stroke: var(--surface-light);
  stroke-width: 3;
}

.progress-bar {
  fill: none;
  stroke: url(#gradient);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 1s linear;
}

.countdown-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-body p {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.modal-footer {
  padding: 24px;
  background-color: var(--surface-light);
}

.modal-footer button {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.modal-footer button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(63, 94, 251, 0.3);
}

.footer {
  background-color: var(--text-primary);
  color: white;
  padding: 40px 0;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  margin-bottom: 8px;
}

.footer-content a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-content a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .business-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 0;
  }
  
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.4s ease;
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 10px 20px;
  }
  
  .navbar-toggle {
    display: flex;
    z-index: 101;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 200px;
    text-align: center;
  }
  
  .contact-section {
    padding: 80px 0 60px;
    border-radius: 30px 30px 0 0;
    margin-top: -40px;
  }
  
  .section-header {
    margin-bottom: 60px;
  }
  
  .contact-card {
    padding: 30px 24px;
  }
  
  .qr-code, .email-icon {
    width: 120px;
    height: 120px;
  }
  
  .qr-code {
    padding: 6px;
  }
  
  .business-card {
    padding: 28px 24px;
  }
  
  .card-number {
    font-size: 2.5rem;
    margin-right: 20px;
    min-width: 50px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .header {
    padding-bottom: 80px;
  }
  
  .hero {
    padding: 40px 0;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .contact-section {
    padding: 60px 0 40px;
    margin-top: -30px;
  }
  
  .business-section {
    padding: 60px 0;
  }
  
  .sponsorship-section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .contact-container {
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-card {
    padding: 24px 20px;
  }
  
  .qr-code, .email-icon {
    width: 100px;
    height: 100px;
  }
  
  .business-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .business-card {
    padding: 24px 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .card-number {
    margin-right: 0;
    margin-bottom: 16px;
  }
  
  .card-arrow {
    margin-left: 0;
    margin-top: 16px;
  }
  
  .business-card:hover .card-arrow {
    transform: translateY(8px);
  }
  
  .modal-content {
    width: 90%;
    margin: 30% auto;
  }
  
  .footer {
    padding: 30px 0;
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface-light);
}

::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

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

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