/* INFINITE GAME Website Styles */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6169E7; /* Darker purple */
  --secondary-color: #B5E8F0; /* Light blue from logo */
  --accent-color: #FF6B6B; /* Accent color for highlights */
  --text-color: #333;
  --light-bg: #f8f9fa;
  --dark-bg: #212529;
  --header-height: 80px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #4F51BD;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(97, 105, 231, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(97, 105, 231, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(97, 105, 231, 0.3);
}

/* Utility classes */
.text-center {
  text-align: center;
}

.rounded-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Header styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
}

/* Navigation styles */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.lang-switch-item {
  display: flex;
  align-items: center;
}

.lang-switch {
  display: flex;
  align-items: center;
}

.lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin: 0 5px;
  font-weight: 500;
  transition: color 0.3s;
}

.lang-switch button.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
}

/* Hero section */
.hero {
  background: url('../img/index.jpg') no-repeat center center;
  background-size: cover;
  padding: 180px 0 120px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  background-attachment: fixed; /* 添加视差效果 */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(97, 105, 231, 0.6) 100%);
  z-index: 1;
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(97, 105, 231, 0.8), 0 0 20px rgba(97, 105, 231, 0.5);
  animation: glow 1.5s ease-in-out infinite alternate;
  letter-spacing: 1px;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(97, 105, 231, 0.8), 0 0 20px rgba(97, 105, 231, 0.5);
  }
  to {
    text-shadow: 0 0 15px rgba(97, 105, 231, 1), 0 0 30px rgba(97, 105, 231, 0.8), 0 0 40px rgba(181, 232, 240, 0.6);
  }
}

.hero-text {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto 40px;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.5s;
}

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.hero .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.hero .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(97, 105, 231, 0.4);
}

.hero .btn:hover::before {
  left: 100%;
}

.hero .btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
  background-color: rgba(97, 105, 231, 0.8);
}

