/* style/index-ph7-betting-options.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000000; /* Black */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000000;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-index-ph7-betting-options {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Inherited from body */
}

.page-index-ph7-betting-options__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* HERO Section */
.page-index-ph7-betting-options__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: var(--background-dark);
}

.page-index-ph7-betting-options__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-ph7-betting-options__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-ph7-betting-options__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-ph7-betting-options__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-index-ph7-betting-options__hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-ph7-betting-options__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-index-ph7-betting-options__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-ph7-betting-options__cta-button:hover {
  background: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-index-ph7-betting-options__introduction-section,
.page-index-ph7-betting-options__quick-access-section,
.page-index-ph7-betting-options__games-section,
.page-index-ph7-betting-options__promotions-section,
.page-index-ph7-betting-options__security-support-section,
.page-index-ph7-betting-options__faq-section,
.page-index-ph7-betting-options__blog-section {
  padding: 80px 0;
  text-align: center;
}

.page-index-ph7-betting-options__introduction-section {
  background: var(--background-dark);
  color: var(--text-light);
}

.page-index-ph7-betting-options__introduction-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-index-ph7-betting-options__introduction-section p {
  max-width: 900px;
  margin: 0 auto 15px auto;
  font-size: 1.05em;
}

.page-index-ph7-betting-options__quick-access-section {
  background: var(--background-light);
  color: var(--text-dark);
}

.page-index-ph7-betting-options__quick-access-section h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-index-ph7-betting-options__quick-access-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-index-ph7-betting-options__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-index-ph7-betting-options__access-button {
  display: block;
  padding: 15px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index-ph7-betting-options__access-button:hover {
  background: #FFC107;
  transform: translateY(-2px);
}

.page-index-ph7-betting-options__games-section {
  background: var(--background-dark);
  color: var(--text-light);
}

.page-index-ph7-betting-options__games-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-index-ph7-betting-options__games-section p {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-index-ph7-betting-options__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-ph7-betting-options__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  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;
  color: var(--text-light);
}

.page-index-ph7-betting-options__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-ph7-betting-options__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure responsiveness */
}

.page-index-ph7-betting-options__game-card h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-index-ph7-betting-options__game-card p {
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-ph7-betting-options__game-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-ph7-betting-options__game-button:hover {
  background: #FFC107;
}

.page-index-ph7-betting-options__promotions-section {
  background: var(--background-light);
  color: var(--text-dark);
}

.page-index-ph7-betting-options__promotions-section h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-index-ph7-betting-options__promotions-section p {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-index-ph7-betting-options__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-ph7-betting-options__promo-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-ph7-betting-options__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-ph7-betting-options__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure responsiveness */
}

.page-index-ph7-betting-options__promo-card h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-index-ph7-betting-options__promo-card p {
  font-size: 0.9em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-ph7-betting-options__promo-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-ph7-betting-options__promo-button:hover {
  background: #333333;
}

.page-index-ph7-betting-options__security-support-section {
  background: var(--background-dark);
  color: var(--text-light);
}

.page-index-ph7-betting-options__security-support-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-index-ph7-betting-options__security-support-section p {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-index-ph7-betting-options__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-ph7-betting-options__security-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}

.page-index-ph7-betting-options__security-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: brightness(1.2); /* Slightly brighten for visibility on dark background, not changing color */
  max-width: 100%; /* Ensure responsiveness */
}

.page-index-ph7-betting-options__security-item h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-index-ph7-betting-options__security-item p {
  font-size: 0.9em;
}

.page-index-ph7-betting-options__faq-section {
  background: var(--background-light);
  color: var(--text-dark);
}

.page-index-ph7-betting-options__faq-section h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-index-ph7-betting-options__faq-section p {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-index-ph7-betting-options__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ container style */
.page-index-ph7-betting-options__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ default state - answer hidden */
.page-index-ph7-betting-options__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 15px;
  opacity: 0;
  color: var(--text-dark);
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height to ensure expansion */
.page-index-ph7-betting-options__faq-item.active .page-index-ph7-betting-options__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important to ensure priority, value large enough to contain any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Question style */
.page-index-ph7-betting-options__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-ph7-betting-options__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-ph7-betting-options__faq-question:active {
  background: #eeeeee;
}

/* Question title style */
.page-index-ph7-betting-options__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 tag from blocking click event */
  color: var(--secondary-color);
}

/* Toggle icon */
.page-index-ph7-betting-options__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index-ph7-betting-options__faq-item.active .page-index-ph7-betting-options__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

.page-index-ph7-betting-options__blog-section {
  background: var(--background-dark);
  color: var(--text-light);
}

.page-index-ph7-betting-options__blog-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-index-ph7-betting-options__blog-section p {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-index-ph7-betting-options__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-ph7-betting-options__blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  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;
  color: var(--text-light);
}

.page-index-ph7-betting-options__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-ph7-betting-options__blog-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  max-width: 100%; /* Ensure responsiveness */
}

.page-index-ph7-betting-options__blog-card h3 {
  font-size: 1.25em;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index-ph7-betting-options__blog-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-ph7-betting-options__blog-card h3 a:hover {
  color: #FFC107;
}

.page-index-ph7-betting-options__blog-card p {
  font-size: 0.9em;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-index-ph7-betting-options__read-more {
  display: inline-block;
  padding: 8px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.page-index-ph7-betting-options__read-more:hover {
  background: #333333;
}

/* All images basic responsive style */
.page-index-ph7-betting-options img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-ph7-betting-options__hero-content h1 {
    font-size: 2.8em;
  }
  .page-index-ph7-betting-options__hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-index-ph7-betting-options__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
  }

  .page-index-ph7-betting-options__hero-content h1 {
    font-size: 2.2em;
  }

  .page-index-ph7-betting-options__hero-content p {
    font-size: 1em;
  }

  .page-index-ph7-betting-options__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-index-ph7-betting-options__introduction-section,
  .page-index-ph7-betting-options__quick-access-section,
  .page-index-ph7-betting-options__games-section,
  .page-index-ph7-betting-options__promotions-section,
  .page-index-ph7-betting-options__security-support-section,
  .page-index-ph7-betting-options__faq-section,
  .page-index-ph7-betting-options__blog-section {
    padding: 60px 0;
  }

  .page-index-ph7-betting-options__container {
    padding: 0 15px;
  }

  .page-index-ph7-betting-options__links-grid,
  .page-index-ph7-betting-options__games-grid,
  .page-index-ph7-betting-options__promotions-grid,
  .page-index-ph7-betting-options__security-grid,
  .page-index-ph7-betting-options__blog-grid {
    grid-template-columns: 1fr;
  }

  .page-index-ph7-betting-options__game-image,
  .page-index-ph7-betting-options__promo-image,
  .page-index-ph7-betting-options__blog-image {
    height: 150px;
  }

  .page-index-ph7-betting-options__access-button {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  .page-index-ph7-betting-options__faq-question {
    padding: 15px;
  }
  
  .page-index-ph7-betting-options__faq-question h3 {
    font-size: 1em;
  }
  
  .page-index-ph7-betting-options__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-index-ph7-betting-options__faq-item.active .page-index-ph7-betting-options__faq-answer {
    padding: 15px !important;
  }

  /* Force all images and their containers to be 100% width on mobile */
  .page-index-ph7-betting-options img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-ph7-betting-options__hero-section,
  .page-index-ph7-betting-options__introduction-section,
  .page-index-ph7-betting-options__quick-access-section,
  .page-index-ph7-betting-options__games-section,
  .page-index-ph7-betting-options__promotions-section,
  .page-index-ph7-betting-options__security-support-section,
  .page-index-ph7-betting-options__faq-section,
  .page-index-ph7-betting-options__blog-section,
  .page-index-ph7-betting-options__container,
  .page-index-ph7-betting-options__game-card,
  .page-index-ph7-betting-options__promo-card,
  .page-index-ph7-betting-options__security-item,
  .page-index-ph7-betting-options__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-ph7-betting-options__hero-container {
    padding: 0 15px;
  }

}

@media (max-width: 480px) {
  .page-index-ph7-betting-options__hero-content h1 {
    font-size: 1.8em;
  }
  .page-index-ph7-betting-options__hero-content p {
    font-size: 0.9em;
  }
  .page-index-ph7-betting-options__cta-button {
    font-size: 0.9em;
    padding: 10px 25px;
  }
  .page-index-ph7-betting-options h2 {
    font-size: 1.8em;
  }
}