body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: #1b0b20;
  color: #ffffff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
}

p {
  opacity: 0.85;
}

a {
  color: inherit;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  background: rgba(38, 13, 46, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 0, 234, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.tos-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tos-header h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.3rem;
}

.tos-header .updated-date {
  font-size: 1.2rem;
  opacity: 0.8;
}

.faq-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-item h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.faq-item p {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
}

.faq-item a {
  color: #6aa8ff;
  font-weight: 600;
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.logo {
  height: 44px;
  width: 44px;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(255, 0, 179, 0.6);
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #bfdbfe;
  background: rgb(77, 17, 64);
  box-shadow: 0 0 14px rgba(255, 0, 221, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #020617;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.mobile-nav a {
  padding: 12px 24px;
  text-decoration: none;
  color: #e5e7eb;
  border-top: 1px solid rgba(15, 23, 42, 0.8);
  font-size: 15px;
}

.mobile-nav a.active {
  background: rgba(37, 99, 235, 0.2);
}

.hero {
  position: relative;
  padding: 80px 24px 120px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.glow-text {
  font-size: 64px;
  margin: 0 0 12px;
  background: linear-gradient(90deg, #ba47e1, #e38fff);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.6);
}

.two-color {
  background: linear-gradient(90deg, #ba47e1, #e38fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-text.small {
  font-size: 40px;
}

.hero-subtitle {
  font-size: 17px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: #bfdbfe;
}

.stat-label {
  font-size: 13px;
  color: #9ca3af;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 320px;
  border-radius: 18px;
  background: radial-gradient(circle at top, #ba47e1, #1b0b20);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
    0 0 30px rgba(195, 0, 255, 0.5),
    0 0 60px rgb(243, 148, 255);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(38, 13, 46, 0.9);
}

.hero-card-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot.red {
  background: #f87171;
}

.dot.yellow {
  background: #facc15;
}

.dot.green {
  background: #4ade80;
}

.hero-card-body {
  padding: 18px 16px 20px;
}

.track {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.track-info {
  display: flex;
  flex-direction: column;
}

.track-title {
  font-size: 11px;
  text-transform: uppercase;
  color: #9ca3af;
}

.track-name {
  font-size: 14px;
}

.track-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
}

.track-bars span {
  width: 3px;
  border-radius: 999px;
  background: #60a5fa;
  animation: equalize 1.2s infinite ease-in-out;
}

.track-bars span:nth-child(2) {
  animation-delay: 0.15s;
}

.track-bars span:nth-child(3) {
  animation-delay: 0.3s;
}

.track-bars span:nth-child(4) {
  animation-delay: 0.45s;
}

.track-bars span:nth-child(5) {
  animation-delay: 0.6s;
}

@keyframes equalize {

  0%,
  100% {
    height: 4px;
  }

  50% {
    height: 18px;
  }
}

.track-progress {
  margin-top: 18px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #020617;
  overflow: hidden;
}

.progress-fill {
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, #ba47e1, #e38fff);
  border-radius: 999px;
}

.progress-time {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 6px;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.ctrl-btn {
  background: #26112e;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}

.ctrl-btn.small {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.ctrl-btn.main {
  width: 44px;
  height: 44px;
  font-size: 16px;
  background: linear-gradient(90deg, #ba47e1, #d147ff);
}

.ctrl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(195, 0, 255, 0.6);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  outline: none;
  transition: 0.25s;
}

.btn.primary {
  background: linear-gradient(90deg, #ba47e1, #e38fff);
  color: #f9fafb;
  box-shadow:
    0 0 18px rgba(195, 0, 255, 0.5),
    0 0 32px rgba(243, 148, 255);
}

.btn.primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 0 22px rgba(255, 0, 191, 0.5),
    0 0 36px rgba(243, 148, 255);
}

.btn.ghost {
  background: rgba(38, 13, 46, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn.ghost:hover {
  border-color: #e100ff;
  box-shadow: 0 0 14px rgba(195, 0, 255, 0.5);
}

.section-wave {
  width: 100%;
  height: 80px;
  display: block;
}

.section-wave path {
  fill: #020617;
}

.section-wave.top {
  transform: rotate(180deg);
}

.features,
.invite,
.commands-section,
.faq,
.contact,
.status-cards,
.uptime,
.external-status {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.features h2,
.invite h2,
.faq h2,
.contact h2,
.uptime h2,
.external-status h2 {
  margin-bottom: 8px;
}

.section-subtitle,
.page-subtitle {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card,
.status-card {
  background: radial-gradient(circle at top left, #ba47e1, #1b0b20);
  border-radius: 16px;
  padding: 22px 20px;
  position: relative;
}

.better-card {
  background: rgba(49, 20, 63, 0.9);
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid rgba(46, 21, 51, 0.4);
  margin-top: 14px;
}

.border-animated::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 0, 221, 0.4);
  background: none;
  opacity: 1;
  transition: 0.25s;
  z-index: -1;
}

.border-animated:hover::before {
  border: 1px solid rgba(148, 163, 184, 0.4);
  opacity: 1;
}

.border-animated:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}

.card h3,
.status-card h3 {
  margin-top: 0;
}

.command-category {
  margin-bottom: 40px;
}

.command-category h2 {
  margin-bottom: 8px;
}

.command span {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.command:hover {
  transform: translateX(4px);
}

.command-search {
  margin-bottom: 24px;
}

#commandSearch {
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgb(38, 13, 46, 0.9);
  color: #e5e7eb;
  outline: none;
}

#commandSearch:focus {
  border-color: #e100ff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.6);
}

.faq-item {
  background: linear-gradient(135deg, #6c2b80, #1b0b20);
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 0, 221, 0.4);
  margin-top: 14px;
}

footer {
  margin-top: 60px;
  background: #1b0b20;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  color: #9ca3af;
  font-family: 'Inter', sans-serif;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 12px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 24px;
  align-items: flex-start;
}

.footer-logo {
  margin-top: 12px !important;
  height: 34px;
  width: 34px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.footer-contact-icons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-contact-icons a {
  color: #9ca3af;
  font-size: 18px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact-icons a:hover {
  color: #bfdbfe;
  transform: scale(1.1);
}

.footer-contact-icons i {
  display: inline-block;
  line-height: 1;
}


.footer-brand {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-text {
  font-size: 13px;
  line-height: 1.4;
  color: #9ca3af;
}

.footer-contact-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-contact-icons a {
  color: #9ca3af;
  font-size: 16px;
  transition: color 0.2s ease;
}

.footer-contact-icons a:hover {
  color: #bfdbfe;
}

.footer-links h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.footer-links a {
  display: block;
  font-size: 13px;
  text-decoration: none;
  color: #9ca3af;
  margin-top: 4px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #bfdbfe;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  padding: 8px 0 16px;
  color: #6b7280;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 24px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.9s forwards;
}

.fade-in.delay {
  animation-delay: 0.3s;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.feature-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
  transition: transform 0.3s ease;
}

.card:hover .feature-img {
  transform: scale(1.08);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes up {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-stats {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: row;
    gap: 16px;
  }
}