/* style/game-types.css */
.page-game-types {
  font-family: 'Arial', sans-serif;
  color: #333;
  background-color: #f8f8f8;
  line-height: 1.6;
}

.page-game-types__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-types__section {
  padding: 60px 0;
  text-align: center;
}

.page-game-types__section:nth-of-type(odd) {
  background-color: #f0f0f0;
}

.page-game-types__hero-section {
  background: linear-gradient(135deg, #0A244A 0%, #304E80 100%); /* Dark blue gradient */
  color: #fff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-game-types__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-game-types__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  line-height: 1.2;
}

.page-game-types__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-game-types__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-game-types__section-title {
  font-size: 2.5em;
  color: #0A244A;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.page-game-types__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-game-types__text-block {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-types__keyword {
  font-weight: bold;
  color: #0A244A;
}

.page-game-types__hero-section .page-game-types__keyword {
  color: #FFD700;
}

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

.page-game-types__category-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-types__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-game-types__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-types__card-title {
  font-size: 1.8em;
  color: #0A244A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-types__card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-types__sub-title {
  font-size: 1.3em;
  color: #0A244A;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-types__access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-game-types__access-card {
  background-color: #0A244A;
  color: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-types__access-card .page-game-types__card-title {
  color: #FFD700;
  margin-bottom: 15px;
}

.page-game-types__access-card p {
  color: #E0E0E0;
  margin-bottom: 25px;
}

.page-game-types__access-card .page-game-types__keyword {
  color: #FFD700;
}

.page-game-types__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.page-game-types__detail-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-types__detail-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-game-types__detail-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-game-types__detail-title {
  font-size: 1.5em;
  color: #0A244A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-types__detail-title a {
  color: #0A244A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-types__detail-title a:hover {
  color: #FFD700;
}

.page-game-types__detail-description {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-types__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-game-types__btn--primary {
  background-color: #FFD700;
  color: #0A244A;
  font-size: 1.1em;
}

.page-game-types__btn--primary:hover {
  background-color: #e6c200;
}

.page-game-types__btn--secondary {
  background-color: #0A244A;
  color: #FFD700;
  font-size: 1em;
  padding: 10px 20px;
}

.page-game-types__btn--secondary:hover {
  background-color: #1a3d6d;
  color: #fff;
}

.page-game-types__btn--link {
  background-color: transparent;
  color: #0A244A;
  border: 1px solid #0A244A;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-game-types__btn--link:hover {
  background-color: #0A244A;
  color: #FFD700;
}

.page-game-types__section--responsibility {
  background-color: #0A244A;
  color: #fff;
}

.page-game-types__section--responsibility .page-game-types__section-title {
  color: #FFD700;
}

.page-game-types__section--responsibility .page-game-types__section-title::after {
  background-color: #fff;
}

.page-game-types__section--responsibility .page-game-types__text-block {
  color: #E0E0E0;
}

.page-game-types__section--responsibility .page-game-types__keyword {
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-game-types__hero-title {
    font-size: 2.5em;
  }

  .page-game-types__hero-description {
    font-size: 1em;
  }

  .page-game-types__section-title {
    font-size: 2em;
  }

  .page-game-types__category-grid,
  .page-game-types__access-grid,
  .page-game-types__detail-list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-game-types__hero-title {
    font-size: 2em;
  }

  .page-game-types__section {
    padding: 40px 0;
  }

  .page-game-types__section-title {
    font-size: 1.8em;
  }

  .page-game-types__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
}