.page-kubet19 {
  background-color: #1a1a1a; /* Gần đen */
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-kubet19__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Thêm padding-top nhỏ, và padding-bottom lớn hơn */
  text-align: center;
  box-sizing: border-box;
}

.page-kubet19__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-kubet19__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-kubet19__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-kubet19__main-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-kubet19__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-kubet19__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-kubet19__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1a1a1a;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-kubet19__cta-button:hover {
  background-color: #ffe066;
  transform: translateY(-2px);
}

.page-kubet19__cta-button--secondary {
  background-color: #333333;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-kubet19__cta-button--secondary:hover {
  background-color: #444444;
  color: #ffe066;
}

.page-kubet19__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  padding-top: 40px;
}

.page-kubet19__features-section,
.page-kubet19__game-categories,
.page-kubet19__providers-section,
.page-kubet19__app-download,
.page-kubet19__faq-section,
.page-kubet19__contact-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-kubet19__features-grid,
.page-kubet19__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-kubet19__feature-item,
.page-kubet19__category-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px 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;
  text-decoration: none;
  color: #ffffff;
}

.page-kubet19__feature-item:hover,
.page-kubet19__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-kubet19__feature-icon,
.page-kubet19__category-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-kubet19__feature-title,
.page-kubet19__category-title {
  font-size: 1.5rem;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-kubet19__feature-text,
.page-kubet19__category-text {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-kubet19__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
  margin-top: 40px;
}

.page-kubet19__provider-item img {
  width: 100%;
  height: auto;
  max-width: 150px;
  filter: grayscale(80%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-kubet19__provider-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.page-kubet19__app-download {
  text-align: center;
}

.page-kubet19__app-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-kubet19__app-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-kubet19__faq-list {
  margin-top: 30px;
}

.page-kubet19__faq-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-kubet19__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #333333;
  color: #FFD700;
  font-size: 1.2rem;
  font-weight: 600;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-kubet19__faq-question:hover {
  background-color: #444444;
}

.page-kubet19__faq-qtext {
  pointer-events: none; /* Ngăn chặn h3 chặn sự kiện click */
  flex-grow: 1;
}

.page-kubet19__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  pointer-events: none; /* Ngăn chặn toggle chặn sự kiện click */
  transition: transform 0.3s ease;
}

.page-kubet19__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #f0f0f0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.page-kubet19__faq-item.active .page-kubet19__faq-answer {
  max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 20px !important;
  opacity: 1;
}

.page-kubet19__faq-item.active .page-kubet19__faq-toggle {
  transform: rotate(45deg); /* Biến đổi '+' thành 'x' hoặc '-' */
}

.page-kubet19__contact-section {
  text-align: center;
}

.page-kubet19__contact-info p {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-kubet19__social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-kubet19__social-icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.page-kubet19__social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(50%);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-kubet19__social-icon:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-kubet19 {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-kubet19__hero-section {
    padding: 10px 15px 40px; /* body đã có padding-top */
  }

  .page-kubet19__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-kubet19__description {
    font-size: 1rem;
    padding: 0 5px;
  }

  .page-kubet19__cta-button {
    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;
  }

  .page-kubet19__app-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-kubet19__features-section,
  .page-kubet19__game-categories,
  .page-kubet19__providers-section,
  .page-kubet19__app-download,
  .page-kubet19__faq-section,
  .page-kubet19__contact-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-kubet19__features-grid,
  .page-kubet19__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-kubet19__feature-item,
  .page-kubet19__category-card {
    padding: 20px;
  }

  .page-kubet19__feature-icon,
  .page-kubet19__category-image,
  .page-kubet19__app-image,
  .page-kubet19__hero-image,
  .page-kubet19__provider-item img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-kubet19__providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }

  .page-kubet19__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-kubet19__faq-answer {
    padding: 15px !important;
  }

  .page-kubet19__social-media {
    gap: 10px;
  }

  .page-kubet19__social-icon {
    width: 50px;
    height: 50px;
  }
}