/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-about__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
  margin-top: 20px;
}

.page-about__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(20, 12, 12, 0.7); /* Slightly transparent background for text readability */
  border-radius: 8px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 900;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

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

/* General Content Wrapper */
.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  min-width: 0;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #FFF1E8;
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

.page-about__feature-list li {
  background-color: #2A1212; /* Card BG */
  border-left: 4px solid #F3C54D; /* Gold */
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 16px;
  color: #FFF1E8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-about__feature-list li strong {
  color: #F3C54D; /* Gold */
}

/* Quick Access Links */
.page-about__access-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-about__access-card {
  display: block;
  background-color: #2A1212; /* Card BG */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__access-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background-color: #7E0D0D; /* Deep Red */
}

.page-about__access-card .page-about__card-title {
  font-size: 22px;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-about__access-card p {
  font-size: 15px;
  color: #FFF1E8;
}

/* Games Section */
.page-about__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__game-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
}

.page-about__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-about__game-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-about__game-card .page-about__game-title {
  font-size: 24px;
  color: #F3C54D; /* Gold */
  padding: 15px 20px 10px;
  margin: 0;
}

.page-about__game-card p {
  font-size: 16px;
  color: #FFF1E8;
  padding: 0 20px 15px;
}

.page-about__game-card .page-about__game-link {
  display: block;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border-radius: 0 0 8px 8px;
}

.page-about__game-card .page-about__game-link:hover {
  opacity: 0.9;
}

/* Promotions Section */
.page-about__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-about__promo-card {
  background-color: #2A1212; /* Card BG */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__promo-card .page-about__card-title {
  font-size: 22px;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-about__promo-card p {
  font-size: 16px;
  color: #FFF1E8;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #7E0D0D; /* Deep Red */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF1E8;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Background */
  border-top: 1px solid #6A1E1E;
  border-radius: 0 0 8px 8px;
}
details.page-about__faq-item .page-about__faq-answer p {
  font-size: 16px;
  color: #FFF1E8;
  margin-top: 10px;
}

/* News Section */
.page-about__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__news-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
}

.page-about__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-about__news-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-about__news-card .page-about__card-title {
  font-size: 20px;
  color: #F3C54D; /* Gold */
  padding: 15px 20px 5px;
  margin: 0;
  line-height: 1.3;
}

.page-about__news-card .page-about__card-title a {
  color: #F3C54D; /* Gold */
  text-decoration: none;
}

.page-about__news-card .page-about__card-title a:hover {
  text-decoration: underline;
}

.page-about__news-card .page-about__news-date {
  font-size: 14px;
  color: #FFF1E8;
  padding: 0 20px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.page-about__news-card p {
  font-size: 16px;
  color: #FFF1E8;
  padding: 0 20px 15px;
}

.page-about__news-card .page-about__read-more {
  display: block;
  background: #7E0D0D; /* Deep Red */
  color: #ffffff;
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border-radius: 0 0 8px 8px;
}

.page-about__news-card .page-about__read-more:hover {
  background: #E53030;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__content-wrapper {
    flex-direction: column;
  }
  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-about__hero-content {
    margin-top: -50px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-about img,
  .page-about__hero-image img,
  .page-about__image-block img,
  .page-about__game-card img,
  .page-about__news-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__quick-access-section,
  .page-about__games-section,
  .page-about__promotions-section,
  .page-about__security-support-section,
  .page-about__faq-section,
  .page-about__news-section,
  .page-about__container,
  .page-about__access-links-grid,
  .page-about__games-grid,
  .page-about__promotions-grid,
  .page-about__news-grid,
  .page-about__hero-container,
  .page-about__access-card,
  .page-about__game-card,
  .page-about__promo-card,
  .page-about__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__hero-content {
    margin-top: -30px; /* Adjust overlap for mobile */
    padding: 15px;
  }

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

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

  .page-about__cta-button,
  .page-about__cta-button--small,
  .page-about__game-link,
  .page-about__read-more {
    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__cta-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

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

  .page-about__game-card img,
  .page-about__news-card img {
     /* Adjust fixed height for mobile */
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
  details.page-about__faq-item .page-about__faq-answer p {
    font-size: 15px;
  }
}