/* style/about.css */

/* --- General Styles for Page-About --- */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Inherited from shared.css body, but explicitly set for robustness */
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #FFFFFF; /* White for titles on dark background */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439; /* Brand color accent */
  border-radius: 2px;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #FFFFFF; /* White for sub-titles on dark background */
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: left;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for body text */
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about__list-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible background for list items */
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-about__list-item strong {
  color: #017439; /* Brand color for emphasis */
}

.page-about__text-center {
  text-align: center;
}

/* --- Color Contrast Classes --- */
.page-about__dark-bg {
  background-color: #121212; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-about__light-bg {
  background-color: #f8f9fa; /* Light background */
  color: #333333; /* Dark text */
}

/* --- Hero Section --- */
.page-about__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('[GALLERY:hero_background:1920x1080:online_betting,mobile_gaming,abstract_green_lines,789clud]');
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Yellow for hero title as per custom color rule (login/register font color) */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-about__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #017439; /* Brand color border */
}

.page-about__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

/* --- Content Section --- */
.page-about__content-section {
  padding: 60px 0;
}

.page-about__content-section.page-about__light-bg .page-about__section-title,
.page-about__content-section.page-about__light-bg .page-about__sub-title {
  color: #333333;
}

.page-about__content-section.page-about__light-bg .page-about__paragraph,
.page-about__content-section.page-about__light-bg .page-about__list-item {
  color: #555555;
}

.page-about__image-wrapper {
  margin-bottom: 30px;
  text-align: center;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  max-width: 800px;
  min-width: 200px;
}

/* --- Features Section --- */
.page-about__features-section {
  padding: 60px 0;
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
}

.page-about__features-section .page-about__section-title::after {
  background-color: #FFFFFF;
}

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

.page-about__feature-card {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-about__feature-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* --- Advantages Section --- */
.page-about__advantages-section {
  padding: 60px 0;
}

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

.page-about__advantage-item {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__advantage-item:hover {
  transform: translateY(-5px);
}

.page-about__advantage-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-about__advantage-description {
  font-size: 1em;
  color: #555555;
}

/* --- Commitment Section --- */
.page-about__commitment-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-about__commitment-section .page-about__section-title::after {
  background-color: #017439;
}

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

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__commitment-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-about__commitment-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* --- CTA Section --- */
.page-about__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__cta-section .page-about__section-title {
  color: #333333;
}

.page-about__cta-section .page-about__section-title::after {
  background-color: #017439;
}

.page-about__cta-section .page-about__paragraph {
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FAQ Section --- */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #121212;
  color: #ffffff;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
  color: #FFFF00;
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #222222;
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px;
}

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

/* --- Image Specific Styles (No filters allowed) --- */
.page-about img {
  border: none;
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
}