/* style/resources-tobet-platform-analysis.css */

/* Base styles for the page content */
.page-resources-tobet-platform-analysis {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-resources-tobet-platform-analysis__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

/* Headings */
.page-resources-tobet-platform-analysis__heading-primary {
  font-size: 3em;
  color: #ffc107; /* Highlight with accent color */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-resources-tobet-platform-analysis__heading-secondary {
  font-size: 2.2em;
  color: #ffffff; /* White text for main headings */
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-tobet-platform-analysis__heading-secondary::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Accent underline */
  border-radius: 2px;
}

.page-resources-tobet-platform-analysis__heading-tertiary {
  font-size: 1.6em;
  color: #ffc107;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Text elements */
.page-resources-tobet-platform-analysis__text-block {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-resources-tobet-platform-analysis__highlight {
  color: #ffc107;
  font-weight: bold;
}

.page-resources-tobet-platform-analysis__link-inline {
  color: #007bff; /* Brand blue for inline links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-tobet-platform-analysis__link-inline:hover {
  color: #ffc107;
  text-decoration: underline;
}

/* Buttons */
.page-resources-tobet-platform-analysis__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-resources-tobet-platform-analysis__button--primary {
  background-color: #007bff;
  color: #ffffff;
}

.page-resources-tobet-platform-analysis__button--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.page-resources-tobet-platform-analysis__button--secondary {
  background-color: #ffc107;
  color: #000000;
}

.page-resources-tobet-platform-analysis__button--secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.page-resources-tobet-platform-analysis__button--text {
  background: none;
  color: #007bff;
  padding: 0;
  border-bottom: 1px solid #007bff;
  border-radius: 0;
}

.page-resources-tobet-platform-analysis__button--text:hover {
  color: #ffc107;
  border-color: #ffc107;
  transform: none;
  box-shadow: none;
}

/* HERO Section */
.page-resources-tobet-platform-analysis__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0;
  background-color: #000; /* Ensure background is dark if image doesn't cover */
}

.page-resources-tobet-platform-analysis__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-resources-tobet-platform-analysis__hero-image {
  width: 100%;
  margin: 0;
}

.page-resources-tobet-platform-analysis__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Products Section (Showcase) */
.page-resources-tobet-platform-analysis__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #0d0d0d; /* Slightly lighter dark background for contrast */
  box-sizing: border-box;
}

.page-resources-tobet-platform-analysis__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Desktop: 4 small + 2 large */
  gap: 20px;
}

.page-resources-tobet-platform-analysis__products-grid {
  display: grid;
  gap: 20px;
}

.page-resources-tobet-platform-analysis__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-resources-tobet-platform-analysis__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-resources-tobet-platform-analysis__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border: 3px solid #ffd700; /* Golden border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-tobet-platform-analysis__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.page-resources-tobet-platform-analysis__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-resources-tobet-platform-analysis__product-card-image {
  width: 100%;
  height: 250px; /* Fixed height for desktop */
  overflow: hidden;
}

.page-resources-tobet-platform-analysis__product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Intro Section */
.page-resources-tobet-platform-analysis__intro-section {
  background-color: #1a1a1a; /* Darker background for content */
  padding-top: 100px; /* Adjust for fixed header */
}

/* Quick Access Section */
.page-resources-tobet-platform-analysis__quick-access-section {
  background-color: #0d0d0d;
  text-align: center;
}

.page-resources-tobet-platform-analysis__link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* Games Section */
.page-resources-tobet-platform-analysis__games-section {
  background-color: #1a1a1a;
}

.page-resources-tobet-platform-analysis__game-category {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-tobet-platform-analysis__game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-resources-tobet-platform-analysis__game-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  border: 2px solid #007bff;
}

/* Promotions Section */
.page-resources-tobet-platform-analysis__promotions-section {
  background-color: #0d0d0d;
}

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

.page-resources-tobet-platform-analysis__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #ffc107;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-tobet-platform-analysis__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.page-resources-tobet-platform-analysis__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 6px;
  margin: 15px auto;
  object-fit: cover;
}

/* Security & Support Section */
.page-resources-tobet-platform-analysis__security-support-section {
  background-color: #1a1a1a;
}

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

.page-resources-tobet-platform-analysis__feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 123, 255, 0.3);
}

.page-resources-tobet-platform-analysis__feature-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

/* FAQ Section */
.page-resources-tobet-platform-analysis__faq-section {
  background-color: #0d0d0d;
}

.page-resources-tobet-platform-analysis__faq-list {
  margin-top: 30px;
}

.page-resources-tobet-platform-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-tobet-platform-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-tobet-platform-analysis__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #007bff;
}

