.page-about {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure spacing for fixed header */
}

.page-about__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.3em;
  color: #f0f0f0; /* Light grey */
  max-width: 800px;
  margin-bottom: 30px;
}

.page-about__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep Red */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__story-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-about__story-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-about__story-text {
  flex: 2;
  font-size: 1.1em;
}

.page-about__story-text p {
  margin-bottom: 20px;
}

.page-about__story-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-about__story-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-about__values-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-about__value-card {
  background-color: #fffaf0; /* Light gold tint */
  border: 1px solid #FFD700; /* Gold border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.page-about__value-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__value-title {
  font-size: 1.5em;
  color: #8B0000; /* Deep Red */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-description {
  font-size: 1em;
  color: #555555;
}

.page-about__games-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-about__game-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-about__game-title {
  font-size: 1.4em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__game-text {
  font-size: 1em;
  color: #555555;
}

.page-about__game-image-wrapper {
  text-align: center;
}

.page-about__game-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-about__why-choose-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-about__advantage-item {
  background-color: #fffaf0; /* Light gold tint */
  border-left: 5px solid #FFD700; /* Gold accent */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-about__advantage-title {
  font-size: 1.6em;
  color: #8B0000; /* Deep Red */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__advantage-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-about__advantage-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-about__advantage-button:hover {
  background-color: #e6c200;
}

.page-about__responsible-gaming-section {
  background-color: #f8f8f8;
  padding: 60px 0;
  text-align: center;
}

.page-about__responsible-gaming-button {
  display: inline-block;
  background-color: #8B0000; /* Deep Red */
  color: #ffffff; /* White */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.page-about__responsible-gaming-button:hover {
  background-color: #a50000;
}

.page-about__cta-section {
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Red to Gold gradient */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-about__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-about__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__cta-button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
}

.page-about__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
  background-color: #8B0000; /* Deep Red */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-about__cta-button--secondary:hover {
  background-color: #a50000;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__story-content {
    flex-direction: column;
    align-items: center;
  }
  .page-about__story-text {
    flex: none;
    width: 100%;
  }
  .page-about__story-image-wrapper {
    flex: none;
    width: 80%;
    margin-top: 30px;
  }
  .page-about__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__content-wrapper {
    padding: 30px 15px;
  }
  .page-about__story-image-wrapper {
    width: 100%;
  }
  .page-about__values-grid, .page-about__game-features, .page-about__why-choose-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-icon {
    width: 150px;
    height: 100px;
  }
  .page-about__game-image {
    max-width: 100%;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__cta-button {
    padding: 15px 25px;
    font-size: 1.1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all content images are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__story-image, .page-about__value-icon, .page-about__game-image {
    max-width: 100%; /* Ensure images inside content sections are responsive */
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
    object-fit: contain;
  }
  .page-about__value-icon {
    min-width: 200px; /* Specific override for value icons to meet min size */
    min-height: 200px;
    width: auto; /* Allow auto width to maintain aspect ratio */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__cta-button {
    width: 100%;
    box-sizing: border-box;
  }
}