/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css var(--site-bg) */
}

/* Page sections */
.page-about__section {
  padding: 40px 0;
}

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

/* Hero Section */
.page-about__hero-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors for hero background */
  padding-top: var(--header-offset, 120px); /* Desktop fixed header offset */
  padding-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  display: block; /* Ensure no extra space below image */
}

.page-about__hero-content {
  max-width: 800px;
  text-align: center;
  color: #0A0A0A; /* Dark text for light hero background */
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #0A0A0A; /* Dark text for light hero background */
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333333; /* Slightly darker for readability on light background */
}

/* Section titles */
.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #F2C14E; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-about__text-block {
  margin-bottom: 15px;
  text-align: justify;
  color: #FFF6D6; /* Light text for dark body background */
}

.page-about__text-block a {
  color: #FFD36B; /* Link color */
  text-decoration: none;
}

.page-about__text-block a:hover {
  text-decoration: underline;
}

.page-about__highlight {
  color: #FFD36B;
  font-weight: bold;
}

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__cta-buttons--center {
  margin-left: auto;
  margin-right: auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #111111; /* Dark text for light button background */
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-about__btn-secondary {
  background: #111111; /* Card BG color */
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #3A2A12; /* Border color */
}

.page-about__btn-secondary:hover {
  transform: translateY(-2px);
  background: #222222; /* Slightly lighter hover */
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.2);
}

/* Split Content Layout */
.page-about__split-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-about__split-content--reverse {
  flex-direction: row-reverse;
}

.page-about__split-content--center {
  justify-content: center;
  text-align: center;
}

.page-about__text-content {
  flex: 1;
  min-width: 300px; /* Minimum width before wrapping */
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px; /* Minimum width before wrapping */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Max width for content images */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Dark background sections */
.page-about__dark-bg {
  background-color: #0A0A0A; /* Background color for specific sections */
  color: #FFF6D6; /* Light text for dark background */
}

.page-about__dark-bg .page-about__section-title {
  color: #F2C14E; /* Brand color for titles on dark background */
}

.page-about__dark-bg .page-about__text-block {
  color: #FFF6D6;
}

.page-about__dark-bg .page-about__text-block a {
  color: #FFD36B;
}

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

.page-about__feature-card {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #3A2A12; /* Border color */
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Brand color for feature titles */
  margin-bottom: 15px;
  font-weight: 600;
}

/* Game Categories */
.page-about__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-about__category-card {
  background: #111111; /* Card BG */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
  border: 1px solid #3A2A12; /* Border color */
}

.page-about__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Glow effect for icons */
  display: inline-block; /* Ensure it's not block level */
}