/* style/resources-platform-advantages.css */
.page-resources-platform-advantages {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-resources-platform-advantages__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-platform-advantages__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources-platform-advantages__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  background-color: #0a0a0a; /* Ensure hero section has a background if image is transparent */
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  overflow: hidden;
}

.page-resources-platform-advantages__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

.page-resources-platform-advantages__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
}

.page-resources-platform-advantages__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

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

.page-resources-platform-advantages__hero-cta-button,
.page-resources-platform-advantages__register-now-button,
.page-resources-platform-advantages__join-now-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-platform-advantages__hero-cta-button:hover,
.page-resources-platform-advantages__register-now-button:hover,
.page-resources-platform-advantages__join-now-button:hover {
  background-color: #1a7fb3;
  transform: translateY(-3px);
}

/* Video Section */
.page-resources-platform-advantages__video-section {
  background-color: #0a0a0a;
  padding: 60px 0;
}

.page-resources-platform-advantages__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-resources-platform-advantages__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

/* Advantages Section */
.page-resources-platform-advantages__advantages-section {
  background-color: #1a1a1a;
  padding: 80px 0;
}

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

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

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

.page-resources-platform-advantages__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* Registration Guide Section */
.page-resources-platform-advantages__registration-guide {
  background-color: #0a0a0a;
  padding: 80px 0;
}

.page-resources-platform-advantages__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-bottom: 40px;
}

.page-resources-platform-advantages__guide-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  position: relative;
  padding-left: 70px;
  color: #ffffff;
}

.page-resources-platform-advantages__guide-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-resources-platform-advantages__guide-step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-platform-advantages__guide-step-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-resources-platform-advantages__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Game Categories Section */
.page-resources-platform-advantages__game-categories {
  background-color: #1a1a1a;
  padding: 80px 0;
}

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

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

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

.page-resources-platform-advantages__category-card .page-resources-platform-advantages__card-image {
  height: 200px; /* Specific height for game category images */
}