/* style/game-types.css */
.page-game-types {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Light text on dark background */
  background-color: #0A2239; /* Main dark blue background */
}

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

.page-game-types__hero {
  background: linear-gradient(135deg, #0A2239 0%, #1A3A5A 100%); /* Dark blue gradient */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-types__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,dark_pattern]');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.page-game-types__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Golden yellow for emphasis */
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page-game-types__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #E0E0E0;
  position: relative;
  z-index: 1;
}

.page-game-types__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
  border: none;
  position: relative;
  z-index: 1;
}

.page-game-types__btn--primary {
  background-color: #FFD700; /* Golden yellow */
  color: #0A2239; /* Dark blue text */
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-game-types__btn--primary:hover {
  background-color: #E6C200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-game-types__btn--secondary {
  background-color: #1A3A5A; /* Slightly lighter dark blue */
  color: #FFD700; /* Golden yellow text */
  border: 1px solid #FFD700;
}

.page-game-types__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2239;
  transform: translateY(-2px);
}

.page-game-types__btn--outline {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-game-types__btn--outline:hover {
  background-color: #FFD700;
  color: #0A2239;
  transform: translateY(-2px);
}

.page-game-types__game-categories,
.page-game-types__why-choose,
.page-game-types__registration-guide,
.page-game-types__faq {
  padding: 60px 0;
  background-color: #0A2239;
}

.page-game-types__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-game-types__section-subtitle {
  font-size: 1.1em;
  color: #E0E0E0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

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

.page-game-types__card {
  background-color: #1A3A5A; /* Slightly lighter dark blue for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-game-types__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-game-types__card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
  margin-bottom: 20px;
}

.page-game-types__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-game-types__card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-types__card-title a:hover {
  color: #E6C200;
}

.page-game-types__card-description {
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-game-types__grid--features {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 50px;
}

.page-game-types__feature-item {
  background-color: #1A3A5A;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-game-types__feature-item:hover {
  transform: translateY(-5px);
}

.page-game-types__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-game-types__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-game-types__feature-description {
  font-size: 0.95em;
  color: #E0E0E0;
  line-height: 1.6;
}

.page-game-types__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

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

.page-game-types__step-item {
  background-color: #1A3A5A;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.page-game-types__step-number {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  background-color: #FFD700;
  color: #0A2239;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  z-index: 2;
}

.page-game-types__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-game-types__step-description {
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-game-types__faq {
  background-color: #0A2239;
}

.page-game-types__accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-types__accordion-item {
  background-color: #1A3A5A;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-game-types__accordion-header {
  width: 100%;
  background-color: #2E5077; /* Slightly lighter than card bg */
  color: #FFD700;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-game-types__accordion-header:hover,
.page-game-types__accordion-header.active {
  background-color: #3A628F;
}

.page-game-types__accordion-header::after {
  content: '\25BC'; /* Down arrow */
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.page-game-types__accordion-header.active::after {
  transform: rotate(-180deg);
}

.page-game-types__accordion-content {
  padding: 0 25px;
  background-color: #1A3A5A;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-game-types__accordion-content p {
  padding: 15px 0;
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.6;
}

.page-game-types__accordion-content p a {
  color: #FFD700;
  text-decoration: underline;
}

.page-game-types__accordion-content p a:hover {
  color: #E6C200;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-types__hero-title {
    font-size: 2.8em;
  }
  .page-game-types__section-title {
    font-size: 2em;
  }
  .page-game-types__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-types__hero {
    padding: 60px 0;
  }
  .page-game-types__hero-title {
    font-size: 2.2em;
  }
  .page-game-types__hero-description {
    font-size: 1em;
  }
  .page-game-types__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-game-types__btn--outline {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-game-types__cta-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-game-types__section-title {
    font-size: 1.8em;
  }
  .page-game-types__section-subtitle {
    font-size: 0.95em;
  }
  .page-game-types__grid,
  .page-game-types__grid--features,
  .page-game-types__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-game-types__card-img {
    height: 180px;
  }
  .page-game-types__card-title {
    font-size: 1.5em;
  }
  .page-game-types__feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-game-types__step-title {
    font-size: 1.4em;
  }
  .page-game-types__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-game-types__accordion-content {
    padding: 0 20px;
  }
  .page-game-types__accordion-content p {
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .page-game-types__hero-title {
    font-size: 1.8em;
  }
  .page-game-types__section-title {
    font-size: 1.5em;
  }
  .page-game-types__hero,
  .page-game-types__game-categories,
  .page-game-types__why-choose,
  .page-game-types__registration-guide,
  .page-game-types__faq {
    padding: 40px 0;
  }
  .page-game-types__btn {
    width: 100%;
    margin: 5px 0 !important;
  }
}