/* style/about.css */

/* Base Styles & Typography */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main on dark background */
  background-color: #08160F; /* Background color */
}

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

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #11A84E, #22C768);
  border-radius: 2px;
}

.page-about__section-title--cta {
  color: #11A84E; /* Brand primary color for CTA title */
}

.page-about__section-title--cta::after {
  background: linear-gradient(90deg, #13994A, #2AD16F);
}

.page-about__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__text-block--cta {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333; /* Dark text on light CTA background */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding for hero */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-about__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with opacity */
  border-radius: 10px;
  transform: translateY(-50%); /* Pull up over the image */
  position: relative; /* Ensure it's above image but not overlapping text */
  z-index: 1;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-about__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Section Styles */
.page-about__intro-section,
.page-about__values-section,
.page-about__why-choose-us-section,
.page-about__responsible-gaming-section,
.page-about__faq-section,
.page-about__cta-section {
  padding: 80px 0;
}

.page-about__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-about__light-bg {
  background-color: #f0f0f0;
  color: #333333; /* Dark text on light background */
}

.page-about__light-bg .page-about__section-title {
  color: #11A84E; /* Brand primary color */
}

.page-about__light-bg .page-about__text-block {
  color: #333333;
}

/* Values Section */
.page-about__values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-about__value-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-about__value-title {
  font-size: 24px;
  color: #11A84E; /* Brand primary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-description {
  font-size: 15px;
  color: #555555;
}

/* Why Choose Us Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
}

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

.page-about__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__feature-title {
  font-size: 22px;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__feature-description {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-about__responsible-gaming-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-left: 5px solid #11A84E; /* Primary color accent */
}

.page-about__responsible-gaming-title {
  font-size: 22px;
  color: #11A84E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__responsible-gaming-description {
  font-size: 15px;
  color: #555555;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #F2FFF6;
  background-color: #1E3A2A; /* Divider color for question background */
  list-style: none; /* Remove default marker */
  position: relative;
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

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

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #2E7A4E;
}

.page-about__faq-answer p {
  margin-bottom: 0;
}

/* CTA Section */
.page-about__cta-section {
  background-color: #f0f0f0;
  padding: 80px 0;
  text-align: center;
}

.page-about__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  width: 100%;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #11A84E;
  border: 2px solid #11A84E;
}

.page-about__btn-secondary:hover {
  background: #11A84E;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-content {
    transform: translateY(-30%);
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 30px;
  }

  .page-about__hero-content {
    transform: translateY(-20%);
    padding: 20px 15px;
    margin: 0 15px;
  }

  .page-about__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-about__hero-description {
    font-size: 16px;
  }

  .page-about__section-title {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 30px;
  }

  .page-about__intro-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__responsible-gaming-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 50px 0;
  }

  .page-about__values-list,
  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__value-item,
  .page-about__feature-item,
  .page-about__responsible-gaming-item {
    padding: 20px;
    margin: 0 15px 15px;
  }

  .page-about__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-about__faq-answer {
    padding: 15px 20px;
    font-size: 15px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 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-left: 15px;
    padding-right: 15px;
  }

  .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;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

@media (max-width: 480px) {
  .page-about__hero-content {
    transform: translateY(-10%);
  }
  .page-about__main-title {
    font-size: clamp(24px, 7vw, 32px);
  }
  .page-about__hero-description {
    font-size: 15px;
  }
  .page-about__section-title {
    font-size: clamp(22px, 6vw, 30px);
  }
  .page-about__text-block {
    font-size: 14px;
  }
  .page-about__cta-button {
    padding: 12px 20px;
    font-size: 15px;
  }
}