.page-slot-games-popular-slots {
  background-color: #0D0E12; /* Dark background */
  color: #FFF3E6; /* Light text for contrast */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, relying on body for --header-offset */
}

.page-slot-games-popular-slots__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.page-slot-games-popular-slots__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular-slots__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-slot-games-popular-slots__hero-content {
  max-width: 800px;
}

.page-slot-games-popular-slots__main-title {
  font-size: 44px;
  font-weight: 700;
  color: #FFA53A;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games-popular-slots__description {
  font-size: 18px;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-slot-games-popular-slots__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slot-games-popular-slots__btn-primary,
.page-slot-games-popular-slots__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-popular-slots__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-slot-games-popular-slots__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-2px);
}

.page-slot-games-popular-slots__btn-secondary {
  background: #17191F;
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-slot-games-popular-slots__btn-secondary:hover {
  background: #2a2d36;
  color: #FFB04D;
  border-color: #FFB04D;
  transform: translateY(-2px);
}

.page-slot-games-popular-slots__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #FFA53A;
  text-align: center;
  margin-bottom: 20px;
  padding: 40px 20px 20px;
}

.page-slot-games-popular-slots__section-subtitle {
  font-size: 18px;
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-popular-slots__dark-bg {
  background-color: #17191F;
  padding: 60px 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-slot-games-popular-slots__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games-popular-slots__card,
.page-slot-games-popular-slots__tip-card,
.page-slot-games-popular-slots__step-card {
  background-color: #17191F;
  color: #FFF3E6;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-slot-games-popular-slots__card-title,
.page-slot-games-popular-slots__tip-title,
.page-slot-games-popular-slots__step-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFA53A;
  margin-bottom: 15px;
}

.page-slot-games-popular-slots__btn-text {
  color: #FFA53A;
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.page-slot-games-popular-slots__btn-text:hover {
  color: #FFB04D;
  text-decoration: underline;
}

.page-slot-games-popular-slots__top-slots-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games-popular-slots__slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games-popular-slots__slot-card {
  background-color: #17191F;
  color: #FFF3E6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-slot-games-popular-slots__slot-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games-popular-slots__slot-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFA53A;
  margin: 20px 15px 10px;
}

.page-slot-games-popular-slots__slot-description {
  font-size: 16px;
  color: #FFF3E6;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-slot-games-popular-slots__slot-card .page-slot-games-popular-slots__btn-primary {
  margin: 0 15px 20px;
  align-self: center;
  width: calc(100% - 30px);
}

.page-slot-games-popular-slots__promotions-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games-popular-slots__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games-popular-slots__promo-card {
  background-color: #17191F;
  color: #FFF3E6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-slot-games-popular-slots__promo-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games-popular-slots__promo-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFA53A;
  margin: 20px 15px 10px;
}

.page-slot-games-popular-slots__promo-card p {
  font-size: 16px;
  color: #FFF3E6;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-slot-games-popular-slots__promo-card .page-slot-games-popular-slots__btn-secondary {
  margin: 0 15px 20px;
  align-self: center;
  width: calc(100% - 30px);
}

.page-slot-games-popular-slots__guide-section {
  padding: 60px 20px;
}

.page-slot-games-popular-slots__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games-popular-slots__step-card {
  align-items: center;
  text-align: center;
}