:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #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-safe-betting-tik88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color, assumes dark body background */
  background-color: var(--background);
}

.page-blog-safe-betting-tik88__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: var(--deep-green-color); /* Use a darker background for hero section */
  color: var(--text-main);
  overflow: hidden;
}

.page-blog-safe-betting-tik88__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-safe-betting-tik88__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-safe-betting-tik88__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Overlap slightly with image for visual flow, but content is below */
  background: var(--card-bg); /* Use card background for content block */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px); /* Lift content slightly */
  margin-bottom: -50px; /* Offset the transform */
}

.page-blog-safe-betting-tik88__main-title {
  font-size: clamp(2rem, 5vw, 3rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--gold-color); /* Use gold for main title */
}

.page-blog-safe-betting-tik88__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-blog-safe-betting-tik88__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-safe-betting-tik88__btn-primary,
.page-blog-safe-betting-tik88__btn-secondary {
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
}

.page-blog-safe-betting-tik88__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-blog-safe-betting-tik88__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-safe-betting-tik88__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.page-blog-safe-betting-tik88__btn-secondary:hover {
  background: var(--border-color);
  color: #ffffff;
}

.page-blog-safe-betting-tik88__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--background); /* Default background for sections */
  color: var(--text-main);
}

.page-blog-safe-betting-tik88__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 25px;
  text-align: center;
}

.page-blog-safe-betting-tik88__subsection-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-safe-betting-tik88__sub-list-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text-main);
  margin-top: 15px;
  margin-bottom: 8px;
}

.page-blog-safe-betting-tik88__text-block,
.page-blog-safe-betting-tik88__list-item p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-blog-safe-betting-tik88__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-blog-safe-betting-tik88__list-item {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-blog-safe-betting-tik88__list-item::marker {
  color: var(--glow-color); /* Style list markers */
}

.page-blog-safe-betting-tik88__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-blog-safe-betting-tik88__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-blog-safe-betting-tik88__product-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

.page-blog-safe-betting-tik88__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-safe-betting-tik88__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-blog-safe-betting-tik88__product-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-color);
  padding: 15px 20px 10px;
}

.page-blog-safe-betting-tik88__product-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 0 20px 15px;
  flex-grow: 1; /* Make description take available space */
}

.page-blog-safe-betting-tik88__btn-link {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px;
  border-radius: 25px;
  background: var(--deep-green-color);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  align-self: flex-start; /* Align button to start */
}

.page-blog-safe-betting-tik88__btn-link:hover {
  background-color: var(--glow-color);
}

.page-blog-safe-betting-tik88__faq-list {
  margin-top: 30px;
}

.page-blog-safe-betting-tik88__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--divider-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-blog-safe-betting-tik88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--deep-green-color);
  color: var(--text-main);
  position: relative;
  list-style: none; /* For details/summary */
}

.page-blog-safe-betting-tik88__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-blog-safe-betting-tik88__faq-qtext {
  flex-grow: 1;
  font-size: 1.1rem;
}

.page-blog-safe-betting-tik88__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-safe-betting-tik88__faq-item[open] .page-blog-safe-betting-tik88__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-blog-safe-betting-tik88__faq-answer {
  padding: 0 20px 15px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Floating CTA */
.page-blog-safe-betting-tik88__floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-blog-safe-betting-tik88__floating-btn {
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-blog-safe-betting-tik88__floating-btn--register {
  background: var(--button-gradient);
  color: #ffffff;
}

.page-blog-safe-betting-tik88__floating-btn--register:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-safe-betting-tik88__floating-btn--login {
  background: var(--gold-color);
  color: #000000; /* Contrast with gold */
}

.page-blog-safe-betting-tik88__floating-btn--login:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-safe-betting-tik88__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-blog-safe-betting-tik88__hero-content {
    margin-top: -50px;
    transform: translateY(-25px);
    margin-bottom: -25px;
  }

  .page-blog-safe-betting-tik88__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-blog-safe-betting-tik88__description {
    font-size: 1rem;
  }

  .page-blog-safe-betting-tik88__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  /* Buttons responsiveness */
  .page-blog-safe-betting-tik88__btn-primary,
  .page-blog-safe-betting-tik88__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Section and container responsiveness */
  .page-blog-safe-betting-tik88__section,
  .page-blog-safe-betting-tik88__product-card {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-safe-betting-tik88__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

  .page-blog-safe-betting-tik88__subsection-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-top: 25px;
  }

  .page-blog-safe-betting-tik88__product-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile image and video responsiveness */
  .page-blog-safe-betting-tik88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-safe-betting-tik88__hero-section {
    padding-top: 10px !important;
  }

  .page-blog-safe-betting-tik88__floating-cta {
    bottom: 10px;
    right: 10px;
    flex-direction: row;
    width: calc(100% - 20px);
    justify-content: space-around;
  }
  .page-blog-safe-betting-tik88__floating-btn {
    flex: 1;
    margin: 0 5px;
    padding: 10px 15px;
  }
}