/* style/resources-platform-review.css */
.page-resources-platform-review {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#121212) */
}

.page-resources-platform-review__dark-bg {
  background-color: #0d0d0d; /* Slightly darker than body for contrast */
  color: #ffffff;
}

.page-resources-platform-review__light-bg {
  background-color: #1a1a1a; /* Dark gray for contrast with body and dark-bg */
  color: #f0f0f0;
}

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

.page-resources-platform-review__hero-section {
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-image: url('[GALLERY:hero_bg:1920x1080:6_bet,online_betting,platform_review,hero_background,dynamic_lines]');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.page-resources-platform-review__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.page-resources-platform-review__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffc107; /* Highlight with auxiliary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-platform-review__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-platform-review__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-platform-review__btn-primary,
.page-resources-platform-review__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-platform-review__btn-primary {
  background-color: #007bff; /* Main brand color */
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-resources-platform-review__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-resources-platform-review__btn-secondary {
  background-color: transparent;
  color: #ffc107; /* Auxiliary brand color */
  border: 2px solid #ffc107;
}

.page-resources-platform-review__btn-secondary:hover {
  background-color: #ffc107;
  color: #000000;
  transform: translateY(-2px);
}

.page-resources-platform-review__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-platform-review__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 20px auto;
  border-radius: 10px;
}

.page-resources-platform-review__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.page-resources-platform-review__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  object-fit: cover;
}

.page-resources-platform-review__video-description {
  margin-top: 20px;
  font-size: 1.1em;
  color: #cccccc;
}

.page-resources-platform-review__section-title {
  font-size: 2.5em;
  color: #ffc107;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-resources-platform-review__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
  color: #f0f0f0;
}

.page-resources-platform-review__content-section {
  padding: 60px 20px;
}

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

.page-resources-platform-review__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have minimum height */
}

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

.page-resources-platform-review__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-platform-review__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffc107;
}

.page-resources-platform-review__card-title a {
  color: #ffc107;
  text-decoration: none;
}

.page-resources-platform-review__card-title a:hover {
  text-decoration: underline;
}

.page-resources-platform-review__card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-platform-review__card-link {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-platform-review__card-link:hover {
  background-color: #0056b3;
}

.page-resources-platform-review__promotions-section {
  padding: 60px 20px;
}

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

.page-resources-platform-review__promotion-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

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

.page-resources-platform-review__promotion-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-platform-review__promotion-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffc107;
}

.page-resources-platform-review__promotion-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-platform-review__btn-link {
  display: inline-block;
  background-color: #ffc107;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-platform-review__btn-link:hover {
  background-color: #e0a800;
}

.page-resources-platform-review__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-resources-platform-review__safety-section,
.page-resources-platform-review__user-experience-section,
.page-resources-platform-review__registration-section,
.page-resources-platform-review__conclusion-section {
  padding: 60px 20px;
}

.page-resources-platform-review__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-platform-review__safety-image,
.page-resources-platform-review__user-experience-image {
  flex: 1;
  min-width: 300px; /* Ensure image doesn't get too small */
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px;
}

.page-resources-platform-review__safety-text-block,
.page-resources-platform-review__text-block {
  flex: 2;
  color: #f0f0f0;
}

.page-resources-platform-review__safety-features,
.page-resources-platform-review__experience-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  color: #f0f0f0;
}

.page-resources-platform-review__safety-features li,
.page-resources-platform-review__experience-features li {
  background: rgba(0, 123, 255, 0.1);
  margin-bottom: 10px;
  padding: 10px 15px;
  border-left: 4px solid #007bff;
  border-radius: 5px;
}

.page-resources-platform-review__safety-features strong,
.page-resources-platform-review__experience-features strong {
  color: #ffc107;
}

.page-resources-platform-review__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-resources-platform-review__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-resources-platform-review__step-icon {
  font-size: 2.5em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-platform-review__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffc107;
}

.page-resources-platform-review__step-description {
  font-size: 1em;
  color: #cccccc;
}

.page-resources-platform-review__faq-section {
  padding: 60px 20px;
}

.page-resources-platform-review__faq-list {
  margin-top: 40px;
}

.page-resources-platform-review__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-platform-review__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #007bff; /* Main brand color for question */
  transition: background-color 0.3s ease;
}

.page-resources-platform-review__faq-question:hover {
  background-color: #0056b3;
}

.page-resources-platform-review__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-platform-review__faq-item.active .page-resources-platform-review__faq-question {
  background-color: #0056b3;
}

.page-resources-platform-review__faq-item.active .page-resources-platform-review__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to minus */
}

.page-resources-platform-review__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-platform-review__faq-item.active .page-resources-platform-review__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

.page-resources-platform-review__faq-answer p {
  margin: 0;
  color: #cccccc;
}

.page-resources-platform-review__faq-answer a {
  color: #ffc107;
  text-decoration: underline;
}

.page-resources-platform-review__faq-answer a:hover {
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-platform-review__main-title {
    font-size: 2.8em;
  }
  .page-resources-platform-review__section-title {
    font-size: 2em;
  }
  .page-resources-platform-review__content-wrapper {
    flex-direction: column;
  }
  .page-resources-platform-review__safety-image,
  .page-resources-platform-review__user-experience-image {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-resources-platform-review__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-platform-review__main-title {
    font-size: 2em;
  }
  .page-resources-platform-review__intro-text {
    font-size: 1em;
  }
  .page-resources-platform-review__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-platform-review__btn-primary,
  .page-resources-platform-review__btn-secondary,
  .page-resources-platform-review a[class*="button"],
  .page-resources-platform-review a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-platform-review__video-section,
  .page-resources-platform-review__content-section,
  .page-resources-platform-review__promotions-section,
  .page-resources-platform-review__safety-section,
  .page-resources-platform-review__user-experience-section,
  .page-resources-platform-review__registration-section,
  .page-resources-platform-review__faq-section,
  .page-resources-platform-review__conclusion-section {
    padding: 30px 15px;
  }
  .page-resources-platform-review__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-platform-review__grid,
  .page-resources-platform-review__promotions-grid,
  .page-resources-platform-review__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-platform-review__card,
  .page-resources-platform-review__promotion-item,
  .page-resources-platform-review__step-item {
    padding: 20px;
  }
  .page-resources-platform-review__card-image,
  .page-resources-platform-review__promotion-image,
  .page-resources-platform-review__safety-image,
  .page-resources-platform-review__user-experience-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }
  .page-resources-platform-review__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-resources-platform-review__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-platform-review__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-platform-review__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-platform-review__faq-answer {
    padding: 0 20px;
  }
  .page-resources-platform-review__faq-item.active .page-resources-platform-review__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-platform-review__main-title {
    font-size: 1.8em;
  }
  .page-resources-platform-review__section-title {
    font-size: 1.6em;
  }
}