/* style/resources-latest-promotions-analysis.css */

/* CSS Variables for consistent colors */
:root {
  --primary-color: #0A1931; /* Deep Blue-Black */
  --secondary-color: #FFD700; /* Bright Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f0f2f5; /* Body background from shared.css */
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-resources-latest-promotions-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--bg-light); /* Ensure consistency with body background */
}

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

.page-resources-latest-promotions-analysis__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-latest-promotions-analysis__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-resources-latest-promotions-analysis__text-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 18px;
  line-height: 1.8;
  color: #555555;
}

/* Hero Section */
.page-resources-latest-promotions-analysis__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); /* Fixed header offset */
  background-color: var(--primary-color); /* Dark background for hero */
  overflow: hidden; /* Prevent content overflow */
}

.page-resources-latest-promotions-analysis__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-resources-latest-promotions-analysis__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-resources-latest-promotions-analysis__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-promotions-analysis__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light); /* Light text on dark background */
}

.page-resources-latest-promotions-analysis__hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-resources-latest-promotions-analysis__hero-content p {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-resources-latest-promotions-analysis__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color); /* Dark text on gold button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-resources-latest-promotions-analysis__cta-button:hover {
  background: #ffc400;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* Module 1: Intro Section */
.page-resources-latest-promotions-analysis__intro-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-resources-latest-promotions-analysis__feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-latest-promotions-analysis__card {
  background: var(--text-light); /* White background for cards */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-latest-promotions-analysis__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-resources-latest-promotions-analysis__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-latest-promotions-analysis__card p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* Module 2: Quick Access Links */
.page-resources-latest-promotions-analysis__quick-access-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

.page-resources-latest-promotions-analysis__quick-access-section .page-resources-latest-promotions-analysis__section-title {
  color: var(--text-light);
}

.page-resources-latest-promotions-analysis__quick-access-section .page-resources-latest-promotions-analysis__section-title::after {
  background-color: var(--secondary-color);
}

.page-resources-latest-promotions-analysis__quick-access-section .page-resources-latest-promotions-analysis__text-block {
  color: #e0e0e0;
}

.page-resources-latest-promotions-analysis__link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-resources-latest-promotions-analysis__quick-link-button {
  display: block;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-latest-promotions-analysis__quick-link-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

/* Module 3: Core Games/Services */
.page-resources-latest-promotions-analysis__games-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-resources-latest-promotions-analysis__game-category {
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

.page-resources-latest-promotions-analysis__game-category img {
  width: 100%;
  height: 350px; /* Fixed height for game images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-resources-latest-promotions-analysis__game-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-latest-promotions-analysis__game-category p {
  font-size: 17px;
  color: #555;
  margin-bottom: 25px;
}

.page-resources-latest-promotions-analysis__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-resources-latest-promotions-analysis__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Module 4: Promotions */
.page-resources-latest-promotions-analysis__promotions-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

.page-resources-latest-promotions-analysis__promotions-section .page-resources-latest-promotions-analysis__section-title {
  color: var(--text-light);
}

.page-resources-latest-promotions-analysis__promotions-section .page-resources-latest-promotions-analysis__section-title::after {
  background-color: var(--secondary-color);
}

.page-resources-latest-promotions-analysis__promotions-section .page-resources-latest-promotions-analysis__text-block {
  color: #e0e0e0;
}

.page-resources-latest-promotions-analysis__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-latest-promotions-analysis__promo-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-latest-promotions-analysis__promo-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-resources-latest-promotions-analysis__promo-card img {
  width: 100%;
  height: 250px; /* Fixed height for promo images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-latest-promotions-analysis__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold for promo titles */
  margin-bottom: 15px;
}

.page-resources-latest-promotions-analysis__promo-card p {
  font-size: 16px;
  color: #c0c0c0;
  margin: 0 0 25px 0;
}

.page-resources-latest-promotions-analysis__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--primary-color); /* Dark text on gold button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-resources-latest-promotions-analysis__btn-primary:hover {
  background: #ffc400;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}