/* style/casino-popular-slots.css */
/* Base styles for the page content, ensuring BEM naming and dark theme */
.page-casino-popular-slots {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main color on dark background */
  background-color: #0A0A0A; /* Page background */
  line-height: 1.6;
}

.page-casino-popular-slots__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-casino-popular-slots__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors for hero background */
  padding-bottom: 60px; /* Adjust as needed */
  padding-top: var(--header-offset, 120px); /* For fixed header */
  position: relative;
  overflow: hidden;
}

.page-casino-popular-slots__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.page-casino-popular-slots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-casino-popular-slots__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-casino-popular-slots__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #ffffff; /* White text for contrast on gradient */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enhance readability */
}

.page-casino-popular-slots__hero-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-popular-slots__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
}

/* General Section Styling */
.page-casino-popular-slots__section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Consistent background */
  border-bottom: 1px solid #3A2A12; /* Border color */
}

.page-casino-popular-slots__section:last-of-type {
  border-bottom: none;
}

.page-casino-popular-slots__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #FFD36B; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.page-casino-popular-slots__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF6D6; /* Text Main color */
}

.page-casino-popular-slots__text-block {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.page-casino-popular-slots__text-block p {
  font-size: 1.05rem;
  color: #FFF6D6;
  text-align: justify;
}

.page-casino-popular-slots__text-block .page-casino-popular-slots__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

/* Grid Layout for Cards */
.page-casino-popular-slots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino-popular-slots__card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
  min-height: 350px; /* Ensure cards have a minimum height */
}

.page-casino-popular-slots__card-image {
  width: 100%;
  max-width: 100%; /* Ensure images within cards are responsive */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-casino-popular-slots__card-title {
  font-size: 1.5rem;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-casino-popular-slots__card p {
  font-size: 1rem;
  color: #FFF6D6;
  flex-grow: 1; /* Allow paragraph to take available space */
}

/* Game Categories */
.page-casino-popular-slots__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
  text-align: center;
}

.page-casino-popular-slots__category-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}