/* style/about.css */

/* Base styles for page-about, assuming dark body background */
.page-about {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-about__dark-bg {
  background-color: #0D0E12; /* Background */
  color: #FFF3E6;
}

.page-about__card-bg {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

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

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Ensure image doesn't overflow its wrapper */
}

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

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-about__intro-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.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: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FF8C1A; /* Main color */
  border: 2px solid #FF8C1A; /* Border */
}

.page-about__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.3);
}

.page-about__sub-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-about__text-block {
  font-size: 1rem;
  color: #FFF3E6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__text-block a {
  color: #FF8C1A;
  text-decoration: underline;
}

.page-about__text-block a:hover {
  color: #FFB04D;
}

/* Feature Grid */
.page-about__feature-grid,
.page-about__content-grid,
.page-about__responsibility-grid,
.page-about__support-grid {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

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

.page-about__feature-item {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-about__feature-text {
  font-size: 0.95rem;
  color: #FFF3E6;
  line-height: 1.5;
}

/* Why Choose Us Section */
.page-about__content-grid {
  grid-template-columns: 1fr 1fr;
}

.page-about__content-left, .page-about__content-right {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__list-item {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #FFF3E6;
}

.page-about__list-item::before {
  content: '✓';
  color: #FF8C1A;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__image-small {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-about__image-large {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

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

.page-about__advantage-item {
  background-color: #D96800; /* Deep Orange */
  color: #FFF3E6;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__advantage-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-about__advantage-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Promotions Section */
.page-about__promo-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-about__promo-item {
  background-color: #0D0E12;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__promo-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFB04D;
  margin-bottom: 10px;
}

.page-about__promo-text {
  font-size: 0.95rem;
  color: #FFF3E6;
  line-height: 1.5;
}

.page-about__promo-text a {
  color: #FF8C1A;
  text-decoration: underline;
}

.page-about__promo-text a:hover {
  color: #FFB04D;
}

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

/* Responsible Gaming Section */
.page-about__responsibility-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-about__responsibility-item {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Support Section */
.page-about__support-grid {
  grid-template-columns: 1fr 1fr;
}

.page-about__support-item {
  background-color: #0D0E12;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__image-medium {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-about__btn-support {
  margin-top: 20px;
  display: inline-block;
}

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

/* Community Section */
.page-about__community-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-about__community-list .page-about__list-item {
  background-color: #17191F;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding-left: 50px;
}

.page-about__community-list .page-about__list-item::before {
  content: '★';
  color: #FFB04D;
  font-size: 1.5rem;
  left: 15px;
  top: 15px;
}

.page-about__community-list a {
  color: #FF8C1A;
  text-decoration: underline;
}

.page-about__community-list a:hover {
  color: #FFB04D;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFB04D;
  cursor: pointer;
  background-color: #17191F;
  border-bottom: 1px solid #A84F0C;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: #FFF3E6;
  border-top: none;
}

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

.page-about__faq-answer a {
  color: #FF8C1A;
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #FFB04D;
}

/* Ensure images are not filtered */
.page-about img {
  filter: none !important;
}

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

@media (max-width: 768px) {
  .page-about__container {
    padding: 20px 15px;
  }

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

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-about__intro-description {
    font-size: 1rem;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-about__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__hero-image-wrapper,
  .page-about__cta-buttons,
  .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-section {
    padding-top: 10px !important;
    padding-left: 0;
    padding-right: 0;
  }

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

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

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

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

  .page-about__feature-grid, .page-about__advantages, .page-about__promo-list, .page-about__responsibility-grid, .page-about__community-list {
    grid-template-columns: 1fr;
  }

  .page-about__list-item {
    padding-left: 20px;
  }

  .page-about__list-item::before {
    left: 0;
  }

  .page-about__community-list .page-about__list-item {
    padding-left: 45px;
  }

  .page-about__community-list .page-about__list-item::before {
    left: 10px;
  }

  .page-about__video-section {
    padding-top: 10px !important;
  }
}