.page-slot-games {
  background-color: #000000; /* Body background is dark, so content text should be light */
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold for main titles */
  padding-top: 20px;
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-slot-games__dark-section {
  background-color: #0A2240;
  padding: 80px 0;
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #f5f5f5;
  padding: 80px 0;
  color: #333333;
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: #0A2240;
}

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

.page-slot-games__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A2240; /* Dark blue text for contrast */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  padding: 10px 23px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2240;
  transform: translateY(-2px);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* Assuming shared.css sets body padding-top */
  margin-top: 0;
  width: 100%;
  overflow: hidden;
}

.page-slot-games__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin: 0;
  line-height: 0;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Logo Carousel Section */
.page-slot-games__logo-carousel-section {
  width: 100%;
  padding: 30px 0;
  background-color: #0A2240; /* Dark blue background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-slot-games__logo-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 8px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none; /* Disable user interaction for the carousel track */
}

.page-slot-games__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-slot-games__logo-item {
  flex-shrink: 0;
  width: 80px; /* Fixed size */
  height: 80px; /* Fixed size */
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a3a5e; /* Slightly lighter dark blue for logo background */
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto; /* Allow clicks on individual logo items */
}

.page-slot-games__logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-slot-games__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Games Section */
.page-slot-games__games-section {
  width: 100%;
  padding: 60px 0;
  background-color: #0A2240;
  color: #ffffff;
}

.page-slot-games__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-slot-games__featured-game-area {
  width: 100%;
}

.page-slot-games__featured-game-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #FFD700; /* Gold text */
  text-align: left;
}

.page-slot-games__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: #1a3a5e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__featured-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-slot-games__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-slot-games__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-slot-games__featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__games-grid-area {
  width: 100%;
}

.page-slot-games__games-tabs {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  align-items: center;
  justify-content: flex-start;
}

.page-slot-games__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #999999; /* Grey for inactive */
  transition: color 0.3s ease, text-decoration 0.3s ease;
  text-decoration: none;
  position: relative;
}

.page-slot-games__games-tab:hover {
  color: #FFD700; /* Gold on hover */
}

