/* RESET */
* {
  
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

:root {
  --brand-lime: #dfff5d;
  --brand-dark: #050b07;
  --brand-panel: rgba(9, 21, 11, 0.96);
  --brand-border: rgba(223, 255, 93, 0.38);
}

html,
body {
  width: 100%;
  /* Forsøger at gøre siden scrollbar */
  min-height: 100%;
}

/* BAGGRUND – neutral (vi bruger video/sektioner pr. side) */
body {
  background-color: #104129; /* lidt lysere mørkegrøn */
  background-image: none;    /* vi styrer baggrunde per side */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
}

/* Let overlay over baggrunden (ligger bag alt indhold) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.10),
    rgba(0, 0, 0, 0.30)
  );
  z-index: -1;
}

/* ───────── NAVBAR (Awais) ───────── */

.site-header {
  padding: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 100;
}

.nav-pill {
  width: 92%;
  max-width: 1400px;
  background: rgba(43, 62, 43, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 16px 28px;
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 26px;
  font-weight: 900;
  color: #dfff5d;
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-cta {
  display: flex;
  gap: 14px;
}

.btn-filled {
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  background: #dfff5d;
  border: 2px solid #dfff5d;
  color: #000;
  transition: 0.2s ease;
}

.btn-filled:hover {
  opacity: 0.85;
}

/* sekundær knap (til fx konto / log ud) */
.btn-outline {
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  background: transparent;
  border: 2px solid #dfff5d;
  color: #dfff5d;
  transition: 0.2s ease;
}

.btn-outline:hover {
  background: rgba(223, 255, 93, 0.12);
}

/* ───────── GENEREL SIDE-LAYOUT (liste/konto) ───────── */

.page-wrapper {
  min-height: 100vh;
  padding-top: 130px;   /* plads til navbar */
  padding-bottom: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.list-page-inner {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.page-subtitle {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 18px;
}

/* ───────── HERO (generel) ───────── */

.hero {
  height: 140vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  width: 92%;
  max-width: 1400px;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 17px;
  max-width: 420px;
  opacity: 0.9;
}

/* ───────── HERO med video (forside) ───────── */

.hero-with-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding-top: 0;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* video må ikke blokere klik */
}

/* mørk overlay oven på video, så tekst kan læses */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.75)
  );
  z-index: 1;
  pointer-events: none;
}

/* hero-teksten ligger øverst */
.hero-with-video .hero-overlay {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

/* bundsektion på forsiden – hero.jpg som tydelig baggrund */
.home-main {
  position: relative;

  /* gør sektionen mindst lige så høj som skærmen */
  min-height: 100vh;

  /* lidt luft, men ikke så meget at videoen kan ses igen */
  padding-top: 80px;
  padding-bottom: 80px;

  /* baggrundsbillede */
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.55)),
    url("/assets/hero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  /* sørg for at indholdet holder sig inde på siden */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* sektionerne ligger ovenpå som store “kort” */
.home-section {
  padding: 32px 0;
}

.home-section-inner {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;

  background: var(--brand-panel);
  border-radius: 32px;
  padding: 26px 26px 24px;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(223, 255, 93, 0.15);
}

/* lidt ekstra afstand mellem de to sektioner, så man kan se mere af baggrunden */
.home-section + .home-section .home-section-inner {
  margin-top: 20px;
}

.home-section h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.home-section-subtitle {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 22px;
  max-width: 620px;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.home-card {
  background: var(--brand-panel);
  border-radius: 24px;
  padding: 18px 18px 16px;
  border: 1px solid var(--brand-border);
  box-shadow: 0 16px 40px rgba(11, 15, 10, 0.8);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.9);
  border-color: rgba(15, 125, 0, 0.55);
}

.home-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.home-card p {
  font-size: 14px;
  opacity: 0.9;
}

/* ───────── FORM LAYOUT (login + signup) ───────── */

.form-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 110px;   /* plads til navbar */
  padding-bottom: 40px;
}

/* kort – glas-look som Awais */

.form-card {
  width: 100%;
  max-width: 520px;

  background: var(--brand-panel);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);

  padding: 30px 32px 26px;
  border-radius: 32px;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.85),
    0 0 0 1px var(--brand-border);
}

.form-card h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* FORM */

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 500;
}

/* INPUTS – samme stil som logind */

.field input {
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid #303532;
  background: #eef4ff;
  color: #111;
  font-size: 15px;
  transition: 0.2s ease;
}

.field input::placeholder {
  color: #777;
}

