* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: #070707;
  color: #fff;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 18%, rgba(220, 0, 35, .34), transparent 31%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .07), transparent 24%),
    linear-gradient(rgba(7,7,7,.84), rgba(7,7,7,.97)),
    url("assets/auto-exotic.png");
  background-size: cover;
  background-position: center;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .55;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  padding: 14px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,8,8,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand { display: flex; align-items: center; gap: 13px; }

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.brand strong { display: block; font-size: 19px; }
.brand span { color: #aaa; font-size: 13px; }

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-links a {
  color: #d8d8d8;
  padding: 11px 13px;
  border-radius: 999px;
  font-size: 14px;
  transition: .18s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(217,0,25,.16);
  color: #fff;
}

.nav-red {
  background: #d90019;
  color: #fff !important;
  font-weight: 900;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
}

.hero {
  min-height: calc(100vh - 78px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 105px 22px 64px;
  text-align: center;
}

.hero-badge,
.section-head p,
.red-label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(217,0,25,.16);
  border: 1px solid rgba(217,0,25,.38);
  color: #ff4358;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(46px, 8vw, 92px);
  line-height: .92;
  letter-spacing: -3.5px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 780px;
  margin: 0 auto;
  color: #cfcfcf;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn,
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.13);
}

.btn-red {
  background: #d90019;
  border-color: #d90019;
  color: #fff;
  box-shadow: 0 14px 34px rgba(217,0,25,.24);
}

.btn-dark { background: #171717; }
.btn-ghost { background: rgba(255,255,255,.06); }
.full { width: 100%; margin-top: 18px; }

.server-panel {
  margin: 66px auto 0;
  max-width: 950px;
  background: rgba(13,13,13,.88);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 20px;
  text-align: left;
}

.server-info {
  display: flex;
  align-items: center;
  gap: 13px;
}

.online-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #27e16d;
  box-shadow: 0 0 20px #27e16d;
}

.server-info b { display: block; font-size: 19px; }
.server-info small { color: #999; }

.server-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.server-stats div {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 14px;
  text-align: center;
}

.server-stats b {
  display: block;
  font-size: 24px;
}

.server-stats span {
  color: #aaa;
  font-size: 13px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 22px;
}

.dark-section {
  max-width: none;
  background: rgba(0,0,0,.38);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.dark-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  text-align: center;
  margin-bottom: 35px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -1.6px;
  margin-bottom: 10px;
}

.section-head span,
.support-box span {
  color: #aaa;
  line-height: 1.5;
}

.timeline {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: start;
}

.version {
  background: #d90019;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  font-weight: 900;
}

.timeline-card,
.rule-content,
.app-card,
.donation-card,
.staff-card,
.support-box {
  background: rgba(15,15,15,.9);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 24px;
}

.timeline-card h3 { margin-bottom: 12px; }
.timeline-card ul,
.rules-list,
.donation-card ul {
  padding-left: 20px;
  color: #d8d8d8;
  line-height: 2;
}

.rules-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.rule-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rule-tab {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(15,15,15,.88);
  color: #e8e8e8;
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.rule-tab.active {
  background: #d90019;
  color: #fff;
}

.rules-list { display: none; }
.rules-list.active { display: block; }

.app-grid,
.donation-grid,
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.app-card,
.staff-card {
  text-align: center;
}

.app-icon,
.staff-avatar {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #d90019, #560009);
  font-size: 30px;
  font-weight: 900;
}

.app-card h3,
.donation-card h3,
.staff-card h3 {
  font-size: 22px;
  margin-bottom: 9px;
}

.app-card p,
.staff-card p {
  color: #bbb;
  line-height: 1.5;
  margin-bottom: 18px;
}

.mini-btn {
  min-height: 40px;
  padding: 10px 18px;
  background: rgba(217,0,25,.16);
  border-color: rgba(217,0,25,.30);
  color: #ff5265;
}

.donation-card {
  position: relative;
}

.donation-card.popular {
  border-color: rgba(217,0,25,.55);
  box-shadow: 0 20px 50px rgba(217,0,25,.14);
  transform: translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: #d90019;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 900;
  font-size: 12px;
}

.price-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 18px;
}

.price-top b {
  font-size: 28px;
  color: #ff4358;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-card {
  min-height: 230px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.08);
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
}

