:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Deep Red */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #000000; /* Body background */
  --background-light-card: rgba(255, 255, 255, 0.1); /* Light background for cards on dark body */
  --background-light-section: #f0f0f0; /* Light background for sections if needed */
}

.page-about {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Ensure consistency, though body handles this */
  padding-top: 120px; /* Desktop: Adjust for fixed header */
  box-sizing: border-box;
}

.page-about h1,
.page-about h2,
.page-about h3,
.page-about h4,
.page-about h5,
.page-about h6 {
  color: var(--primary-color); /* Headings use primary color */
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-about h1 {
  font-size: 48px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-about h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.page-about h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-about h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-color-light); /* Default for card titles, etc. */
}

.page-about a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-about__dark-section {
  background-color: var(--secondary-color); /* Deep red background */
  color: var(--text-color-light); /* White text on deep red */
}

.page-about__dark-section h2,
.page-about__dark-section h3 {
  color: var(--primary-color); /* Gold headings on deep red */
}

/* Hero Section */
.page-about__hero-section {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('[GALLERY:bg:lode88 vip,hero,abstract]') no-repeat center center/cover;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.page-about__hero-container {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.page-about__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-about__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 50px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word; /* Ensure text wraps */
}

.page-about__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-color-dark); /* Dark text on gold button */
}

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

.page-about__cta-button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-about__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-about__card {
  background: var(--background-light-card); /* Semi-transparent white on dark body */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light); /* Light text on card */
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-about__card-title {
  color: var(--primary-color);
  font-size: 26px;
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 16px;
  line-height: 1.7;
}

/* History Section */
.page-about__history-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--text-color-light);
}

.page-about__history-content {
  margin-top: 40px;
  text-align: center;
}

.page-about__history-content > p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #f0f0f0;
}

.page-about__timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.page-about__timeline-item {
  width: 50%;
  padding: 20px 40px;
  position: relative;
  box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.page-about__timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border: 4px solid var(--background-dark);
  border-radius: 50%;
  top: 28px;
  z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::after {
  right: -10px;
  transform: translateX(50%);
}

.page-about__timeline-item:nth-child(even)::after {
  left: -10px;
  transform: translateX(-50%);
}

.page-about__timeline-year {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-about__timeline-description {
  font-size: 16px;
  color: #f0f0f0;
}

.page-about__history-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin-top: 60px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
}

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

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: var(--background-dark); /* Dark background for this section */
  color: var(--text-color-light);
}

.page-about__why-choose-us-section .page-about__section-title {
  color: var(--primary-color);
}

.page-about__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-item {
  background: var(--background-light-card);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__feature-title {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 16px;
  color: #f0f0f0;
}

.page-about__why-choose-us-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin-top: 60px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
}

.page-about__responsible-gaming-section .page-about__text-block {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 18px;
  color: #f0f0f0;
}

.page-about__responsible-gaming-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 40px auto;
  text-align: left;
  background: var(--background-light-card);
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about__responsible-gaming-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 16px;
  color: #f0f0f0;
}

.page-about__responsible-gaming-list li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: var(--secondary-color); /* Deep red background */
  color: var(--text-color-light);
}

.page-about__faq-section .page-about__section-title {
  color: var(--primary-color);
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

/* FAQ item styles (from prompt, adapted to BEM and colors) */
.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--background-light-card); /* Card background for items */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for question header */
  border-bottom: 1px solid 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-about__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color); /* Gold text for FAQ question */
}

.page-about__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: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for minus sign */
  color: var(--text-color-light);
}

.page-about__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: #f0f0f0; /* Light text for answer */
  background: rgba(255, 255, 255, 0.03); /* Slightly darker card background for answer */
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
}

/* Contact CTA Section */
.page-about__contact-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-about__contact-cta-container {
  max-width: 800px;
}

.page-about__contact-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* General image styling for responsiveness */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about h1 {
    font-size: 40px;
  }
  .page-about h2 {
    font-size: 30px;
  }
  .page-about h3 {
    font-size: 22px;
  }
  .page-about__hero-description,
  .page-about__contact-description,
  .page-about__history-content > p,
  .page-about__responsible-gaming-section .page-about__text-block {
    font-size: 17px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-about__mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .page-about__timeline::before {
    left: 20px;
  }
  .page-about__timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    text-align: left !important;
  }
  .page-about__timeline-item:nth-child(odd)::after,
  .page-about__timeline-item:nth-child(even)::after {
    left: 20px;
    transform: translateX(-50%);
  }
  .page-about__values-grid,
  .page-about__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__section {
    padding: 60px 0;
  }
  .page-about__hero-section {
    padding: 80px 0 40px;
  }
  .page-about h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .page-about h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-about h3 {
    font-size: 20px;
  }
  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }
  .page-about__card {
    padding: 25px;
  }
  .page-about__card-icon {
    width: 80px;
    height: 80px;
  }
  .page-about__card-title {
    font-size: 22px;
  }
  .page-about__card-text {
    font-size: 15px;
  }
  .page-about__history-content > p {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .page-about__timeline-item {
    padding-left: 40px;
    padding-right: 15px;
  }
  .page-about__timeline::before {
    left: 15px;
  }
  .page-about__timeline-item:nth-child(odd)::after,
  .page-about__timeline-item:nth-child(even)::after {
    left: 15px;
  }
  .page-about__timeline-year {
    font-size: 18px;
  }
  .page-about__timeline-description {
    font-size: 15px;
  }
  .page-about__feature-item {
    padding: 25px;
  }
  .page-about__feature-title {
    font-size: 20px;
  }
  .page-about__feature-description {
    font-size: 15px;
  }
  .page-about__responsible-gaming-section .page-about__text-block {
    font-size: 16px;
  }
  .page-about__responsible-gaming-list {
    padding: 20px 25px;
  }
  .page-about__responsible-gaming-list li {
    font-size: 15px;
    padding-left: 25px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-question h3 {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }
  .page-about__faq-answer {
    padding: 15px 20px !important;
  }
  .page-about__contact-description {
    font-size: 16px;
  }

  /* Image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__hero-image,
  .page-about__history-image,
  .page-about__why-choose-us-image {
    border-radius: 8px;
  }
  .page-about__container,
  .page-about__hero-container,
  .page-about__mission-vision-grid,
  .page-about__values-grid,
  .page-about__feature-list,
  .page-about__faq-list,
  .page-about__contact-cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
  }
}