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

.page-games-mahjong__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A1A2E 0%, #301934 100%); /* Dark gradient */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

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

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

.page-games-mahjong__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E94560; /* Accent color for main title */
  font-weight: bold;
  line-height: 1.2;
}

.page-games-mahjong__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #CCCCCC;
}

.page-games-mahjong__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-games-mahjong__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-games-mahjong__btn--primary {
  background-color: #E94560; /* Accent color */
  color: #FFFFFF;
  border-color: #E94560;
}

.page-games-mahjong__btn--primary:hover {
  background-color: #CC334C;
  transform: translateY(-2px);
}

.page-games-mahjong__btn--secondary {
  background-color: transparent;
  color: #E94560; /* Accent color */
  border-color: #E94560;
}

.page-games-mahjong__btn--secondary:hover {
  background-color: rgba(233, 69, 96, 0.1);
  transform: translateY(-2px);
}

.page-games-mahjong__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-games-mahjong__section:nth-of-type(even) {
  background-color: #22223D; /* Slightly lighter dark background */
}

.page-games-mahjong__section-title {
  font-size: 2.5em;
  color: #E94560; /* Accent color */
  margin-bottom: 25px;
  font-weight: bold;
}

.page-games-mahjong__section-description {
  font-size: 1.1em;
  color: #CCCCCC;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-games-mahjong__features-grid,
.page-games-mahjong__game-grid,
.page-games-mahjong__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-games-mahjong__feature-item,
.page-games-mahjong__game-card,
.page-games-mahjong__promo-card {
  background-color: #282845;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(233, 69, 96, 0.2);
}

.page-games-mahjong__feature-item:hover,
.page-games-mahjong__game-card:hover,
.page-games-mahjong__promo-card:hover {
  transform: translateY(-8px);
}

.page-games-mahjong__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(233, 69, 96, 0.5));
}

.page-games-mahjong__feature-title,
.page-games-mahjong__game-title,
.page-games-mahjong__promo-title {
  font-size: 1.5em;
  color: #E94560;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-games-mahjong__feature-text,
.page-games-mahjong__game-text,
.page-games-mahjong__promo-text {
  font-size: 1em;
  color: #B0B0B0;
  line-height: 1.5;
}

.page-games-mahjong__game-image,
.page-games-mahjong__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(233, 69, 96, 0.3);
}

.page-games-mahjong__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 40px;
}

.page-games-mahjong__step-item {
  background-color: #282845;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #E94560;
}

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

.page-games-mahjong__step-text {
  font-size: 1em;
  color: #B0B0B0;
  line-height: 1.6;
}

.page-games-mahjong__app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-games-mahjong__app-text {
  text-align: left;
  max-width: 600px;
}

.page-games-mahjong__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-games-mahjong__app-features li {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-games-mahjong__app-icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  filter: brightness(0) saturate(100%) invert(48%) sepia(87%) saturate(1376%) hue-rotate(318deg) brightness(97%) contrast(92%); /* Colorize to accent */
}

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

.page-games-mahjong__app-image {
  max-width: 300px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid #E94560;
}

.page-games-mahjong__faq-item {
  background-color: #282845;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-games-mahjong__faq-question {
  font-size: 1.3em;
  color: #E94560;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
}

.page-games-mahjong__faq-answer {
  font-size: 1em;
  color: #B0B0B0;
  line-height: 1.6;
}

.page-games-mahjong__contact-methods {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-games-mahjong__cta-bottom {
  margin-top: 30px;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-games-mahjong__hero {
    padding: 120px 40px;
  }

  .page-games-mahjong__title {
    font-size: 4.5em;
  }

  .page-games-mahjong__subtitle {
    font-size: 1.5em;
  }

  .page-games-mahjong__section {
    padding: 80px 40px;
  }

  .page-games-mahjong__section-title {
    font-size: 3em;
  }

  .page-games-mahjong__app-content {
    flex-direction: row;
    text-align: left;
    justify-content: center;
  }

  .page-games-mahjong__app-text {
    order: 1;
    text-align: left;
  }

  .page-games-mahjong__app-image-wrapper {
    order: 2;
  }
}

@media (max-width: 767px) {
  .page-games-mahjong__title {
    font-size: 2.5em;
  }
  .page-games-mahjong__subtitle {
    font-size: 1em;
  }
  .page-games-mahjong__section-title {
    font-size: 2em;
  }
  .page-games-mahjong__section-description {
    font-size: 0.95em;
  }
  .page-games-mahjong__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-games-mahjong__app-text, .page-games-mahjong__app-image-wrapper {
    text-align: center;
  }
}