/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-about__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-about__hero-cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
  border: none;
}

.page-about__hero-cta-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

.page-about__story-section {
  background-color: #0A0A0A;
  padding: 60px 0;
}

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

.page-about__story-text {
  flex: 1;
}

.page-about__story-image-wrapper {
  flex: 1;
  max-width: 50%;
}

.page-about__story-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__story-subtitle {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__story-section p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-about__why-choose-us-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
}

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

.page-about__advantage-card {
  background-color: rgba(242, 193, 78, 0.1); /* Slightly transparent main color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
}

.page-about__advantage-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__advantage-card p {
  color: #FFF6D6;
  line-height: 1.5;
}

.page-about__features-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 60px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__responsible-gaming-section {
  background-color: #0A0A0A;
  padding: 60px 0;
}

.page-about__responsible-gaming-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__responsible-gaming-image {
  flex: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__responsible-gaming-text {
  flex: 1;
}

.page-about__responsible-gaming-subtitle {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__responsible-gaming-section p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-about__link {
  color: #FFD36B;
  text-decoration: underline;
}

.page-about__link:hover {
  color: #F2C14E;
}

.page-about__team-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
}

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

.page-about__team-subtitle {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.page-about__team-section p {
  margin-bottom: 15px;
  color: #FFF6D6;
  text-align: center;
}

.page-about__team-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__partners-section {
  background-color: #0A0A0A;
  padding: 60px 0;
}

.page-about__partners-subtitle {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.page-about__partners-section p {
  margin-bottom: 30px;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding: 20px 0;
}

.page-about__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.page-about__partner-logo:hover {
  transform: scale(1.05);
}

.page-about__faq-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
}

.page-about__faq-subtitle {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 30px;
  font-weight: bold;
  text-align: center;
}

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

.page-about__faq-item {
  background-color: rgba(242, 193, 78, 0.05); /* Very subtle main color tint */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #FFF6D6;
  background-color: rgba(242, 193, 78, 0.1);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.2);
}

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

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
  padding-top: 0;
}

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

.page-about__contact-cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1em;
  transition: background 0.3s ease;
  border: none;
}

.page-about__contact-cta-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

.page-about__cta-section {
  background-color: #0A0A0A;
  padding: 80px 0;
  text-align: center;
}

.page-about__cta-title {
  font-size: 2.2em;
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__cta-highlight {
  color: #F2C14E;
}

.page-about__cta-description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 40px;
}

.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;
  text-decoration: none;
  border-radius: 8px;
  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;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

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

.page-about__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Dark text for bright button */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__story-content,
  .page-about__responsible-gaming-content {
    flex-direction: column;
    text-align: center;
  }

  .page-about__story-image-wrapper,
  .page-about__responsible-gaming-image {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .page-about__story-text,
  .page-about__responsible-gaming-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

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

  .page-about__story-subtitle,
  .page-about__advantage-title,
  .page-about__responsible-gaming-subtitle,
  .page-about__team-subtitle,
  .page-about__partners-subtitle,
  .page-about__faq-subtitle,
  .page-about__cta-title {
    font-size: 1.5em;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-section,
  .page-about__story-section,
  .page-about__why-choose-us-section,
  .page-about__responsible-gaming-section,
  .page-about__team-section,
  .page-about__partners-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0;
  }

  .page-about__advantage-card,
  .page-about__faq-item {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    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-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-about__partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Smaller grid for partners */
    gap: 10px;
  }
  .page-about__partner-logo {
    width: 100%; /* Ensure partner logos scale */
    height: auto;
  }
  .page-about__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}