/* General Styling for page-slot-games */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--deep-navy); /* Body background from shared.css, but this section is for page content */
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary);
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure text wraps within the button */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-slot-games__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-slot-games__btn-play {
  background: linear-gradient(180deg, #F2C14E 0%, #C4912A 100%); /* Gold color */
  color: #113B7A; /* Dark blue text for contrast */
  border: none;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
}

.page-slot-games__btn-play:hover {
  background: linear-gradient(180deg, #C4912A 0%, #F2C14E 100%);
}

.page-slot-games__btn-link {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 15px;
  padding: 8px 15px;
  border-radius: 5px;
}

.page-slot-games__btn-link:hover {
  color: var(--text-main);
  border-color: var(--text-main);
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%; /* Ensure container fills width */
  max-width: 100%; /* Prevent overflow */
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--deep-navy);
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Make image unclickable */
}

.page-slot-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area, cropping if necessary */
  opacity: 0.3; /* Subtle background */
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px;
}

.page-slot-games__main-title {
  font-size: clamp(36px, 5vw, 60px); /* Responsive font size */
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Section */
.page-slot-games__why-choose {
  background-color: var(--deep-navy);
}

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

.page-slot-games__feature-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__feature-item img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-slot-games__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-slot-games__feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Popular Games Section */
.page-slot-games__popular-games {
  background-color: var(--deep-navy);
}

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

.page-slot-games__game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-card .page-slot-games__game-title {
  font-size: 20px;
  font-weight: 700;
  margin: 15px 15px 10px;
  color: var(--gold);
}

.page-slot-games__game-card .page-slot-games__game-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__game-card .page-slot-games__game-title a:hover {
  color: var(--glow);
}

.page-slot-games__game-card .page-slot-games__game-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 0 15px 15px;
  flex-grow: 1; /* Push button to bottom */
}

.page-slot-games__game-card .page-slot-games__btn-play {
  margin: 0 15px 15px;
  width: calc(100% - 30px);
}

.page-slot-games__view-all-games {
  margin-top: 60px;
}

/* How to Play Section */
.page-slot-games__how-to-play {
  background-color: var(--deep-navy);
}

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

.page-slot-games__step-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-item img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-slot-games__step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--glow);
}

.page-slot-games__step-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promotions {
  background-color: var(--deep-navy);
}

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