/* --------- Theme tokens --------- */
:root{
  --bv-bg: #141213;
  --bv-card: #1a1a1a;
  --bv-text: #e0e0e0;
  --bv-muted: #a8a8a8;
  --bv-accent: #F58000;
  --bv-accent-700: #d66800;
  --bv-link: #00aaff;
}

/* --------- Base --------- */
html { scroll-behavior: smooth; }
body {
  font-family: Inter, Arial, sans-serif;
  background-color: var(--bv-bg);
  color: var(--bv-text);
}

/* Links */
a { color: var(--bv-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Headings */
h1, h2 { font-weight: 600; margin-bottom: 20px; color: #fff; }
h1 { font-size: 2.5rem; margin-bottom: 30px; }
h2 { font-size: 1.75rem; margin-top: 40px; }
h1, h2, h3, p { text-align: center; }

/* Navbar (glassy) */
.navbar { backdrop-filter: blur(10px); background-color: rgba(0, 0, 0, 0.6); }
.navbar-dark .navbar-nav .nav-link { color: var(--bv-text); }
.navbar-brand img { height: 40px; width: auto; opacity: .9; }

/* Hero */
#hero {
  height: 100vh;
  background: url('../images/Background.png') no-repeat center center/cover;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  padding-top: 4rem; /* account for fixed navbar */
}
.hero .logo {
  max-width: 240px;
  width: 70%;
  margin: -120px auto 20px;
  filter: drop-shadow(0 12px 40px rgba(245,128,0,.25));
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.25rem);
  color: #fff;
  margin-bottom: .5rem;
}
.hero p {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--bv-muted);
  max-width: 820px;
  margin: 0 auto 1rem;
}

/* Scroll affordance */
.scroll-down {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  cursor: pointer; animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}
.scroll-down svg { width: 40px; height: 40px; fill: var(--bv-accent-700); }

/* Sections */
.section { padding: 4rem 0; background-color: var(--bv-bg); }
.text-start { text-align: center; } /* keep your original choice */

/* Buttons */
.btn-custom {
  background-color: var(--bv-accent);
  border-color: var(--bv-accent);
  color: #0b0b0b;
  font-weight: 600;
}
.btn-custom:hover {
  background-color: var(--bv-accent-700);
  border-color: var(--bv-accent-700);
  color: #0b0b0b;
}
.btn-invite {
  background-color: var(--bv-accent);
  border-color: var(--bv-accent);
  color: #fff;
  border: none;
  margin: 0 5px;
}
.btn-container {
  display: flex; justify-content: center; gap: .5rem; margin-top: 20px;
}

/* Cards (modernized) */
.card {
  background-color: var(--bv-card);
  color: var(--bv-text);
  height: 100%;
}
.card-header {
  font-size: 1.1rem;
  background-color: #171616;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Modern plan style */
.plan {
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
}
.plan:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.plan .card-title small { color: var(--bv-muted); }

/* Pricing features list */
.feature-list { text-align: left; margin: 0; padding: 0; list-style: none; }
.feature-list li {
  display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .5rem;
}
.feature-list li::before {
  content: "✓"; color: var(--bv-accent); font-weight: 700; margin-top: .1rem;
}

/* Footer */
footer {
  background-color: var(--bv-bg);
  color: #fff;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
footer a { color: var(--bv-accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plan, .scroll-down { transition: none; animation: none; }
}


/* --- Server Info --- */
.server-card {
  background-color: var(--bv-card);
  color: var(--bv-text);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
  height: 100%;
}
.server-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.server-card .card-header {
  background-color: #171616;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge-online {
  background-color: #1f8b4c; /* calm green */
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.badge-offline {
  background-color: #a33131;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.server-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1rem;
}
@media (max-width: 576px) {
  .server-meta { grid-template-columns: 1fr; }
}
.meta-label { color: var(--bv-muted); font-size: .9rem; }
.meta-value { font-weight: 600; }
.stat-pill {
  display: inline-block;
  padding: .35rem .6rem;
  border-radius: 999px;
  background-color: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .9rem;
}
.copy-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--bv-text);
  padding: .4rem .65rem;
  border-radius: .5rem;
}
.copy-btn:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}

/* --- Navbar link cleanup --- */
.navbar .nav-link {
  text-decoration: none !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  text-decoration: none !important;
  color: var(--bv-accent) !important; /* optional: give a nice hover color */
}

.navbar .btn-custom {
  text-decoration: none !important;
}

/* Optional: make all footer & navbar links non-underlined globally */
a,
a:hover,
a:focus {
  text-decoration: none !important;
}

.navbar .nav-link:hover {
  color: #ff9d33 !important; /* lighter accent on hover */
  transition: color 0.2s ease-in-out;
}
