/* style/blog-unveiling-fun222-code-advantages.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --body-bg: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-blog-unveiling-fun222-code-advantages {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page, assuming dark body bg */
  background-color: var(--body-bg); /* Explicitly set page background to match body-bg */
}

.page-blog-unveiling-fun222-code-advantages__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-unveiling-fun222-code-advantages__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-unveiling-fun222-code-advantages__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-unveiling-fun222-code-advantages__hero-content {
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

.page-blog-unveiling-fun222-code-advantages__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(2rem, 4vw, 3rem); /* Responsive font size for H1 */
}

.page-blog-unveiling-fun222-code-advantages__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-blog-unveiling-fun222-code-advantages__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-unveiling-fun222-code-advantages__cta-buttons--center {
  margin-top: 40px;
}

.page-blog-unveiling-fun222-code-advantages__btn-primary,
.page-blog-unveiling-fun222-code-advantages__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-unveiling-fun222-code-advantages__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for primary button */
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-unveiling-fun222-code-advantages__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-unveiling-fun222-code-advantages__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 2px 10px rgba(34, 199, 104, 0.2);
}

.page-blog-unveiling-fun222-code-advantages__btn-secondary:hover {
  background: rgba(34, 199, 104, 0.1);
  transform: translateY(-2px);
}

.page-blog-unveiling-fun222-code-advantages__section {
  padding: 60px 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-unveiling-fun222-code-advantages__content-area {
  max-width: 1200px;
  margin: 0 auto;
}

.page-blog-unveiling-fun222-code-advantages__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
}

.page-blog-unveiling-fun222-code-advantages__sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-blog-unveiling-fun222-code-advantages__paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-blog-unveiling-fun222-code-advantages__ordered-list,
.page-blog-unveiling-fun222-code-advantages__unordered-list {
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-blog-unveiling-fun222-code-advantages__ordered-list li,
.page-blog-unveiling-fun222-code-advantages__unordered-list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-blog-unveiling-fun222-code-advantages__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Example for content image max-width */
}

.page-blog-unveiling-fun222-code-advantages__features-grid,
.page-blog-unveiling-fun222-code-advantages__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.page-blog-unveiling-fun222-code-advantages__feature-card,
.page-blog-unveiling-fun222-code-advantages__game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-secondary);
}

.page-blog-unveiling-fun222-code-advantages__feature-card:hover,
.page-blog-unveiling-fun222-code-advantages__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-blog-unveiling-fun222-code-advantages__card-title,
.page-blog-unveiling-fun222-code-advantages__game-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-blog-unveiling-fun222-code-advantages__card-text,
.page-blog-unveiling-fun222-code-advantages__game-card-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-unveiling-fun222-code-advantages__btn-text-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog-unveiling-fun222-code-advantages__btn-text-link:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-blog-unveiling-fun222-code-advantages__btn-inline {
  margin-top: 20px;
}

.page-blog-unveiling-fun222-code-advantages__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-unveiling-fun222-code-advantages__faq-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-secondary);
}

.page-blog-unveiling-fun222-code-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  list-style: none; /* For <summary> tag */
}

.page-blog-unveiling-fun222-code-advantages__faq-item[open] > .page-blog-unveiling-fun222-code-advantages__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-blog-unveiling-fun222-code-advantages__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-unveiling-fun222-code-advantages__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-unveiling-fun222-code-advantages__faq-item[open] .page-blog-unveiling-fun222-code-advantages__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-unveiling-fun222-code-advantages__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-blog-unveiling-fun222-code-advantages__dark-bg {
  background-color: var(--body-bg);
  color: var(--text-main);
}

.page-blog-unveiling-fun222-code-advantages__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Ensure contrast for text on specific backgrounds */
.page-blog-unveiling-fun222-code-advantages__dark-bg .page-blog-unveiling-fun222-code-advantages__section-title,
.page-blog-unveiling-fun222-code-advantages__dark-bg .page-blog-unveiling-fun222-code-advantages__sub-title,
.page-blog-unveiling-fun222-code-advantages__dark-bg .page-blog-unveiling-fun222-code-advantages__card-title {
  color: var(--text-main);
}