.gallery-card span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-weight: 900;
  z-index: 2;
}

.g1 { background-image: url("assets/auto-exotic.png"); }
.g2 { background-image: url("assets/byen-om-aftenen.png"); background-position: center; }
.g3 { background-image: url("assets/politi-patrulje.png"); background-position: center; }
.g4 { background-image: url("assets/akut-beredskab.png"); background-position: center; }

.support-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.support-box h2 {
  font-size: 38px;
  margin-bottom: 8px;
}

.support-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer {
  padding: 44px 6vw;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr;
  gap: 28px;
}

.footer h3,
.footer h4 { margin-bottom: 12px; }

.footer p,
.footer a {
  display: block;
  color: #9e9e9e;
  margin-bottom: 9px;
}

@media (max-width: 950px) {
  .menu-btn { display: block; }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8,8,8,.98);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 14px 6vw 20px;
  }

  .nav-links.open { display: flex; }

  .nav-links a { border-radius: 14px; }

  .server-panel,
  .rules-layout,
  .timeline-item,
  .footer {
    grid-template-columns: 1fr;
  }

  .server-stats,
  .app-grid,
  .donation-grid,
  .staff-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero { padding-top: 82px; }
  .hero p { font-size: 17px; }

  .donation-card.popular {
    transform: none;
  }

  .support-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-actions,
  .support-actions .btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .brand span { display: none; }

  .server-stats,
  .app-grid,
  .donation-grid,
  .staff-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 64px 16px;
  }
}


