/* style/games.css */
.page-games {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark backgrounds */
  background-color: #1A1A2E; /* Main dark background */
  line-height: 1.6;
}

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

.page-games__section-title {
  font-size: 2.5em;
  color: #E94560; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: bold;
}

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

/* Hero Section */
.page-games__hero {
  background: linear-gradient(135deg, #1A1A2E, #3b000a); /* Dark gradient */
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

.page-games__hero-title {
  font-size: 3.8em;
  color: #E94560; /* Vibrant red for main title */
  margin-bottom: 20px;
  font-weight: 900;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-games__hero-subtitle {
  font-size: 1.4em;
  color: #F5F5F5; /* Lighter text for subtitle */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-games__btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px;
  font-size: 1.1em;
  position: relative;
  z-index: 1;
}

.page-games__btn--primary {
  background-color: #E94560; /* Auxiliary color for primary button */
  color: #FFFFFF;
  border: 2px solid #E94560;
}

.page-games__btn--primary:hover {
  background-color: #c73750;
  border-color: #c73750;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.page-games__btn--secondary {
  background-color: transparent;
  color: #E94560;
  border: 2px solid #E94560;
}

.page-games__btn--secondary:hover {
  background-color: #E94560;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* Introduction Section */
.page-games__introduction {
  padding: 80px 0;
  background-color: #1A1A2E;
}

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

.page-games__feature-item {
  background-color: #2e0007; /* Slightly lighter dark background */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(233, 69, 96, 0.2);
}

.page-games__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-games__feature-title {
  font-size: 1.5em;
  color: #E94560;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-games__feature-description {
  font-size: 1em;
  color: #C0C0C0;
}

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

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

.page-games__category-item {
  background-color: #2e0007;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(233, 69, 96, 0.2);
}

.page-games__category-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-games__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(233, 69, 96, 0.3);
}

.page-games__category-title {
  font-size: 1.8em;
  color: #E94560;
  margin: 20px 0 10px;
  font-weight: bold;
}

.page-games__category-title a {
  color: #E94560;
  text-decoration: none;
}

.page-games__category-title a:hover {
  text-decoration: underline;
}

.page-games__category-description {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 20px 20px;
}

.page-games__btn--small {
  padding: 10px 25px;
  font-size: 0.9em;
  margin-bottom: 20px;
  border-radius: 30px;
}

/* CTA Banner */
.page-games__cta-banner {
  background: linear-gradient(90deg, #E94560, #a33043); /* Red gradient */
  padding: 60px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.page-games__cta-content {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
  text-align: left;
}

.page-games__cta-image-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-games__cta-title {
  font-size: 2.8em;
  color: #FFFFFF; /* White text on red background */
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.page-games__cta-text {
  font-size: 1.2em;
  color: #F0F0F0;
  margin-bottom: 30px;
  text-align: center;
}

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

.page-games__btn--lg {
  padding: 18px 45px;
  font-size: 1.2em;
  border-radius: 50px;
}

.page-games__cta-buttons .page-games__btn--primary {
  background-color: #1A1A2E;
  border-color: #1A1A2E;
  color: #FFFFFF;
}

.page-games__cta-buttons .page-games__btn--primary:hover {
  background-color: #0d0d1a;
  border-color: #0d0d1a;
  box-shadow: 0 5px 15px rgba(26, 26, 46, 0.4);
}

.page-games__cta-buttons .page-games__btn--secondary {
  background-color: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.page-games__cta-buttons .page-games__btn--secondary:hover {
  background-color: #FFFFFF;
  color: #E94560;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

/* Why Us Section */
.page-games__why-us {
  padding: 80px 0;
  background-color: #1A1A2E;
}

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

.page-games__benefit-item {
  background-color: #2e0007;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(233, 69, 96, 0.2);
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-games__benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #E94560);
}

.page-games__benefit-title {
  font-size: 1.6em;
  color: #E94560;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-games__benefit-description {
  font-size: 1em;
  color: #C0C0C0;
}

/* FAQ Section */
.page-games__faq {
  padding: 80px 0;
  background-color: #110002;
}

.page-games__accordion {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-games__accordion-item {
  margin-bottom: 15px;
  border: 1px solid rgba(233, 69, 96, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.page-games__accordion-header {
  background-color: #2e0007; /* Darker background for header */
  color: #E94560;
  padding: 20px 25px;
  width: 100%;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-games__accordion-header:hover, .page-games__accordion-header.active {
  background-color: #3f0009;
}

.page-games__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-games__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

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

.page-games__accordion-content p {
  padding: 20px 0;
  margin: 0;
}

/* Final CTA Section */
.page-games__final-cta {
  padding: 80px 0 100px;
  background-color: #1A1A2E;
  text-align: center;
}

.page-games__final-cta .page-games__section-title {
  color: #E94560;
}

.page-games__final-cta .page-games__text-content {
  margin-bottom: 40px;
}

.page-games__final-cta .page-games__btn--primary {
  margin-right: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-games__hero-title {
    font-size: 3em;
  }
  .page-games__hero-subtitle {
    font-size: 1.2em;
  }
  .page-games__section-title {
    font-size: 2em;
  }
  .page-games__cta-banner {
    flex-direction: column;
    gap: 20px;
  }
  .page-games__cta-content, .page-games__cta-image-wrapper {
    max-width: 100%;
  }
  .page-games__cta-title {
    font-size: 2.2em;
  }
  .page-games__cta-text {
    font-size: 1em;
  }
  .page-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-games__btn--lg {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-games__hero {
    padding: 80px 0;
  }
  .page-games__hero-title {
    font-size: 2.5em;
  }
  .page-games__hero-subtitle {
    font-size: 1em;
  }
  .page-games__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-games__text-content {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-games__features-grid, .page-games__category-grid, .page-games__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-games__category-image {
    height: 180px;
  }
  .page-games__category-title {
    font-size: 1.5em;
  }
  .page-games__cta-banner {
    padding: 40px 0;
  }
  .page-games__cta-title {
    font-size: 1.8em;
  }
  .page-games__cta-text {
    font-size: 0.9em;
  }
  .page-games__btn--lg {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-games__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-games__hero-title {
    font-size: 2em;
  }
  .page-games__hero-subtitle {
    font-size: 0.9em;
  }
  .page-games__btn {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-games__section-title {
    font-size: 1.5em;
  }
  .page-games__cta-title {
    font-size: 1.5em;
  }
  .page-games__cta-buttons {
    gap: 10px;
  }
  .page-games__btn--lg {
    width: 90%;
  }
  .page-games__category-image {
    height: 150px;
  }
  .page-games__category-title {
    font-size: 1.3em;
  }
  .page-games__accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-games__accordion-content p {
    padding: 15px;
  }
}