/* style/about.css */

/* Base Styles & Typography */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body background is handled by shared.css */
}

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

.page-about__section {
  padding: 80px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__section-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-about ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-about li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-about strong {
  color: #26A9E0;
}

/* Color Contrast Adjustments */
.page-about__dark-bg {
  background-color: #1a1a2e; /* Inherit from body or a dark tone */
  color: #ffffff; /* Light text on dark background */
}

.page-about__light-bg {
  background-color: #2e2e4a; /* A slightly lighter dark background for contrast */
  color: #ffffff; /* Light text on this background */
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  cursor: pointer;
  box-sizing: border-box; /* Ensure padding doesn't cause overflow */
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-about__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 150px 0 100px; /* Adjusted padding-top for header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

.page-about__hero-title {
  font-size: 3.8em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-buttons {
  margin-top: 30px;
}

/* Vision Section */
.page-about__vision-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

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

.page-about__vision-image {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 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: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%; /* Example: if icons are circular */
}

.page-about__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__feature-card p {
  color: #f0f0f0;
}

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

.page-about__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-about__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-about__game-card .page-about__card-title {
  padding: 0 20px;
  margin-top: 0;
  color: #26A9E0;
}

.page-about__game-card .page-about__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-about__game-card .page-about__card-title a:hover {
  text-decoration: underline;
}

.page-about__game-card p {
  padding: 0 20px 20px;
  color: #f0f0f0;
}

/* Responsible Gaming Section */
.page-about__responsible-content {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__responsible-list {
  list-style: disc;
  padding-left: 40px;
  text-align: left;
  color: #f0f0f0;
}

.page-about__responsible-list li strong {
  color: #26A9E0;
}

/* Security & Tech Section */
.page-about__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__security-image {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__security-list {
  list-style: disc;
  padding-left: 40px;
  color: #f0f0f0;
}

/* VIP Services Section */
.page-about__vip-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

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

.page-about__vip-image {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__vip-list {
  list-style: disc;
  padding-left: 40px;
  color: #f0f0f0;
}

/* Customer Support Section */
.page-about__support-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__support-image {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__support-list {
  list-style: disc;
  padding-left: 40px;
  color: #f0f0f0;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-about__faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #26A9E0;
}

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

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

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

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 20px 25px;
}

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

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
}

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

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

.page-about__cta-buttons {
  margin-top: 30px;
}

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