@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
nav {
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  padding: 12px 0;
  position: fixed;
  top: 15px;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-wrap: wrap;
  overflow: hidden;
}
nav.expanded {
  padding: 12px 0 20px 0;
}
nav .nav-links {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}
nav .nav-links li {
  margin: 0 15px;
  display: flex;
  align-items: center;
}
nav .nav-links li img {
  border-radius: 50%;
  max-height: 40px;
  display: block;
}
nav .nav-links a {
  color: #ececec;
  text-decoration: none;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav .nav-links a::after {
  content: "";
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  transition: width 0.4s ease, left 0.4s ease;
}
nav .nav-links a:hover {
  color: white;
}
nav .nav-links a:hover::after {
  width: 100%;
  left: 0;
}
nav .nav-links a:has(img)::after {
  display: none;
}
nav .expanded-menu-items {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
nav .expanded-menu-items li {
  display: flex;
  align-items: center;
  width: 100%;
}
nav .expanded-menu-items li a {
  color: #ececec;
  text-decoration: none;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 12px 20px;
  border-radius: 8px;
  width: calc(100% - 40px);
  background: rgba(255, 255, 255, 0.05);
  gap: 10px;
}
nav .expanded-menu-items li a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(2px);
}
nav .expanded-menu-items li a.premium-mobile {
  background: linear-gradient(135deg, #daa520, #ffd700, #ffec8b);
  color: #2a2a2a;
  box-shadow: 0 0 8px rgba(218, 165, 32, 0.4);
  font-weight: 500;
  letter-spacing: 0.5px;
}
nav .expanded-menu-items li a.premium-mobile span {
  color: #2a2a2a;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}
nav .expanded-menu-items li a.premium-mobile .premium-icon {
  color: #2a2a2a;
  width: 23px;
  height: 23px;
  transition: all 0.3s ease;
}
nav .expanded-menu-items li a.premium-mobile:hover {
  transform: translateX(2px) translateY(-1px);
}
nav .expanded-menu-items li a.premium-mobile:hover .premium-icon {
  transform: scale(1.1) rotate(10deg);
}
nav .expanded-menu-items li a.premium-mobile:hover span {
  color: #2a2a2a;
}
nav .expanded-menu-items li a.invite-mobile {
  background: rgb(0, 140, 255);
  color: white;
  box-shadow: 0 0 8px rgba(0, 140, 255, 0.4);
}
nav .expanded-menu-items li a.invite-mobile span {
  color: white;
}
nav .expanded-menu-items li a.invite-mobile .icon {
  color: white;
  width: 23px;
  height: 23px;
  transition: all 0.3s ease;
}
nav .expanded-menu-items li a.invite-mobile:hover {
  transform: translateX(2px) translateY(-1px);
}
nav .expanded-menu-items li a.invite-mobile:hover .icon {
  rotate: -30deg;
  transform: translateX(1px);
}
nav .expanded-menu-items li a.invite-mobile:hover span {
  color: white;
}
nav .expanded-menu-items.show {
  max-height: 400px;
  opacity: 1;
  margin-top: 15px;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.05s, margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
nav .menu-icon {
  display: none;
  position: absolute;
  right: 20px;
  top: 16px;
}
nav #checkbox {
  display: none;
}
nav .toggle {
  position: relative;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition-duration: 0.5s;
}
nav .bars {
  width: 100%;
  height: 4px;
  background-color: white;
  border-radius: 4px;
}
nav #bar2 {
  transition-duration: 0.3s;
}
nav #bar1, nav #bar2, nav #bar3 {
  width: 100%;
}
nav #checkbox:checked + .toggle .bars {
  position: absolute;
  transition-duration: 0.5s;
}
nav #checkbox:checked + .toggle #bar2 {
  transform: scaleX(0);
  transition-duration: 0.5s;
}
nav #checkbox:checked + .toggle #bar1 {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: 0.5s;
}
nav #checkbox:checked + .toggle #bar3 {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: 0.5s;
}
nav #checkbox:checked + .toggle {
  transition-duration: 0.5s;
  transform: rotate(180deg);
}
nav .premium-btn {
  margin-right: 15px;
  padding: 8px 20px;
  border-radius: 8px;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  background: linear-gradient(135deg, #daa520, #ffd700, #ffec8b);
  box-shadow: 0 0 12px rgba(218, 165, 32, 0.5);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
}
nav .premium-btn:hover {
  transform: translateY(-1px);
}
nav .premium-btn:active {
  transform: translateY(1px);
}
nav .premium-btn span {
  color: #2a2a2a;
  text-decoration: none;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}
nav .premium-btn span::after {
  content: "";
  display: block;
  height: 2px;
  background: #2a2a2a;
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  transition: width 0.4s ease, left 0.4s ease;
}
nav .premium-btn:hover span::after {
  width: 100%;
  left: 0;
}
nav .premium-btn .premium-icon {
  color: #2a2a2a;
  width: 22px;
  height: 22px;
  transition: all 0.5s ease;
  text-decoration: none;
  z-index: 2;
}
nav .premium-btn:hover .premium-icon {
  transform: scale(1.2) rotate(15deg);
}
nav .premium-btn::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: -100px;
  opacity: 1;
}
nav .premium-btn:hover::before {
  animation: shine 1.4s ease;
}
nav .premium-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
nav .premium-btn:hover::after {
  opacity: 1;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 12px rgba(218, 165, 32, 0.5);
  }
  50% {
    box-shadow: 0 0 16px rgba(218, 165, 32, 0.6);
  }
  100% {
    box-shadow: 0 0 12px rgba(218, 165, 32, 0.5);
  }
}
nav .invite {
  margin-left: auto;
  margin-right: 25px;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  background: rgb(0, 140, 255);
  box-shadow: 0 0 15px rgba(0, 140, 255, 0.5);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}
