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

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

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

.page-games__section:nth-of-type(even) {
  background-color: #e9ecef;
}

.page-games__section-title {
  font-size: 2.5em;
  color: #1A2E44;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-games__section-text {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
}

/* Hero Section */
.page-games__hero {
  background: linear-gradient(135deg, #1A2E44 0%, #3a5c80 100%); /* Dark blue gradient */
  color: #ffffff;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: 40px;
  flex-wrap: wrap;
}

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

.page-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  color: #ffffff;
}

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

.page-games__hero-image-wrapper {
  flex-shrink: 0;
}

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

/* Buttons */
.page-games__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-games__btn--primary {
  background-color: #E44D26; /* Accent red */
  color: #ffffff;
}

.page-games__btn--primary:hover {
  background-color: #c93b1f;
  transform: translateY(-2px);
}

.page-games__btn--secondary {
  background-color: #1A2E44; /* Primary dark blue */
  color: #ffffff;
  padding: 10px 25px;
  font-size: 1em;
}

.page-games__btn--secondary:hover {
  background-color: #0f1e2e;
  transform: translateY(-2px);
}

.page-games__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  background-color: #E44D26;
  color: #ffffff;
}

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

/* Why Choose Section */
.page-games__why-choose {
  background-color: #ffffff;
}

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

.page-games__feature-item {
  background-color: #f0f4f7;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-games__feature-title {
  font-size: 1.5em;
  color: #1A2E44;
  margin-bottom: 15px;
}

.page-games__feature-text {
  font-size: 1em;
  color: #666;
}

/* Game Categories Section */
.page-games__game-categories {
  background-color: #e9ecef;
}

.page-games__game-category-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  text-align: left;
  flex-wrap: wrap;
}

.page-games__game-category-item:last-child {
  margin-bottom: 0;
}

.page-games__game-category-item--reverse {
  flex-direction: row-reverse;
  text-align: right;
}

.page-games__game-info {
  flex: 1;
  min-width: 300px;
}

.page-games__category-title {
  font-size: 2em;
  color: #1A2E44;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-games__category-description {
  font-size: 1.05em;
  color: #444;
  margin-bottom: 25px;
}

.page-games__game-image-wrapper {
  flex: 1;
  min-width: 350px;
}

.page-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-games__promotions {
  background-color: #1A2E44;
  color: #ffffff;
}

.page-games__promotions .page-games__section-title {
  color: #ffffff;
}

.page-games__promotions .page-games__section-intro {
  color: #e0e0e0;
}

.page-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-games__promo-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #ffffff;
  border-left: 5px solid #E44D26;
}

.page-games__promo-highlight {
  font-weight: bold;
  color: #E44D26;
}

/* Get Started Section */
.page-games__get-started {
  background-color: #f8f9fa;
}

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

.page-games__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-games__step-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

.page-games__step-title {
  font-size: 1.6em;
  color: #1A2E44;
  margin-bottom: 15px;
}

.page-games__step-text {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
}

/* Responsible Gambling Section */
.page-games__responsible-gambling {
  background-color: #e9ecef;
}

.page-games__responsible-gambling .page-games__section-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Game Guides Section */
.page-games__game-guides {
  background-color: #ffffff;
}

.page-games__guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.page-games__guide-item {
  background-color: #f0f4f7;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-games__guide-item:hover {
  transform: translateY(-3px);
}

.page-games__guide-title {
  font-size: 1.3em;
  color: #1A2E44;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-games__guide-title a {
  color: #1A2E44;
  text-decoration: none;
}

.page-games__guide-title a:hover {
  color: #E44D26;
}

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

.page-games__guide-item .page-games__btn {
  align-self: flex-start;
}

/* Call to Action Section */
.page-games__call-to-action {
  background-color: #1A2E44;
  color: #ffffff;
  padding: 80px 0;
}

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

.page-games__call-to-action .page-games__section-intro {
  color: #e0e0e0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-games__hero {
    flex-direction: column;
    text-align: center;
  }

  .page-games__hero-content {
    max-width: 100%;
  }

  .page-games__hero-title {
    font-size: 2.8em;
  }

  .page-games__hero-description {
    font-size: 1.1em;
  }

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

  .page-games__game-category-item, .page-games__game-category-item--reverse {
    flex-direction: column;
    text-align: center;
  }

  .page-games__game-category-item--reverse .page-games__game-info {
    order: 2;
  }

  .page-games__game-category-item--reverse .page-games__game-image-wrapper {
    order: 1;
  }

  .page-games__game-category-item .page-games__btn,
  .page-games__game-category-item--reverse .page-games__btn {
    margin-left: auto;
    margin-right: auto;
  }

  .page-games__guide-item .page-games__btn {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .page-games__section-title {
    font-size: 2em;
  }

  .page-games__hero-title {
    font-size: 2.2em;
  }

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

  .page-games__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-games__feature-item, .page-games__step-item, .page-games__guide-item {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .page-games__section {
    padding: 40px 0;
  }

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

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

  .page-games__hero-description {
    font-size: 0.95em;
  }

  .page-games__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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