.page-slot-games__games-tab.active {
  color: #DC143C; /* Red for active tab */
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-slot-games__games-grid.active {
  display: grid;
}

.page-slot-games__game-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a3a5e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-slot-games__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-slot-games__game-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-slot-games__game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-card-title {
  font-size: 15px;
  font-weight: 500;
  margin: 10px 0 15px 0;
  padding: 0 8px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.3;
}

/* Module 1: Intro Section */
.page-slot-games__intro-section p {
  text-align: justify;
  margin-bottom: 20px;
}

/* Module 2: Quick Links Section */
.page-slot-games__quick-links-section .page-slot-games__section-description {
  color: #333333;
}

.page-slot-games__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.page-slot-games__link-item {
  width: 100%;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 18px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Module 3: Core Games Intro Section */
.page-slot-games__game-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-type-card {
  background-color: #1a3a5e;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__game-type-card h3 {
  color: #FFD700;
  font-size: 22px;
  margin-bottom: 15px;
}

.page-slot-games__game-type-card p {
  color: #f0f0f0;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}

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

.page-slot-games__promo-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #e0e0e0;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__promo-card img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__promo-card h3 {
  color: #0A2240;
  font-size: 20px;
  margin-bottom: 15px;
}

.page-slot-games__promo-card p {
  color: #555555;
  font-size: 15px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
  width: auto;
  padding: 10px 20px;
  font-size: 15px;
}

/* Module 5: Security & CS Section */
.page-slot-games__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-item {
  background-color: #1a3a5e;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__feature-item h3 {
  color: #FFD700;
  font-size: 22px;
  margin-bottom: 15px;
}

.page-slot-games__feature-item p {
  color: #f0f0f0;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}

/* Module 6: FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background-color: #f9f9f9;
  color: #333333;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 20px !important;
  opacity: 1;
  background-color: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #0A2240;
}

.page-slot-games__faq-question:hover {
  background-color: #f5f5f5;
  border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
  background-color: #eeeeee;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-slot-games__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  color: #0A2240;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #DC143C;
  transform: rotate(45deg);
}

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

.page-slot-games__blog-card {
  background-color: #1a3a5e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-slot-games__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__blog-content {
  padding: 20px;
}

.page-slot-games__blog-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-slot-games__blog-card-excerpt {
  font-size: 15px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-slot-games__view-all-button {
  text-align: center;
  margin-top: 50px;
}

.page-slot-games__copyright {
  text-align: center;
  padding: 30px 20px;
  background-color: #000000;
  color: #cccccc;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 30px;
  }

  .page-slot-games__games-layout {
    grid-template-columns: 1fr;
  }

  .page-slot-games__featured-game-image {
    height: 400px;
  }

  .page-slot-games__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-slot-games__game-card-image {
    height: 180px;
  }

  .page-slot-games__promotions-grid,
  .page-slot-games__security-features,
  .page-slot-games__blog-grid,
  .page-slot-games__game-types,
  .page-slot-games__links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__section-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-top: 15px;
  }

  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-slot-games__dark-section, .page-slot-games__light-bg {
    padding: 50px 0;
  }

  /* Hero Section */
  .page-slot-games__hero-section {
    padding-top: 0 !important;
  }

  /* Logo Carousel Section */
  .page-slot-games__logo-carousel-section {
    padding: 20px 0;
  }
  .page-slot-games__logo-carousel {
    gap: 15px;
  }
  .page-slot-games__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    box-sizing: border-box;
  }

  /* Games Section */
  .page-slot-games__games-section {
    padding: 40px 0;
  }
  .page-slot-games__games-layout {
    gap: 20px;
  }
  .page-slot-games__featured-game-title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .page-slot-games__featured-game-image {
    height: 280px;
  }
  .page-slot-games__games-tabs {
    gap: 15px;
    margin-bottom: 20px;
  }
  .page-slot-games__games-tab {
    font-size: 18px;
  }
  .page-slot-games__games-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-slot-games__game-card-image {
    height: 160px;
  }
  .page-slot-games__game-card-title {
    font-size: 14px;
    margin: 8px 0 12px 0;
  }

  /* Quick Links Section */
  .page-slot-games__links-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }
  .page-slot-games__link-item {
    font-size: 16px;
    padding: 12px 15px;
  }

  /* Core Games Intro Section */
  .page-slot-games__game-types {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-slot-games__game-type-card h3 {
    font-size: 20px;
  }
  .page-slot-games__game-type-card p {
    font-size: 15px;
  }

  /* Promotions Section */
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-slot-games__promo-card img {
    
  }
  .page-slot-games__promo-card h3 {
    font-size: 18px;
  }
  .page-slot-games__promo-card p {
    font-size: 14px;
  }
  .page-slot-games__promo-card .page-slot-games__btn-primary {
    font-size: 14px;
    padding: 8px 15px;
  }

  /* Security & CS Section */
  .page-slot-games__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-slot-games__feature-item h3 {
    font-size: 20px;
  }
  .page-slot-games__feature-item p {
    font-size: 15px;
  }

  /* FAQ Section */
  .page-slot-games__faq-list {
    margin-top: 30px;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
  }
  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }

  /* Blog Section */
  .page-slot-games__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-slot-games__blog-card img {
    
  }
  .page-slot-games__blog-card-title {
    font-size: 18px;
  }
  .page-slot-games__blog-card-excerpt {
    font-size: 14px;
  }
  .page-slot-games__view-all-button {
    margin-top: 30px;
  }

  /* General Image and Button responsiveness */
  .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,
  .page-slot-games__promo-card,
  .page-slot-games__feature-item,
  .page-slot-games__blog-card,
  .page-slot-games__game-type-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__links-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__security-features,
  .page-slot-games__blog-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}