/* style/slot-games.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #28A745;
  --tertiary-color: #6c757d; /* Màu xám cho các nút phụ */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-light: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
}

.page-slot-games {
  background-color: #000000; /* Body background is dark, main content sections will have light backgrounds */
  color: var(--text-light); /* Default text color for page, though sections will override */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Fixed Navigation Bar Spacing */
.page-slot-games__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
}

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

.page-slot-games__light-bg {
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-light);
  margin-bottom: 30px;
}

.page-slot-games__main-title,
.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-slot-games__main-title {
  font-size: 42px;
  margin-bottom: 40px;
}

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

.page-slot-games p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
}

.page-slot-games__text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-slot-games__text-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-slot-games__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary,
.page-slot-games__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-slot-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-slot-games__btn-primary:hover {
  background: #0056b3;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background: #218838;
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
  transform: translateY(-2px);
}

.page-slot-games__btn-tertiary {
  background: var(--tertiary-color);
  color: var(--text-light);
  box-shadow: 0 2px 5px rgba(108, 117, 125, 0.2);
}

.page-slot-games__btn-tertiary:hover {
  background: #5a6268;
  box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
  transform: translateY(-1px);
}

.page-slot-games__btn-link {
  background: transparent;
  color: var(--primary-color);
  padding: 0;
  font-size: 16px;
  text-decoration: underline;
}

.page-slot-games__btn-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.page-slot-games__feature-card {
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-slot-games__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-slot-games__game-card {
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-slot-games__game-type-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__promo-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-slot-games__promo-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.page-slot-games__promo-content {
  flex-grow: 1;
}

.page-slot-games__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

.page-slot-games__blog-card {
  padding: 25px;
  text-align: left;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-slot-games__blog-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.page-slot-games__blog-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-slot-games__blog-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-slot-games__blog-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-slot-games__blog-excerpt {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-slot-games__conclusion-section {
  padding-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__main-title {
    font-size: 36px;
  }
  .page-slot-games__section-title {
    font-size: 30px;
  }
  .page-slot-games__feature-grid,
  .page-slot-games__game-types,
  .page-slot-games__blog-posts {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-slot-games__promo-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-slot-games__promo-image {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__intro-section {
    padding-top: 100px !important; /* Mobile: Adjust based on actual mobile header height */
  }
  .page-slot-games__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__main-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-slot-games__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .page-slot-games p {
    font-size: 15px;
    line-height: 1.6;
  }
  .page-slot-games__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    width: 100%;
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-slot-games__feature-grid,
  .page-slot-games__game-types,
  .page-slot-games__blog-posts {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__blog-card {
    padding: 20px;
  }
  .page-slot-games__feature-title {
    font-size: 20px;
  }
  .page-slot-games__game-type-title,
  .page-slot-games__promo-title,
  .page-slot-games__blog-title {
    font-size: 18px;
  }
  .page-slot-games__promo-item {
    padding: 20px;
  }
  .page-slot-games__promo-image {
    width: 100px;
    height: 100px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}