.page-resources-tobet-platform-analysis__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-resources-tobet-platform-analysis__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107;
  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: 28px;
  height: 28px;
}

.page-resources-tobet-platform-analysis__faq-item.active .page-resources-tobet-platform-analysis__faq-toggle {
  color: #007bff;
  transform: rotate(45deg); /* Change to X or rotate for minus */
}

.page-resources-tobet-platform-analysis__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;
  color: #f0f0f0;
}

.page-resources-tobet-platform-analysis__faq-item.active .page-resources-tobet-platform-analysis__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
}

/* Blog Section */
.page-resources-tobet-platform-analysis__blog-section {
  background-color: #1a1a1a;
}

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

.page-resources-tobet-platform-analysis__blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-tobet-platform-analysis__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.page-resources-tobet-platform-analysis__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources-tobet-platform-analysis__blog-content {
  padding: 20px;
}

.page-resources-tobet-platform-analysis__blog-content h3 {
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-tobet-platform-analysis__blog-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-tobet-platform-analysis__blog-link:hover {
  color: #ffc107;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-tobet-platform-analysis__products-container {
    grid-template-columns: 1fr; /* Mobile: two grids stack vertically */
  }
  
  .page-resources-tobet-platform-analysis__products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-resources-tobet-platform-analysis__heading-primary {
    font-size: 2.5em;
  }
  .page-resources-tobet-platform-analysis__heading-secondary {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-tobet-platform-analysis {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-tobet-platform-analysis__container {
    padding: 0 15px;
  }

  .page-resources-tobet-platform-analysis__section {
    padding: 40px 0;
  }

  .page-resources-tobet-platform-analysis__intro-section {
    padding-top: 100px; /* Mobile adjustment for fixed header */
  }

  .page-resources-tobet-platform-analysis__heading-primary {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-resources-tobet-platform-analysis__heading-secondary {
    font-size: 1.6em;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  .page-resources-tobet-platform-analysis__heading-secondary::after {
    width: 60px;
    height: 3px;
  }

  .page-resources-tobet-platform-analysis__heading-tertiary {
    font-size: 1.3em;
  }

  /* HERO Section Mobile */
  .page-resources-tobet-platform-analysis__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-resources-tobet-platform-analysis__hero-image img {
    width: 100% !important;
    height: auto !important;
  }

  /* Product Showcase Mobile */
  .page-resources-tobet-platform-analysis__products-section {
    padding: 40px 15px;
  }
  
  .page-resources-tobet-platform-analysis__products-container {
    grid-template-columns: 1fr; /* Mobile: two grids stack vertically */
    gap: 15px;
  }
  
  .page-resources-tobet-platform-analysis__products-grid--small {
    grid-template-columns: repeat(2, 1fr); /* 4-grid (2x2) */
    gap: 15px;
  }
  
  .page-resources-tobet-platform-analysis__products-grid--small .page-resources-tobet-platform-analysis__product-card {
    aspect-ratio: 1 / 1; /* Square cards */
  }
  
  .page-resources-tobet-platform-analysis__products-grid--small .page-resources-tobet-platform-analysis__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Square images */
  }
  
  .page-resources-tobet-platform-analysis__products-grid--large {
    grid-template-columns: 1fr; /* Each large card takes full width */
    gap: 15px;
  }
  
  .page-resources-tobet-platform-analysis__products-grid--large .page-resources-tobet-platform-analysis__product-card {
    aspect-ratio: 1 / 1; /* Square cards */
  }
  
  .page-resources-tobet-platform-analysis__products-grid--large .page-resources-tobet-platform-analysis__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Square images */
  }

  .page-resources-tobet-platform-analysis__link-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-tobet-platform-analysis__game-category {
    padding: 15px;
  }

  .page-resources-tobet-platform-analysis__game-image {
    max-width: 100%;
  }

  .page-resources-tobet-platform-analysis__promo-grid,
  .page-resources-tobet-platform-analysis__feature-grid,
  .page-resources-tobet-platform-analysis__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-tobet-platform-analysis__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-tobet-platform-analysis__faq-question h3 {
    font-size: 1.1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-tobet-platform-analysis__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-tobet-platform-analysis__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-tobet-platform-analysis__faq-item.active .page-resources-tobet-platform-analysis__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive */
  .page-resources-tobet-platform-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-tobet-platform-analysis__section,
  .page-resources-tobet-platform-analysis__card,
  .page-resources-tobet-platform-analysis__container,
  .page-resources-tobet-platform-analysis__promo-card,
  .page-resources-tobet-platform-analysis__feature-card,
  .page-resources-tobet-platform-analysis__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}