body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0e0e0e;
  color: #e0e0e0;
  line-height: 1.6;
}
header {
  text-align: center;
  background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1400&q=80') no-repeat center center;
  background-size: cover;
  padding: 6rem 2rem;
  color: white;
  position: relative;
}
header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
header h1, header .notice {
  position: relative;
  z-index: 2;
}
.notice { font-size: 1.1rem; font-style: italic; color: #ccc; margin-top: 1rem; }

main {
  max-width: 800px;
  margin: auto;
  padding: 3rem 2rem;
}
.card-block {
  background: #1f1f1f; /* eller din ønskede bg */
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: 0 0 25px rgba(0, 255, 195, 0.08), 0 0 3px rgba(0, 255, 195, 0.15); /* <-- Glow */
  border: 1px solid rgba(0, 255, 195, 0.07);
  margin-bottom: 2.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-block:hover {
  transform: scale(1.015);
  box-shadow: 0 0 30px rgba(0, 255, 195, 0.15), 0 0 4px rgba(0, 255, 195, 0.25); /* <-- Glow ved hover */
}

.illustrated-block {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.illustrated-block img {
  width: 100px;
  height: auto;
  flex-shrink: 0;
}
.illustrated-block .text {
  flex: 1;
}
.form-group { margin-bottom: 1rem; }
input, textarea {
  width: 96%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  background: #2a2a2a;
  color: #eee;
}

@media screen and (max-width: 600px) {
	input, textarea {
	  width: 92%;
	}
}
button {
  padding: 0.75rem 1.5rem;
  background: #00ffc3;
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #999;
  border-top: 1px solid #333;
}
a { color: #00ffc3; }

  /* --- Loader styles --- */
  #loaderOverlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(14,18,22,0.93); z-index: 9999; display: none;
    align-items: center; justify-content: center;
  }
  .message-loader {
    display: flex; flex-direction: column; align-items: center; gap: 1.1em;
  }
  .envelope-fly {
    width: 180px; height: 44px;
    overflow: visible;
    position: relative;
    animation: flyenvelope 2.9s cubic-bezier(.42,.19,.45,1.01) infinite;
  }
  .envelope-fly svg { width: 180px; height: 44px; display: block;}
  .envelope-fly #envbody {
    transform: rotate(-18deg);
    transform-origin: 122px 22px;
  }
  @keyframes flyenvelope {
    0%   { transform: translateX(-82px);}
    93%  { transform: translateX(90px);}
    100% { transform: translateX(-82px);}
  }
  .msg-text {
    margin-top: .1em;
    color: #00ffc3;
    font-size: 1.10rem;
    letter-spacing: 0.07em;
    font-family: 'Inter', monospace, Arial, sans-serif;
    text-shadow: 0 0 5px #00997a99;
  }

  /* --- Popup styles --- */
  #popupStatus {
    position: fixed;
    top: 25vh;
    left: 0;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 10001;
    background: none;
    pointer-events: none;
    border: none;
    box-shadow: none;
  }
  .popup-box {
    border-radius: 14px;
    padding: 1.25em 1.8em;
    font-size: 1.03rem;
    min-width: 180px;
    max-width: 75vw;
    background: linear-gradient(145deg,#101b1e 60%,#263e3e 100%);
    color: #00ffc3;
    border: 2px solid #00ffc3;
    box-shadow: 0 0 42px 8px #00ffc370, 0 0 8px #00332a;
    text-align: center;
    animation: popComplex var(--pop-dur,5s) cubic-bezier(.21,1.01,.65,1.03);
    filter: drop-shadow(0 0 20px #00ffc3);
    will-change: transform, opacity, filter;
  }
  .popup-fail .popup-box { color: #fff; border-color: #ff0055; background: linear-gradient(145deg,#23161a 60%,#451c25 100%);}
  .popup-spam .popup-box { color: #fffbb3; border-color: #ffe963; background: linear-gradient(145deg,#2a270c 60%,#50502a 100%);}
  .popup-success .popup-box { color: #c3ffe9; border-color: #00ffc3; background: linear-gradient(145deg,#144a38 60%,#1d7c54 100%);}
  @keyframes popComplex {
    0%   { opacity: 0; filter: blur(6px) brightness(2); transform: scale(0.7) translateY(-50px);}
    8%   { opacity: 1; filter: blur(0) brightness(1.25); transform: scale(1.09) translateY(0);}
    14%  { opacity: 1; filter: none; transform: scale(0.98);}
    20%  { opacity: 1; filter: none; transform: scale(1.04);}
    25%  { opacity: 1; filter: none; box-shadow: 0 0 32px #00ffc388, 0 0 12px #00332a;}
    80%  { opacity: 1; filter: none; transform: scale(1);}
    90%  { opacity: 1; filter: blur(0.7px) brightness(1.12); }
    100% { opacity: 0; filter: blur(10px) brightness(3); transform: scale(1.09) translateY(60px);}
  }

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
textarea:-webkit-autofill,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:hover {
  -webkit-box-shadow: 0 0 0 1000px #20262d inset !important; /* baggrund */
  -webkit-text-fill-color: #e0e0e0 !important; /* tekstfarve */
  caret-color: #00ffc3 !important;
  transition: background-color 0s 60000s, color 0s 60000s;
}

input:-webkit-autofill {
  border: 1px solid #00ffc3 !important; /* eller din border */
}

#floating-translate-tip {
  position: fixed;
  left: 50%;
  bottom: 2.5vh;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(26,34,42,0.97);
  color: #fff;
  padding: 1.05em 2em 1em 2em;
  border-radius: 16px;
  box-shadow: 0 8px 38px rgba(0,255,195,0.09), 0 1.5px 8px #00ffc3cc;
  font-size: 1.05em;
  font-family: 'Inter',sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(.51,.1,.38,.88);
  max-width: 92vw;
  text-align: center;
}
#floating-translate-tip.show {
  opacity: 1;
  pointer-events: auto;
}
#floating-translate-tip .tip-close {
  position: absolute;
  right: 1.1em;
  top: 0.8em;
  font-size: 1.2em;
  color: #00ffc3;
  cursor: pointer;
  user-select: none;
}