.field input:focus {
  outline: none;
  border-color: #dfff5d;
  box-shadow: 0 0 0 1px #dfff5d;
}

/* lille row layout til expiry + cvc */
.field-row {
  flex-direction: row;
  gap: 12px;
}

.field-row .field {
  flex: 1;
}

/* SUBMIT-KNAP – samme som logind */

.btn-submit {
  margin-top: 6px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: #dfff5d;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  opacity: 0.96;
}

/* Tekst i bunden */

.form-bottom-text {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: #f1f1f1;
}

.form-bottom-text a {
  color: #dfff5d;
  text-decoration: underline;
}

/* Fejl/success beskeder */

.form-message {
  margin-top: 8px;
  font-size: 14px;
}

/* ───────── OPLEVELSES-LISTE (cards) ───────── */

.experience-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.experience-card {
  background: radial-gradient(circle at top left,
    rgba(223, 255, 93, 0.08),
    rgba(5, 12, 7, 0.96)
  );
  border-radius: 26px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(223, 255, 93, 0.32);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(16, 185, 129, 0.5);
  border-color: rgba(223, 255, 93, 0.7);
  background: radial-gradient(circle at top left,
    rgba(223, 255, 93, 0.16),
    rgba(5, 16, 9, 0.98)
  );
}

.experience-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.experience-meta {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.experience-price {
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.experience-card p {
  font-size: 14px;
  opacity: 0.9;
}

/* søgefelt på oplevelses-siden */
.experience-search {
  margin-top: 12px;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.experience-search input {
  flex: 1;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(223, 255, 93, 0.4);
  background: rgba(5, 16, 10, 0.95);
  color: #f9fafb;
  padding: 0 18px;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.experience-search input::placeholder {
  color: #9ca3af;
}

.experience-search input:focus {
  outline: none;
  border-color: #dfff5d;
  box-shadow: 0 0 0 1px #dfff5d, 0 16px 40px rgba(0, 0, 0, 0.85);
}

/* søge-knap i samme stil som de andre lime-knapper */
.experience-search button {
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid #dfff5d;
  background: #dfff5d;
  color: #000;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.16s ease;
  white-space: nowrap;
}

.experience-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  opacity: 0.96;
}

/* ───────── OPLEVELSE-DETALJE ───────── */

.detail-card {
  max-width: 900px;
  width: 92%;
  background: radial-gradient(circle at top left,
    rgba(223, 255, 93, 0.10),
    rgba(5, 10, 7, 0.98)
  );
  border-radius: 36px;
  padding: 26px 30px 26px;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(223, 255, 93, 0.22);
}

.detail-card h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.detail-location,
.detail-price {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.detail-description {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.96;
}

/* layout på detail-siden – tekst + sidepanel */
.detail-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}

.detail-header-main h1 {
  font-size: 30px;
  margin-bottom: 6px;
}

.detail-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dfff5d;
  background: rgba(33, 55, 33, 0.9);
  border: 1px solid rgba(223, 255, 93, 0.3);
  margin-bottom: 8px;
}

.detail-meta-line {
  font-size: 14px;
  opacity: 0.9;
}

.dot-separator {
  opacity: 0.6;
  padding: 0 6px;
}

.detail-layout {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 24px;
}

.detail-main-col {
  font-size: 15px;
}

.detail-section {
  margin-top: 18px;
}

.detail-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.detail-practical-list {
  padding-left: 18px;
  font-size: 14px;
  opacity: 0.92;
}

.detail-practical-list li {
  margin-bottom: 4px;
}

/* sidepanel */
.detail-side-col {
  display: flex;
  justify-content: flex-end;
}

.detail-side-card {
  width: 100%;
  max-width: 320px;
  background: radial-gradient(circle at top left,
    rgba(223, 255, 93, 0.13),
    rgba(5, 10, 7, 0.98)
  );
  border-radius: 24px;
  padding: 16px 18px 16px;
  border: 1px solid rgba(223, 255, 93, 0.3);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.7);
}

.detail-side-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.detail-side-line {
  font-size: 13px;
  margin-bottom: 4px;
}

.detail-side-small {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.9;
}

.detail-buy-btn {
  margin-top: 12px;
  width: 100%;
}

/* responsiv til mobil */
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-side-col {
    justify-content: stretch;
  }

  .detail-side-card {
    max-width: none;
  }
}

/* billede øverst på detaljesiden */
.detail-image-wrap {
  margin-bottom: 16px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(15, 23, 42, 0.8);
}

.detail-image {
  width: 100%;
  display: block;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
}