/* About section */
.about {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--text-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 20px;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

/* Products section */
.products {
  padding: 100px 0;
  background-color: white;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.view-all-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.view-all-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.featured-products {
  margin-top: 60px;
}

.featured-product {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 80px;
  align-items: center;
}

.featured-product-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.featured-product-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.featured-product:hover .featured-product-image img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
}

.product-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.featured-product-content {
  flex: 1;
  min-width: 300px;
}

.featured-product-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.featured-product-content p {
  margin-bottom: 30px;
  color: #666;
  line-height: 1.8;
}

.product-showcase-image {
  height: 400px;
  object-fit: cover;
}

.product-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.category-group {
  background-color: var(--light-bg);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.category-group:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-group h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
  padding-bottom: 10px;
}

.category-group h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.category-products {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.category-product {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 15px;
  padding: 15px;
  transition: var(--transition);
}

.category-product:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-product-image {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-right: 15px;
  overflow: hidden;
}

.category-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-product-info h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.product-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.product-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.view-all-products {
  text-align: center;
  margin-top: 40px;
}

/* Video Feature Section */
.video-feature {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.video-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.video-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  display: block;
  border: none;
}

.video-text {
  flex: 1;
  min-width: 300px;
  padding: 0 20px;
}

.video-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.video-text p {
  margin-bottom: 30px;
  color: #666;
  line-height: 1.8;
}

/* Careers section */
.careers {
  padding: 100px 0;
}

.careers-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.careers-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 80px;
}

.careers-image {
  flex: 1;
  min-width: 300px;
}

.careers-image img {
  width: 100%;
  height: auto;
}

.careers-details {
  flex: 1;
  min-width: 300px;
}

.careers-culture, 
.careers-benefits {
  margin-bottom: 40px;
}

.careers-culture h3,
.careers-benefits h3,
.open-positions h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.careers-benefits {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 15px;
}

.benefits-list {
  list-style-type: none;
}

.benefits-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.job-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.job-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.job-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.job-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.job-location, 
.job-type {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 0.9rem;
}

.job-location i,
.job-type i {
  margin-right: 8px;
  color: var(--primary-color);
}

.job-description {
  margin-bottom: 25px;
  color: #666;
  line-height: 1.7;
}

/* Contact section */
.contact {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.contact-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.contact-info p {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-methods {
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  margin-bottom: 25px;
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 20px;
  margin-top: 5px;
}

.contact-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text-color);
}

.contact-text p {
  color: #666;
  margin-bottom: 0;
}

.social-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(97, 105, 231, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
}

/* Form validation styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #ff4136;
  box-shadow: 0 0 0 2px rgba(255, 65, 54, 0.2);
}

.error-message {
  color: #ff4136;
  font-size: 0.85rem;
  margin-top: 5px;
  animation: fadeIn 0.3s ease;
}

.form-success-message {
  position: relative;
  background-color: #2ecc40;
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  animation: fadeIn 0.5s ease;
  transition: opacity 0.5s ease;
}

.form-success-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-success-content i {
  font-size: 1.5rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 粒子效果容器 */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* 游戏风格装饰元素 */
.game-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.decoration-item {
  position: absolute;
  opacity: 0.5;
  pointer-events: none;
}

.decoration-1 {
  top: 10%;
  left: 5%;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  transform: rotate(15deg);
  animation: float 8s ease-in-out infinite;
}

.decoration-2 {
  top: 15%;
  right: 10%;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(181, 232, 240, 0.3);
  transform: rotate(-10deg);
  animation: float 6s ease-in-out infinite reverse;
}

.decoration-3 {
  bottom: 15%;
  left: 15%;
  width: 120px;
  height: 60px;
  border: 2px solid rgba(97, 105, 231, 0.3);
  transform: rotate(5deg);
  animation: float 7s ease-in-out infinite 1s;
}

.decoration-4 {
  bottom: 20%;
  right: 5%;
  width: 60px;
  height: 120px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  transform: rotate(-5deg);
  animation: float 9s ease-in-out infinite 0.5s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}

/* 游戏标题框架 */
.game-title-frame {
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  animation: pulse 2s infinite alternate;
}

.game-title-frame::before,
.game-title-frame::after {
  content: '';
  position: absolute;
  background: rgba(97, 105, 231, 0.5);
  z-index: -1;
}

.game-title-frame::before {
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 20px;
  filter: blur(20px);
  opacity: 0.5;
  animation: pulse 2s infinite alternate 0.5s;
}

.game-title-frame::after {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.2;
  filter: blur(5px);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 10px rgba(97, 105, 231, 0.5), 0 0 20px rgba(97, 105, 231, 0.3);
  }
  100% {
    box-shadow: 0 0 15px rgba(97, 105, 231, 0.8), 0 0 30px rgba(97, 105, 231, 0.5);
  }
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  font-size: 1.3rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-column p {
  color: #bbb;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.footer-column ul li {
  margin-bottom: 15px;
}

.footer-column ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-bottom a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: white;
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-text {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .featured-product-content h3,
  .video-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }
  
  .lang-switch-item {
    justify-content: center;
    margin-top: 15px;
  }
  
  .lang-switch {
    justify-content: center;
  }

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

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-content, 
  .featured-product,
  .video-content,
  .careers-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .careers-image {
    margin-bottom: 30px;
  }
  
  .job-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 150px 0 100px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .stats-container {
    flex-direction: column;
  }
  
  .stat-item {
    width: 100%;
  }
  
  .product-categories {
    grid-template-columns: 1fr;
  }
  
  .job-cards {
    grid-template-columns: 1fr;
  }
}

/* Animation enhancement */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Language specific styles */
.en-content, .zh-content {
  display: none;
}

[lang="en"] .en-content {
  display: block;
}

[lang="en"] .zh-content {
  display: none;
}

[lang="zh"] .zh-content {
  display: block;
}

[lang="zh"] .en-content {
  display: none;
}

/* Fix for inline elements like spans */
h1 .en-content, h1 .zh-content,
h2 .en-content, h2 .zh-content,
h3 .en-content, h3 .zh-content,
h4 .en-content, h4 .zh-content,
h5 .en-content, h5 .zh-content,
button .en-content, button .zh-content,
a .en-content, a .zh-content,
label .en-content, label .zh-content,
option .en-content, option .zh-content {
  display: inline;
}

[lang="en"] h1 .zh-content, 
[lang="en"] h2 .zh-content,
[lang="en"] h3 .zh-content,
[lang="en"] h4 .zh-content,
[lang="en"] h5 .zh-content,
[lang="en"] button .zh-content,
[lang="en"] a .zh-content,
[lang="en"] label .zh-content,
[lang="en"] option .zh-content {
  display: none;
}

[lang="zh"] h1 .en-content, 
[lang="zh"] h2 .en-content,
[lang="zh"] h3 .en-content,
[lang="zh"] h4 .en-content,
[lang="zh"] h5 .en-content,
[lang="zh"] button .en-content,
[lang="zh"] a .en-content,
[lang="zh"] label .en-content,
[lang="zh"] option .en-content {
  display: none;
}
