:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-light: #ffffff;
  --text-dark: #000000;
  --bg-light: #f4f7f6; /* A very light grey/blue to contrast with dark blue */
  --bg-dark: #002244; /* Slightly darker than primary for variations */
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.2);
}

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

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

.page-about-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-about-hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about-hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 8px 16px var(--shadow-medium);
}

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

.page-about-main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px var(--shadow-medium);
}

.page-about-hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

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

.page-about-cta-button:hover {
  background: #e6b800; /* Slightly darker gold */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-about-cta-center {
  margin-top: 40px;
}

.page-about-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-about-section:last-of-type {
  border-bottom: none;
}

.page-about-section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about-section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: var(--text-dark);
}

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

.page-about-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-about-image-left, .page-about-image-right {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow-light);
  object-fit: cover;
}

.page-about-reverse-layout .page-about-image-left {
  order: 2;
}

.page-about-reverse-layout .page-about-text-content {
  order: 1;
}

.page-about-mission-vision, .page-about-security-fairplay {
  background-color: #ffffff;
}

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

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

.page-about-value-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px var(--shadow-light);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-value-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px var(--shadow-medium);
}

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

.page-about-value-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-about-why-choose {
  background-color: #ffffff;
}

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

.page-about-why-choose ul li {
  background-color: var(--bg-light);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  font-size: 1.05em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  color: var(--text-dark);
}

.page-about-why-choose ul li strong {
  color: var(--primary-color);
}

.page-about-why-choose ul li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-about-why-choose ul li a:hover {
  text-decoration: underline;
}

.page-about-game-offerings {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-about-game-offerings .page-about-section-description {
  color: var(--text-light);
}

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

.page-about-game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-medium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-about-game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-about-game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-about-game-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-about-game-card h3 a:hover {
  text-decoration: underline;
}

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

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

.page-about-commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-about-commitment-list li {
  background-color: #ffffff;
  padding: 20px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  font-size: 1.05em;
  box-shadow: 0 2px 8px var(--shadow-light);
  color: var(--text-dark);
}

.page-about-commitment-list li strong {
  color: var(--primary-color);
}

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

.page-about-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px var(--shadow-light);
}

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

.faq-question:hover {
  background: var(--bg-light);
}

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

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

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

.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: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

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

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about-main-title {
    font-size: 2.5em;
  }
  .page-about-hero-description {
    font-size: 1.1em;
  }
  .page-about-section-title {
    font-size: 2em;
  }
  .page-about-sub-title {
    font-size: 1.6em;
  }
  .page-about-content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-about-image-left, .page-about-image-right {
    max-width: 80%;
    margin-top: 30px;
  }
  .page-about-reverse-layout .page-about-image-left {
    order: unset; /* Reset order for mobile */
  }
  .page-about-reverse-layout .page-about-text-content {
    order: unset; /* Reset order for mobile */
  }
  .page-about-value-item, .page-about-game-card {
    padding: 25px;
  }
  .page-about-game-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-about-hero {
    padding: 40px 15px;
  }
  .page-about-main-title {
    font-size: 2em;
  }
  .page-about-hero-description {
    font-size: 1em;
  }
  .page-about-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-about-section {
    padding: 40px 0;
  }
  .page-about-section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about-sub-title {
    font-size: 1.4em;
  }
  .page-about-values-grid, .page-about-game-grid, .page-about-commitment-list {
    grid-template-columns: 1fr;
  }
  .page-about-image-left, .page-about-image-right {
    max-width: 100%;
  }
  .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;
  }
}