*, *::before, *::after {
  box-sizing: border-box;
}


/* Nulstil margin/padding og lad højden være automatisk */
html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--main-font);
}

/* Hvis du vil sikre, at mindst én skærmhøjde altid er udfyldt */
.mainBody {
  min-height: 100vh;
}

/* ===================== */
/* HERO (TOPBODY) – 1:1  */
/* ===================== */

.topBody{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;

  isolation: isolate; /* vigtigt: gør z-index lagene stabile */
}

/* video baggrund */
.topBody .bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);

  z-index: 0; /* video nederst */
  filter: brightness(0.65) contrast(1.05) saturate(0.95); /* gør teksten mere læsbar */
}

/* overlays OVER video */
.topBody::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;

  background:
    radial-gradient(70% 60% at 50% 45%,
      rgba(0,0,0,0.12) 0%,
      rgba(0,0,0,0.55) 70%,
      rgba(0,0,0,0.70) 100%
    ),
    linear-gradient(90deg,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.22) 45%,
      rgba(0,0,0,0.22) 55%,
      rgba(0,0,0,0.45) 100%
    );
}


.topBody::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  /* bund-fade (kan gøre den stærkere hvis du vil) */
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.92) 100%
  );
}

.zentrix-gradient {
  background: linear-gradient(90deg, var(--servername-gradient));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900; /* matcher hero-title */
}

.hero-wrap {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 72px));
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
}

/* VENSTRE */
/* VENSTRE = samme “glass” som hero-right */
.hero-left{
  position: relative;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);

  /* behold dine eksisterende */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-left: 0;
}


.hero-left-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-mark {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.65));
  user-select: none;
}

/* server status “kort” */
.hero-status-card {
  width: min(360px, 100%);
  padding: 14px 16px 12px;
  border-radius: 12px;
  background: rgba(10, 10, 12, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
}

.hero-status-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.hero-status-card.is-online .status-dot {
  background: rgba(139, 174, 102, 0.95);
  box-shadow: 0 0 18px rgba(139, 174, 102, 0.55);
}

.hero-status-card.is-offline .status-dot {
  background: rgba(248, 113, 113, 0.95);
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.55);
}

.hero-status-numbers {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

.status-current {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

.status-slash {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.55);
}

.status-max {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.68);
}

.hero-status-sub {
  margin-top: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

/* playerlist knap under kortet */
.server-playerlist-toggle {
  margin: 0;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 10, 12, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, box-shadow 0.12s ease;
}

.server-playerlist-toggle:hover:not(:disabled) {
  background: rgba(139, 174, 102, 0.2);
  border-color: rgba(139, 174, 102, 0.55);
  box-shadow: 0 0 18px rgba(139, 174, 102, 0.35);
  transform: translateY(-1px);
}

.server-playerlist-toggle:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

/* HØJRE */
.hero-right {
  max-width: 680px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
}

.hero-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* knapper som på billedet (rektangel, ikke pill) */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, box-shadow 0.12s ease;
}

.hero-btn-primary {
  background: rgba(var(--discord-join));
  border-color: rgba(var(--discord-join-hover));
  color: #fff;
  box-shadow: 0 18px 40px rgba(98, 129, 65, 0.45);
}

.hero-btn-primary:hover {
  background: rgba(139, 174, 102, 0.55);
  border-color: rgba(139, 174, 102, 0.95);
  transform: translateY(-1px);
}

.hero-btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

