/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css (#121212) */
}

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

.page-about__section {
  padding: 80px 0;
  text-align: center;
}

.page-about__section--values,
.page-about__section--tech,
.page-about__section--support,
.page-about__section--faq {
  background-color: transparent; /* Inherits body background */
  color: #ffffff;
}

.page-about__section--ecosystem,
.page-about__section--promotions,
.page-about__section--cta {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-about__section--responsible {
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-about__section-title {
  font-size: 3em;
  color: #ffffff; /* Default for dark sections */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__section--responsible .page-about__section-title {
  color: #017439; /* Brand color for light section title */
}

.page-about__section-intro {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #f0f0f0; /* Slightly lighter for intro text */
}

.page-about__section--responsible .page-about__section-intro {
  color: #333333; /* Dark text for light background intro */
}

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 600px;
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-about__hero-content {
  flex: 1;
  padding: 40px;
  text-align: left;
  max-width: 600px;
  z-index: 1;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__hero-buttons {
  display: flex;
  gap: 20px;
}

.page-about__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1;
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
}

.page-about__btn-primary:hover {
  background-color: #d12020;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(195, 8, 8, 0.4);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 255, 255, 0.2);
}

.page-about__btn-center {
  margin: 40px auto 0;
  display: block;
  width: fit-content;
}

/* Card Styles */
.page-about__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
  text-align: left;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__card-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-about__card-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
}

/* Values Section */
.page-about__value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Ecosystem Section */
.page-about__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-about__game-card {
  text-align: center;
  background: rgba(0, 0, 0, 0.2); /* Darker background for cards in primary color section */
}

.page-about__game-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Tech & Security Section */
.page-about__tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}

.page-about__tech-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__tech-features li {
  margin-bottom: 15px;
  font-size: 1.1em;
  position: relative;
  padding-left: 25px;
  color: #f0f0f0;
}

.page-about__tech-features li::before {
  content: '✓';
  color: #C30808; /* Accent color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__feature-title {
  color: #ffffff;
}