@import url("components.css");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  color: #fff;
}

.header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
  font-size: 1.2em;
  color: #e0e0e0;
}

.modules-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
}

.module {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  width: 100%;
  max-width: 500px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module h2 {
  color: #ffd700;
  margin-bottom: 20px;
  font-size: 1.8em;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.games {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.game-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 15px;
  flex: 1;
  min-width: 200px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.game-card i {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #ffd700;
}

.game-card h3 {
  margin-bottom: 8px;
  font-size: 1.2em;
}

.game-card p {
  font-size: 0.9em;
  color: #e0e0e0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .modules-container {
    gap: 20px;
  }

  .module {
    padding: 15px;
  }

  .game-card {
    min-width: 150px;
  }
}