/* RESPONSIV */
@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 26px;
    width: min(980px, calc(100% - 40px));
  }

  .hero-left {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-left-row {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-right {
    text-align: center;
    margin: 0 auto;
  }

  .hero-lead {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

/* ===================== */
/* SECTION UNDER HERO    */
/* ===================== */

.TestBody {
  background: #050509;
  color: #fff;
  padding: 110px 0 120px;
  margin-top: -45px;
}

.section-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  font-family: var(--main-font);
}

/* generel layout for sektioner */
.section-block {
  margin-bottom: 80px;
}

/* små over-overskrifter */
.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

/* overskrifter + tekst */
.section-heading {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  margin: 0 0 14px;
  text-align: center;
}

.section-subtitle,
.section-paragraph,
.section-about-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

/* ABOUT */
.section-about {
  max-width: 720px;
}

.section-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.section-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.1s ease;
}

.section-btn-primary {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(98, 129, 65, 0.55);
}

.section-btn-primary:hover {
  background: rgba(139, 174, 102, 0.96);
  box-shadow: 0 16px 36px rgba(139, 174, 102, 0.7);
  transform: translateY(-1px);
}

.section-btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.section-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

/* FRIHED UNDER ANSVAR – som pæn card */
.section-text-block {
  padding: 24px 26px;
  border-radius: 20px;
  background: #0b0c12;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
}

.section-text-block .section-heading {
  font-size: 2.1rem;
}

/* ===================== */
/* STØT SERVEREN         */
/* ===================== */

.section-support .section-heading {
  font-size: 2.3rem;
  margin-bottom: 6px;
}

.section-support .section-subtitle {
  max-width: 640px;
  margin: 0 auto 24px;
}

.support-chip {
  display: flex; /* i stedet for inline-flex */
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0 auto 14px; /* centrer horisontalt */
}

/* donation-card */
.support-card {
  background: #090910;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 24px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  max-width: 880px;
  margin: 0 auto; /* centrer kortet horisontalt */
}

.support-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.support-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.support-amount {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
}

.support-pill {
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.78rem;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4cc9ff, #4361ee);
  width: 0%;
}

.support-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 8px 0 0;
}

/* ===================== */
/* ANSØGNINGER           */
/* ===================== */

.section-applications .section-heading {
  font-size: 2.4rem;
  margin-bottom: 6px;
}

.section-applications .section-subtitle {
  max-width: 700px;
  margin: 0 auto 24px;
}

/* grid med 3 kort */
.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

/* selve kortet */
.application-card {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.75);
}

/* mørk overlay på billedet */
.application-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.9));
}

/* label nederst */
.application-label {
  position: absolute;
  left: 22px;
  bottom: 22px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  z-index: 1;
}

/* hover-effekt */
.application-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
  filter: brightness(1.04);
}

/* BAGGRUNDSBILLEDER – ret til dine rigtige billeder */
.application-politi {
  background-image: url("../images/police.webp");
}

.application-ems {
  background-image: url("../images/ems.webp");
}

.application-advokat {
  background-image: url("../images/lawyer.webp");
}

/* ===================== */
/* RESPONSIV             */
/* ===================== */

@media (max-width: 900px) {
  .section-wrapper {
    padding: 0 20px;
  }

  .section-heading {
    font-size: 2.1rem;
  }

  .section-about .section-heading {
    font-size: 2.3rem;
  }

  .application-grid {
    grid-template-columns: 1fr;
  }

  .application-card {
    min-height: 300px;
  }
}

/* ABOUT */
.section-about {
  max-width: 720px;
  margin: 0 auto; /* centrer selve sektionen i wrapperen */
  text-align: center; /* centrer tekst (overskrift + paragraf) */
}

.section-about .section-buttons {
  justify-content: center; /* centrer knapperne i rækken */
  margin-bottom: 80px;
}

/* ===================== */
/* PRIVACY PAGE          */
/* ===================== */

.privacy-wrapper {
  max-width: 960px;
}

.privacy-hero {
  text-align: center;
  margin-bottom: 50px;
}

.privacy-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.privacy-lead {
  max-width: 680px;
  margin: 0 auto;
}

/* Grid med cards */
.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.privacy-card {
  background: #090910;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 20px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.privacy-title {
  font-size: 1.1rem;
  margin: 0 0 10px;
  font-weight: 600;
}

.privacy-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 8px;
}

.privacy-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.privacy-card a {
  color: var(--accent-blue);
  text-decoration: none;
}

.privacy-card a:hover {
  text-decoration: underline;
}

/* Større skærme: 2 kolonner */
@media (min-width: 900px) {
  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-card:nth-child(1),
  .privacy-card:nth-child(2) {
    /* lidt ekstra luft i toppen hvis du vil */
  }

  .hero-left{
    margin-left: 50px;
  }
}

.section-list {
  margin: 8px 0 22px;
  padding-left: 1.6rem;
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84); /* matcher section-paragraph */
}

.section-list li {
  margin-bottom: 6px;
}

.server-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 10px;
  padding: 4px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.server-status-pill.server-online {
  border-color: rgba(34, 197, 94, 0.9);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.55);
}

