/* style/blog-new-casino-games.css */

/* Custom Colors */
:root {
  --nk888-primary: #11A84E;
  --nk888-secondary: #22C768;
  --nk888-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --nk888-card-bg: #11271B;
  --nk888-bg: #08160F;
  --nk888-text-main: #F2FFF6;
  --nk888-text-secondary: #A7D9B8;
  --nk888-border: #2E7A4E;
  --nk888-glow: #57E38D;
  --nk888-gold: #F2C14E;
  --nk888-divider: #1E3A2A;
  --nk888-deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-blog-new-casino-games {
  font-family: Arial, sans-serif;
  color: var(--nk888-text-main); /* Light text for dark background */
  background-color: var(--nk888-bg); /* Explicitly set page background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-blog-new-casino-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center content vertically if space allows */
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden; /* Ensure no overflow */
  text-align: center;
}

.page-blog-new-casino-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px; /* Space between image and content */
}

.page-blog-new-casino-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog-new-casino-games__hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
  color: var(--nk888-text-main);
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-blog-new-casino-games__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Flexible font size for H1 */
  font-weight: bold;
  color: var(--nk888-gold);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog-new-casino-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--nk888-text-secondary);
}

/* General Sections */
.page-blog-new-casino-games__introduction-section,
.page-blog-new-casino-games__games-section,
.page-blog-new-casino-games__why-choose-us-section,
.page-blog-new-casino-games__faq-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--nk888-divider);
}

.page-blog-new-casino-games__promotions-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--nk888-divider);
  background-color: var(--nk888-card-bg); /* Use card background for dark section */
}

.page-blog-new-casino-games__registration-section {
  padding: 60px 0;
  background-color: var(--nk888-deep-green); /* Another dark background variation */
  color: var(--nk888-text-main);
}

.page-blog-new-casino-games__section-title {
  font-size: 2.5rem;
  color: var(--nk888-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-new-casino-games__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--nk888-text-secondary);
  text-align: justify;
}

/* Buttons */
.page-blog-new-casino-games__btn-primary {
  display: inline-block;
  background: var(--nk888-btn-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-blog-new-casino-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

/* Game Categories */
.page-blog-new-casino-games__game-category {
  background-color: var(--nk888-card-bg);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--nk888-border);
}

.page-blog-new-casino-games__category-title {
  font-size: 2rem;
  color: var(--nk888-gold);
  margin-bottom: 20px;
  text-align: center;
}

.page-blog-new-casino-games__category-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-new-casino-games__game-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-top: 15px;
  color: var(--nk888-text-secondary);
}

.page-blog-new-casino-games__game-list li {
  margin-bottom: 8px;
}

/* Promotions Section */
.page-blog-new-casino-games__promotions-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-new-casino-games__promotions-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-top: 20px;
  color: var(--nk888-text-secondary);
  margin-bottom: 30px;
}

.page-blog-new-casino-games__promotions-list li {
  margin-bottom: 10px;
}

/* Why Choose Us Section */
.page-blog-new-casino-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog-new-casino-games__feature-card {
  background-color: var(--nk888-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--nk888-border);
  text-align: center;
}

.page-blog-new-casino-games__feature-title {
  font-size: 1.5rem;
  color: var(--nk888-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-new-casino-games__feature-description {
  color: var(--nk888-text-secondary);
}

/* Registration Section */
.page-blog-new-casino-games__registration-steps {
  list-style: decimal inside;
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
  color: var(--nk888-text-main);
  font-size: 1.1rem;
}

.page-blog-new-casino-games__registration-steps li {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-blog-new-casino-games__faq-list {
  margin-top: 30px;
}

.page-blog-new-casino-games__faq-item {
  background-color: var(--nk888-card-bg);
  border: 1px solid var(--nk888-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-new-casino-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--nk888-text-main);
  background-color: var(--nk888-card-bg);
  border-bottom: 1px solid var(--nk888-divider);
  user-select: none;
  list-style: none; /* Remove default marker for summary */
}

.page-blog-new-casino-games__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for summary in WebKit browsers */
}

.page-blog-new-casino-games__faq-qtext {
  flex-grow: 1;
  color: var(--nk888-gold); /* Question text color */
}

.page-blog-new-casino-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--nk888-gold);
  transition: transform 0.3s ease;
}

