/* style/blog-t8bet-n-h-guide.css */

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

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-blog-t8bet-n-h-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--t8bet-text-main); /* Default text color for the page */
  background-color: var(--t8bet-background); /* Default background, overridden by section specific */
}

.page-blog-t8bet-n-h-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-t8bet-n-h-guide__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--t8bet-text-main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.page-blog-t8bet-n-h-guide__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--t8bet-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-t8bet-n-h-guide__text-block {
  font-size: 1.1em;
  color: var(--t8bet-text-secondary);
  margin-bottom: 20px;
}

.page-blog-t8bet-n-h-guide__text-block strong,
.page-blog-t8bet-n-h-guide__text-block em {
  color: var(--t8bet-text-main);
}

/* Section backgrounds and text colors for contrast */
.page-blog-t8bet-n-h-guide__dark-bg {
  background-color: var(--t8bet-background);
  color: var(--t8bet-text-main);
}

.page-blog-t8bet-n-h-guide__light-bg {
  background-color: var(--t8bet-light-background);
  color: var(--t8bet-dark-text);
}

.page-blog-t8bet-n-h-guide__light-bg .page-blog-t8bet-n-h-guide__section-title,
.page-blog-t8bet-n-h-guide__light-bg .page-blog-t8bet-n-h-guide__sub-title {
  color: var(--t8bet-dark-text);
}

.page-blog-t8bet-n-h-guide__light-bg .page-blog-t8bet-n-h-guide__text-block {
  color: var(--t8bet-dark-text);
}

.page-blog-t8bet-n-h-guide__light-bg .page-blog-t8bet-n-h-guide__text-block strong,
.page-blog-t8bet-n-h-guide__light-bg .page-blog-t8bet-n-h-guide__text-block em {
  color: var(--t8bet-dark-text);
}

/* Hero Section */
.page-blog-t8bet-n-h-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* body handles padding-top, so only small decorative top padding here */
  text-align: center;
  overflow: hidden;
}

.page-blog-t8bet-n-h-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-blog-t8bet-n-h-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-blog-t8bet-n-h-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-blog-t8bet-n-h-guide__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  color: var(--t8bet-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-t8bet-n-h-guide__description {
  font-size: 1.2em;
  color: var(--t8bet-text-secondary);
  margin-bottom: 30px;
  line-height: 1.5;
}

/* CTA Buttons */
.page-blog-t8bet-n-h-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-t8bet-n-h-guide__cta-buttons--center {
  margin-top: 40px;
}

.page-blog-t8bet-n-h-guide__btn-primary,
.page-blog-t8bet-n-h-guide__btn-secondary,
.page-blog-t8bet-n-h-guide__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  min-width: 180px;
}

.page-blog-t8bet-n-h-guide__btn-primary {
  background: var(--t8bet-button-gradient);
  color: var(--t8bet-light-text);
  border: 2px solid var(--t8bet-primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-t8bet-n-h-guide__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-t8bet-n-h-guide__btn-secondary {
  background: transparent;
  color: var(--t8bet-primary-color);
  border: 2px solid var(--t8bet-primary-color);
}

.page-blog-t8bet-n-h-guide__btn-secondary:hover {
  background: var(--t8bet-primary-color);
  color: var(--t8bet-light-text);
}

.page-blog-t8bet-n-h-guide__btn-tertiary {
  background: var(--t8bet-primary-color);
  color: var(--t8bet-light-text);
  border: none;
  padding: 10px 20px;
  font-size: 1em;
}

.page-blog-t8bet-n-h-guide__btn-tertiary:hover {
  background: var(--t8bet-secondary-color);
}

/* General Section Styling */
.page-blog-t8bet-n-h-guide__introduction-section,
.page-blog-t8bet-n-h-guide__why-t8bet-section,
.page-blog-t8bet-n-h-guide__guide-section,
.page-blog-t8bet-n-h-guide__tips-section,
.page-blog-t8bet-n-h-guide__promotions-section,
.page-blog-t8bet-n-h-guide__mobile-section,
.page-blog-t8bet-n-h-guide__faq-section,
.page-blog-t8bet-n-h-guide__cta-bottom-section {
  padding: 60px 0;
}

/* Image Styling */
.page-blog-t8bet-n-h-guide__content-image,
.page-blog-t8bet-n-h-guide__app-qr-code,
.page-blog-t8bet-n-h-guide__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Feature List */
.page-blog-t8bet-n-h-guide__feature-list,
.page-blog-t8bet-n-h-guide__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-blog-t8bet-n-h-guide__list-item {
  background-color: var(--t8bet-card-bg);
  border: 1px solid var(--t8bet-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--t8bet-text-main);
  font-size: 1.1em;
}

.page-blog-t8bet-n-h-guide__list-item::before {
  content: '✔';
  color: var(--t8bet-glow-color);
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
  flex-shrink: 0;
}

/* Promotion Cards */
.page-blog-t8bet-n-h-guide__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-t8bet-n-h-guide__card {
  background-color: var(--t8bet-card-bg);
  border: 1px solid var(--t8bet-border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--t8bet-text-main);
}

.page-blog-t8bet-n-h-guide__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-t8bet-n-h-guide__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--t8bet-text-main);
  margin-bottom: 10px;
}

