/* style/blog-88kim-code-latest-offers.css */

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

.page-blog-88kim-code-latest-offers {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default text color for the page */
  background-color: var(--color-background); /* Default background for the page */
}

/* Base styles for sections */
.page-blog-88kim-code-latest-offers__hero-section,
.page-blog-88kim-code-latest-offers__content-section,
.page-blog-88kim-code-latest-offers__promotions-section,
.page-blog-88kim-code-latest-offers__registration-guide-section,
.page-blog-88kim-code-latest-offers__benefits-section,
.page-blog-88kim-code-latest-offers__games-section,
.page-blog-88kim-code-latest-offers__security-section,
.page-blog-88kim-code-latest-offers__faq-section,
.page-blog-88kim-code-latest-offers__conclusion-section {
  padding: 80px 20px;
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

/* Specific background and text colors for sections based on contrast rules */
.page-blog-88kim-code-latest-offers__dark-bg {
  background-color: var(--color-background); /* #08160F */
  color: var(--color-text-main); /* #F2FFF6 */
}

.page-blog-88kim-code-latest-offers__light-bg {
  background-color: var(--color-card-bg); /* #11271B */
  color: var(--color-text-main); /* #F2FFF6 */
}

/* Hero Section */
.page-blog-88kim-code-latest-offers__hero-section {
  display: flex;
  flex-direction: column; /* Stacks children vertically */
  align-items: center;
  justify-content: flex-start; /* Align content to top */
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: var(--color-background); /* Section background */
}

.page-blog-88kim-code-latest-offers__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width if needed */
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 12px; /* Optional: smooth edges */
  overflow: hidden; /* Ensures image corners are rounded */
}

.page-blog-88kim-code-latest-offers__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-88kim-code-latest-offers__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px; /* Add horizontal padding for text */
  text-align: center;
}

.page-blog-88kim-code-latest-offers__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-gold); /* Using gold for main title for prominence */
}

.page-blog-88kim-code-latest-offers__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--color-text-secondary);
}

.page-blog-88kim-code-latest-offers__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.page-blog-88kim-code-latest-offers__btn-primary,
.page-blog-88kim-code-latest-offers__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-blog-88kim-code-latest-offers__btn-primary {
  background: var(--color-button-gradient);
  color: #ffffff; /* Explicit white for button text */
  border: none;
}

.page-blog-88kim-code-latest-offers__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-88kim-code-latest-offers__btn-secondary {
  background: transparent;
  color: var(--color-text-main); /* Light text on dark background */
  border: 2px solid var(--color-border);
}

.page-blog-88kim-code-latest-offers__btn-secondary:hover {
  background: var(--color-border);
  color: var(--color-text-main);
  transform: translateY(-2px);
}

/* General content styles */
.page-blog-88kim-code-latest-offers__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-88kim-code-latest-offers__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--color-gold);
}

.page-blog-88kim-code-latest-offers__subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.page-blog-88kim-code-latest-offers p {
  margin-bottom: 1em;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

.page-blog-88kim-code-latest-offers strong {
  color: var(--color-text-main);
}

.page-blog-88kim-code-latest-offers__text-center {
  text-align: center;
  margin-top: 30px;
}

.page-blog-88kim-code-latest-offers__list {
  list-style: disc inside;
  text-align: left;
  margin: 20px auto;
  max-width: 800px;
  color: var(--color-text-secondary);
}

.page-blog-88kim-code-latest-offers__list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-blog-88kim-code-latest-offers__list li strong {
  color: var(--color-text-main);
}

.page-blog-88kim-code-latest-offers a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-88kim-code-latest-offers a:hover {
  color: var(--color-glow);
  text-decoration: underline;
}

/* Card Grid for Promotions */
.page-blog-88kim-code-latest-offers__card-grid,
.page-blog-88kim-code-latest-offers__features-grid,
.page-blog-88kim-code-latest-offers__game-grid,
.page-blog-88kim-code-latest-offers__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-blog-88kim-code-latest-offers__card,
.page-blog-88kim-code-latest-offers__feature-item,
.page-blog-88kim-code-latest-offers__game-card,
.page-blog-88kim-code-latest-offers__security-item {
  background-color: var(--color-card-bg); /* #11271B */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* Distribute space */
}

.page-blog-88kim-code-latest-offers__card-image,
.page-blog-88kim-code-latest-offers__feature-image,
.page-blog-88kim-code-latest-offers__game-image {
  width: 100%;
  max-width: 400px; /* Limit image width in cards */
  height: auto;
  min-height: 200px; /* Minimum height for all images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

.page-blog-88kim-code-latest-offers__card-title,
.page-blog-88kim-code-latest-offers__feature-title,
.page-blog-88kim-code-latest-offers__game-title,
.page-blog-88kim-code-latest-offers__security-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-gold);
}

.page-blog-88kim-code-latest-offers__card-description,
.page-blog-88kim-code-latest-offers__feature-item p,
.page-blog-88kim-code-latest-offers__game-description,
.page-blog-88kim-code-latest-offers__security-item p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  flex-grow: 1; /* Allow text to grow and push button to bottom */
}

.page-blog-88kim-code-latest-offers__card .page-blog-88kim-code-latest-offers__btn-primary,
.page-blog-88kim-code-latest-offers__card .page-blog-88kim-code-latest-offers__btn-secondary {
  margin-top: 20px;
  width: 100%; /* Full width for buttons in cards */
  max-width: 250px;
}

/* Step-by-step Guide */
.page-blog-88kim-code-latest-offers__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-blog-88kim-code-latest-offers__step-item {
  background-color: var(--color-card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.page-blog-88kim-code-latest-offers__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.page-blog-88kim-code-latest-offers__step-item p {
  color: var(--color-text-secondary);
}

/* FAQ Section */
.page-blog-88kim-code-latest-offers__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-blog-88kim-code-latest-offers__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-88kim-code-latest-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-main);
  background-color: var(--color-deep-green);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-88kim-code-latest-offers__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-88kim-code-latest-offers__faq-question:hover {
  background-color: var(--color-border);
}

.page-blog-88kim-code-latest-offers__faq-qtext {
  flex-grow: 1;
}

.page-blog-88kim-code-latest-offers__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--color-glow);
}

