:root {
  --primary-color: #FF0000;
  --secondary-color: #000000;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-dark: #333; /* Inherited from shared.css body */
  --background-light: #f5f5f5;
  --border-color: #e0e0e0;
}

.page-index-brand-advantages {
  color: var(--text-color-light); /* Default text color for the page content due to dark body background */
  background-color: var(--background-dark); /* Ensure consistency if main content area needs a background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-bottom: 60px; /* General padding for the bottom of the main content */
}

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

/* HERO Section */
.page-index-brand-advantages__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: var(--secondary-color); /* Dark background for hero */
  color: var(--text-color-light);
}

.page-index-brand-advantages__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-brand-advantages__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-brand-advantages__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-brand-advantages__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-brand-advantages__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-color-light); /* Changed to white for contrast on dark background */
  line-height: 1.2;
}

.page-index-brand-advantages__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light);
}

.page-index-brand-advantages__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-brand-advantages__cta-button:hover {
  background: #CC0000; /* Darker red for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-brand-advantages__cta-button--large {
    padding: 18px 50px;
    font-size: 1.3em;
}

/* General Section Styles */
.page-index-brand-advantages__section {
  padding: 80px 0;
  background-color: var(--background-dark); /* Default dark background */
  color: var(--text-color-light); /* Default light text */
}

.page-index-brand-advantages__dark-section {
  background-color: var(--secondary-color); /* Specific dark section background */
  color: var(--text-color-light);
}

.page-index-brand-advantages__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-color-light); /* Changed to white for contrast on dark background */
}

.page-index-brand-advantages__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
  color: var(--text-color-light);
}

.page-index-brand-advantages__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 40px 0;
    object-fit: cover;
}

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

.page-index-brand-advantages__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter background for cards on dark sections */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-color-light);
}

.page-index-brand-advantages__feature-item:hover {
  transform: translateY(-5px);
}

.page-index-brand-advantages__feature-item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-index-brand-advantages__feature-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-color-light); /* Changed to white for contrast on dark background */
}

.page-index-brand-advantages__feature-text {
  font-size: 1em;
  color: var(--text-color-light);
}

/* Game Categories */
.page-index-brand-advantages__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-brand-advantages__game-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent background for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--text-color-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-brand-advantages__game-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);;
}

.page-index-brand-advantages__game-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--text-color-light); /* Changed to white for contrast on dark background */
}

.page-index-brand-advantages__game-title a {
    color: var(--text-color-light); /* Default white for contrast */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-brand-advantages__game-title a:hover {
    color: var(--primary-color); /* Red on hover */
    text-decoration: underline;
}

.page-index-brand-advantages__game-text {
  font-size: 1em;
  margin-bottom: 25px;
  color: var(--text-color-light);
}

/* Secondary Button */
.page-index-brand-advantages__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--text-color-light); /* White background */
  color: var(--primary-color); /* Red text */
  border: 2px solid var(--primary-color); /* Red border */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-index-brand-advantages__btn-secondary:hover {
  background: var(--primary-color); /* Red background */
  color: var(--text-color-light); /* White text */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Promo List */
.page-index-brand-advantages__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}