/* style/about.css */

/* Base styles */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #11A84E;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: #11A84E;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #333333;
  text-align: left;
}

.page-about__list {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
  margin-bottom: 15px;
}

.page-about__list li {
  margin-bottom: 5px;
  color: #333333;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

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

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: #F2FFF6;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #F2FFF6;
}

.page-about__intro-text {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  line-height: 1.5;
  color: #A7D9B8;
}

.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: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__cta-button--secondary {
  background: #0A4B2C;
  color: #A7D9B8;
  border: 2px solid #2E7A4E;
}

.page-about__cta-button--secondary:hover {
  background: #11271B;
  color: #F2FFF6;
}

/* History & Mission Section */
.page-about__history-mission .page-about__section-title {
  color: #11A84E;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-about__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-about__value-list, .page-about__game-list, .page-about__security-list, .page-about__promo-list, .page-about__support-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
}

.page-about__value-list li, .page-about__game-list li, .page-about__security-list li, .page-about__promo-list li, .page-about__support-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #333333;
}

.page-about__value-list li::before, .page-about__game-list li::before, .page-about__security-list li::before, .page-about__promo-list li::before, .page-about__support-list li::before {
  content: '✔';
  color: #11A84E;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Why Choose Section */
.page-about__why-choose {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-about__why-choose .page-about__section-title {
  color: #F2FFF6;
}

.page-about__why-choose .page-about__section-description {
  color: #A7D9B8;
}

.page-about__why-choose .page-about__text-block p {
  color: #A7D9B8;
}

.page-about__why-choose .page-about__sub-title {
  color: #22C768;
}

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

.page-about__feature-card {
  background-color: #11271B;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-about__feature-card .page-about__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #22C768;
  margin-bottom: 15px;
}

.page-about__feature-card p {
  font-size: 16px;
  color: #A7D9B8;
  text-align: left;
  flex-grow: 1;
}

.page-about__feature-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
  margin-top: 15px;
}

.page-about__feature-card ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  color: #A7D9B8;
  font-size: 15px;
}

.page-about__feature-card ul li::before {
  content: '•';
  color: #57E38D;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming .page-about__section-title {
  color: #11A84E;
}

/* Future Section */
.page-about__future {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-about__future .page-about__section-title {
  color: #F2FFF6;
}

.page-about__future .page-about__section-description {
  color: #A7D9B8;
}

.page-about__future .page-about__text-block p {
  color: #A7D9B8;
}

.page-about__future .page-about__sub-title {
  color: #22C768;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #f8f9fa;
}

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

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
  position: relative;
}

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

.page-about__faq-question:hover {
  background-color: #f0f0f0;
}

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #11A84E;
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #555555;
  text-align: left;
}

.page-about__faq-answer p {
  margin-top: 10px;
}

/* CTA Bottom Section */
.page-about__cta-bottom {
  padding: 80px 0;
  background-color: #11A84E;
  color: #F2FFF6;
}

.page-about__cta-bottom .page-about__section-title {
  color: #F2FFF6;
  font-size: clamp(30px, 4.5vw, 48px);
}

.page-about__cta-bottom .page-about__section-description {
  color: #A7D9B8;
  margin-bottom: 50px;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }

  .page-about__content-grid--reverse {
    grid-template-columns: 1fr;
  }

  .page-about__hero-content {
    max-width: 90%;
  }

  .page-about__hero-image-wrapper {
    max-height: 400px;
  }

  .page-about__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }

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

  .page-about__main-title {
    font-size: 32px;
  }

  .page-about__intro-text {
    font-size: 16px;
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-about__section-title {
    font-size: 26px;
  }

  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: 20px;
  }

  /* Force responsive images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Force responsive video */
  .page-about video, .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Force responsive containers */
  .page-about__section,
  .page-about__container,
  .page-about__feature-card,
  .page-about__faq-list,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific padding for hero section on mobile */
  .page-about__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-left: 0;
    padding-right: 0;
  }

  /* Ensure buttons wrap on mobile */
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__cta-button, .page-about a[class*="button"], .page-about a[class*="btn"] {
    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__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

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