/* style/about.css */

/* General page styling */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color); /* Matches body background */
}

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

.page-about__section {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

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

.page-about__dark-section {
  background-color: var(--primary-color); /* #017439 */
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section h3 {
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: 36px;
  color: var(--primary-color); /* #017439 */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff;
}

.page-about__main-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color); /* #017439 */
  font-weight: bold;
}

.page-about__intro-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-about__intro-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--secondary-color); /* White background for contrast */
}

.page-about__intro-image {
  margin-bottom: 30px;
}

.page-about__intro-image img {
  width: 100%;
  height: auto;
  max-width: 1000px; /* Max width for the image */
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Buttons */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  text-align: center;
}

.page-about__btn-primary {
  background: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
  background: #ffffff;
  color: var(--primary-color); /* #017439 */
  border: 2px solid var(--primary-color);
}

.page-about__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Feature Grid */
.page-about__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-about__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-about__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

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

/* Milestone Section */
.page-about__history-section p {
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__milestone-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
  text-align: center;
}

.page-about__milestone-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

.page-about__milestone-title {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-about__milestone-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.page-about__milestone-card ul li {
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 17px;
}

.page-about__milestone-card ul li strong {
  color: #FFFF00; /* Highlight year */
}

/* Games Section */
.page-about__games-section .page-about__section-title {
  color: var(--primary-color);
}

.page-about__games-section p {
  text-align: center;
  margin-bottom: 40px;
}

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

.page-about__game-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-about__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

.page-about__game-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.page-about__game-title a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* Promotions Section */
.page-about__promotions-section p {
  text-align: center;
  margin-bottom: 40px;
}

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

.page-about__promo-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-about__promo-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.page-about__promo-title {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 15px;
}

/* Security and Support Section */
.page-about__security-support-section p {
  text-align: center;
  margin-bottom: 40px;
}

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

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

.page-about__security-item:hover {
  transform: translateY(-5px);
}

.page-about__security-item img {
  max-width: 100%;
  height: auto;
  border-radius: 50%; /* Example: circular icons */
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

.page-about__security-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Commitment Section */
.page-about__commitment-section p {
  text-align: justify;
  margin-bottom: 30px;
}

.page-about__commitment-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-about__commitment-list li {
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: flex-start;
}

.page-about__commitment-list li::before {
  content: '✓';
  color: #FFFF00; /* Highlight checkmark */
  font-weight: bold;
  margin-right: 15px;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.page-about__commitment-list li strong {
  color: #FFFF00;
  display: block;
  margin-bottom: 5px;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #f5f5f5;
}

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

.page-about__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: #f9f9f9;
}