/* Base styles for the slot-games page */
.page-slot-games {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #F4F7FB; /* Page specific background color */
}

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

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #1F2D3D;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Adhering to the 10px top padding rule for non-body elements */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  width: 1200px;
  height: 675px;
  object-fit: cover;
}

.page-slot-games__hero-content-wrapper {
  position: relative;
  padding: 40px 20px;
  background: linear-gradient(to bottom, rgba(47, 107, 255, 0.8), rgba(111, 163, 255, 0.8));
  color: #ffffff;
  text-align: center;
  margin-top: -150px; /* Overlap with image slightly for visual effect */
  z-index: 1;
  border-radius: 10px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.page-slot-games__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* General Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-outline {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(47, 107, 255, 0.4);
}

.page-slot-games__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-slot-games__btn-secondary:hover {
  background: #F4F7FB;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0,0,0,0.15);
}

.page-slot-games__btn-outline {
  background: transparent;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  padding: 10px 20px;
  font-size: 1em;
}

.page-slot-games__btn-outline:hover {
  background: #2F6BFF;
  color: #ffffff;
}

.page-slot-games__link-inline {
  color: #2F6BFF;
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games__link-inline:hover {
  color: #6FA3FF;
}

/* General Content Grid */
.page-slot-games__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-slot-games__text-block {
  flex: 1;
  text-align: justify;
}

.page-slot-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__image-block--center {
  margin-top: 40px;
  justify-content: center;
}

.page-slot-games__image-block--right {
  justify-content: flex-end;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Game Types Cards Grid */
.page-slot-games__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-slot-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #2F6BFF;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: #1F2D3D;
  flex-grow: 1;
}