/* NebrelBot shared site styles + cookie banner */
:root {
  --bg: #121215;
  --surface: #1b1b20;
  --deep: #030712;
  --text: #fafafa;
  --muted: #a3a3a3;
  --accent: #5865f2;
}

body.legal-page {
  font-family: "Lexend Deca", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal-wrap h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 1.5rem;
  line-height: 1.15;
}

.legal-wrap h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.legal-wrap ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.legal-wrap a {
  color: var(--accent);
  text-decoration: none;
}

.legal-wrap a:hover {
  text-decoration: underline;
}

.legal-note {
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.legal-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1100px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(27, 27, 32, 0.5);
  border-radius: 8px;
  z-index: 50;
}

.legal-nav a.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.legal-nav img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
}

.legal-nav .back {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Cookie banner — base styles; cookies.js also injects self-contained styles for pages without this file */
#nebrel-cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  max-width: 440px;
  margin: 0 auto;
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  color: #fafafa;
  font-family: "Lexend Deca", system-ui, sans-serif;
  display: none;
}

#nebrel-cookie-banner.is-open {
  display: block;
}

#nebrel-cookie-banner h2 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fafafa;
}

#nebrel-cookie-banner p {
  margin: 0 0 0.9rem;
  color: #a3a3a3;
  font-size: 0.8125rem;
  line-height: 1.5;
}

#nebrel-cookie-banner a {
  color: #5865f2;
  text-decoration: none;
}

#nebrel-cookie-banner a:hover {
  text-decoration: underline;
}

#nebrel-cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#nebrel-cookie-banner button {
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.2;
}

#nebrel-cookie-banner .btn-accept {
  background: #5865f2;
  color: #fff;
}

#nebrel-cookie-banner .btn-accept:hover {
  background: #4752c4;
}

#nebrel-cookie-banner .btn-essential {
  background: rgba(255, 255, 255, 0.06);
  color: #fafafa;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#nebrel-cookie-banner .btn-essential:hover {
  background: rgba(255, 255, 255, 0.1);
}

#nebrel-cookie-banner .btn-link {
  background: transparent;
  color: #a3a3a3;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#nebrel-cookie-banner .btn-link:hover {
  color: #fff;
}

#nebrel-cookie-settings {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9998;
  background: #1b1b20;
  color: #a3a3a3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  display: none;
  font-family: "Lexend Deca", system-ui, sans-serif;
}

#nebrel-cookie-settings.is-visible {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

#nebrel-cookie-settings:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}