.server-status-pill.server-offline {
  border-color: rgba(248, 113, 113, 0.95);
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.6);
}

/* knap til at åbne popup */
.server-playerlist-toggle {
  margin-bottom: 6px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.1s ease, box-shadow 0.15s ease;
}

.server-playerlist-toggle:hover:not(:disabled) {
  background: rgba(139, 174, 102, 0.2);
  border-color: rgba(139, 174, 102, 0.55);
  box-shadow: 0 0 16px rgba(139, 174, 102, 0.35);
  transform: translateY(-1px);
}

.server-playerlist-toggle:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

/* MODAL / POPUP */
.server-playerlist-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 20; /* over sne-canvas (10) */
}

.server-playerlist-modal[hidden] {
  display: none;
}

.server-playerlist-modal-content {
  background: rgba(5, 6, 12, 0.98);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 14px 18px 12px;
  min-width: 260px;
  max-width: 380px;
  max-height: 65vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
  color: #fff;
  font-family: var(--main-font);
}

.server-playerlist-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.server-playerlist-modal-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.server-playerlist-close {
  background: transparent;
  border: none;
  color: rgba(248, 250, 252, 0.9);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

/* selve listen med spillere */
.server-playerlist {
  font-size: 0.86rem;
  color: rgba(226, 232, 240, 0.96);
  max-height: 55vh;
  overflow-y: auto;
}

.server-playerlist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.server-playerlist li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}

.server-playerlist li:last-child {
  border-bottom: none;
}

/* ===================== */
/* GTA V MAP SECTION     */
/* ===================== */

.section-map{
  margin-top: 40px;
}

.map-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
}

.map-card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0b0c12;
  box-shadow: 0 18px 50px rgba(0,0,0,0.75);
  padding: 14px;
}

.gtav-map{
  height: 640px;
  border-radius: 14px;
  overflow: hidden;
}

.map-side{
  padding-top: 6px;
}

.map-title{
  margin: 0 0 10px;
  font-size: 2.3rem;
  font-weight: 800;
}