.page-blog-new-casino-games__faq-item[open] .page-blog-new-casino-games__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-blog-new-casino-games__faq-answer {
  padding: 0 20px 20px;
  color: var(--nk888-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.page-blog-new-casino-games__faq-answer p {
  margin-bottom: 0;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-new-casino-games__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-blog-new-casino-games__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-blog-new-casino-games__container {
    padding: 0 15px;
  }

  .page-blog-new-casino-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }

  .page-blog-new-casino-games__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-new-casino-games__hero-description {
    font-size: 1rem;
  }

  .page-blog-new-casino-games__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important; /* Allow text wrapping */
    word-wrap: break-word !important; /* Allow text wrapping */
  }

  /* All images must be responsive */
  .page-blog-new-casino-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All video must be responsive (if any) */
  .page-blog-new-casino-games video,
  .page-blog-new-casino-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons must be responsive */
  .page-blog-new-casino-games__section,
  .page-blog-new-casino-games__card,
  .page-blog-new-casino-games__container,
  .page-blog-new-casino-games__hero-image-wrapper,
  .page-blog-new-casino-games__video-section,
  .page-blog-new-casino-games__video-container,
  .page-blog-new-casino-games__video-wrapper,
  .page-blog-new-casino-games__cta-buttons,
  .page-blog-new-casino-games__button-group,
  .page-blog-new-casino-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-blog-new-casino-games__features-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-new-casino-games__section-title {
    font-size: 1.8rem;
  }
  
  /* For multiple buttons side-by-side, ensure wrapping */
  .page-blog-new-casino-games__cta-buttons { /* Assuming a container for multiple CTAs */
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px; /* Spacing between stacked buttons */
  }
}

/* Ensure no filter is used on images */
.page-blog-new-casino-games img {
  filter: none !important; /* Explicitly disable any potential filter */
}

/* Ensure content area images are not too small */
.page-blog-new-casino-games__games-section img,
.page-blog-new-casino-games__promotions-section img {
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast enforcement - using specific colors for clarity */
/* Default text color for general content areas (light text on dark background) */
.page-blog-new-casino-games p,
.page-blog-new-casino-games li,
.page-blog-new-casino-games__text-block,
.page-blog-new-casino-games__feature-description,
.page-blog-new-casino-games__faq-answer {
  color: var(--nk888-text-secondary); /* A7D9B8 */
}

/* Titles and strong elements */
.page-blog-new-casino-games h1,
.page-blog-new-casino-games h2,
.page-blog-new-casino-games h3,
.page-blog-new-casino-games__feature-title,
.page-blog-new-casino-games__faq-qtext,
.page-blog-new-casino-games__faq-toggle {
  color: var(--nk888-gold); /* F2C14E */
}

/* Card backgrounds */
.page-blog-new-casino-games__game-category,
.page-blog-new-casino-games__feature-card,
.page-blog-new-casino-games__faq-item {
  background-color: var(--nk888-card-bg); /* 11271B */
  color: var(--nk888-text-secondary); /* Text color on these cards */
}

/* Specific dark sections */
.page-blog-new-casino-games__promotions-section,
.page-blog-new-casino-games__registration-section {
  background-color: var(--nk888-deep-green); /* 0A4B2C */
  color: var(--nk888-text-main); /* F2FFF6 */
}

/* Button text color is white as per custom palette */
.page-blog-new-casino-games__btn-primary {
  color: #ffffff; /* White text on green gradient button */
}

/* Ensure all links have appropriate color */
.page-blog-new-casino-games a {
  color: var(--nk888-gold); /* Example: links in text */
  text-decoration: underline;
}

.page-blog-new-casino-games a:hover {
  color: var(--nk888-glow);
}