.page-blog-88kim-code-latest-offers__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

/* Responsive design */
@media (max-width: 768px) {
  .page-blog-88kim-code-latest-offers__hero-section,
  .page-blog-88kim-code-latest-offers__content-section,
  .page-blog-88kim-code-latest-offers__promotions-section,
  .page-blog-88kim-code-latest-offers__registration-guide-section,
  .page-blog-88kim-code-latest-offers__benefits-section,
  .page-blog-88kim-code-latest-offers__games-section,
  .page-blog-88kim-code-latest-offers__security-section,
  .page-blog-88kim-code-latest-offers__faq-section,
  .page-blog-88kim-code-latest-offers__conclusion-section {
    padding: 40px 15px;
  }

  .page-blog-88kim-code-latest-offers__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-blog-88kim-code-latest-offers__hero-description {
    font-size: 1rem;
  }

  .page-blog-88kim-code-latest-offers__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-88kim-code-latest-offers__subtitle {
    font-size: 1.5rem;
  }

  .page-blog-88kim-code-latest-offers p,
  .page-blog-88kim-code-latest-offers__list li,
  .page-blog-88kim-code-latest-offers__faq-answer {
    font-size: 1rem;
  }

  .page-blog-88kim-code-latest-offers__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-88kim-code-latest-offers__btn-primary,
  .page-blog-88kim-code-latest-offers__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  /* Mobile image adaptation */
  .page-blog-88kim-code-latest-offers img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile container adaptation for images/videos */
  .page-blog-88kim-code-latest-offers__section,
  .page-blog-88kim-code-latest-offers__card,
  .page-blog-88kim-code-latest-offers__container,
  .page-blog-88kim-code-latest-offers__cta-buttons,
  .page-blog-88kim-code-latest-offers__video-section,
  .page-blog-88kim-code-latest-offers__video-container,
  .page-blog-88kim-code-latest-offers__video-wrapper,
  .page-blog-88kim-code-latest-offers__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-blog-88kim-code-latest-offers__hero-section {
    padding-top: 10px !important; /* body handles header offset, this is just for small visual spacing */
  }

  .page-blog-88kim-code-latest-offers__card-grid,
  .page-blog-88kim-code-latest-offers__features-grid,
  .page-blog-88kim-code-latest-offers__game-grid,
  .page-blog-88kim-code-latest-offers__security-features {
    grid-template-columns: 1fr;
  }
}

/* FAQ toggle for details element (CSS only) */
.page-blog-88kim-code-latest-offers__faq-item[open] .page-blog-88kim-code-latest-offers__faq-toggle {
  content: "−";
}

/* Ensure default text color for main content on dark background */
.page-blog-88kim-code-latest-offers__content-area,
.page-blog-88kim-code-latest-offers__promotions-section,
.page-blog-88kim-code-latest-offers__registration-guide-section,
.page-blog-88kim-code-latest-offers__benefits-section,
.page-blog-88kim-code-latest-offers__games-section,
.page-blog-88kim-code-latest-offers__security-section,
.page-blog-88kim-code-latest-offers__faq-section,
.page-blog-88kim-code-latest-offers__conclusion-section {
  color: var(--color-text-main); /* Ensure light text on these sections */
}

.page-blog-88kim-code-latest-offers__content-area p,
.page-blog-88kim-code-latest-offers__content-area li {
  color: var(--color-text-secondary);
}

.page-blog-88kim-code-latest-offers__card {
  color: var(--color-text-main); /* Ensure card content text is light */
}
.page-blog-88kim-code-latest-offers__card p {
  color: var(--color-text-secondary);
}