/* style/slot-games.css */

/* Base Styles & Typography */
.page-slot-games {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f0f2f5; /* Inherited from shared.css body */
}

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

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

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

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

.page-slot-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__section-description,
.page-slot-games__dark-bg .page-slot-games__game-title,
.page-slot-games__dark-bg .page-slot-games__game-description,
.page-slot-games__dark-bg .page-slot-games__promotion-title,
.page-slot-games__dark-bg .page-slot-games__promotion-text {
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games__text-center {
  text-align: center;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  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-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

.page-slot-games a[href^="https://ads.win2026vn.com/"] {
  background-color: #C30808; /* Specific color for promotion links */
  color: #FFFF00; /* Specific font color for promotion links */
  border-color: #C30808;
}

.page-slot-games a[href^="https://ads.win2026vn.com/"]:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-content {
  flex: 1;
  max-width: 50%;
  padding-right: 40px;
  text-align: left;
  z-index: 1;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-slot-games__hero-image-wrapper {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 0;
}

.page-slot-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Features Section */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.page-slot-games__feature-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-slot-games__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Popular Games Section */
.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__game-card {
  background-color: #005f2e; /* Darker green for contrast on dark background */
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__game-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-slot-games__game-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* How To Play Section */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-slot-games__step-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-slot-games__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #017439;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__step-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__step-text {
  font-size: 1em;
  color: #555555;
}

.page-slot-games__step-text a {
  color: #C30808; /* Specific color for links in steps */
  text-decoration: underline;
}

.page-slot-games__step-text a:hover {
  color: #a00606;
}

/* Promotions Section */
.page-slot-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__promotion-card {
  background-color: #005f2e;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__promotion-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-slot-games__promotion-text {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* Tips Section */
.page-slot-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__tip-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}