/* knap-rækken */
.detail-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

/* ───────── MODAL (betalings-popup) ───────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-card {
  position: relative;
  width: 92%;
  max-width: 480px;
  background: rgba(5, 8, 7, 0.96);
  background-image: radial-gradient(
    circle at top left,
    rgba(223, 255, 93, 0.10),
    transparent 55%
  );
  border-radius: 28px;
  padding: 24px 24px 22px;
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(223, 255, 93, 0.2);
  z-index: 201;
}

.modal-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 14px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  color: #dfff5d;
  font-size: 22px;
  cursor: pointer;
}

/* ───────── RESPONSIV ───────── */

@media (max-width: 900px) {
  .form-card {
    margin: 130px auto 40px;
    width: 90%;
    max-width: 520px;
  }

  .detail-card {
    width: 90%;
  }
}

/* Loading overlay til betalingsflowet */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 18, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.loading-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

.loading-box {
  background: #0f172a;
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
  text-align: center;
  color: #e5e7eb;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto 16px auto;
  border-radius: 999px;
  border: 3px solid rgba(148, 163, 184, 0.6);
  border-top-color: #f97316;
  animation: spin 0.9s linear infinite;
}

.loading-text {
  font-weight: 600;
  margin-bottom: 4px;
}

.loading-sub {
  font-size: 0.9rem;
  color: #9ca3af;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* billeder på oplevelses-kortene */
.experience-image-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 14px;
  margin: -6px -6px 8px;
  display: block;
  background: #0b0f0a;            /* fallback baggrund */
}

.experience-image {
  width: 100%;
  height: 100%;                   /* sørger for at billedet fylder wrap */
  object-fit: cover;              /* beskærer */
  display: block;
}

/* billede på detail-siden */
.detail-image-wrap {
  margin-bottom: 14px;
  border-radius: 20px;
  overflow: hidden;
}

.detail-image {
  width: 100%;
  display: block;
  max-height: 340px;
  object-fit: cover;
  object-position: top;
}

.recommendation-item {
  background: var(--brand-panel);
  border-radius: 20px;
  padding: 14px 14px 10px;
  border: 1px solid var(--brand-border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.85);
  margin-bottom: 12px;
}

/* konto layout – to kolonner */
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
  gap: 24px;
}

.account-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-sidebar {
  display: flex;
  flex-direction: column;
}

.account-card {
  background: radial-gradient(circle at top left,
    rgba(223, 255, 93, 0.07),
    rgba(5, 12, 7, 0.98)
  );
  border-radius: 26px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(223, 255, 93, 0.26);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.7);
}

.account-section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.account-section-subtitle {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 10px;
}

/* købte oplevelser */
.purchase-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 10px;
  border-radius: 18px;
  background: rgba(5, 14, 9, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
  margin-bottom: 8px;
}

.purchase-main h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.purchase-meta {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.purchase-subline {
  font-size: 12px;
  opacity: 0.85;
}

.purchase-side {
  min-width: 180px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.purchase-countdown {
  font-size: 12px;
  font-weight: 600;
  color: #dfff5d;
}

.purchase-countdown-muted {
  color: #9ca3af;
  font-weight: 400;
}

.purchase-link {
  font-size: 12px;
  text-decoration: none;
  color: #dfff5d;
  opacity: 0.9;
}

.purchase-link:hover {
  text-decoration: underline;
}

/* anbefalinger i sidebar */
.recommendation-top-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.recommendation-top-row h3 {
  font-size: 14px;
  margin-bottom: 2px;
}

.recommendation-status {
  font-size: 11px;
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.recommendation-status-sent {
  border-color: rgba(16, 185, 129, 0.8);
  color: #bbf7d0;
}

.recommendation-status-failed {
  border-color: rgba(239, 68, 68, 0.8);
  color: #fecaca;
}

.recommendation-meta {
  font-size: 11px;
  opacity: 0.8;
  margin: 2px 0 4px;
}

.recommendation-text {
  font-size: 12px;
  opacity: 0.9;
}

/* responsiv konto layout */
@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .purchase-item {
    flex-direction: column;
  }

  .purchase-side {
    min-width: 0;
    text-align: left;
    align-items: flex-start;
  }
}

/* ───────── FOOTER ───────── */

.understory-footer {
  width: 100%;
  background: #000;
  padding: 26px 0 30px;
  
  margin-top: 0px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  flex-wrap: wrap;
  gap: 18px;

  justify-content: center;
  align-items: center;

  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
}

.footer-inner span {
  white-space: nowrap;
}