.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000000, so use light text */
  background-color: #000000; /* Ensure main content background matches body */
  padding-top: 0; /* Assume shared.css handles body padding-top: var(--header-offset) */
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.page-slot-games__paragraph {
  font-size: 18px;
  line-height: 1.8;
  color: #f0f0f0; /* Slightly off-white for body text */
  margin-bottom: 20px;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%); /* Dark gradient background */
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Make image subtle background */
  overflow: hidden;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-slot-games__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 22px;
  color: #f8f8f8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Important for responsiveness */
  box-sizing: border-box; /* Important for responsiveness */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to wrap */
}

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #000000; /* Ensure high contrast */
  border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  background-color: #1a1a1a; /* Darker background for contrast */
  padding: 60px 0;
}

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

.page-slot-games__game-card {
  background-color: #2a2a2a; /* Card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.page-slot-games__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-slot-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency, object-fit will crop */
  object-fit: cover;
  display: block;
  border-bottom: 2px solid #B22222;
}

.page-slot-games__game-card-title {
  font-size: 24px;
  color: #FFD700;
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-slot-games__game-card-description {
  font-size: 16px;
  color: #cccccc;
  padding: 0 15px 20px;
}

/* Advantages Section */
.page-slot-games__advantages-section {
  padding: 60px 0;
  background-color: #000000;
}

.page-slot-games__advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__advantage-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-slot-games__advantage-item:hover {
  background-color: #2a2a2a;
}

.page-slot-games__advantage-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

/* Guide Section */
.page-slot-games__guide-section {
  background-color: #1a1a1a;
  padding: 60px 0;
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
}

.page-slot-games__guide-item {
  background-color: #2a2a2a;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: 80px;
}

.page-slot-games__guide-item::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 20px;
  top: 30px;
  background-color: #FFD700;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
}

.page-slot-games__guide-title {
  font-size: 26px;
  color: #FFD700;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  background-color: #000000;
  padding: 60px 0;
}

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

.page-slot-games__promotion-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-slot-games__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__promotion-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 2px solid #B22222;
}