.page-blog-t8bet-n-h-guide__card-description {
  font-size: 1em;
  color: var(--t8bet-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Mobile App Download */
.page-blog-t8bet-n-h-guide__app-download {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-blog-t8bet-n-h-guide__app-qr-code {
  width: 250px;
  height: 250px;
  object-fit: contain;
  background-color: var(--t8bet-light-background);
  padding: 10px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-t8bet-n-h-guide__app-info {
  max-width: 500px;
  text-align: left;
}

.page-blog-t8bet-n-h-guide__app-info .page-blog-t8bet-n-h-guide__sub-title {
  font-size: 2em;
  margin-top: 0;
}

/* FAQ Section */
.page-blog-t8bet-n-h-guide__faq-list {
  margin-top: 40px;
}

.page-blog-t8bet-n-h-guide__faq-item {
  background-color: var(--t8bet-card-bg);
  border: 1px solid var(--t8bet-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--t8bet-text-main);
}

.page-blog-t8bet-n-h-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--t8bet-deep-green);
  color: var(--t8bet-text-main);
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-blog-t8bet-n-h-guide__faq-question::-webkit-details-marker,
.page-blog-t8bet-n-h-guide__faq-question::marker {
  display: none;
}

.page-blog-t8bet-n-h-guide__faq-qtext {
  flex-grow: 1;
}

.page-blog-t8bet-n-h-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
}

.page-blog-t8bet-n-h-guide__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
  color: var(--t8bet-text-secondary);
}

.page-blog-t8bet-n-h-guide__faq-item[open] .page-blog-t8bet-n-h-guide__faq-question {
  border-bottom: 1px solid var(--t8bet-border-color);
}

/* CTA Bottom Section */
.page-blog-t8bet-n-h-guide__cta-bottom-content {
  text-align: center;
}

.page-blog-t8bet-n-h-guide__cta-bottom-content .page-blog-t8bet-n-h-guide__section-title {
  margin-bottom: 20px;
}

.page-blog-t8bet-n-h-guide__cta-bottom-content .page-blog-t8bet-n-h-guide__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-t8bet-n-h-guide__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-blog-t8bet-n-h-guide__section-title {
    font-size: 2em;
  }
  .page-blog-t8bet-n-h-guide__sub-title {
    font-size: 1.6em;
  }
  .page-blog-t8bet-n-h-guide__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-blog-t8bet-n-h-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-t8bet-n-h-guide__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
    min-height: 500px;
  }
  .page-blog-t8bet-n-h-guide__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    margin-bottom: 15px;
  }
  .page-blog-t8bet-n-h-guide__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-blog-t8bet-n-h-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-blog-t8bet-n-h-guide__btn-primary,
  .page-blog-t8bet-n-h-guide__btn-secondary,
  .page-blog-t8bet-n-h-guide__btn-tertiary,
  .page-blog-t8bet-n-h-guide a[class*="button"],
  .page-blog-t8bet-n-h-guide 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;
    min-width: unset;
  }
  
  .page-blog-t8bet-n-h-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog-t8bet-n-h-guide__sub-title {
    font-size: 1.4em;
  }
  .page-blog-t8bet-n-h-guide__introduction-section,
  .page-blog-t8bet-n-h-guide__why-t8bet-section,
  .page-blog-t8bet-n-h-guide__guide-section,
  .page-blog-t8bet-n-h-guide__tips-section,
  .page-blog-t8bet-n-h-guide__promotions-section,
  .page-blog-t8bet-n-h-guide__mobile-section,
  .page-blog-t8bet-n-h-guide__faq-section,
  .page-blog-t8bet-n-h-guide__cta-bottom-section {
    padding: 40px 0;
  }
  .page-blog-t8bet-n-h-guide__content-image,
  .page-blog-t8bet-n-h-guide__app-qr-code,
  .page-blog-t8bet-n-h-guide__card-image,
  .page-blog-t8bet-n-h-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-blog-t8bet-n-h-guide__app-download {
    flex-direction: column;
    gap: 20px;
  }
  .page-blog-t8bet-n-h-guide__app-info {
    text-align: center;
  }
  .page-blog-t8bet-n-h-guide__app-info .page-blog-t8bet-n-h-guide__sub-title {
    font-size: 1.8em;
  }
  .page-blog-t8bet-n-h-guide__card {
    padding: 20px;
  }
  .page-blog-t8bet-n-h-guide__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-blog-t8bet-n-h-guide__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-blog-t8bet-n-h-guide__container,
  .page-blog-t8bet-n-h-guide__promotion-cards,
  .page-blog-t8bet-n-h-guide__app-download,
  .page-blog-t8bet-n-h-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-blog-t8bet-n-h-guide__hero-content {
    padding: 15px;
  }
  .page-blog-t8bet-n-h-guide__list-item {
    font-size: 1em;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-blog-t8bet-n-h-guide__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em) !important;
  }
  .page-blog-t8bet-n-h-guide__section-title {
    font-size: 1.6em;
  }
  .page-blog-t8bet-n-h-guide__hero-section {
    min-height: 400px;
  }
  .page-blog-t8bet-n-h-guide__btn-primary,
  .page-blog-t8bet-n-h-guide__btn-secondary,
  .page-blog-t8bet-n-h-guide__btn-tertiary,
  .page-blog-t8bet-n-h-guide a[class*="button"],
  .page-blog-t8bet-n-h-guide a[class*="btn"] {
    font-size: 0.9em;
    padding: 12px 15px;
  }
}