.page-blog-unveiling-fun222-code-advantages__light-bg .page-blog-unveiling-fun222-code-advantages__section-title,
.page-blog-unveiling-fun222-code-advantages__light-bg .page-blog-unveiling-fun222-code-advantages__sub-title,
.page-blog-unveiling-fun222-code-advantages__light-bg .page-blog-unveiling-fun222-code-advantages__card-title {
  color: #333333;
}

.page-blog-unveiling-fun222-code-advantages__light-bg .page-blog-unveiling-fun222-code-advantages__paragraph,
.page-blog-unveiling-fun222-code-advantages__light-bg .page-blog-unveiling-fun222-code-advantages__ordered-list li,
.page-blog-unveiling-fun222-code-advantages__light-bg .page-blog-unveiling-fun222-code-advantages__unordered-list li {
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-unveiling-fun222-code-advantages__main-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }
  .page-blog-unveiling-fun222-code-advantages__section-title {
    font-size: 2rem;
  }
  .page-blog-unveiling-fun222-code-advantages__sub-title {
    font-size: 1.6rem;
  }
  .page-blog-unveiling-fun222-code-advantages__hero-content {
    margin-top: 20px;
  }
  .page-blog-unveiling-fun222-code-advantages__hero-description {
    font-size: 1.05rem;
  }
  .page-blog-unveiling-fun222-code-advantages__feature-card,
  .page-blog-unveiling-fun222-code-advantages__game-card {
    padding: 25px;
  }
  .page-blog-unveiling-fun222-code-advantages__card-title,
  .page-blog-unveiling-fun222-code-advantages__game-card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-blog-unveiling-fun222-code-advantages {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-unveiling-fun222-code-advantages__hero-section {
    padding: 10px 15px 40px;
  }

  .page-blog-unveiling-fun222-code-advantages__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .page-blog-unveiling-fun222-code-advantages__hero-description {
    font-size: 1rem;
  }

  .page-blog-unveiling-fun222-code-advantages__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px; /* Add padding to prevent buttons from touching edges */
    box-sizing: border-box;
  }

  .page-blog-unveiling-fun222-code-advantages__btn-primary,
  .page-blog-unveiling-fun222-code-advantages__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-unveiling-fun222-code-advantages__section {
    padding: 40px 15px;
  }

  .page-blog-unveiling-fun222-code-advantages__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-unveiling-fun222-code-advantages__sub-title {
    font-size: 1.4rem;
  }

  .page-blog-unveiling-fun222-code-advantages__paragraph {
    font-size: 0.95rem;
  }

  .page-blog-unveiling-fun222-code-advantages__image-inline {
    margin: 30px auto;
  }

  .page-blog-unveiling-fun222-code-advantages__features-grid,
  .page-blog-unveiling-fun222-code-advantages__game-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-blog-unveiling-fun222-code-advantages__feature-card,
  .page-blog-unveiling-fun222-code-advantages__game-card {
    padding: 20px;
  }

  .page-blog-unveiling-fun222-code-advantages__card-title,
  .page-blog-unveiling-fun222-code-advantages__game-card-title {
    font-size: 1.2rem;
  }

  .page-blog-unveiling-fun222-code-advantages__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-unveiling-fun222-code-advantages__faq-answer {
    padding: 15px 20px;
  }
  
  /* Mobile responsive image, video, container rules (important!) */
  .page-blog-unveiling-fun222-code-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-unveiling-fun222-code-advantages video,
  .page-blog-unveiling-fun222-code-advantages__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-unveiling-fun222-code-advantages__section,
  .page-blog-unveiling-fun222-code-advantages__card,
  .page-blog-unveiling-fun222-code-advantages__container,
  .page-blog-unveiling-fun222-code-advantages__hero-section,
  .page-blog-unveiling-fun222-code-advantages__content-area,
  .page-blog-unveiling-fun222-code-advantages__features-grid,
  .page-blog-unveiling-fun222-code-advantages__game-cards-grid,
  .page-blog-unveiling-fun222-code-advantages__video-section,
  .page-blog-unveiling-fun222-code-advantages__video-container,
  .page-blog-unveiling-fun222-code-advantages__video-wrapper,
  .page-blog-unveiling-fun222-code-advantages__cta-buttons,
  .page-blog-unveiling-fun222-code-advantages__button-group,
  .page-blog-unveiling-fun222-code-advantages__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-unveiling-fun222-code-advantages__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-blog-unveiling-fun222-code-advantages__video-section {
    padding-top: 10px !important;
  }
}