nav .invite:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 140, 255, 0.6);
}
nav .invite:active {
  transform: translateY(1px);
}
nav .invite span {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  position: relative;
}
nav .invite span::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  transition: width 0.4s ease, left 0.4s ease;
}
nav .invite:hover span::after {
  width: 100%;
  left: 0;
}
nav .invite .icon {
  color: white;
  width: 24px;
  height: 24px;
  transition: all 0.5s ease;
  text-decoration: none;
}
nav .invite:hover .icon {
  rotate: -50deg;
  transform: translateX(1px);
}
nav .invite::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: -100px;
  opacity: 0.3;
}
nav .invite:hover::before {
  animation: shine 1.5s ease;
}
@keyframes shine {
  0% {
    left: -100px;
  }
  60% {
    left: 100%;
  }
  to {
    left: 100%;
  }
}

@media (max-width: 1000px) {
  nav .nav-links .menu-item {
    display: none;
  }
  nav .invite, nav .premium-btn {
    display: none !important;
  }
  nav .menu-icon {
    display: flex !important;
    justify-content: center;
    align-items: center;
    right: 20px;
    position: absolute;
    top: 16px;
  }
}
body {
  font-family: "Kanit", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #262626;
  color: #212529;
  text-align: center;
}
body h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-size: 3em;
  color: white;
  position: relative;
}
body h1 .separator {
  width: 30%;
  height: 2px;
  background-color: #e76969;
  margin: 0 auto;
}

header {
  background: url("header-background.jpg");
  color: #000000;
  position: relative;
  height: 35vh;
  background-size: cover;
  background-position: center;
}
header .header-content {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}
header .header-content h1 {
  font-size: 4em;
  margin: 0;
  text-align: center;
  padding-bottom: 0;
}
header .header-content .separator {
  width: 100%;
  height: 2px;
  background-color: #e76969;
  margin: 0 auto;
}
header .header-content p {
  color: #9e9e9e;
  font-size: 1.5em;
  max-width: 100%;
  padding-top: 15px;
}

main .terms {
  text-align: left;
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: #303030;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
main .terms a {
  color: #9e9e9e;
}
main .terms h1 {
  font-size: 2em;
  color: #e76969;
}
main .terms h2 {
  font-size: 1.8em;
  color: white;
  margin-top: 20px;
}
main .terms p {
  color: #9e9e9e;
  font-size: 1em;
  line-height: 1.6;
  margin-top: 10px;
}
main .terms ul {
  padding-left: 20px;
}
main .terms ul li {
  margin-bottom: 10px;
  color: #9e9e9e;
}
main .terms ul li::marker {
  color: #e76969;
}

@media (max-width: 547px) {
  header .header-content h1 {
    font-size: 2.8em;
  }
}
@media (max-width: 400px) {
  header .header-content h1 {
    font-size: 2.3em;
  }
}
@media (max-width: 340px) {
  header .header-content h1 {
    font-size: 2em;
  }
}
footer {
  background: #303030; /* Use section color */
  color: #ffffff; /* White text color */
  padding: 10px 0; /* Vertical padding */
  position: relative; /* Relative positioning */
  bottom: 0; /* Align to bottom */
  width: 100%; /* Full width */
  text-align: center; /* Center the text */
}
footer p {
  margin: 0;
  margin-bottom: 10px;
  color: #9e9e9e;
  font-size: 18px;
}
footer a {
  white-space: nowrap; /* Prevent text from wrapping to the next line */
  color: white; /* Link color */
  margin: 0 3px; /* Horizontal spacing between links */
  text-decoration: none; /* Remove underline */
  position: relative; /* Position relative to allow for absolute positioning of pseudo-element */
}
footer a:hover {
  text-decoration: none; /* Ensure no underline on hover */
}
footer a::after {
  content: ""; /* Create an empty content for the pseudo-element */
  display: block; /* Make it a block-level element */
  height: 2px; /* Height of the line */
  background: #e76969; /* Color of the line */
  position: absolute; /* Position it absolutely */
  left: 50%; /* Start from the middle of the link */
  bottom: -3px; /* Position below the link */
  width: 0; /* Start with a width of 0 */
  transition: width 0.4s ease, left 0.4s ease; /* Animate the width and position */
}
footer a:hover::after {
  width: 100%; /* Expand to full width on hover */
  left: 0; /* Move to the left */
}/*# sourceMappingURL=terms-of-service.css.map */