:root {
  --ty88-primary: #017439;
  --ty88-secondary: #FFFFFF;
  --ty88-register: #C30808;
  --ty88-login: #C30808;
  --ty88-background: #FFFFFF;
  --ty88-register-login-font: #FFFF00;
}

.indep-site-header {
  background-color: var(--ty88-primary);
  padding: 15px 20px;
  color: var(--ty88-secondary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.indep-site-header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.indep-site-header-brand {
  font-size: 28px;
  font-weight: bold;
  color: var(--ty88-secondary);
  text-decoration: none;
}

.indep-site-header-actions {
  display: flex;
  gap: 15px;
}

.indep-site-header-button {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  color: var(--ty88-register-login-font);
}

.indep-site-header-button-login {
  background-color: var(--ty88-login);
}

.indep-site-header-button-login:hover {
  background-color: darken(var(--ty88-login), 10%);
}

.indep-site-header-button-register {
  background-color: var(--ty88-register);
}

.indep-site-header-button-register:hover {
  background-color: darken(var(--ty88-register), 10%);
}

@media (max-width: 768px) {
  .indep-site-header-container {
    flex-direction: column;
    gap: 15px;
  }
  .indep-site-header-brand {
    font-size: 24px;
  }
  .indep-site-header-actions {
    width: 100%;
    justify-content: center;
  }
  .indep-site-header-button {
    flex-grow: 1;
    text-align: center;
  }
}

:root {
  --ty88-primary: #017439;
  --ty88-secondary: #FFFFFF;
  --ty88-background: #FFFFFF;
}

.indep-site-footer {
  background-color: var(--ty88-primary);
  color: var(--ty88-secondary);
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.indep-site-footer a {
  color: var(--ty88-secondary);
  text-decoration: none;
}

.indep-site-footer a:hover {
  text-decoration: underline;
}

.indep-site-footer-cols-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.indep-site-footer-brand {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

.indep-site-footer .footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.indep-site-footer .footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.indep-site-footer .footer-nav li {
  margin-bottom: 10px;
}

.indep-site-footer .footer-nav li:last-child {
  margin-bottom: 0;
}

.indep-site-footer .footer-nav a {
  font-size: 14px;
}

.indep-site-footer-mid-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
}

.indep-footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
}

.indep-footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.indep-site-footer .footer-dynamic-row {
  max-width: 1200px;
  margin: 0 auto 20px auto;
}

.indep-site-footer .footer-slot-anchor-inner {
  min-height: 20px; /* Ensure visibility for empty slots */
  display: block;
}

/* Mobile styles */
@media (max-width: 768px) {
  .indep-site-footer-cols-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .indep-site-footer-mid-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .indep-site-footer-brand {
    text-align: center;
  }

  .indep-site-footer .footer-col p {
    text-align: center;
  }

  .indep-site-footer .footer-nav {
    text-align: center;
  }

  .indep-footer-bottom {
    padding-top: 15px;
    margin-top: 20px;
  }
}

.indep-position-nav{width:100%;box-sizing:border-box;padding:10px 16px;font-size:14px;line-height:1.5;background:#f6f7f9;color:#606266}
.indep-position-nav ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0}
.indep-position-nav li{display:flex;align-items:center;gap:6px}
.indep-position-nav li+li::before{content:">";color:#909399}
.indep-position-nav a{color:#409eff;text-decoration:none}
.indep-position-nav [aria-current="page"]{color:#303133}
:root {
          --primary-color: #017439;
          --secondary-color: #FFFFFF;
          --register-button-color: #C30808;
          --login-button-color: #C30808;
          --button-text-color: #FFFF00;
          --text-color-dark: #333333;
          --text-color-light: #ffffff;
          --border-color-light: #e0e0e0;
      }

      .page-ty88-index {
          font-family: 'Arial', sans-serif;
          line-height: 1.6;
          color: var(--text-color-dark);
          background-color: var(--secondary-color);
      }

      .page-ty88-index__hero-section {
          padding-top: 10px;
          background-color: var(--primary-color);
          color: var(--text-color-light);
          text-align: center;
          padding-bottom: 50px;
      }

      .page-ty88-index__hero-content {
          max-width: 1200px;
          margin: 0 auto;
          padding: 20px;
      }

      .page-ty88-index__main-title {
          font-size: clamp(2.5rem, 5vw, 3.5rem);
          font-weight: 700;
          margin-bottom: 20px;
          line-height: 1.2;
          color: var(--button-text-color); /* Sử dụng màu vàng cho tiêu đề chính */
      }

      .page-ty88-index__hero-description {
          font-size: 1.2rem;
          margin-bottom: 30px;
          max-width: 800px;
          margin-left: auto;
          margin-right: auto;
          color: var(--text-color-light);
      }

      .page-ty88-index__cta-buttons {
          display: flex;
          justify-content: center;
          gap: 20px;
          margin-bottom: 40px;
      }

      .page-ty88-index__btn {
          display: inline-block;
          padding: 15px 30px;
          border-radius: 8px;
          text-decoration: none;
          font-weight: 700;
          font-size: 1.1rem;
          transition: background-color 0.3s ease, transform 0.3s ease;
          border: none;
          cursor: pointer;
          max-width: 100%;
          box-sizing: border-box;
          white-space: normal;
          word-wrap: break-word;
      }

      .page-ty88-index__btn--register {
          background-color: var(--register-button-color);
          color: var(--button-text-color);
      }

      .page-ty88-index__btn--register:hover {
          background-color: #a00606;
          transform: translateY(-2px);
      }

      .page-ty88-index__btn--login {
          background-color: var(--login-button-color);
          color: var(--button-text-color);
      }

      .page-ty88-index__btn--login:hover {
          background-color: #a00606;
          transform: translateY(-2px);
      }

      .page-ty88-index__hero-image {
          width: 100%;
          max-width: 1000px;
          height: auto;
          margin: 30px auto 0;
          display: block;
          border-radius: 10px;
          overflow: hidden;
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      }

      .page-ty88-index__hero-image img {
          width: 100%;
          height: auto;
          display: block;
      }

      .page-ty88-index__about-section {
          max-width: 1200px;
          margin: 50px auto;
          padding: 20px;
          text-align: center;
      }

      .page-ty88-index__section-title {
          font-size: 2.5rem;
          color: var(--primary-color);
          margin-bottom: 30px;
          position: relative;
          display: inline-block;
      }

      .page-ty88-index__section-title::after {
          content: '';
          position: absolute;
          left: 50%;
          bottom: -10px;
          transform: translateX(-50%);
          width: 80px;
          height: 4px;
          background-color: var(--register-button-color);
          border-radius: 2px;
      }

      .page-ty88-index__about-content {
          display: flex;
          flex-wrap: wrap;
          gap: 30px;
          justify-content: center;
          align-items: center;
      }

      .page-ty88-index__text-block {
          flex: 1 1 500px;
          text-align: left;
          font-size: 1.1rem;
          color: var(--text-color-dark);
      }

      .page-ty88-index__text-block h3 {
          color: var(--primary-color);
          font-size: 1.8rem;
          margin-bottom: 15px;
      }

      .page-ty88-index__image-block {
          flex: 1 1 400px;
          border-radius: 10px;
          overflow: hidden;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      }

      .page-ty88-index__image-block img {
          width: 100%;
          height: auto;
          display: block;
      }

      .page-ty88-index__features-section {
          max-width: 1200px;
          margin: 50px auto;
          padding: 20px;
          text-align: center;
      }

      .page-ty88-index__features-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
          gap: 30px;
          margin-top: 40px;
      }

      .page-ty88-index__feature-card {
          background-color: var(--secondary-color);
          border: 1px solid var(--border-color-light);
          border-radius: 10px;
          padding: 30px;
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
          text-align: left;
          transition: transform 0.3s ease, box-shadow 0.3s ease;
          color: var(--text-color-dark);
      }

      .page-ty88-index__feature-card:hover {
          transform: translateY(-10px);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      }

      .page-ty88-index__feature-card h3 {
          color: var(--primary-color);
          font-size: 1.6rem;
          margin-bottom: 15px;
      }

      .page-ty88-index__feature-card p {
          font-size: 1rem;
      }

      .page-ty88-index__game-section {
          background-color: #f8f8f8;
          padding: 60px 20px;
          text-align: center;
      }

      .page-ty88-index__game-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
          gap: 30px;
          max-width: 1200px;
          margin: 40px auto 0;
      }

      .page-ty88-index__game-card {
          background-color: var(--secondary-color);
          border-radius: 10px;
          overflow: hidden;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          transition: transform 0.3s ease;
          text-decoration: none;
          color: var(--text-color-dark);
          display: block;
      }

      .page-ty88-index__game-card:hover {
          transform: translateY(-8px);
      }

      .page-ty88-index__game-card-image {
          width: 100%;
          height: 200px;
          overflow: hidden;
      }

      .page-ty88-index__game-card-image img {
          width: 100%;
          height: 100%;
          object-fit: cover;
      }

      .page-ty88-index__game-card-content {
          padding: 20px;
      }

      .page-ty88-index__game-card-title {
          font-size: 1.4rem;
          color: var(--primary-color);
          margin-bottom: 10px;
      }

      .page-ty88-index__game-card-description {
          font-size: 0.95rem;
          color: #666;
      }

      .page-ty88-index__faq-section {
          max-width: 1200px;
          margin: 50px auto;
          padding: 20px;
      }

      .page-ty88-index__faq-item {
          background-color: var(--secondary-color);
          border: 1px solid var(--border-color-light);
          border-radius: 8px;
          margin-bottom: 15px;
          overflow: hidden;
      }

      .page-ty88-index__faq-question {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 20px;
          cursor: pointer;
          user-select: none;
          font-weight: 600;
          font-size: 1.1rem;
          color: var(--primary-color);
          transition: background-color 0.3s ease;
      }

      .page-ty88-index__faq-question:hover {
          background-color: #f0f0f0;
      }

      .page-ty88-index__faq-question h3 {
          margin: 0;
          pointer-events: none; /* Ngăn chặn click vào h3 */
          color: var(--primary-color);
      }

      .page-ty88-index__faq-toggle {
          font-size: 1.5rem;
          line-height: 1;
          pointer-events: none; /* Ngăn chặn click vào toggle */
          transition: transform 0.3s ease;
      }

      .page-ty88-index__faq-answer {
          max-height: 0;
          overflow: hidden;
          padding: 0 20px;
          opacity: 0;
          transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
          color: var(--text-color-dark);
      }

      .page-ty88-index__faq-answer p {
          margin-bottom: 15px;
      }

      .page-ty88-index__faq-item.active .page-ty88-index__faq-answer {
          max-height: 2000px !important; /* Đảm bảo đủ cao cho mọi nội dung */
          padding: 20px !important;
          opacity: 1;
      }

      .page-ty88-index__faq-item.active .page-ty88-index__faq-toggle {
          transform: rotate(45deg);
      }

      /* Responsive */
      @media (max-width: 768px) {
          .page-ty88-index__hero-section {
              padding-top: 10px;
              padding-bottom: 30px;
          }

          .page-ty88-index__main-title {
              font-size: clamp(2rem, 8vw, 2.5rem);
          }

          .page-ty88-index__hero-description {
              font-size: 1rem;
          }

          .page-ty88-index__cta-buttons {
              flex-direction: column;
              gap: 15px;
              padding: 0 15px;
          }

          .page-ty88-index__btn {
              width: 100% !important;
              max-width: 100% !important;
              padding: 12px 20px;
              font-size: 1rem;
          }

          .page-ty88-index__about-content {
              flex-direction: column;
          }

          .page-ty88-index__text-block, .page-ty88-index__image-block {
              flex: 1 1 100%;
              width: 100%;
          }

          .page-ty88-index__section-title {
              font-size: 2rem;
          }

          .page-ty88-index__features-grid,
          .page-ty88-index__game-grid {
              grid-template-columns: 1fr;
          }

          .page-ty88-index__game-card-image {
              height: 180px;
          }

          .page-ty88-index__faq-section {
              padding: 10px;
          }

          .page-ty88-index p,
          .page-ty88-index li {
            font-size: 16px;
            line-height: 1.6;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            word-break: break-word !important;
          }

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

          .page-ty88-index__faq-item.active .page-ty88-index__faq-answer {
              padding: 15px !important;
          }

          .page-ty88-index__cta-buttons,
          .page-ty88-index__button-group,
          .page-ty88-index__btn-container {
            max-width: 100% !important;
            width: 100% !important;
            box-sizing: border-box !important;
            padding-left: 15px;
            padding-right: 15px;
            flex-wrap: wrap !important;
            gap: 10px;
          }

          .page-ty88-index__hero-image img,
          .page-ty88-index__image-block img,
          .page-ty88-index__game-card-image img,
          .page-ty88-index img {
            max-width: 100% !important;
            width: 100% !important;
            height: auto !important;
          }

          .page-ty88-index__section,
          .page-ty88-index__card,
          .page-ty88-index__container,
          .page-ty88-index__text-block {
            max-width: 100% !important;
            width: 100% !important;
            box-sizing: border-box !important;
            padding-left: 15px;
            padding-right: 15px;
          }

          .page-ty88-index__faq-item,
          .page-ty88-index__faq-question,
          .page-ty88-index__faq-answer {
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding-left: 15px;
            padding-right: 15px;
          }
          .page-ty88-index__faq-answer p {
            padding-left: 0 !important;
            padding-right: 0 !important;
          }
      }