:root {
  --primary-gradient: linear-gradient(90deg, #3a86ff 0%, #1c3de9 100%);
  --btn-gradient: linear-gradient(90deg, #3a86ff 0%, #1c3de9 100%);
  --bg-dark: #151016;
  --bg-dot: rgba(58, 134, 255, 0.08);
  --text-main: #fff; 
  --text-muted: #b0aeb4;
  --accent: #3a86ff;
  --accent-dark: #1c3de9;
  --rounded-pill: 30px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

/* === Navbar & Logo === */
.navbarold {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px 0 32px;
  z-index: 2;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px; 
  flex-wrap: wrap; 
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.logo-text {
  line-height: 1;
}

.logo-text .bot {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.logo-text .market {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

/* === Navigation Links === */
.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  background: #22192a60;
  border-radius: var(--rounded-pill);
  padding: 6px 30px;
}

.no-bullet {
  list-style-type: none; /* removes bullet */
  padding-left: 0; /* remove indent */
}


.nav-links li a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.nav-links li a:hover {
  background: var(--accent);
  color: #fff;
}

.nav-links li a.active {
  background: var(--accent);
  color: #fff;
  pointer-events: none;
}

/* === Buttons === */


.order-btn {
  background: var(--btn-gradient);
  color: #fff;
  padding: 9px 34px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.08rem;
  box-shadow: var(--shadow);
  transition: transform 0.09s, box-shadow 0.2s;
  margin-left: 12px;
}
.order-btn:hover {
  transform: translateY(12px) scale(1.05);
  box-shadow: 0 6px 25px rgba(58, 134, 255, 0.18);
}

.get-started {
  background: var(--btn-gradient);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 46px;
  font-size: 1.07rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 0.2s, transform 0.15s;
}
.get-started:hover {
  filter: brightness(1.1);
  transform: translateY(-2px) scale(1.04);
}

.place-order {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 8px;
  padding: 14px 46px;
  font-size: 1.07rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-left: 8px;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.place-order:hover {
  background: #fff;
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* === Hero Section === */
.hero-section {
  position: relative;
  width: 100vw;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 70px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 10px 0 18px 0;
  color: #fff;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 38px;
  font-weight: 500;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}

/* === Background Dots === */
.bg-dots {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 110vw;
  height: 110vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(28, 61, 233, 0.18) 0%, rgba(21,16,22,1) 80%);
  mask-image: repeating-radial-gradient(#000 1px, transparent 4px);
  opacity: 0.7;
}

/* === Page Title === */
.page-title {
  text-align: center;
  font-size: 2.8rem;
  margin-top: 40px;
  color: #fff;
  letter-spacing: 1px;
}

/* === Main Container === */
#content {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === Thread Block === */
.thread {
  background: #1e1624;
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* === Thread Title === */
.thread h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: var(--accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
  margin-bottom: 14px;
}

/* === Message Block === */
.message {
  background: #2a1d38;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 10px;
  border-left: 4px solid var(--accent-dark);
}

.username {
  font-weight: bold;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.raw {
  white-space: pre-wrap;
  font-size: 1rem;
  line-height: 1.5;
}

/* === Error / Loading Message === */
#content:empty::after {
  content: "Loading...";
  color: var(--text-muted);
  font-size: 1.2rem;
  text-align: center;
  display: block;
  padding: 40px;
}

/* === Responsive Design === */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 10px 0 10px;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .hero-section {
    min-height: 50vh;
  }
  .nav-links {
    gap: 9px;
    padding: 6px 14px;
  }
  .order-btn {
    padding: 8px 18px;
    font-size: 1rem;
  }
  .get-started, .place-order {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
    padding: 0 10px;
  }

  .thread {
    padding: 16px;
  }

  .thread h2 {
    font-size: 1.3rem;
  }

  .raw {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.3rem;
  }
  .navbar {
    flex-direction: column;
    gap: 6px;
    padding: 8px 2vw 0 2vw;
  }
  .hero-content p {
    font-size: 1rem;
  }
}
