/* style/promo.css */
/* 
  Body background color comes from shared.css, so text colors are chosen to ensure WCAG AA contrast.
  Assuming shared.css provides a dark background (e.g., #0A0A0A or similar dark shade).
  Therefore, text will be light (#FFF6D6 or #ffffff).
*/

.page-promo {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main color for general content */
  background-color: #0A0A0A; /* Background color */
}

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-promo__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promo__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-promo__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-promo__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-promo__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
}

/* General Section Styling */
.page-promo__section {
  padding: 60px 0;
  background-color: #0A0A0A;
  color: #FFF6D6;
}

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

.page-promo__section-title {
  font-size: 2.2em;
  font-weight: 600;
  color: #F2C14E; /* Main brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promo__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F2C14E, transparent);
}

.page-promo__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: justify;
}

.page-promo__text-block a {
  color: #FFD36B; /* Link color */
  text-decoration: underline;
}

.page-promo__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border color */
}

/* Buttons */
.page-promo__btn-primary,
.page-promo__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-promo__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-promo__btn-primary:hover {
  background: linear-gradient(180deg, #FFE08A 0%, #E8B12D 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-promo__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main brand color for text */
  border: 2px solid #F2C14E; /* Border color */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-promo__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* Promo Cards */
.page-promo__promo-highlights {
  background-color: #0A0A0A;
}

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

.page-promo__promo-card {
  background: #111111; /* Card BG color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border color */
  display: flex;
  flex-direction: column;
  color: #FFF6D6;
}

.page-promo__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promo__promo-card h3 {
  font-size: 1.4em;
  color: #F2C14E;
  margin: 20px 20px 10px;
  font-weight: 600;
}

.page-promo__promo-card p {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1; /* Ensures buttons align at bottom */
}

.page-promo__promo-card .page-promo__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* Game Selection */
.page-promo__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: center;
}

.page-promo__game-category {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}