/* V10 ekstra features */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: rgba(15,15,15,.9);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  color: #fff;
  border: 0;
  padding: 20px 22px;
  text-align: left;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-question::after {
  content: "+";
  color: #ff4358;
  font-size: 22px;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: #bbb;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.cookie-banner {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: 980px;
  margin: 0 auto;
  background: rgba(10,10,10,.96);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  backdrop-filter: blur(16px);
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner b {
  display: block;
  margin-bottom: 5px;
}

.cookie-banner p {
  color: #aaa;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: #d90019;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.cookie-btn.ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: #d90019;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(217,0,25,.35);
}

.chatbot {
  position: fixed;
  right: 24px;
  bottom: 98px;
  z-index: 75;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: rgba(10,10,10,.97);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  overflow: hidden;
  display: none;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  backdrop-filter: blur(16px);
}

.chatbot.open {
  display: block;
}

.chat-head {
  padding: 16px;
  background: linear-gradient(135deg, #d90019, #6b000c);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-head b {
  display: block;
}

.chat-head span {
  color: rgba(255,255,255,.75);
  font-size: 12px;
}

.chat-head button {
  background: rgba(255,255,255,.12);
  border: 0;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.chat-messages {
  height: 280px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bot-msg,
.user-msg {
  max-width: 86%;
  padding: 12px 13px;
  border-radius: 16px;
  line-height: 1.45;
  font-size: 14px;
}

.bot-msg {
  background: rgba(255,255,255,.07);
  color: #e8e8e8;
  align-self: flex-start;
}

.user-msg {
  background: #d90019;
  color: #fff;
  align-self: flex-end;
}

.quick-chat {
  padding: 0 16px 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-chat button {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 12px;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.chat-form input {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 12px 14px;
  color: #fff;
  outline: none;
}

.chat-form button {
  border: 0;
  background: #d90019;
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 0 16px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions,
  .cookie-btn {
    width: 100%;
  }

  .chatbot {
    right: 16px;
    bottom: 88px;
  }

  .chat-toggle {
    right: 16px;
    bottom: 16px;
  }
}

.g5 { background-image: url("assets/beredskab-samling.png"); background-position: center; }


/* V13 chatbot section highlight */
.section-highlight {
  outline: 2px solid rgba(217,0,25,.75);
  box-shadow: 0 0 45px rgba(217,0,25,.35);
  transition: .25s;
}


/* V16 ansøgnings-status, events og regelsøgning */
.rules-search {
  max-width: 980px;
  margin: 0 auto 18px;
  display: grid;
  gap: 8px;
}

.rules-search input {
  width: 100%;
  background: rgba(15,15,15,.9);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 16px 18px;
  color: #fff;
  font-weight: 700;
  outline: none;
}

.rules-search input:focus {
  border-color: rgba(217,0,25,.65);
  box-shadow: 0 0 0 4px rgba(217,0,25,.14);
}

.rules-search span {
  color: #aaa;
  font-size: 13px;
  padding-left: 8px;
}

.rule-highlight {
  background: rgba(217,0,25,.22);
  border-radius: 8px;
  padding: 2px 4px;
}

.no-rules-found {
  color: #ff5367;
  font-weight: 900;
  padding: 18px;
  background: rgba(217,0,25,.10);
  border: 1px solid rgba(217,0,25,.20);
  border-radius: 16px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 9px;
}

.card-top h3 {
  margin-bottom: 0;
  text-align: left;
}

.status {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.status.open {
  background: rgba(39,225,109,.14);
  color: #37f07c;
  border: 1px solid rgba(39,225,109,.28);
}

.status.closed {
  background: rgba(255,67,88,.14);
  color: #ff5367;
  border: 1px solid rgba(255,67,88,.28);
}

.events-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.event-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: center;
  background: rgba(15,15,15,.9);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 22px;
}

.event-date {
  background: linear-gradient(135deg, #d90019, #5c000b);
  border-radius: 20px;
  padding: 18px 14px;
  text-align: center;
}

.event-date b {
  display: block;
  font-size: 18px;
}

.event-date span {
  color: rgba(255,255,255,.78);
  font-weight: 900;
}

.event-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.event-card p {
  color: #bbb;
  line-height: 1.5;
}

@media (max-width: 650px) {
  .event-card {
    grid-template-columns: 1fr;
  }

  .card-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-top h3 {
    text-align: center;
  }
}


/* V17 lys/mørk tema */
.theme-toggle {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: #fff;
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: 900;
  cursor: pointer;
  margin-left: auto;
  margin-right: 12px;
}

body.light-mode {
  background: #f3f3f3;
  color: #101010;
}

body.light-mode .page-bg {
  background:
    radial-gradient(circle at 50% 18%, rgba(217, 0, 25, .12), transparent 31%),
    radial-gradient(circle at 90% 10%, rgba(0, 0, 0, .06), transparent 24%),
    linear-gradient(rgba(245,245,245,.88), rgba(245,245,245,.96)),
    url("assets/auto-exotic.png");
  background-size: cover;
  background-position: center;
}

body.light-mode .navbar {
  background: rgba(255,255,255,.88);
  border-bottom-color: rgba(0,0,0,.08);
}

body.light-mode .brand strong,
body.light-mode .hero h1,
body.light-mode .section-head h2,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode .server-info b,
body.light-mode .server-stats b,
body.light-mode .price-top b {
  color: #111;
}

body.light-mode .brand span,
body.light-mode .hero p,
body.light-mode .section-head span,
body.light-mode .server-info small,
body.light-mode .server-stats span,
body.light-mode .timeline-card ul,
body.light-mode .rules-list,
body.light-mode .donation-card ul,
body.light-mode .app-card p,
body.light-mode .staff-card p,
body.light-mode .event-card p,
body.light-mode .support-box span,
body.light-mode .footer p,
body.light-mode .footer a,
body.light-mode .faq-answer {
  color: #555;
}

body.light-mode .nav-links a {
  color: #222;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
  background: rgba(217,0,25,.12);
  color: #111;
}

body.light-mode .theme-toggle {
  background: rgba(0,0,0,.06);
  color: #111;
  border-color: rgba(0,0,0,.10);
}

body.light-mode .menu-btn {
  color: #111;
}

body.light-mode .server-panel,
body.light-mode .timeline-card,
body.light-mode .rule-content,
body.light-mode .app-card,
body.light-mode .donation-card,
body.light-mode .staff-card,
body.light-mode .support-box,
body.light-mode .faq-item,
body.light-mode .event-card,
body.light-mode .rule-tab,
body.light-mode .news-card,
body.light-mode .partner-card {
  background: rgba(255,255,255,.90);
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 20px 55px rgba(0,0,0,.08);
}

body.light-mode .dark-section {
  background: rgba(255,255,255,.48);
  border-top-color: rgba(0,0,0,.08);
  border-bottom-color: rgba(0,0,0,.08);
}

body.light-mode .server-stats div,
body.light-mode .btn-dark,
body.light-mode .btn-ghost {
  background: rgba(0,0,0,.06);
  color: #111;
  border-color: rgba(0,0,0,.10);
}

body.light-mode .rules-search input,
body.light-mode .chat-form input {
  background: rgba(255,255,255,.92);
  color: #111;
  border-color: rgba(0,0,0,.10);
}

body.light-mode .rules-search span {
  color: #555;
}

body.light-mode .footer {
  background: #eeeeee;
  border-top-color: rgba(0,0,0,.08);
}

body.light-mode .cookie-banner,
body.light-mode .chatbot {
  background: rgba(255,255,255,.96);
  color: #111;
  border-color: rgba(0,0,0,.10);
}

body.light-mode .bot-msg {
  background: rgba(0,0,0,.07);
  color: #111;
}

body.light-mode .quick-chat button {
  background: rgba(0,0,0,.06);
  color: #111;
  border-color: rgba(0,0,0,.10);
}

body.light-mode .cookie-banner p {
  color: #555;
}

@media (max-width: 950px) {
  body.light-mode .nav-links {
    background: rgba(255,255,255,.98);
    border-bottom-color: rgba(0,0,0,.08);
  }
}

@media (max-width: 620px) {
  .theme-toggle {
    font-size: 0;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .theme-toggle::first-letter {
    font-size: 18px;
  }
}


/* V18 synlig tema-knap */
.theme-toggle.theme-floating {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 120;
  border: 1px solid rgba(255,255,255,.18);
  background: #d90019;
  color: #fff;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(217,0,25,.35);
  margin: 0;
  font-size: 14px;
}

body.light-mode .theme-toggle.theme-floating {
  background: #111;
  color: #fff;
  border-color: rgba(0,0,0,.18);
}

@media (max-width: 620px) {
  .theme-toggle.theme-floating {
    left: 16px;
    bottom: 16px;
    width: auto;
    height: auto;
    padding: 12px 15px;
    font-size: 13px;
  }

  .theme-toggle.theme-floating::first-letter {
    font-size: inherit;
  }
}


/* V19 announcement bar */
.announcement-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(90deg, #d90019, #7a000d);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 35px rgba(217,0,25,.22);
}

.announcement-bar.hide {
  display: none;
}

.announcement-inner {
  min-height: 42px;
  padding: 8px 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.announcement-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,.95);
  flex: 0 0 auto;
}

.announcement-inner p {
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  text-align: center;
}

.announcement-inner a {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.16);
  flex: 0 0 auto;
}

.announcement-inner button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.24);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}

body.light-mode .announcement-bar {
  background: linear-gradient(90deg, #d90019, #b00016);
}

@media (max-width: 700px) {
  .announcement-inner {
    padding: 9px 14px;
    justify-content: flex-start;
  }

  .announcement-inner p {
    font-size: 12px;
    text-align: left;
  }

  .announcement-inner a {
    display: none;
  }
}


/* V20 lysrød stil */
body.light-mode {
  background: #fff2f4;
  color: #38161b;
}

body.light-mode .page-bg {
  background:
    radial-gradient(circle at 50% 18%, rgba(217, 0, 25, .10), transparent 31%),
    radial-gradient(circle at 90% 10%, rgba(255, 160, 170, .26), transparent 24%),
    linear-gradient(rgba(255, 241, 244, .92), rgba(255, 236, 240, .97)),
    url("assets/auto-exotic.png");
  background-size: cover;
  background-position: center;
}

body.light-mode .page-bg::after {
  opacity: .22;
}

body.light-mode .navbar,
body.light-mode .announcement-bar {
  background: linear-gradient(90deg, rgba(255, 224, 229, .95), rgba(255, 210, 217, .95));
  border-bottom-color: rgba(190, 92, 110, .20);
}

body.light-mode .nav-links a,
body.light-mode .brand strong,
body.light-mode .brand span,
body.light-mode .menu-btn,
body.light-mode .hero h1,
body.light-mode .hero p,
body.light-mode .section-head h2,
body.light-mode .section-head span,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode .server-info b,
body.light-mode .server-info small,
body.light-mode .server-stats b,
body.light-mode .server-stats span,
body.light-mode .timeline-card ul,
body.light-mode .rules-list,
body.light-mode .app-card p,
body.light-mode .staff-card p,
body.light-mode .event-card p,
body.light-mode .support-box span,
body.light-mode .footer p,
body.light-mode .footer a,
body.light-mode .faq-answer,
body.light-mode .announcement-inner p,
body.light-mode .rules-search span,
body.light-mode .cookie-banner p,
body.light-mode .bot-msg {
  color: #5a2630;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
  background: rgba(217, 0, 25, .10);
  color: #8b1d31;
}

body.light-mode .hero-badge,
body.light-mode .section-head p,
body.light-mode .red-label,
body.light-mode .news-date,
body.light-mode .mini-btn,
body.light-mode .status.closed {
  background: rgba(255, 115, 141, .16);
  border-color: rgba(217, 0, 25, .18);
  color: #b61f39;
}

body.light-mode .server-panel,
body.light-mode .timeline-card,
body.light-mode .rule-content,
body.light-mode .app-card,
body.light-mode .donation-card,
body.light-mode .staff-card,
body.light-mode .support-box,
body.light-mode .faq-item,
body.light-mode .event-card,
body.light-mode .rule-tab,
body.light-mode .news-card,
body.light-mode .partner-card,
body.light-mode .chatbot,
body.light-mode .cookie-banner,
body.light-mode .rules-search input,
body.light-mode .server-stats div {
  background: rgba(255, 247, 248, .94);
  border-color: rgba(207, 126, 140, .22);
  box-shadow: 0 16px 42px rgba(180, 72, 94, .10);
}

body.light-mode .dark-section,
body.light-mode .footer {
  background: rgba(255, 229, 234, .70);
  border-color: rgba(207, 126, 140, .20);
}

body.light-mode .rule-tab.active,
body.light-mode .btn-red,
body.light-mode .nav-red,
body.light-mode .chat-form button,
body.light-mode .theme-toggle.theme-floating {
  background: linear-gradient(135deg, #ff6f8a, #ff8fa3);
  border-color: transparent;
  color: white !important;
  box-shadow: 0 14px 34px rgba(255, 111, 138, .24);
}

body.light-mode .btn-dark,
body.light-mode .btn-ghost,
body.light-mode .quick-chat button,
body.light-mode .cookie-btn.ghost {
  background: rgba(255, 220, 226, .9);
  color: #8b1d31;
  border-color: rgba(207, 126, 140, .22);
}

body.light-mode .price-top b,
body.light-mode .news-card a,
body.light-mode .status.open,
body.light-mode .rule-highlight {
  color: #c92345;
}

body.light-mode .status.open {
  background: rgba(255, 111, 138, .12);
  border-color: rgba(255, 111, 138, .18);
}

body.light-mode .rule-highlight {
  background: rgba(255, 111, 138, .18);
  padding: 2px 4px;
  border-radius: 8px;
}

body.light-mode .event-date,
body.light-mode .partner-logo,
body.light-mode .staff-avatar,
body.light-mode .app-icon,
body.light-mode .brand-logo {
  background: linear-gradient(135deg, #ff6f8a, #ff9db0);
  box-shadow: 0 14px 34px rgba(255, 111, 138, .22);
}

body.light-mode .announcement-inner a,
body.light-mode .announcement-inner button {
  background: rgba(255, 111, 138, .18);
  border: 1px solid rgba(255, 111, 138, .22);
  color: #8b1d31;
}

body.light-mode .announcement-dot,
body.light-mode .online-dot {
  background: #ff6f8a;
  box-shadow: 0 0 18px rgba(255, 111, 138, .65);
}


/* V21 rød/hvid stil */
body.light-mode {
  background: #fff5f5;
  color: #240507;
}

body.light-mode .page-bg {
  background:
    radial-gradient(circle at 50% 18%, rgba(210, 0, 20, .18), transparent 31%),
    radial-gradient(circle at 88% 12%, rgba(190, 0, 18, .16), transparent 26%),
    linear-gradient(rgba(255, 245, 245, .90), rgba(255, 238, 238, .98)),
    url("assets/auto-exotic.png");
  background-size: cover;
  background-position: center;
}

body.light-mode .navbar,
body.light-mode .announcement-bar {
  background: linear-gradient(90deg, #d90019, #a80012);
  border-bottom-color: rgba(120, 0, 10, .25);
}

body.light-mode .brand strong,
body.light-mode .brand span,
body.light-mode .nav-links a,
body.light-mode .menu-btn,
body.light-mode .announcement-inner p {
  color: #fff;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
  background: rgba(255,255,255,.16);
  color: #fff;
}

body.light-mode .hero-badge,
body.light-mode .section-head p,
body.light-mode .red-label,
body.light-mode .news-date,
body.light-mode .mini-btn {
  background: rgba(217, 0, 25, .12);
  border-color: rgba(217, 0, 25, .28);
  color: #d90019;
}

body.light-mode .server-panel,
body.light-mode .timeline-card,
body.light-mode .rule-content,
body.light-mode .app-card,
body.light-mode .donation-card,
body.light-mode .staff-card,
body.light-mode .support-box,
body.light-mode .faq-item,
body.light-mode .event-card,
body.light-mode .rule-tab,
body.light-mode .news-card,
body.light-mode .partner-card,
body.light-mode .chatbot,
body.light-mode .cookie-banner,
body.light-mode .rules-search input,
body.light-mode .server-stats div {
  background: rgba(255,255,255,.94);
  border-color: rgba(217, 0, 25, .16);
  box-shadow: 0 18px 48px rgba(120, 0, 10, .10);
}

body.light-mode .dark-section,
body.light-mode .footer {
  background: rgba(255, 232, 232, .85);
  border-color: rgba(217, 0, 25, .14);
}

body.light-mode .rule-tab.active,
body.light-mode .btn-red,
body.light-mode .nav-red,
body.light-mode .chat-form button,
body.light-mode .cookie-btn,
body.light-mode .theme-toggle.theme-floating {
  background: linear-gradient(135deg, #d90019, #a80012);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(217, 0, 25, .22);
}

body.light-mode .btn-dark,
body.light-mode .btn-ghost,
body.light-mode .quick-chat button,
body.light-mode .cookie-btn.ghost,
body.light-mode .announcement-inner a,
body.light-mode .announcement-inner button {
  background: rgba(217, 0, 25, .10);
  color: #8c0010;
  border-color: rgba(217, 0, 25, .18);
}

body.light-mode .price-top b,
body.light-mode .news-card a,
body.light-mode .status.open,
body.light-mode .rule-highlight {
  color: #d90019;
}

body.light-mode .status.open {
  background: rgba(217, 0, 25, .10);
  border-color: rgba(217, 0, 25, .20);
}

body.light-mode .status.closed {
  background: rgba(50, 50, 50, .08);
  border-color: rgba(50, 50, 50, .16);
  color: #333;
}

body.light-mode .event-date,
body.light-mode .partner-logo,
body.light-mode .staff-avatar,
body.light-mode .app-icon,
body.light-mode .brand-logo {
  background: linear-gradient(135deg, #d90019, #a80012);
  box-shadow: 0 14px 34px rgba(217, 0, 25, .22);
}

body.light-mode .announcement-dot,
body.light-mode .online-dot {
  background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,.95);
}


/* V22 screenshot-look / dark landingpage */
body {
  background: #050505;
}

.page-bg {
  background:
    radial-gradient(circle at 50% 10%, rgba(217, 0, 25, .22), transparent 26%),
    linear-gradient(rgba(4,4,4,.76), rgba(4,4,4,.90)),
    url("assets/auto-exotic.png");
  background-size: cover;
  background-position: center top;
}

.page-bg::after {
  background-image:
    linear-gradient(rgba(255,255,255,.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.030) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .42;
}

.announcement-bar {
  background: linear-gradient(90deg, #e00016, #92000f);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(217,0,25,.24);
}

.announcement-inner {
  min-height: 50px;
  gap: 16px;
}

.announcement-inner p {
  font-size: 15px;
  font-weight: 800;
}

.announcement-inner a {
  background: rgba(0,0,0,.22);
  border-color: rgba(255,255,255,.18);
  padding: 8px 14px;
}

.navbar {
  min-height: 84px;
  padding: 0 6vw;
  background: linear-gradient(180deg, rgba(8,8,8,.92), rgba(10,10,10,.82));
  border-bottom: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,0,25,.35), transparent);
}

.brand {
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand span {
  color: #c9c9c9;
  font-size: 13px;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  font-size: 15px;
  color: rgba(255,255,255,.92);
  padding: 12px 12px;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.06);
}

.nav-red {
  background: #ff1126;
  color: #fff !important;
  padding: 12px 18px !important;
  box-shadow: 0 10px 24px rgba(255, 17, 38, .20);
}

.hero {
  max-width: 1400px;
  min-height: calc(100vh - 134px);
  padding: 130px 22px 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-badge {
  background: rgba(217,0,25,.16);
  border-color: rgba(217,0,25,.28);
  color: #ff4258;
  padding: 10px 16px;
  font-size: 12px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(62px, 8vw, 116px);
  line-height: .90;
  letter-spacing: -4px;
  margin-bottom: 18px;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
}

.hero p {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.45;
  color: #e4e4e4;
}

.hero-actions {
  margin-top: 28px;
  gap: 14px;
}

.btn {
  min-height: 54px;
  padding: 0 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.btn-red {
  background: linear-gradient(135deg, #ff0f24, #d70019);
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(217,0,25,.26);
}

.btn-dark {
  background: rgba(17,17,17,.92);
}

.btn-ghost {
  background: rgba(255,255,255,.06);
}

.server-panel {
  margin-top: 58px;
  max-width: 1040px;
  width: 100%;
  background: rgba(8,8,8,.74);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 32px;
  padding: 20px 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 28px 70px rgba(0,0,0,.30);
  grid-template-columns: 1.2fr 1.4fr;
  gap: 18px;
}

.server-info {
  gap: 16px;
  padding: 6px 0;
}

.online-dot {
  width: 18px;
  height: 18px;
  box-shadow: 0 0 18px rgba(39,225,109,.90);
}

.server-info b {
  font-size: 19px;
}

.server-info small {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  color: #b7b7b7;
}

.server-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.server-stats div {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  min-height: 92px;
  display: grid;
  align-content: center;
  justify-items: center;
}

.server-stats b {
  font-size: 28px;
  margin-bottom: 4px;
}

.server-stats span {
  font-size: 15px;
  color: #c8c8c8;
}

.section {
  max-width: 1260px;
}

.theme-toggle.theme-floating {
  left: 18px;
  bottom: 18px;
  background: linear-gradient(135deg, #ff0f24, #d70019);
  border: 1px solid rgba(255,255,255,.10);
  color: #fff;
  min-height: 54px;
  padding: 0 24px;
  box-shadow: 0 18px 42px rgba(217,0,25,.28);
}

.chat-toggle {
  width: 64px;
  height: 64px;
  right: 18px;
  bottom: 18px;
  background: linear-gradient(135deg, #ff0f24, #d70019);
  box-shadow: 0 18px 42px rgba(217,0,25,.28);
}

.chatbot {
  right: 18px;
  bottom: 92px;
  background: rgba(8,8,8,.96);
  border: 1px solid rgba(255,255,255,.10);
}

.cookie-banner {
  background: rgba(8,8,8,.96);
  border: 1px solid rgba(255,255,255,.10);
}

@media (max-width: 980px) {
  .navbar {
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 78px);
    letter-spacing: -2px;
  }

  .hero p {
    font-size: 18px;
  }

  .server-panel {
    grid-template-columns: 1fr;
    max-width: 920px;
  }

  .announcement-inner p {
    font-size: 13px;
  }
}

@media (max-width: 700px) {
  .announcement-inner {
    gap: 10px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand span {
    font-size: 12px;
  }

  .hero {
    padding-top: 76px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    min-height: 48px;
    padding: 0 18px;
  }

  .server-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .server-info small {
    font-size: 14px;
  }
}
