/* style/about.css */

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

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

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

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

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

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

.page-about__hero-content {
  position: relative;
  z-index: 10;
  padding: 30px 20px;
  max-width: 800px;
}

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

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

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

/* Shared Section Title */
.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2C14E; /* Primary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-tertiary,
.page-about__btn-text {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Primary color text */
  border: 2px solid #F2C14E;
}

.page-about__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-tertiary {
  background: transparent;
  color: #FFD36B; /* Glow color */
  border: 2px solid #FFD36B;
}

.page-about__btn-tertiary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-about__btn-text {
  background: transparent;
  color: #F2C14E;
  border: none;
  padding: 8px 15px;
  text-decoration: underline;
}

.page-about__btn-text:hover {
  color: #FFD36B;
}

/* Dark Section */
.page-about__dark-section {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

/* Mission & Vision Section */
.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-about__mission-card, .page-about__vision-card {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__card-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card-text {
  font-size: 1em;
  color: #FFF6D6;
  text-align: justify;
}

/* Why Choose Us Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-card {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-about__feature-card.page-about__dark-bg-card {
  background-color: #111111;
}

.page-about__feature-card .page-about__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  text-align: left;
}

.page-about__feature-card .page-about__card-text {
  flex-grow: 1;
  text-align: left;
  margin-bottom: 20px;
}

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

.page-about__game-category-card {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__game-category-card .page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__game-category-card .page-about__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

/* Security Section */
.page-about__security-content, .page-about__team-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about__security-image, .page-about__team-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-about__security-text, .page-about__team-text {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-about__security-text .page-about__btn-primary, .page-about__team-text .page-about__btn-text {
  margin-top: 20px;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section .page-about__link {
  color: #FFD36B;
  text-decoration: underline;
}

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

.page-about__responsible-gaming-section .page-about__btn-secondary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  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: 600;
  color: #F2C14E;
  background-color: #111111;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #1a1a1a;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes 'x' or rotate */
  content: '−'; /* Change to minus sign */
}

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

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