/** @format */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background-color: #222;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}

html,
body {
  font-family: "Poppins", sans-serif;
  height: 100%;
  background-color: #000000;
  color: #fff;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.navbar .logo {
  font-size: 28px;
  font-weight: 700;
  color: #8a2be2;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.navbar .logo img {
  width: 150px;
  height: auto;
}

.navbar .logo:hover {
  transform: scale(1.1);
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.navbar ul li a:hover {
  color: #8a2be2;
  transform: scale(1.1);
}

.navbar .logo {
  font-size: 28px;
  font-weight: 700;
  color: #8a2be2;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.navbar ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
  width: 100%;
}

.tos-section {
  max-width: 1000px;
  margin: 120px auto 0;
  padding: 40px 20px;
  background-color: #000000;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.container {
  width: 100%;
  padding: 0 20px;
}

h2 {
  font-size: 36px;
  color: #8a2be2;
  margin-bottom: 20px;
  font-weight: 700;
}

h3 {
  font-size: 24px;
  color: #fff;
  margin-top: 20px;
}

p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.8;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
}

ul li {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ccc;
}

.collapsible-content {
  display: block;
  max-height: 0;
  padding: 0 10px;
  margin-top: 5px;
  background-color: #000000;
  border-left: 3px solid #ccc;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.collapsible-content.expanded {
  padding: 10px;
}

.collapsible-btn {
  background-color: #000000;
  color: #999999;
  padding: 10px;
  border: 1px solid #505050;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
}

.collapsible-btn:hover {
  background-color: #333333;
}

.arrow {
  margin-right: 10px;
}

.cta-btn-container {
  text-align: center;
  margin-top: 30px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(45deg, #8a2be2, #5a1a9e);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(138, 43, 226, 0.3);
}

.cta-btn:hover {
  background: linear-gradient(45deg, #5a1a9e, #8a2be2);
  transform: scale(1.05);
}

.footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 30px;
  margin-top: 40px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.footer p {
  font-size: 16px;
  opacity: 0.8;
}

.terms-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.5s ease-out;
}

.popup-content {
  background: linear-gradient(145deg, #000000, #000000);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  color: #fff;
  width: 350px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-out;
}

.popup-content h2 {
  font-size: 18px;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
}

.popup-buttons button {
  background: linear-gradient(145deg, #000000, #2d0038);
  color: white;
  padding: 12px 30px;
  margin: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: "Roboto", sans-serif;
}

.popup-buttons button:nth-child(2) {
  background: linear-gradient(145deg, #000000, #2d0038);
}

.popup-buttons button:hover {
  transform: translateY(-1px);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .tos-section {
    padding: 30px 15px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  p,
  ul li {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .cta-btn {
    padding: 12px 28px;
    font-size: 16px;
  }
}
