:root{
  --bg:#0F171D;
  --bg-dark:#070B0F;
  --panel:#0c1b23;
  --cyan:#3AC1D1;
  --white:#FFFFFF;
  --muted:#96a7ad;
  --border:rgba(255,255,255,.11);
  --font-heading: 'Exo 2', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Outfit', sans-serif;
}

a {
    color: var(--cyan);
}

.tnc-background{
  height: 591px;
  position: absolute;
  inset: 0;
  background-image:url(".././images/tnc-banner-bg.png");
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
}

.hero-content-news p {
  font-size: 16px;
  color: #FFFFFF;
  font-weight: 500;
  line-height: 26px;
  margin-bottom: 10px;
}

.hero-content-news small{
  font-size: 15px;
}

.hero-content-news p.small{
  font-size: 14px;
  color: #FFFFFF;
  line-height: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

section.tnc {
  padding: 60px 10px;
  background: var(--bg);
}

.tnc-contents{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 30px;
}

.terms-num-wrapper {
  display: inline-block;
}

.terms-num {
  position: relative;
  display: inline-block;
  color: #00b4d8; 
  font-size: 1.1rem;
  font-weight: 700;
  padding-bottom: 6px;
}

.terms-num::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 130%; 
  height: 2px;
  background-color: #00b4d8;
  border-radius: 2px;
}

.tnc-desc h3 {
  font-size: 18px;
  color: #FFFFFF;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.tnc-desc p {
  font-size: 16px;
  color: #FFFFFF;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}

.terms-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

table.table.tnc {
    border: 1px solid #fff;
    width: 100%;
    border-collapse: collapse; 
    margin:20px 0;
}

table.table.tnc th,table.table.tnc td{
    border: 1px solid #fff;
    width: 50%;
    padding: 10px;
}


/* ----------------------------------------------------
   BACK TO TOP FLOATING BUTTON
---------------------------------------------------- */

.back-to-top {
  position: fixed;
  bottom: 130px;
  right: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #3AC1D1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-text {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.back-to-top:hover .icon-circle {
  background-color: var(--bg-dark);
  transform: translateY(-3px);
}

.back-to-top:hover .btn-text {
  color: #3AC1D1;
}


/* =================== MOBILE ===================*/

@media(max-width:700px){
  .tnc-background{
    height: auto;
    background-image:url(".././images/tnc-banner-mb.png");
  }
  .tnc-contents {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 20px;
  }

}