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

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

.page-games__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

/* Hero Section */
.page-games__hero-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue gradient */
  color: #ffffff;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

.page-games__hero-content {
  max-width: 600px;
  padding: 0 20px;
}

.page-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107; /* Highlight with secondary color */
}

.page-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-games__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-games__btn--primary {
  background-color: #ffc107;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-games__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-games__btn--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.page-games__btn--secondary:hover {
  background-color: #ffc107;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.page-games__hero-image-wrapper {
  max-width: 500px;
}

.page-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-games__intro-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-games__about-image {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Game Categories Section */
.page-games__categories-section {
  padding: 80px 0;
  background-color: #f0f2f5;
}

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

.page-games__game-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-games__game-card-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-games__game-card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-games__game-card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-games__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
  background-color: #007bff;
  color: #ffffff;
}

.page-games__btn--small:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* Why Choose Us Section */
.page-games__why-choose-us-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-games__feature-item {
  background-color: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.page-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.2));
}

.page-games__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-games__feature-description {
  font-size: 0.95em;
  color: #666;
}

/* How to Start Section */
.page-games__how-to-start-section {
  padding: 80px 0;
  background-color: #f0f2f5;
}

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

.page-games__step-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.page-games__step-number {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 4em;
  font-weight: bold;
  color: rgba(0, 123, 255, 0.1);
  z-index: 0;
}

.page-games__step-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.page-games__step-description {
  font-size: 1em;
  color: #666;
  position: relative;
  z-index: 1;
}

.page-games__final-cta {
  text-align: center;
  margin-top: 60px;
}

/* Responsible Gaming Section */
.page-games__responsible-gaming-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-games__responsible-gaming-image {
  max-width: 70%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Detail Pages Section */
.page-games__detail-pages-section {
  padding: 80px 0;
  background-color: #f0f2f5;
}

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

.page-games__detail-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-games__detail-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-games__detail-title a {
  color: #007bff;
  text-decoration: none;
}

.page-games__detail-title a:hover {
  text-decoration: underline;
  color: #0056b3;
}

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

/* Final Call to Action */
.page-games__final-call-to-action {
  background: linear-gradient(45deg, #007bff, #ffc107);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-games__final-call-to-action .page-games__section-title {
  color: #ffffff;
}

.page-games__final-call-to-action .page-games__section-title::after {
  background-color: #ffffff;
}

.page-games__final-call-to-action .page-games__section-text {
  color: #f0f0f0;
}

.page-games__final-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-games__final-cta-buttons .page-games__btn--primary {
  background-color: #0056b3;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-games__final-cta-buttons .page-games__btn--primary:hover {
  background-color: #003f80;
  transform: translateY(-3px);
}

.page-games__final-cta-buttons .page-games__btn--secondary {
  background-color: #ffffff;
  color: #007bff;
  border: 2px solid #007bff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-games__final-cta-buttons .page-games__btn--secondary:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-games__hero-title {
    font-size: 2.8em;
  }
  .page-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 80px 0;
  }
  .page-games__hero-content {
    max-width: 100%;
  }
  .page-games__hero-image-wrapper {
    max-width: 80%;
    margin-top: 30px;
  }
  .page-games__hero-title {
    font-size: 2.5em;
  }
  .page-games__hero-description {
    font-size: 1.1em;
  }
  .page-games__section-title {
    font-size: 1.8em;
  }
  .page-games__section-text {
    font-size: 1em;
  }
  .page-games__game-grid, .page-games__features-grid, .page-games__steps-grid, .page-games__detail-list {
    grid-template-columns: 1fr;
  }
  .page-games__hero-cta, .page-games__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-games__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-games__about-image, .page-games__responsible-gaming-image {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .page-games__hero-title {
    font-size: 2em;
  }
  .page-games__section-title {
    font-size: 1.5em;
  }
  .page-games__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-games__game-card-title {
    font-size: 1.5em;
  }
  .page-games__feature-title, .page-games__step-title, .page-games__detail-title {
    font-size: 1.3em;
  }
}