.map-lead{
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

.map-accordion{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-acc-item{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}

.map-acc-item:hover{
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

.map-acc-item.is-active{
  border-color: rgba(139,174,102,0.55);
  box-shadow: 0 0 0 1px rgba(139,174,102,0.18) inset, 0 18px 40px rgba(0,0,0,0.55);
}

.map-acc-left{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.map-acc-ico{
  width: 26px;
  height: 26px;
  flex: 0 0 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);

  color: rgba(139,174,102,0.95);
  font-size: 14px;
  line-height: 1;
}

/* Fix “baseline” på ikonfont/SVG så det bliver dead-center */
.map-acc-ico > i,
.map-acc-ico > svg{
  display: block;
  line-height: 1;
}

.map-acc-ico > i{ transform: translateY(0.5px); }


.map-acc-item:hover .map-acc-ico{
  background: rgba(139,174,102,0.10);
  border-color: rgba(139,174,102,0.35);
}

.map-acc-item.is-active .map-acc-ico{
  background: rgba(139,174,102,0.14);
  border-color: rgba(139,174,102,0.55);
  color: rgba(139,174,102,1);
  box-shadow: 0 0 18px rgba(139,174,102,0.25);
}


.map-acc-arrow{
  opacity: 0.7;
}

.map-acc-panel{
  display: none;
  padding: 12px 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(139,174,102,0.35);
  background: rgba(139,174,102,0.06);
}

.map-acc-panel.is-open{
  display: block;
}

.map-acc-sub{
  color: rgba(139,174,102,0.95);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.map-acc-text{
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  font-size: 0.98rem;
}

/* Leaflet tweaks (matcher dit dark theme) */
.leaflet-control-zoom a{
  background: rgba(10,10,12,0.85) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}
.leaflet-control-zoom a:hover{
  background: rgba(139,174,102,0.18) !important;
  border-color: rgba(139,174,102,0.45) !important;
}

@media (max-width: 900px){
  .map-grid{
    grid-template-columns: 1fr;
  }
  .gtav-map{
    height: 520px;
  }
}

.leaflet-container { background: #0b0c12; }

#gtavMap,
#gtavMap.leaflet-container {
  background: #0b0c12 !important;
}

/* Skjul Leaflet attribution ("Leaflet" i bunden) */
.leaflet-control-attribution {
  display: none !important;
}

/* ===================== */
/* ANSØGNINGER – clean + moderne */
/* ===================== */

.section-applications{
  /* ingen stor boks rundt om alt */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;

  /* lidt luft så det stadig føles som en “sektion” */
  margin-top: 20px;
}

.section-applications .section-heading{
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-applications .section-subtitle{
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
  color: rgba(255,255,255,0.78);
}

/* grid spacing */
.application-grid{
  gap: 22px;
  margin-top: 24px;
}

/* Kort = clean glass card */
.application-card{
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 16px 40px rgba(0,0,0,0.65);

  /* gør dem mere moderne i proportioner */
  min-height: 300px;

  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Clean overlay – mere “cinematic”, mindre “mudret” */
.application-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.88) 100%);
}

/* label = lille clean chip (ikke kæmpe spacing) */
.application-label{
  left: 16px;
  bottom: 16px;

  padding: 10px 14px;
  border-radius: 12px;

  background: rgba(11,12,18,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);

  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* hover = subtil, premium */
.application-card:hover{
  transform: translateY(-4px);
  border-color: rgba(139,174,102,0.45);
  box-shadow: 0 0 0 1px rgba(139,174,102,0.12) inset, 0 22px 55px rgba(0,0,0,0.85);
}

.application-card:hover::before{
  background:
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.86) 100%);
}

/* Mobil */
@media (max-width: 900px){
  .application-card{ min-height: 260px; }
}

.hero-action-form{
  margin: 0;
  display: inline-flex;
}
.hero-action-form button{
  font-family: inherit;
}

/* HERO ACTIONS = knapper + flash i samme “blok” */
.hero-actions{
  margin-top: 18px;
  display: inline-grid;                 /* hugger kun indholdets bredde */
  grid-template-columns: repeat(3, max-content);
  gap: 12px;
  align-items: center;
  justify-content: start;
}

/* sørg for form ikke laver mærkelig spacing */
.hero-action-form{ margin: 0; }

/* Flash spænder over alle 3 knapper => samme venstre/højre kant */
.hero-right .hero-actions .flash-msg{
  grid-column: 1 / -1;
  width: 100%;
  margin: 6px 0 0;
  padding: 10px 14px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 45px rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);

  color: rgba(255,255,255,0.95);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;

  position: relative;
  overflow: hidden;

  opacity: 1;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}

/* lille “accent stripe” */
.hero-right .hero-actions .flash-msg::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background: rgba(255,255,255,0.22);
}

/* ikon via CSS (ingen HTML ændring nødvendig) */
.hero-right .hero-actions .flash-msg::before{
  content:"ℹ";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.95);
  font-size: 0.85rem;
  flex: 0 0 22px;
}

/* farver pr type */
.hero-right .hero-actions .flash-success::before{ content:"✓"; }
.hero-right .hero-actions .flash-success::after{ background: rgba(34,197,94,0.9); }

.hero-right .hero-actions .flash-error::before{ content:"!"; }
.hero-right .hero-actions .flash-error::after{ background: rgba(248,113,113,0.95); }

.hero-right .hero-actions .flash-info::after{ background: rgba(56,189,248,0.9); }

.hero-right .hero-actions .flash-msg.hide{
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

/* Mobil: knapper + flash i fuld bredde */
@media (max-width: 560px){
  .hero-actions{
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-actions .hero-btn{
    width: 100%;
  }
  .hero-action-form button{
    width: 100%;
  }
}

.hero-title,
.hero-lead{
  text-shadow: 0 8px 26px rgba(0,0,0,0.75);
}

/* hvis du vil have en diskret “glass” bag teksten */
.hero-right{
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Mobil/tablet: hero må gerne være højere end skærmen */
@media (max-width: 900px){
  .topBody{
    height: auto;              /* ✅ vigtig */
    min-height: 100svh;        /* iOS-sikker viewport (bedre end 100vh) */
    padding-top: 90px;         /* plads til navbar (justér evt. 70-110px) */
    padding-bottom: 40px;      /* lidt luft i bunden */
  }

  /* sørg for at indholdet ikke bliver “centreret” midt i en høj container */
  .topBody{
    align-items: flex-start;
  }
}

/* Desktop: behold full-screen hero som før */
@media (min-width: 901px){
  .topBody{
    height: 100vh;
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
  }
}
