/* style/game-types.css */

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

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

/* Hero Section */
.page-game-types__hero-section {
  background: linear-gradient(135deg, #0A2E50 0%, #1A4A7A 100%); /* Dark blue gradient */
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-types__hero-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  filter: blur(50px);
}

.page-game-types__hero-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background-color: rgba(255, 215, 0, 0.15);
  border-radius: 50%;
  filter: blur(60px);
}

.page-game-types__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-types__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.page-game-types__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #0A2E50;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-game-types__cta-button:hover {
  background-color: #e6c200; /* Darker gold */
  transform: translateY(-3px);
}

/* General Section Styling */
.page-game-types__section {
  padding: 60px 0;
  background-color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-game-types__section:nth-of-type(even) {
  background-color: #f2f4f6; /* Light gray for alternating sections */
}

.page-game-types__section-title {
  font-size: 2.5em;
  color: #0A2E50;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-game-types__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
}

.page-game-types .highlight {
  color: #FFD700;
}

/* Overview Section */
.page-game-types__overview .page-game-types__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-game-types__overview .page-game-types__text-content {
  flex: 1;
  font-size: 1.05em;
  color: #444;
}

.page-game-types__overview .page-game-types__text-content p {
  margin-bottom: 15px;
}

.page-game-types__overview .page-game-types__image-container {
  flex: 1;
  text-align: center;
}

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

/* Game Categories Grid */
.page-game-types__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-game-types__category-item {
  background-color: #0A2E50;
  color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-types__category-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-game-types__category-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-game-types__category-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-game-types__button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px; /* Ensure space above buttons */
}

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

.page-game-types__button--primary {
  background-color: #FFD700;
  color: #0A2E50;
}

.page-game-types__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-game-types__button--details {
  background-color: #335d8a; /* A lighter shade of primary blue */
  color: #fff;
}

.page-game-types__button--details:hover {
  background-color: #4a75a8;
  transform: translateY(-2px);
}

/* Why F88bet Section */
.page-game-types__why-f88bet {
  background-color: #0A2E50;
  color: #fff;
}

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

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

.page-game-types__feature-item {
  background-color: #1A4A7A; /* Slightly lighter blue for contrast */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.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;
}

/* Bottom CTA */
.page-game-types__cta-bottom {
  text-align: center;
  padding: 80px 0;
  background-color: #f2f4f6;
}

.page-game-types__cta-bottom .page-game-types__section-title {
  color: #0A2E50;
}

.page-game-types__cta-bottom .page-game-types__description {
  color: #555;
  margin-bottom: 40px;
}

.page-game-types__cta-button--large {
  padding: 18px 40px;
  font-size: 1.25em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-types__main-title {
    font-size: 2.8em;
  }
  .page-game-types__section-title {
    font-size: 2em;
  }
  .page-game-types__overview .page-game-types__content-wrapper {
    flex-direction: column;
  }
  .page-game-types__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-types__hero-section {
    padding: 80px 0;
  }
  .page-game-types__main-title {
    font-size: 2.2em;
  }
  .page-game-types__hero-description {
    font-size: 1em;
  }
  .page-game-types__section {
    padding: 40px 0;
  }
  .page-game-types__section-title {
    font-size: 1.8em;
  }
  .page-game-types__description {
    font-size: 0.95em;
  }
  .page-game-types__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-game-types__category-grid {
    grid-template-columns: 1fr;
  }
  .page-game-types__button-group {
    flex-direction: column;
    gap: 10px;
  }
  .page-game-types__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-game-types__main-title {
    font-size: 1.8em;
  }
  .page-game-types__hero-description {
    font-size: 0.9em;
  }
  .page-game-types__section-title {
    font-size: 1.5em;
  }
  .page-game-types__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}