/* style/resources-tr88-link-game-types-deep-dive.css */

:root {
  --tr88-gold: #FFD700;
  --tr88-red: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-card: rgba(255, 255, 255, 0.05);
  --bg-dark-section: rgba(255, 255, 255, 0.02);
}

.page-resources-tr88-link-game-types-deep-dive {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Main text color for dark body background */
  background-color: #121212; /* Inherited from body via shared.css */
}

.page-resources-tr88-link-game-types-deep-dive__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-resources-tr88-link-game-types-deep-dive__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-tr88-link-game-types-deep-dive__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.page-resources-tr88-link-game-types-deep-dive__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-resources-tr88-link-game-types-deep-dive__hero-title {
  font-size: 3.5em;
  color: var(--tr88-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-tr88-link-game-types-deep-dive__hero-description {
  font-size: 1.3em;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources-tr88-link-game-types-deep-dive__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-tr88-link-game-types-deep-dive__btn-primary,
.page-resources-tr88-link-game-types-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-tr88-link-game-types-deep-dive__btn-primary {
  background-color: var(--tr88-gold);
  color: var(--text-light);
  border: 2px solid var(--tr88-gold);
}

.page-resources-tr88-link-game-types-deep-dive__btn-primary:hover {
  background-color: darken(var(--tr88-gold), 10%);
  border-color: darken(var(--tr88-gold), 10%);
}

.page-resources-tr88-link-game-types-deep-dive__btn-secondary {
  background-color: transparent;
  color: var(--tr88-gold);
  border: 2px solid var(--tr88-gold);
}

.page-resources-tr88-link-game-types-deep-dive__btn-secondary:hover {
  background-color: var(--tr88-gold);
  color: var(--text-light);
}

.page-resources-tr88-link-game-types-deep-dive__content-area,
.page-resources-tr88-link-game-types-deep-dive__game-types-section,
.page-resources-tr88-link-game-types-deep-dive__benefits-section,
.page-resources-tr88-link-game-types-deep-dive__cta-section,
.page-resources-tr88-link-game-types-deep-dive__faq-section,
.page-resources-tr88-link-game-types-deep-dive__conclusion-section {
  padding: 60px 0;
  background-color: #121212; /* Ensure consistent dark background */
}

.page-resources-tr88-link-game-types-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-tr88-link-game-types-deep-dive__section-title {
  font-size: 2.8em;
  color: var(--tr88-gold);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-resources-tr88-link-game-types-deep-dive__sub-title {
  font-size: 1.8em;
  color: var(--tr88-red);
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 5px solid var(--tr88-gold);
  padding-left: 15px;
}

.page-resources-tr88-link-game-types-deep-dive__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-resources-tr88-link-game-types-deep-dive__game-grid,
.page-resources-tr88-link-game-types-deep-dive__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-tr88-link-game-types-deep-dive__game-card,
.page-resources-tr88-link-game-types-deep-dive__benefit-item {
  background-color: var(--bg-dark-card);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-resources-tr88-link-game-types-deep-dive__game-card:hover,
.page-resources-tr88-link-game-types-deep-dive__benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-tr88-link-game-types-deep-dive__card-image,
.page-resources-tr88-link-game-types-deep-dive__benefit-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-resources-tr88-link-game-types-deep-dive__card-title {
  font-size: 1.6em;
  color: var(--tr88-gold);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources-tr88-link-game-types-deep-dive__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-resources-tr88-link-game-types-deep-dive__card-title a:hover {
  text-decoration: underline;
}

.page-resources-tr88-link-game-types-deep-dive__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-tr88-link-game-types-deep-dive__benefit-title {
  font-size: 1.5em;
  color: var(--tr88-red);
  margin-bottom: 10px;
}

.page-resources-tr88-link-game-types-deep-dive__benefit-text {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-light);
}

.page-resources-tr88-link-game-types-deep-dive__cta-section {
  background-color: var(--tr88-red); /* Using auxiliary color for CTA */
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
}

.page-resources-tr88-link-game-types-deep-dive__cta-section .page-resources-tr88-link-game-types-deep-dive__section-title {
  color: var(--tr88-gold);
}

.page-resources-tr88-link-game-types-deep-dive__faq-list {
  margin-top: 30px;
}

.page-resources-tr88-link-game-types-deep-dive__faq-item {
  background-color: var(--bg-dark-card);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-tr88-link-game-types-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--tr88-gold);
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-resources-tr88-link-game-types-deep-dive__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-resources-tr88-link-game-types-deep-dive__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-tr88-link-game-types-deep-dive__faq-item.active .page-resources-tr88-link-game-types-deep-dive__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-tr88-link-game-types-deep-dive__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--text-light);
}

.page-resources-tr88-link-game-types-deep-dive__faq-item.active .page-resources-tr88-link-game-types-deep-dive__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px 25px;
}

.page-resources-tr88-link-game-types-deep-dive__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-tr88-link-game-types-deep-dive__hero-title {
    font-size: 2.8em;
  }
  .page-resources-tr88-link-game-types-deep-dive__hero-description {
    font-size: 1.1em;
  }
  .page-resources-tr88-link-game-types-deep-dive__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-tr88-link-game-types-deep-dive__hero-section {
    min-height: 450px;
  }
  .page-resources-tr88-link-game-types-deep-dive__hero-title {
    font-size: 2em;
  }
  .page-resources-tr88-link-game-types-deep-dive__hero-description {
    font-size: 1em;
  }
  .page-resources-tr88-link-game-types-deep-dive__section-title {
    font-size: 1.8em;
  }
  .page-resources-tr88-link-game-types-deep-dive__sub-title {
    font-size: 1.5em;
  }
  .page-resources-tr88-link-game-types-deep-dive__paragraph {
    font-size: 0.95em;
  }
  .page-resources-tr88-link-game-types-deep-dive__game-grid,
  .page-resources-tr88-link-game-types-deep-dive__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-tr88-link-game-types-deep-dive__btn-primary,
  .page-resources-tr88-link-game-types-deep-dive__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-tr88-link-game-types-deep-dive__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-tr88-link-game-types-deep-dive__content-area,
  .page-resources-tr88-link-game-types-deep-dive__game-types-section,
  .page-resources-tr88-link-game-types-deep-dive__benefits-section,
  .page-resources-tr88-link-game-types-deep-dive__cta-section,
  .page-resources-tr88-link-game-types-deep-dive__faq-section,
  .page-resources-tr88-link-game-types-deep-dive__conclusion-section {
    padding: 40px 0;
  }
  .page-resources-tr88-link-game-types-deep-dive__container {
    padding: 0 15px;
  }

  /* Mobile image adaptation */
  .page-resources-tr88-link-game-types-deep-dive img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-tr88-link-game-types-deep-dive__game-card,
  .page-resources-tr88-link-game-types-deep-dive__benefit-item,
  .page-resources-tr88-link-game-types-deep-dive__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-tr88-link-game-types-deep-dive__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
}