/* style/about.css */

/* General Styles */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for dark background */
  background-color: #08160F; /* Main 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(2em, 5vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6; /* Main title color */
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Secondary text color */
}

.page-about__text-main {
  color: #F2FFF6;
}

.page-about__text-secondary {
  color: #A7D9B8;
}

.page-about__text-gold {
  color: #F2C14E;
}

/* Background Colors */
.page-about__dark-bg {
  background-color: #08160F;
}

.page-about__card-bg {
  background-color: #11271B;
}

.page-about__light-bg {
  background-color: #0F2018; /* Slightly lighter dark background for contrast */
  color: #F2FFF6;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-about__btn-secondary {
  background-color: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-about__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-about__btn-center {
  display: block;
  margin: 30px auto 0;
  max-width: 250px;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

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

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em); /* Use clamp for h1 font-size */
  font-weight: 800;
  color: #F2FFF6;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.page-about__hero-description {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.page-about__introduction-section,
.page-about__history-section,
.page-about__commitment-section,
.page-about__why-choose-us-section {
  padding: 80px 0;
}

.page-about__values-section,
.page-about__games-section,
.page-about__support-section,
.page-about__faq-section {
  padding: 80px 0;
}

/* Grid Layouts */
.page-about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Cards */
.page-about__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E;
}

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

.page-about__dark-card {
  background-color: #0A4B2C; /* Deeper green for contrast */
}

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

.page-about__card-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-about__card p {
  font-size: 1em;
  color: #A7D9B8;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Features Grid */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-about__feature-item {
  background-color: #11271B;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
}

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

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 15px;
}

/* Support Channels */
.page-about__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-about__channel-item {
  background-color: #0A4B2C;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
}

.page-about__channel-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 15px;
}

/* Why Choose Us List */
.page-about__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__why-list li {
  background-color: #11271B;
  margin-bottom: 15px;
  padding: 15px 25px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #A7D9B8;
  border: 1px solid #2E7A4E;
}

.page-about__list-icon {
  color: #2AD16F;
  font-size: 1.5em;
  margin-right: 15px;
  line-height: 1;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #0A4B2C;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  border-bottom: 1px solid #2E7A4E;
  list-style: none;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #A7D9B8;
  background-color: #0A4B2C;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px;
  }

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-about__main-title {
    font-size: 2em;
  }

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

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

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

  .page-about__introduction-section,
  .page-about__history-section,
  .page-about__commitment-section,
  .page-about__why-choose-us-section,
  .page-about__values-section,
  .page-about__games-section,
  .page-about__support-section,
  .page-about__faq-section {
    padding: 50px 0;
  }

  .page-about__grid,
  .page-about__features-grid,
  .page-about__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card,
  .page-about__feature-item,
  .page-about__channel-item,
  .page-about__faq-item {
    padding: 20px;
  }

  .page-about__card-image {
    height: 180px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    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__btn-center {
    margin: 20px auto 0;
  }

  /* Image, video, button container responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__values-section,
  .page-about__history-section,
  .page-about__games-section,
  .page-about__commitment-section,
  .page-about__support-section,
  .page-about__why-choose-us-section,
  .page-about__faq-section,
  .page-about__card,
  .page-about__feature-item,
  .page-about__channel-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__hero-image-wrapper {
    padding: 0;
  }

  .page-about__why-list li {
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-about__list-icon {
    font-size: 1.2em;
  }
}

/* Text contrast fixes for specific elements if needed */
.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__text-block {
  color: #F2FFF6; /* Ensure light text on slightly lighter dark background */
}

.page-about__card-bg .page-about__section-title,
.page-about__card-bg .page-about__text-main {
  color: #F2FFF6;
}

.page-about__card-bg .page-about__text-secondary {
  color: #A7D9B8;
}