:root {
  --primary-color: #007BFF; /* Deep Blue */
  --secondary-color: #28A745; /* Green */
  --accent-color: #FFC107; /* Gold/Orange for emphasis */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #ffffff;
  --bg-gray: #f9f9f9;
  --border-color: #e0e0e0;
  --dark-bg-1: #0d0d0d; /* Assuming from shared.css */
}

.page-reputable-game-portals {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-color-light); /* Text color for elements directly on body background */
  background-color: transparent; /* Let body background from shared.css show through */
  padding-top: 120px; /* Desktop: Adjust for fixed header */
}

.page-reputable-game-portals__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-reputable-game-portals__container--padding-top {
    padding-top: 40px; /* Additional padding for the very first section */
}

.page-reputable-game-portals__container--center-text {
    text-align: center;
}

.page-reputable-game-portals__main-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-reputable-game-portals__intro-text {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-color-light); /* On dark body background */
  text-align: justify;
}

.page-reputable-game-portals__link-text {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-reputable-game-portals__link-text:hover {
    color: var(--secondary-color);
}

.page-reputable-game-portals__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-reputable-game-portals__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-reputable-game-portals__section-title--light {
    color: var(--text-color-light);
}

.page-reputable-game-portals__section--dark-bg {
    background-color: var(--dark-bg-1);
    color: var(--text-color-light);
}

.page-reputable-game-portals__card {
  background: var(--bg-light);
  color: var(--text-color-dark);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 35px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-reputable-game-portals__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-reputable-game-portals__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-reputable-game-portals__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-reputable-game-portals__image--large {
    max-height: 400px;
    width: auto;
}

.page-reputable-game-portals__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-reputable-game-portals__benefits-item {
    background: var(--bg-light);
    color: var(--text-color-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-reputable-game-portals__benefits-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-reputable-game-portals__benefits-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-reputable-game-portals__benefits-item p {
    font-size: 16px;
    color: var(--text-color-dark);
    line-height: 1.6;
}

.page-reputable-game-portals__section--cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
}

.page-reputable-game-portals__cta-text {
    font-size: 20px;
    color: var(--text-color-light);
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-reputable-game-portals__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--accent-color);
  color: #333333;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-reputable-game-portals__cta-button:hover {
  background: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* FAQ Styles */
.page-reputable-game-portals__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-reputable-game-portals__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-reputable-game-portals__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: var(--bg-gray);
  color: var(--text-color-dark);
}

.page-reputable-game-portals__faq-item.active .page-reputable-game-portals__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 10px 10px;
}

.page-reputable-game-portals__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-dark);
}

.page-reputable-game-portals__faq-question:hover {
  background: var(--bg-gray);
  border-color: #d0d0d0;
}

.page-reputable-game-portals__faq-question:active {
  background: #eeeeee;
}

.page-reputable-game-portals__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-reputable-game-portals__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-reputable-game-portals__faq-item.active .page-reputable-game-portals__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-reputable-game-portals__main-title {
    font-size: 32px;
  }
  .page-reputable-game-portals__section-title {
    font-size: 28px;
  }
  .page-reputable-game-portals__card-title {
    font-size: 22px;
  }
  .page-reputable-game-portals__intro-text,
  .page-reputable-game-portals__cta-text,
  .page-reputable-game-portals__benefits-item p {
    font-size: 17px;
  }
  .page-reputable-game-portals__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-reputable-game-portals__benefits-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-reputable-game-portals {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-reputable-game-portals__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-reputable-game-portals__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-reputable-game-portals__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-reputable-game-portals__intro-text {
    font-size: 16px;
  }
  .page-reputable-game-portals__card {
    padding: 25px;
    margin-bottom: 20px;
  }
  .page-reputable-game-portals__card-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .page-reputable-game-portals__image {
    margin: 15px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-reputable-game-portals__image--large {
    max-height: 300px;
  }
  .page-reputable-game-portals__section {
    padding: 40px 0;
  }
  .page-reputable-game-portals__section--cta {
    padding: 60px 0;
  }
  .page-reputable-game-portals__cta-text {
    font-size: 17px;
    margin-bottom: 20px;
  }
  .page-reputable-game-portals__cta-button {
    padding: 14px 30px;
    font-size: 16px;
  }

  /* FAQ Mobile Styles */
  .page-reputable-game-portals__faq-question {
    padding: 15px 20px;
  }
  .page-reputable-game-portals__faq-question h3 {
    font-size: 16px;
  }
  .page-reputable-game-portals__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-reputable-game-portals__faq-answer {
    padding: 0 20px;
  }
  .page-reputable-game-portals__faq-item.active .page-reputable-game-portals__faq-answer {
    padding: 15px 20px !important;
  }
}