/* style/about.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #E0B400;
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --bg-light: #ffffff;
  --bg-dark: #0A192F;
  --accent-color-hover: #F0C808; /* Slightly brighter gold for hover */
}

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

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

.page-about section {
  padding: 60px 0;
  text-align: center;
}

.page-about section:nth-of-type(even) {
  background-color: #f8f8f8;
}

.page-about .section-title {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

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

.page-about h2 {
  font-size: 2.8em;
  color: var(--primary-color);
  margin-bottom: 25px;
}

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

.page-about p {
  font-size: 1.1em;
  color: var(--text-dark);
  margin-bottom: 1em;
}

.page-about .hero-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1A345E 100%);
  color: var(--text-light);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-about .hero-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-about .hero-image {
  margin-bottom: 40px;
  width: 100%;
  max-width: 800px; /* Adjust max-width for hero image */
}

.page-about .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-about .hero-content p {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-about .cta-button:hover {
  background-color: var(--accent-color-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about .secondary-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-about .secondary-button:hover {
  background-color: #1A345E;
  color: var(--accent-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about .introduction-section .content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about .introduction-section .text-content {
  flex: 1;
}

.page-about .introduction-section .image-content {
  flex: 1;
  max-width: 50%;
}

.page-about .introduction-section .image-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-about .value-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border-top: 5px solid var(--secondary-color);
}

.page-about .value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.page-about .value-card img {
  width: 120px; /* Ensure images are not too small */
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-about .value-card p {
  font-size: 1em;
  color: var(--text-dark);
}

.page-about .entertainment-section .section-description {
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 1.15em;
}

.page-about .game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about .game-card {
  background-color: var(--bg-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-about .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.page-about .game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 3px solid var(--secondary-color);
}

.page-about .game-card h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  padding: 15px 20px 5px;
}

.page-about .game-card p {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #555;
}

.page-about .call-to-action {
  margin-top: 60px;
  padding: 40px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.page-about .call-to-action p {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-about .commitment-item {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-bottom: 5px solid var(--secondary-color);
}

.page-about .commitment-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-about .commitment-item p {
  font-size: 1em;
  color: var(--text-dark);
}

.page-about .future-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-about .future-section .section-title {
  color: var(--secondary-color);
}

.page-about .future-section p {
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.15em;
}

/* FAQ Section Styling */
.page-about .faq-section {
  background-color: #f8f8f8;
}

.page-about .faq-list {
  margin-top: 40px;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  color: var(--text-dark);
  background-color: #fcfcfc;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05em;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px 20px;
  border-top: 1px solid #eee;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about .section-title {
    font-size: 2.5em;
  }
  .page-about h1 {
    font-size: 3em;
  }
  .page-about h2 {
    font-size: 2.2em;
  }
  .page-about h3 {
    font-size: 1.6em;
  }
  .page-about p {
    font-size: 1em;
  }
  .page-about .introduction-section .content-grid {
    flex-direction: column;
    text-align: center;
  }
  .page-about .introduction-section .image-content {
    max-width: 80%;
    margin-top: 30px;
  }
  .page-about .values-grid, .page-about .game-cards, .page-about .commitment-items {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-about .hero-image {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-about section {
    padding: 40px 0;
  }
  .page-about .section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-about h1 {
    font-size: 2.5em;
  }
  .page-about h2 {
    font-size: 1.8em;
  }
  .page-about h3 {
    font-size: 1.4em;
  }
  .page-about .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-about .secondary-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-about .hero-section {
    min-height: 450px;
    padding: 60px 15px;
  }
  .page-about .hero-image {
    margin-bottom: 30px;
  }
  .page-about .value-card, .page-about .game-card, .page-about .commitment-item {
    padding: 20px;
  }
  .page-about .value-card img, .page-about .commitment-item img {
    width: 80px;
    height: 80px;
  }
  .page-about .game-card img {
    height: 180px;
  }
  .page-about .call-to-action {
    padding: 30px;
  }
  .page-about .call-to-action p {
    font-size: 1.2em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-about .section-title {
    font-size: 1.8em;
  }
  .page-about h1 {
    font-size: 2em;
  }
  .page-about h2 {
    font-size: 1.6em;
  }
  .page-about h3 {
    font-size: 1.2em;
  }
  .page-about .hero-section {
    min-height: 400px;
    padding: 50px 10px;
  }
  .page-about .values-grid, .page-about .game-cards, .page-about .commitment-items {
    grid-template-columns: 1fr;
  }
  .page-about .value-card, .page-about .game-card, .page-about .commitment-item {
    padding: 15px;
  }
  .page-about .game-card img {
    height: 150px;
  }
  .page-about .call-to-action p {
    font-size: 1em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
}