html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  padding-top: 70px;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  min-height: 100vh;
}

.border-gold {
  border-color: #d4af37 !important;
}

.border-gray {
  border-color: #666666 !important;
}

.text-gold {
  color: #d4af37 !important;
}

.bg-dark-blue {
  background-color: #0a1128;
}

.bg-dark-clear {
  background-color: #0a112840;
}

.btn-gold {
  background-color: #d4af37;
  color: #000000;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 5px;
}

.btn-gold:hover {
  background-color: #f1c40f;
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/background.png') no-repeat center center;
  background-size: cover;
  opacity: 0.8;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.game-screenshots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.screenshot-item {
  flex: 1 1 300px;
  position: relative;
  overflow: hidden;
  border: 1px solid #d4af37;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

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

.classes-section {
  padding: 60px 0;
  background-color: #0a1128;
}

.class-card {
  background-color: rgba(10, 17, 40, 0.8);
  border: 1px solid #d4af37;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* 确保卡片内容区域填满 */
.class-card-content {
  flex: 1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

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

.container-fluid {
  width: 100%;
  padding: 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.rounded {
  border-radius: 8px !important;
}

.g-4 {
  gap: 10px !important;
}

.py-10 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.mb-8 {
  margin-bottom: 40px;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

.text-sm {
  font-size: 0.875rem;
}

.max-w-3xl {
  max-width: 48rem;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  gap: 1rem;
}

.nav-link {
  color: #d4af37;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #f1c40f;
}

.navbar-toggler {
  border: 1px solid #d4af37;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d4af37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Footer */
footer {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid #d4af37;
  background-color: #000000;
  color: #d4af37;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .game-screenshots {
    flex-direction: column;
  }
  
  .screenshot-item {
    flex: 1 1 100%;
  }
  
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .navbar-nav {
    flex-direction: column;
    text-align: center;
  }
  
  .navbar-nav .nav-item {
    margin: 5px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}