/* style/about.css */
:root {
  --primary-color: #CC0000;
  --secondary-color: #003366;
  --accent-color: #FFD700; /* Gold for accent */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #1a1a1a;
  --border-color: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
}

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

.page-about h1, .page-about h2, .page-about h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about h1 {
  font-size: 2.8em;
  color: var(--text-light);
}

.page-about h2 {
  font-size: 2.2em;
  margin-top: 40px;
}

.page-about h3 {
  font-size: 1.6em;
  color: var(--primary-color);
}

.page-about p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-about .section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.15em;
  color: #555;
}

/* Hero Section */
.page-about .hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 100px 0;
  color: var(--text-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-about .hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-about .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about .cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--secondary-color);
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about .cta-button:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-about .cta-button.secondary-button {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-about .cta-button.secondary-button:hover {
  background-color: #002244;
}

/* Section Styling */
.page-about section {
  padding: 60px 0;
}

.page-about .bg-light {
  background-color: var(--bg-light);
}

/* Intro Section */
.page-about .section-intro .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-about .intro-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-about .intro-card .card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about .intro-card h3 {
  color: var(--primary-color);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-about .intro-card p {
  font-size: 1.05em;
  color: #666;
}

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

.page-about .feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-about .feature-item .feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about .feature-item h3 {
  font-size: 1.7em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-about .feature-item p {
  font-size: 1em;
  color: #666;
}

/* Responsible Gaming Section */
.page-about .section-responsible-gaming .content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about .section-responsible-gaming .text-content {
  flex: 2;
}

.page-about .section-responsible-gaming .text-content h3 {
  text-align: left;
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-about .section-responsible-gaming .image-content {
  flex: 1;
  text-align: center;
}

.page-about .section-responsible-gaming .main-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about .tech-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-about .tech-item h3 {
  text-align: left;
  font-size: 1.7em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-about .tech-item p {
  font-size: 1em;
  color: #666;
}

/* Community Section */
.page-about .section-community .community-content {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: center;
}

.page-about .section-community p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 25px;
}

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

.page-about .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-about .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-about .faq-question:hover {
  background: #f0f0f0;
}

.page-about .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--secondary-color);
  text-align: left;
}

.page-about .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-about .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-about .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555;
}

.page-about .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
}

.page-about .faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about h1 {
    font-size: 2.5em;
  }
  .page-about h2 {
    font-size: 2em;
  }
  .page-about .hero-content p {
    font-size: 1.15em;
  }
  .page-about .section-responsible-gaming .content-wrapper {
    flex-direction: column;
  }
  .page-about .section-responsible-gaming .image-content {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-about .section-responsible-gaming .text-content h3 {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-about .hero-section {
    padding: 80px 0;
  }
  .page-about .hero-content h1 {
    font-size: 2.2em;
  }
  .page-about .hero-content p {
    font-size: 1em;
  }
  .page-about .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-about h1 {
    font-size: 2em;
  }
  .page-about h2 {
    font-size: 1.8em;
  }
  .page-about h3 {
    font-size: 1.4em;
  }
  .page-about .section-intro .intro-grid {
    grid-template-columns: 1fr;
  }
  .page-about .feature-grid, .page-about .tech-grid {
    grid-template-columns: 1fr;
  }
  .page-about .section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about section {
    padding: 40px 0;
  }
  .page-about .faq-question {
    padding: 15px 20px;
  }
  .page-about .faq-question h3 {
    font-size: 1.1em;
  }
  .page-about .faq-toggle {
    font-size: 20px;
  }
  .page-about .faq-answer {
    padding: 0 20px;
  }
  .page-about .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-about .hero-content h1 {
    font-size: 1.8em;
  }
  .page-about .hero-content p {
    font-size: 0.9em;
  }
  .page-about .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-about h1 {
    font-size: 1.8em;
  }
  .page-about h2 {
    font-size: 1.6em;
  }
  .page-about h3 {
    font-size: 1.2em;
  }
  .page-about .intro-card .card-icon, .page-about .feature-item .feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-about .faq-question h3 {
    font-size: 1em;
  }
  .page-about .faq-toggle {
    font-size: 18px;
  }
}