/* style/about.css */

/* Variáveis de Cores */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg-color: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Estilos Gerais da Página */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Padrão para light-bg */
  background-color: #ffffff; /* Padrão para light-bg */
}

.page-about__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-about__section-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  letter-spacing: 0.05em;
}

.page-about__subsection-title {
  font-size: 2em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.page-about__intro-text,
.page-about__text-main {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

/* 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; /* Pequeno top padding, body.shared já tem offset */
  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;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__hero-content h1 {
  font-weight: bold;
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.page-about__hero-content p {
  color: var(--text-main-color);
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Values Section */
.page-about__values-section {
  background-color: #f8f8f8;
}

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

.page-about__card {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-about__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about__card p {
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-main-color);
}

/* Why Us Section */
.page-about__why-us-section {
  background-color: var(--background-color);
}

.page-about__why-us-section .page-about__section-title {
  color: var(--secondary-color);
}

.page-about__why-us-section .page-about__text-main {
  color: var(--text-main-color);
}

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

.page-about__feature-card {
  background-color: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about__feature-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about__feature-card p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  background-color: #f0f0f0;
}

.page-about__responsible-gaming-section img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-about__responsible-gaming-section p {
  max-width: 900px;
  margin: 20px auto;
  font-size: 1.1em;
  line-height: 1.7;
  color: #444444;
}

.page-about__link-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__link-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* FAQ Section */
.page-about__faq-section {
  background-color: var(--background-color);
}

.page-about__faq-section .page-about__section-title {
  color: var(--secondary-color);
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
}

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: rgba(var(--primary-color), 0.1);
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--card-bg-color), 0.8);
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color);
  text-align: left;
}

details.page-about__faq-item .page-about__faq-answer p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-top: 10px;
}

/* Final CTA Section */
.page-about__cta-final {
  padding: 80px 20px;
  background-color: var(--background-color);
  text-align: center;
}

.page-about__cta-final .page-about__section-title {
  color: var(--secondary-color);
}

.page-about__cta-final .page-about__text-main {
  color: var(--text-main-color);
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2.5em;
  }
  .page-about__hero-content h1 {
    font-size: 2.8em;
  }
  .page-about__feature-title {
    font-size: 1.6em;
  }
  .page-about__faq-qtext {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-image img {
    border-radius: 8px;
  }
  .page-about__hero-content h1 {
    font-size: 2.2em;
    margin-top: 15px;
  }
  .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__section {
    padding: 40px 15px;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__subsection-title {
    font-size: 1.6em;
  }
  .page-about__grid-container,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__card,
  .page-about__feature-card {
    padding: 25px;
  }
  .page-about__card img {
    max-width: 200px;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__feature-title {
    font-size: 1.4em;
  }
  .page-about__responsible-gaming-section img {
    margin: 20px auto;
  }
  .page-about__link-button {
    padding: 10px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-qtext {
    font-size: 1em;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 20px;
  }

  /* Imagens responsivas */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-final {
    padding: 50px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-content h1 {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__card-title {
    font-size: 1.2em;
  }
  .page-about__feature-title {
    font-size: 1.3em;
  }
  .page-about__faq-qtext {
    font-size: 0.95em;
  }
  .page-about__faq-toggle {
    font-size: 20px;
  }
}