/* style/resources-reliable-game-platform-guide.css */
:root {
    --primary-color: #1A73E8;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a;
    --bg-light: #f1f3f5;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-reliable-game-platform-guide {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherits from body */
}

.page-resources-reliable-game-platform-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Fixed header spacing */
.page-resources-reliable-game-platform-guide__hero-banner {
    padding-top: 180px; /* Desktop fixed header compensation */
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #004a99); /* Dark blue gradient */
    color: var(--text-light);
}

.page-resources-reliable-game-platform-guide__main-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color); /* Highlight with gold */
}

.page-resources-reliable-game-platform-guide__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--text-light);
}

.page-resources-reliable-game-platform-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-resources-reliable-game-platform-guide__cta-button:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-reliable-game-platform-guide__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-reliable-game-platform-guide__introduction-section,
.page-resources-reliable-game-platform-guide__promotions-section,
.page-resources-reliable-game-platform-guide__faq-section {
    background-color: var(--bg-light);
    padding: 60px 0;
    color: var(--text-dark);
}

.page-resources-reliable-game-platform-guide__introduction-section p,
.page-resources-reliable-game-platform-guide__promotions-section p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-resources-reliable-game-platform-guide__review-content-section {
  padding: 40px 0;
  background: var(--bg-light); /* Light background for review section */
}

