/* style/faq-game-rules-faq.css */
.page-faq-game-rules-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A192F; /* Dark blue main background */
}

.page-faq-game-rules-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq-game-rules-faq__hero {
  background: linear-gradient(135deg, #0A192F 0%, #1A3A6A 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq-game-rules-faq__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:hero:abstract,gaming,light_effect]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-faq-game-rules-faq__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main titles */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page-faq-game-rules-faq__hero-description {
  font-size: 1.2em;
  color: #B0B0B0; /* Slightly lighter gray for descriptions */
  max-width: 800px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 1;
}

.page-faq-game-rules-faq__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;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.page-faq-game-rules-faq__btn--primary {
  background-color: #FFD700; /* Gold background */
  color: #0A192F; /* Dark blue text */
}

.page-faq-game-rules-faq__btn--primary:hover {
  background-color: #E0B500; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-faq-game-rules-faq__btn--secondary {
  background-color: #1A3A6A; /* Darker blue */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-faq-game-rules-faq__btn--secondary:hover {
  background-color: #0A192F;
  transform: translateY(-3px);
}

.page-faq-game-rules-faq__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 25px;
  background-color: #FFD700; /* Gold background */
  color: #0A192F; /* Dark blue text */
}

.page-faq-game-rules-faq__btn--small:hover {
  background-color: #E0B500;
  transform: translateY(-2px);
}

.page-faq-game-rules-faq__section {
  padding: 60px 0;
}

.page-faq-game-rules-faq__section:nth-of-type(odd) {
  background-color: #112A4A;
}

.page-faq-game-rules-faq__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-faq-game-rules-faq__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-faq-game-rules-faq__section-subtitle {
  font-size: 1.1em;
  color: #B0B0B0;
  text-align: center;
  max-width: 900px;
  margin: -20px auto 50px auto;
}

.page-faq-game-rules-faq__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-faq-game-rules-faq__content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-faq-game-rules-faq__text-content {
  flex: 1;
}

.page-faq-game-rules-faq__text-content p {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-faq-game-rules-faq__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-faq-game-rules-faq__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Accordion Styles */
.page-faq-game-rules-faq__accordion {
  margin-top: 30px;
}

.page-faq-game-rules-faq__accordion-item {
  background-color: #1A3A6A;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.page-faq-game-rules-faq__accordion-header {
  background-color: #2D5286; /* Slightly lighter blue for header */
  color: #FFD700;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq-game-rules-faq__accordion-header::after {
  content: '\002B'; /* Plus sign */
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq-game-rules-faq__accordion-header.active::after {
  content: '\2212'; /* Minus sign */
  transform: rotate(180deg);
}

.page-faq-game-rules-faq__accordion-body {
  padding: 0 25px;
  background-color: #1A3A6A;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq-game-rules-faq__accordion-body p {
  padding: 15px 0;
  margin: 0;
  color: #E0E0E0;
}

.page-faq-game-rules-faq__accordion-header:hover {
  background-color: #3C639E;
}

/* Game Categories */
.page-faq-game-rules-faq__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-faq-game-rules-faq__category-card {
  background-color: #1A3A6A;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-faq-game-rules-faq__category-card:hover {
  transform: translateY(-10px);
  background-color: #2D5286;
}

.page-faq-game-rules-faq__category-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-faq-game-rules-faq__category-card h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-faq-game-rules-faq__category-card p {
  color: #B0B0B0;
  font-size: 0.95em;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq-game-rules-faq__hero-title {
    font-size: 2.8em;
  }

  .page-faq-game-rules-faq__section-title {
    font-size: 2em;
  }

  .page-faq-game-rules-faq__content-grid, .page-faq-game-rules-faq__content-flex {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .page-faq-game-rules-faq__image-wrapper--left {
    order: -1;
  }

  .page-faq-game-rules-faq__game-categories {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-faq-game-rules-faq__hero {
    padding: 80px 0;
  }

  .page-faq-game-rules-faq__hero-title {
    font-size: 2.2em;
  }

  .page-faq-game-rules-faq__hero-description {
    font-size: 1em;
  }

  .page-faq-game-rules-faq__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-faq-game-rules-faq__section {
    padding: 40px 0;
  }

  .page-faq-game-rules-faq__section-title {
    font-size: 1.8em;
  }

  .page-faq-game-rules-faq__section-subtitle {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-faq-game-rules-faq__category-card {
    padding: 25px;
  }

  .page-faq-game-rules-faq__category-card h3 {
    font-size: 1.3em;
  }
}

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

  .page-faq-game-rules-faq__hero-description {
    font-size: 0.9em;
  }

  .page-faq-game-rules-faq__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-faq-game-rules-faq__section-title {
    font-size: 1.5em;
  }

  .page-faq-game-rules-faq__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-faq-game-rules-faq__accordion-body p {
    padding: 10px 0;
  }

  .page-faq-game-rules-faq__game-categories {
    gap: 20px;
  }

  .page-faq-game-rules-faq__category-card {
    padding: 20px;
  }
}