/* style/about.css */

/* General page styling */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
  padding-bottom: 50px;
}

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

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

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-about__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  background-color: #08160F;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px;
  display: block;
  margin-bottom: 30px;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 0 15px;
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
}

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

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-faq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Brighter Green from gradient */
  border: 2px solid #2AD16F;
}

.page-about__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Text Main */
  border-color: #F2FFF6;
  transform: translateY(-2px);
}

.page-about__btn-faq {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 16px;
}

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

/* History and Mission Section */
.page-about__history-mission .page-about__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__history-mission .page-about__section-title {
  margin-bottom: 30px;
}

.page-about__history-mission .page-about__text-block {
  text-align: left;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 800px; /* Limit width for content images */
}

/* Core Values Section */
.page-about__core-values {
  background-color: #11271B; /* Card BG */
  padding: 80px 0;
}

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

.page-about__card {
  background-color: #11271B;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-about__card-title {
  font-size: 22px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
}

.page-about__card-title a:hover {
  color: #57E38D; /* Glow */
}

.page-about__card-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

/* Products and Services Section */
.page-about__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__product-card {
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.page-about__product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.page-about__product-card .page-about__card-title {
  margin: 0 20px 10px 20px;
  font-size: 20px;
}

.page-about__product-card .page-about__card-text {
  margin: 0 20px 20px 20px;
}

.page-about__cta-section {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Security Section */
.page-about__security .page-about__container {
  text-align: left;
}

.page-about__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about__image-content--left {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
}

.page-about__security-text {
  flex: 1;
  max-width: 50%;
}

.page-about__security-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-about__security-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 17px;
}

.page-about__security-list li::before {
  content: '✔';
  color: #2AD16F;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming {
  background-color: #11271B; /* Card BG */
  padding: 80px 0;
}

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

.page-about__responsible-item {
  text-align: left;
}

/* Team and Vision Section */
.page-about__team-vision .page-about__container {
  text-align: left;
}

.page-about__team-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about__team-text {
  flex: 1;
  max-width: 50%;
}

.page-about__image-content--right {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
}

/* FAQ Section */
.page-about__faq .page-about__section-title {
  margin-bottom: 40px;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
  user-select: none;
  list-style: none; /* For details summary */
}

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

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

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

.page-about__faq-answer {
  padding: 20px;
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
  line-height: 1.8;
}

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

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid #1E3A2A;
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .page-about__security-content,
  .page-about__team-content {
    flex-direction: column;
    text-align: center;
  }

  .page-about__image-content--left,
  .page-about__security-text,
  .page-about__image-content--right,
  .page-about__team-text {
    max-width: 100%;
    width: 100%;
  }

  .page-about__image-content--left {
    order: 1;
  }

  .page-about__security-text {
    order: 2;
  }

  .page-about__image-content--right {
    order: 2;
  }

  .page-about__team-text {
    order: 1;
  }

  .page-about__security-list {
    text-align: left;
  }
}

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

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

  .page-about__hero-section {
    padding-bottom: 40px;
  }

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

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

  .page-about__hero-buttons,
  .page-about__cta-section {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-faq {
    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__values-grid,
  .page-about__product-grid,
  .page-about__responsible-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__image-content,
  .page-about__product-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__security-content,
  .page-about__team-content {
    gap: 20px;
  }

  .page-about__security-list li {
    font-size: 16px;
  }

  .page-about__faq-question {
    font-size: 16px;
    padding: 15px;
  }

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

  .page-about__container,
  .page-about__hero-content,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container,
  .page-about__section,
  .page-about__card,
  .page-about__box,
  .page-about__history-mission,
  .page-about__core-values,
  .page-about__products-services,
  .page-about__security,
  .page-about__responsible-gaming,
  .page-about__team-vision,
  .page-about__faq {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Small top padding for aesthetic, body handles main offset */
  .page-about__hero-section {
    padding-top: 10px !important;
  }
}

/* Ensure images in content areas are not too small */
.page-about img {
  min-width: 200px;
  min-height: 200px;
}

/* No CSS filters allowed for images */
.page-about img {
  filter: none; /* Ensure no filters are applied */
}