.page-resources-reliable-game-platform-guide__review-content-container {
  max-width: 1100px; /* Slightly wider for reading */
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-reliable-game-platform-guide__review-content-card {
  background: var(--card-bg); /* White background */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Shadow */
  padding: 40px;
  color: var(--text-dark); /* Dark text on light background */
}

.page-resources-reliable-game-platform-guide__review-content-card h2 {
  font-size: 2em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

.page-resources-reliable-game-platform-guide__review-content-card h3 {
  font-size: 1.5em;
  font-weight: bold; /* Subtitle bold */
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid var(--secondary-color);
  padding-left: 15px;
}

.page-resources-reliable-game-platform-guide__review-body {
  color: var(--text-dark);
  line-height: 1.7;
}

.page-resources-reliable-game-platform-guide__review-body p {
  margin-bottom: 16px;
  font-size: 1.1em;
}

.page-resources-reliable-game-platform-guide__core-games-section,
.page-resources-reliable-game-platform-guide__blog-section {
    background-color: var(--bg-dark);
    padding: 60px 0;
    color: var(--text-light);
}

.page-resources-reliable-game-platform-guide__core-games-section .page-resources-reliable-game-platform-guide__section-title,
.page-resources-reliable-game-platform-guide__blog-section .page-resources-reliable-game-platform-guide__section-title {
    color: var(--secondary-color);
}

.page-resources-reliable-game-platform-guide__games-grid,
.page-resources-reliable-game-platform-guide__promo-grid,
.page-resources-reliable-game-platform-guide__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-reliable-game-platform-guide__game-card,
.page-resources-reliable-game-platform-guide__promo-card,
.page-resources-reliable-game-platform-guide__blog-card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-reliable-game-platform-guide__promo-card {
    background: linear-gradient(145deg, var(--primary-color), #004a99); /* Dark blue gradient for promo cards */
    color: var(--text-light);
}

.page-resources-reliable-game-platform-guide__promo-card .page-resources-reliable-game-platform-guide__promo-title {
    color: var(--secondary-color);
}

.page-resources-reliable-game-platform-guide__promo-card .page-resources-reliable-game-platform-guide__cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-resources-reliable-game-platform-guide__promo-card .page-resources-reliable-game-platform-guide__cta-button:hover {
    background: #e6b800;
}

.page-resources-reliable-game-platform-guide__game-card:hover,
.page-resources-reliable-game-platform-guide__promo-card:hover,
.page-resources-reliable-game-platform-guide__blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.page-resources-reliable-game-platform-guide__game-image,
.page-resources-reliable-game-platform-guide__blog-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-reliable-game-platform-guide__game-title,
.page-resources-reliable-game-platform-guide__promo-title,
.page-resources-reliable-game-platform-guide__blog-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--primary-color);
}

.page-resources-reliable-game-platform-guide__promo-title {
    color: var(--secondary-color);
}

.page-resources-reliable-game-platform-guide__game-description,
.page-resources-reliable-game-platform-guide__promo-description,
.page-resources-reliable-game-platform-guide__blog-summary {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    color: var(--text-dark);
}

.page-resources-reliable-game-platform-guide__promo-description {
    color: var(--text-light);
}

.page-resources-reliable-game-platform-guide__blog-link {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.page-resources-reliable-game-platform-guide__blog-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-resources-reliable-game-platform-guide__blog-date {
    font-size: 0.9em;
    color: #777;
    margin-top: 10px;
    display: block;
}

.page-resources-reliable-game-platform-guide__view-all {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Styles */
.page-resources-reliable-game-platform-guide__faq-list {
  margin-top: 40px;
}

.page-resources-reliable-game-platform-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-resources-reliable-game-platform-guide__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 20px;
  opacity: 0;
  background: #f9f9f9;
  color: var(--text-dark);
}

.page-resources-reliable-game-platform-guide__faq-item.active .page-resources-reliable-game-platform-guide__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-resources-reliable-game-platform-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-reliable-game-platform-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-reliable-game-platform-guide__faq-question:active {
  background: #eeeeee;
}

.page-resources-reliable-game-platform-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-resources-reliable-game-platform-guide__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;
  border-radius: 50%;
  background-color: var(--bg-light);
}

.page-resources-reliable-game-platform-guide__faq-item.active .page-resources-reliable-game-platform-guide__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-reliable-game-platform-guide__main-title {
        font-size: 2.5em;
    }
    .page-resources-reliable-game-platform-guide__subtitle {
        font-size: 1.1em;
    }
    .page-resources-reliable-game-platform-guide__section-title {
        font-size: 2em;
    }
    .page-resources-reliable-game-platform-guide__games-grid,
    .page-resources-reliable-game-platform-guide__promo-grid,
    .page-resources-reliable-game-platform-guide__blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-resources-reliable-game-platform-guide__game-image,
    .page-resources-reliable-game-platform-guide__blog-image {
        height: 180px;
    }
    .page-resources-reliable-game-platform-guide__review-content-card h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-resources-reliable-game-platform-guide__container {
        padding: 0 15px;
    }
    .page-resources-reliable-game-platform-guide__hero-banner {
        padding-top: 160px !important; /* Mobile fixed header compensation */
        padding-bottom: 40px;
    }
    .page-resources-reliable-game-platform-guide__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-resources-reliable-game-platform-guide__subtitle {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-resources-reliable-game-platform-guide__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-reliable-game-platform-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-reliable-game-platform-guide__introduction-section,
    .page-resources-reliable-game-platform-guide__promotions-section,
    .page-resources-reliable-game-platform-guide__faq-section {
        padding: 40px 0;
    }
    .page-resources-reliable-game-platform-guide__review-content-section {
        padding: 20px 0;
    }
    .page-resources-reliable-game-platform-guide__review-content-card {
        padding: 25px 20px;
    }
    .page-resources-reliable-game-platform-guide__review-content-card h2 {
        font-size: 1.8em;
    }
    .page-resources-reliable-game-platform-guide__review-content-card h3 {
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
        padding-left: 10px;
    }
    .page-resources-reliable-game-platform-guide__review-body p {
        font-size: 1em;
    }
    .page-resources-reliable-game-platform-guide__game-card,
    .page-resources-reliable-game-platform-guide__promo-card,
    .page-resources-reliable-game-platform-guide__blog-card {
        padding: 20px;
    }
    .page-resources-reliable-game-platform-guide__game-image,
    .page-resources-reliable-game-platform-guide__blog-image {
        height: 150px;
    }
    .page-resources-reliable-game-platform-guide__game-title,
    .page-resources-reliable-game-platform-guide__promo-title,
    .page-resources-reliable-game-platform-guide__blog-title {
        font-size: 1.2em;
    }
    .page-resources-reliable-game-platform-guide__faq-question {
        padding: 15px;
    }
    .page-resources-reliable-game-platform-guide__faq-question h3 {
        font-size: 1em;
    }
    .page-resources-reliable-game-platform-guide__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-resources-reliable-game-platform-guide__faq-item.active .page-resources-reliable-game-platform-guide__faq-answer {
        padding: 15px !important;
    }
    /* Ensure all images are responsive and do not cause overflow */
    .page-resources-reliable-game-platform-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-resources-reliable-game-platform-guide__section,
    .page-resources-reliable-game-platform-guide__card,
    .page-resources-reliable-game-platform-guide__container,
    .page-resources-reliable-game-platform-guide__review-content-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-reliable-game-platform-guide__main-title {
        font-size: 1.8em;
    }
    .page-resources-reliable-game-platform-guide__section-title {
        font-size: 1.5em;
    }
    .page-resources-reliable-game-platform-guide__games-grid,
    .page-resources-reliable-game-platform-guide__promo-grid,
    .page-resources-reliable-game-platform-guide__blog-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-reliable-game-platform-guide__game-image,
    .page-resources-reliable-game-platform-guide__blog-image {
        height: 120px;
    }
}