.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main - light color for dark background */
  background-color: #08160F; /* Background */
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, main offset from body */
  background-color: #08160F; /* Background */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-about__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 1;
}

.page-about__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__section-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #11A84E; /* Main Color */
  border-radius: 2px;
}

.page-about__subsection-title {
  font-size: 1.8rem;
  color: #57E38D; /* Glow */
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid #11A84E; /* Main Color */
  padding-left: 15px;
}

.page-about__text-block {
  margin-bottom: 30px;
}

.page-about p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-about ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-about li {
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-about a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about a:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__introduction-section,
.page-about__security-section,
.page-about__future-section,
.page-about__faq-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-about__games-section,
.page-about__promotions-section,
.page-about__responsible-gaming-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG - dark background */
  color: #F2FFF6; /* Text Main */
}

.page-about__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
  background: none;
  border: 2px solid #11A84E; /* Main Color */
  color: #F2FFF6; /* Text Main */
  margin-left: 15px;
}

.page-about__cta-button--secondary:hover {
  background-color: #11A84E; /* Main Color */
  transform: translateY(-2px);
}

.page-about__faq-section {
  padding-top: 40px;
}

.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-item summary:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 20px;
  color: #57E38D; /* Glow */
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
}

.page-about__faq-item[open] summary {
  background-color: #1E3A2A; /* Divider */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-about__section-title {
    font-size: 2rem;
  }

  .page-about__subsection-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

  .page-about__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-about__hero-description {
    font-size: 1rem;
  }

  .page-about__hero-button,
  .page-about__cta-button,
  .page-about__cta-button--secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    padding: 12px 20px;
    font-size: 0.95rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
    margin-bottom: 10px; /* Add margin between stacked buttons */
  }

  .page-about__introduction-section,
  .page-about__games-section,
  .page-about__security-section,
  .page-about__promotions-section,
  .page-about__support-section,
  .page-about__responsible-gaming-section,
  .page-about__future-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-about__subsection-title {
    font-size: 1.3rem;
    margin-top: 30px;
  }

  .page-about p,
  .page-about li {
    font-size: 15px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__image-content {
    margin: 20px auto;
  }

  /* Ensure containers with images/buttons are responsive */
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button groups for mobile */
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
  }
}