/* style/resources-platform-advantages.css */

/* Base Styles for the page */
.page-resources-platform-advantages {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
}

/* Hero Section */
.page-resources-platform-advantages__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px;
  overflow: hidden;
  background-color: #0A2342; /* Main brand color for hero */
}

.page-resources-platform-advantages__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources-platform-advantages__hero-title {
  font-size: 3.2em;
  color: #E0B34D; /* Auxiliary color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-platform-advantages__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-platform-advantages__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-platform-advantages__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-resources-platform-advantages__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Darken image for better text contrast */
  filter: none; /* Ensure no CSS filter changes image color */
}

/* Common Section Styles */
.page-resources-platform-advantages__section-title {
  font-size: 2.5em;
  color: #E0B34D;
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-platform-advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-resources-platform-advantages__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

/* Dark Sections */
.page-resources-platform-advantages__dark-section {
  background-color: #0A2342;
  color: #ffffff;
}

/* Intro Section */
.page-resources-platform-advantages__intro-section {
  padding: 80px 0;
}

/* Features Section */
.page-resources-platform-advantages__features-section {
  padding: 80px 0;
  background-color: #f8f8f8; /* Light background for contrast */
  color: #333333;
}
.page-resources-platform-advantages__features-section .page-resources-platform-advantages__section-title {
  color: #0A2342;
}
.page-resources-platform-advantages__features-section .page-resources-platform-advantages__text-block {
  color: #555555;
}

.page-resources-platform-advantages__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-platform-advantages__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-resources-platform-advantages__feature-card:hover {
  transform: translateY(-10px);
}

.page-resources-platform-advantages__feature-image {
  width: 100%;
  height: 250px; /* Consistent height for images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-resources-platform-advantages__card-title {
  font-size: 1.5em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-resources-platform-advantages__card-description {
  font-size: 1em;
  color: #666666;
}

/* Game Variety Section */
.page-resources-platform-advantages__game-variety-section {
  padding: 80px 0;
}

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

.page-resources-platform-advantages__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-platform-advantages__game-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-platform-advantages__game-image {
  width: 100%;
  height: 200px; /* Consistent height for game images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  filter: none; /* Ensure no CSS filter changes image color */
}

/* Experience Section */
.page-resources-platform-advantages__experience-section {
  padding: 80px 0;
  background-color: #f0f2f5; /* Light background for contrast */
  color: #333333;
}
.page-resources-platform-advantages__experience-section .page-resources-platform-advantages__section-title {
  color: #0A2342;
}
.page-resources-platform-advantages__experience-section .page-resources-platform-advantages__text-block {
  color: #555555;
}