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

.page-game-types__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #0A2463; /* Main color */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-game-types__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.page-game-types__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-game-types__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color */
  color: #0A2463; /* Main color for text on auxiliary background */
  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;
  transform: translateY(-2px);
}

.page-game-types__section-title {
  font-size: 2.5em;
  color: #0A2463; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-game-types__section-subtitle {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-types__game-categories {
  padding: 60px 20px;
  background-color: #f0f2f5;
}

.page-game-types__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-game-types__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-types__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-types__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-game-types__game-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-game-types__game-card-title {
  font-size: 1.6em;
  color: #0A2463; /* Main color */
  margin-bottom: 15px;
}

.page-game-types__game-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-game-types__game-card-title a:hover {
  color: #FFD700; /* Auxiliary color */
}

.page-game-types__game-card-description {
  font-size: 0.95em;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-game-types__card-buttons {
  display: flex;
  gap: 15px;
  margin-top: auto;
}

.page-game-types__button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  text-align: center;
  flex: 1;
}

.page-game-types__button--details {
  background-color: #0A2463;
  color: #FFFFFF;
  border: 1px solid #0A2463;
}

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

.page-game-types__button--play {
  background-color: #FFD700;
  color: #0A2463;
  border: 1px solid #FFD700;
}

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

.page-game-types__why-choose {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-game-types__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-game-types__why-choose-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-game-types__why-choose-heading {
  font-size: 1.4em;
  color: #0A2463; /* Main color */
  margin-bottom: 15px;
}

.page-game-types__why-choose-text {
  font-size: 0.95em;
  color: #555;
  line-height: 1.6;
}

.page-game-types__responsible-gambling {
  padding: 60px 20px;
  background-color: #e6f2ff; /* Lighter blue for a calming effect */
  text-align: center;
}

.page-game-types__responsible-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 30px;
}

.page-game-types__responsible-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-types__responsible-text-content {
  text-align: left;
  color: #333;
}

.page-game-types__responsible-text-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-game-types__responsible-text-content ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-game-types__responsible-text-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-game-types__responsible-text-content strong {
  color: #0A2463;
}

/* Floating Ad Menu */
.page-game-types__floating-ad-menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0A2463; /* Main color */
  color: #FFFFFF;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 280px;
  text-align: center;
  animation: page-game-types-fadeInUp 0.5s ease-out;
  display: none; /* Hidden by default, shown by JS */
}

.page-game-types__floating-ad-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #FFD700; /* Auxiliary color */
  font-size: 1.5em;
  cursor: pointer;
  line-height: 1;
}

.page-game-types__floating-ad-close-btn:hover {
  color: #FFFFFF;
}

.page-game-types__floating-ad-title {
  font-size: 1.5em;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-game-types__floating-ad-text {
  font-size: 0.95em;
  margin-bottom: 15px;
  line-height: 1.5;
}

.page-game-types__floating-ad-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color */
  color: #0A2463; /* Main color for text */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-game-types__floating-ad-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

@keyframes page-game-types-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

  .page-game-types__game-grid {
    grid-template-columns: 1fr;
  }

  .page-game-types__card-buttons {
    flex-direction: column;
  }

  .page-game-types__responsible-content {
    flex-direction: column;
  }

  .page-game-types__floating-ad-menu {
    max-width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 10px;
    padding: 15px 20px;
  }
}

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

  .page-game-types__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-game-types__why-choose-heading {
    font-size: 1.2em;
  }

  .page-game-types__floating-ad-title {
    font-size: 1.3em;
  }
}