/* style/about.css */

/* Base Styles for About Page */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-about__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: #FFD700; /* Gold brand color for titles */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD700; /* Gold brand color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__text-block p, .page-about__milestone-list li, .page-about__principle-list li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Hero Section */
.page-about__hero-section {
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%);
  padding: 80px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 50% 20px;
  border-bottom-right-radius: 50% 20px;
}

.page-about__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-about__main-title {
  font-size: 52px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 16px 45px;
  background: #FFD700;
  color: #8B0000;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700;
}

.page-about__cta-button:hover {
  background: #ffffff;
  color: #8B0000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: #ffffff;
}

/* Vision & Mission Section */
.page-about__vision-mission-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-about__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-about__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-about__content-grid--reverse .page-about__image-wrapper {
  order: 2;
}

.page-about__content-grid--reverse .page-about__text-block {
  order: 1;
}

.page-about__milestone-list, .page-about__principle-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__milestone-list li, .page-about__principle-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
}

.page-about__milestone-list li::before, .page-about__principle-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-weight: bold;
  font-size: 20px;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #2a2a2a; /* Slightly lighter dark background */
  color: #ffffff;
}

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFD700;
}

.page-about__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__feature-card p {
  font-size: 16px;
  color: #e0e0e0;
}

/* History Section */
.page-about__history-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: #2a2a2a; /* Slightly lighter dark background */
  color: #ffffff;
}

/* Final CTA Section */
.page-about__cta-final-section {
  padding: 100px 20px;
  text-align: center;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-about__cta-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button--large {
  padding: 18px 60px;
  font-size: 22px;
  border-radius: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding: 60px 20px 80px;
  }
  .page-about__main-title {
    font-size: 44px;
  }
  .page-about__hero-description {
    font-size: 18px;
  }
  .page-about__section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
  .page-about__sub-title {
    font-size: 22px;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-about__content-grid--reverse .page-about__image-wrapper {
    order: 1;
  }
  .page-about__content-grid--reverse .page-about__text-block {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__hero-section {
    padding: 50px 15px 60px;
  }
  .page-about__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-about__cta-button {
    padding: 14px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 20px;
  }
  .page-about__text-block p, .page-about__milestone-list li, .page-about__principle-list li {
    font-size: 16px;
  }
  .page-about__vision-mission-section, .page-about__why-choose-us-section, .page-about__history-section, .page-about__responsible-gaming-section, .page-about__cta-final-section {
    padding: 60px 0;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-about__feature-title {
    font-size: 20px;
  }
  .page-about__cta-description {
    font-size: 18px;
    margin-bottom: 40px;
  }
  .page-about__cta-button--large {
    padding: 16px 40px;
    font-size: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about__hero-container, .page-about__vision-mission-section .page-about__container, .page-about__why-choose-us-section .page-about__container, .page-about__history-section .page-about__container, .page-about__responsible-gaming-section .page-about__container, .page-about__cta-final-section .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 30px;
  }
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__cta-button {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-about__cta-button--large {
    font-size: 18px;
    padding: 14px 30px;
  }
  .page-about__feature-title {
    font-size: 18px;
  }
  .page-about__feature-icon {
    width: 70px;
    height: 70px;
  }
}