/* style/slot-games.css */
/* body đã padding-top: var(--header-offset)；tránh trùng lặp */
.page-slot-games {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6);
  background-color: var(--bg-color, #08160F);
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  background-color: var(--bg-color, #08160F);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--text-main, #F2FFF6);
}

.page-slot-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  /* Không đặt font-size cố định, dùng clamp nếu cần thiết nhưng ưu tiên không đặt */
  font-size: clamp(2em, 4vw, 3.5em);
}

.page-slot-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
  min-width: 180px;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main, #F2FFF6);
  border: none;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: none;
  color: var(--gold, #F2C14E);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* General Section Styles */
.page-slot-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  text-align: center;
}

.page-slot-games__image-content-wrapper {
  text-align: center;
  margin: 30px auto;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* About Section */
.page-slot-games__about-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__cta-bottom {
  padding: 60px 20px;
}

.page-slot-games__dark-section {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
}

/* Types Section */
.page-slot-games__types-section {
  padding: 60px 20px;
  background-color: var(--bg-color, #08160F);
}

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

.page-slot-games__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-title {
  font-size: 1.8em;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__card-text {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* How to Play Section */
.page-slot-games__ordered-list {
  list-style-type: decimal;
  color: var(--text-secondary, #A7D9B8);
  text-align: left;
  margin: 20px auto;
  max-width: 800px;
  padding-left: 40px;
}

.page-slot-games__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-slot-games__ordered-list li strong {
  color: var(--text-main, #F2FFF6);
}