/* style/resources-faq-reliable-betting-platform.css */

/* Variables and Base Styles */
:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a; /* From shared.css body background */
  --card-bg-dark: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark bg */
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-resources-faq-reliable-betting-platform {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Ensure light text on dark body background */
  background-color: var(--bg-dark); /* Inherit from body or match for consistency */
  padding-bottom: 60px; /* Space above footer */
}

.page-resources-faq-reliable-betting-platform__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-faq-reliable-betting-platform__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px 60px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-color: var(--primary-color);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-resources-faq-reliable-betting-platform__hero-section .page-resources-faq-reliable-betting-platform__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-faq-reliable-betting-platform__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold for main title */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-faq-reliable-betting-platform__description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  opacity: 0.9;
}

.page-resources-faq-reliable-betting-platform__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%; /* Ensure container takes full width for flex-wrap */
}

.page-resources-faq-reliable-betting-platform__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  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;
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping on desktop */
}

.page-resources-faq-reliable-betting-platform__cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-faq-reliable-betting-platform__cta-button--secondary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-faq-reliable-betting-platform__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-resources-faq-reliable-betting-platform__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

/* Section Title */
.page-resources-faq-reliable-betting-platform__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  padding-top: 40px;
  position: relative;
}

.page-resources-faq-reliable-betting-platform__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* FAQ Section */
.page-resources-faq-reliable-betting-platform__faq-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-resources-faq-reliable-betting-platform__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-faq-reliable-betting-platform__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-bg-dark);
  border: 1px solid var(--border-color-dark);
}

.page-resources-faq-reliable-betting-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter for question bar */
  border-bottom: 1px solid var(--border-color-dark);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-faq-reliable-betting-platform__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-resources-faq-reliable-betting-platform__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-resources-faq-reliable-betting-platform__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-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: 30px;
  height: 30px;
}

.page-resources-faq-reliable-betting-platform__faq-item.active .page-resources-faq-reliable-betting-platform__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Rotate to form an 'x' or '-' */
}

.page-resources-faq-reliable-betting-platform__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 25px;
  opacity: 0;
  color: var(--text-light);
}

.page-resources-faq-reliable-betting-platform__faq-item.active .page-resources-faq-reliable-betting-platform__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border-color-dark);
}

.page-resources-faq-reliable-betting-platform__faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
}