/* =========================
   ROOT VARIABLES
========================= */
:root {
  --bg: #0b0f1a;
  --bg-soft: #0f1426;
  --panel: #141a2e;
  --card: #1a214000;
  --border: #232b5500;

  --text: #e6e9f2;
  --muted: #8b92b2;

  --accent: #3b82f6;
  --accent-soft: rgba(59,130,246,.25);
  --accent-glow: rgba(59,130,246,.45);

  --radius: 14px;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: radial-gradient(1200px 600px at 50% -200px, #151c3d, var(--bg));
  color: var(--text);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 300%;
}

/* =========================
   HEADER / TOPBAR
========================= */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 28px;
  background: linear-gradient(180deg, #0f1426, #0b0f1a);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 150px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-right: 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease;
}

nav a:hover,
nav a.active {
  color: white;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: white;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
}
.balance-add{
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:linear-gradient(135deg,#22c55e,#4ade80);
  color:#022;
  font-weight:900;
  text-decoration:none;
  font-size:14px;
  line-height:1;
  transition:transform .2s ease, box-shadow .2s ease;
}

.balance-add:hover{
  transform:scale(1.2);
  box-shadow:0 0 0 4px rgba(34,197,94,.25);
}

.balance-add:active{
  transform:scale(0.95);
}

/* =========================
   SEARCH BAR
========================= */
.search-bar {
  display: flex;
  gap: 10px;
  padding: 10px 28px;
  background: #0b0f1a;
  border-bottom: 1px solid var(--border);
}

.search-bar select,
.search-bar input {
  background: #12183a;
  border: 1px solid var(--border);
  color: white;
  padding: 9px 14px;
  border-radius: 8px;
}

.search-bar input {
  flex: 1;
}

.search-bar button {
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
}

/* =========================
   FEATURED STRIP
========================= */
.featured-strip {
  padding: 26px 28px 6px;
}

.featured-strip h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.strip-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
}

/* =========================
   HERO / EVENT BANNER
========================= */
.hero {
  position: relative;
  margin: 30px 28px;
  padding: 40px 24px;
  border-radius: 22px;
  overflow: hidden;

  background:
    linear-gradient(rgba(10,15,30,.65), rgba(10,15,30,.85)),
    url("img/banner.gif") center / cover no-repeat;

  border: 1px solid var(--border);
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255,255,255,.06),
    transparent 65%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 36px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.countdown div {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(6px);
  padding: 16px 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  min-width: 90px;
}

/* =========================
   BOXES
========================= */
.boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px;
  padding: 0px 50px;
}

.box {
  background: linear-gradient(180deg, #1a214000, #1a214000);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  border: 1px solid var(--border);
  cursor: pointer;
}

.box:hover {
  transform: translateY(-6px);
}

.box img {
  height: 250px;
  margin: 0 auto px;
}

.box .price {
  font-weight: 800;
  color: #ffffff;
}

/* =========================
   SEARCH RESULTS / CARDS
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  padding: 0px 28px;
}

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

.card img {
  height: 170px;
  margin: 0 auto 10px;
}

/* =========================
   LOADER
========================= */
#finder {
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#finder.hide {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 56px;
  height: 56px;
  border: 5px solid #1a2140;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

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

/* =========================
   PROFESSIONAL FOOTER
========================= */
.footer {
  background: linear-gradient(180deg, #0f1426, #0b0f1a);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 28px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}

/* BRAND */
.footer-brand img {
  width: 140px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 360px;
}

/* LINKS */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: white;
}

/* BOTTOM BAR */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 28px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom span {
  display: block;
  margin-top: 4px;
  opacity: .6;
}

/* MOBILE */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}
/* =========================
   SEARCH INPUT – HOVER & FOCUS FIX
========================= */
.search-bar input {
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

/* Hover */
.search-bar input:hover {
  border-color: rgba(59,130,246,.45);
  background: #141b3f;
}

/* Focus (når man klikker) */
.search-bar input:focus {
  outline: none;
  border-color: #3b82f6;
  background: #161e45;

  box-shadow:
    0 0 0 1px rgba(59,130,246,.4),
    0 0 22px rgba(59,130,246,.35);
}
/* =========================
   FIX NATIVE INPUT / SELECT
========================= */
.search-bar input,
.search-bar select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-clip: padding-box;
}


/* =========================
   SEARCH MODE
========================= */
body.search-active #homepage,
body.search-active .hero,
body.search-active .featured-strip,
body.search-active .boxes {
  display: none !important;
}

body.search-active .grid {
  margin-top: 20px;
}
/* =========================
   SEARCH RESULTS – COMPACT MODE
========================= */
body.search-active .card {
  padding: 14px;
  gap: 10px;
}

body.search-active .card-main img {
  height: 140px;
}

body.search-active .card-main h3 {
  font-size: 14px;
}

body.search-active .card-main p {
  font-size: 12px;
}

/* SKJUL INFO-TITEL */
body.search-active .card-info h4 {
  display: none;
}

/* LINKS SOM SMÅ IKONER */
body.search-active .info-links {
  gap: 6px;
}

body.search-active .info-link {
  padding: 4px 6px;
  font-size: 11px;
  background: rgba(255,255,255,.03);
}

body.search-active .info-link img {
  width: 12px;
  height: 12px;
}

/* KONTAKT-KNAP MINDRE */
body.search-active .contact-seller {
  font-size: 12px;
  padding: 6px;
}
/* =========================
   ADVANCED SEARCH LOADER
========================= */
#finder {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    900px 400px at 50% -200px,
    rgba(59,130,246,.15),
    rgba(5,8,18,.96)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .25s ease;
}

#finder.hide {
  opacity: 0;
  pointer-events: none;
}

.finder-box {
  width: 420px;
  padding: 34px 30px 30px;
  background: linear-gradient(180deg, #141a2e, #0b0f1a);
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow:
    0 40px 120px rgba(0,0,0,.7),
    inset 0 0 0 1px rgba(255,255,255,.02);
}

/* HEADER */
.finder-header {
  text-align: center;
  margin-bottom: 26px;
}

.finder-header h2 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 14px;
}

.finder-header p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

/* SPINNER */
.finder-header .spinner {
  width: 52px;
  height: 52px;
  border: 5px solid #1a2140;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto;
}

/* STEPS */
.finder-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.finder-step {
  font-size: 13px;
}

.finder-step span {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  opacity: .85;
}

/* PROGRESS BAR */
.progress {
  height: 8px;
  background: #0f1426;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  transition: width .15s ease;
}

.finder-step small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
/* =========================
   CARD – VISUAL FIX
========================= */

/* Stram kortet op */
.card {
  justify-content: space-between;
}

/* Titel */
.card-main h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Sæt / serie */
.card-main p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

/* =========================
   PRICE – ANIMATED & CLEAR
========================= */
.price {
  margin: 14px auto 6px;
  padding: 8px 16px;

  font-size: 24px;
  font-weight: 900;
  letter-spacing: .4px;

  color: #ffffff;
  background: linear-gradient(
    135deg,
    #3b82f6,
    #60a5fa
  );

  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 8px 24px rgba(59,130,246,.45),
    inset 0 0 0 1px rgba(255,255,255,.15);

  animation: priceGlow 2.8s ease-in-out infinite;
}
@keyframes priceGlow {
  0% {
    box-shadow:
      0 6px 18px rgba(59,130,246,.35),
      inset 0 0 0 1px rgba(255,255,255,.15);
  }
  50% {
    box-shadow:
      0 12px 34px rgba(59,130,246,.65),
      inset 0 0 0 1px rgba(255,255,255,.35);
  }
  100% {
    box-shadow:
      0 6px 18px rgba(59,130,246,.35),
      inset 0 0 0 1px rgba(255,255,255,.15);
  }
}
/* =========================
   CARD INFO – FINAL FIX
========================= */

/* Info container */
.card-info {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Links grid */
.info-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

/* Link pill */
.info-link {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 10px;
  border-radius: 10px;

  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);

  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;

  transition: background .2s ease, transform .15s ease;
}

.info-link:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

/* Ikoner */
.info-link img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

/* =========================
   NO SELLERS BADGE
========================= */
.contact-seller.disabled {
  margin-top: 10px;

  background: rgba(255,255,255,.06);
  border: 1px dashed var(--border);

  color: var(--muted);
  font-size: 12px;
  font-weight: 700;

  padding: 8px;
  border-radius: 10px;
  cursor: not-allowed;
}

/* =========================
   SEARCH MODE – CLEANER
========================= */
body.search-active .info-links {
  gap: 6px;
}

body.search-active .info-link {
  font-size: 11px;
  padding: 6px 8px;
}

body.search-active .contact-seller.disabled {
  font-size: 11px;
  padding: 6px;
}


/* N/A pris */
.price:contains("N/A") {
  animation: none;
  background: rgba(255,255,255,.04);
  color: var(--muted);
}

/* Pris-animation */
@keyframes pricePulse {
  0% {
    box-shadow:
      0 0 0 rgba(59,130,246,0),
      inset 0 0 0 1px rgba(59,130,246,.25);
  }
  50% {
    box-shadow:
      0 0 18px rgba(59,130,246,.45),
      inset 0 0 0 1px rgba(59,130,246,.55);
  }
  100% {
    box-shadow:
      0 0 0 rgba(59,130,246,0),
      inset 0 0 0 1px rgba(59,130,246,.25);
  }
}

/* =========================
   META + LINKS FIX
========================= */
.meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* Links mindre og ryddelige */
.info-links {
  margin-top: 12px;
  gap: 8px;
}

.info-link {
  font-size: 11px;
  padding: 5px 7px;
}

/* Kontakt-knap */
.contact-seller {
  margin-top: 10px;
  padding: 7px;
  font-size: 12px;
}
.seller-flow {
  padding: 80px 28px;
  text-align: center;
}

.seller-flow h2 {
  font-size: 28px;
  margin-bottom: 50px;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  position: relative;
}

.flow-step {
  background: linear-gradient(180deg, #141a2e, #0b0f1a);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 22px;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #3b82f6;
  transition: width .25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}
.box-link {
  display: block;
  text-decoration: none;
}

.box-link img {
  cursor: pointer;
}
.box-clickable {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.box-clickable:hover {
  transform: translateY(-6px);
}
/* =========================
   SELLER OFFERS
========================= */
.offers-section {
  margin: 60px 28px;
}

.offers-header {
  margin-bottom: 14px;
}

.offers-header h2 {
  font-size: 20px;
  font-weight: 800;
}

.offers-sub {
  font-size: 13px;
  color: var(--muted);
}

/* TABLE */
.offers-table {
  background: linear-gradient(180deg, #12183a, #0b0f1a);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

/* ROWS */
.offers-row {
  display: grid;
  grid-template-columns: 2fr 1fr 3fr 1fr 60px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.offers-row:last-child {
  border-bottom: none;
}

.offers-head {
  background: #151c3d;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}

/* SELLER */
.seller {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flag {
  font-size: 16px;
}

/* BADGE */
.badge.nm {
  background: #22c55e;
  color: #052e14;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}

/* INFO */
.info {
  font-size: 13px;
  color: var(--muted);
}

/* PRICE */
.price-cell {
  font-weight: 900;
  color: #60a5fa;
}

/* BUY BUTTON */
.buy-btn {
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: white;
  font-size: 14px;
}

.buy-btn:hover {
  box-shadow: 0 0 18px var(--accent-soft);
}
/* =========================
   COMMUNITY SHOPS – GAP FIX
========================= */
.pp-shops {
  padding: 24px 28px 60px; /* var: 60px top */
  margin-top: 0;           /* var: 60px */
}

.pp-shops-header {
  margin-bottom: 28px;
}

.pp-shops-header h2 {
  font-size: 22px;
  font-weight: 900;
}

.pp-shops-header p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

/* GRID */
.pp-shops-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

/* CARD */
.pp-shop {
  position: relative;
  background: linear-gradient(180deg, #1a2140, #0f1426);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px 24px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pp-shop:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

/* LIVE DOT */
.pp-live {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
}

.pp-live.live {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,.8);
}

/* LOGO */
.pp-shop-logo {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  object-fit: contain;
  margin: 14px auto 12px;
}

/* TEXT */
.pp-shop h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pp-shop p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* META */
.pp-shop-meta {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* BUTTON */
.pp-shop-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
}

.pp-shop-btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
}

.pp-shop-btn:hover {
  box-shadow: 0 0 18px var(--accent-soft);
}
/* =========================
   ADVANCED USER SHOPS
========================= */

.pp-shops {
  padding: 80px 28px;
  border-top: 1px solid var(--border);
}

.pp-shops-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

/* SHOP CARD */
.pp-shop.advanced {
  background: linear-gradient(180deg, #0f1426, #0b0f1a);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.pp-shop.advanced:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
}

/* COVER */
.pp-shop-cover {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.pp-shop-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.85);
}

/* LIVE BADGE */
.pp-live-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 900;
  border-radius: 999px;
  background: #22c55e;
  color: #052e14;
  box-shadow: 0 0 14px rgba(34,197,94,.6);
}

.pp-live-badge.offline {
  background: #374151;
  color: #d1d5db;
  box-shadow: none;
}

/* BODY */
.pp-shop-body {
  padding: 26px 22px 28px;
  text-align: center;
}

/* LOGO */
.pp-shop-logo {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #0b0f1a;
  border: 1px solid var(--border);
  margin: -58px auto 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
}

/* TITLE */
.pp-shop h3 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 6px;
}

.pp-shop p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* STATS */
.pp-shop-stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #c7ccff;
  margin-bottom: 20px;
}

.pp-shop-stats .online {
  color: #22c55e;
}

.pp-shop-stats .offline {
  color: #9ca3af;
}

/* CTA */
.pp-shop-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  box-shadow: 0 10px 30px rgba(59,130,246,.45);
}

.pp-shop-btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
}
/* =========================
   SHOP PAGE
========================= */
.shop-hero {
  text-align: center;
  padding: 60px 20px 30px;
}

.shop-avatar {
  width: 90px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.shop-meta {
  color: var(--muted);
  font-size: 14px;
}

.live {
  color: #22c55e;
  font-weight: 800;
}

.shop-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 20px 0;
}

.shop-tab {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 12px;
  color: white;
  cursor: pointer;
}

.shop-tab.active {
  background: linear-gradient(135deg, var(--accent), #60a5fa);
}

.shop-panel {
  display: none;
  padding: 40px 28px;
}

.shop-panel.active {
  display: block;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 24px;
}

.shop-card {
  background: linear-gradient(180deg,#141a2e,#0b0f1a);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

.shop-card img {
  height: 160px;
  margin: 0 auto 10px;
}

.shop-card button {
  margin-top: 10px;
}

.bulk-list {
  display: grid;
  gap: 18px;
}

.bulk-item {
  background: linear-gradient(180deg,#141a2e,#0b0f1a);
  padding: 20px;
  border-radius: 16px;
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 16px;
}

.vault-card {
  background: #141a2e;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.vault-card.private {
  background: repeating-linear-gradient(
    45deg,
    #141a2e,
    #141a2e 10px,
    #0b0f1a 10px,
    #0b0f1a 20px
  );
  color: var(--muted);
}/* =========================================
   MOBILE SLIDE-IN MENU – POKEPAY
========================================= */
@media (max-width: 768px) {

  /* skjul desktop nav */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: linear-gradient(180deg, #0b1025, #070b18);
    padding: 120px 22px 24px; /* ekstra plads til logo */
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 10000;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 60px rgba(0,0,0,.6);
  }

  .main-nav.active {
    right: 0;
  }

  /* LOGO ØVERST */
  .main-nav::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 48px;
    background: url("logo.png") center / contain no-repeat;
  }

  .main-nav a {
    font-size: 20px;
    font-weight: 700;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    text-align: left;
  }

  .main-nav a.active {
    background: linear-gradient(90deg,#3b82f6,#60a5fa);
    color: white;
  }

  /* LOGIN / REGISTER KNAP (eksisterende button) */
  .top-right button:last-of-type {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: 24px;
    z-index: 10001;

    padding: 16px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    text-align: center;

    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;

    box-shadow:
      0 16px 40px rgba(59,130,246,.5),
      inset 0 0 0 1px rgba(255,255,255,.3);
  }

  /* burger */
  .burger {
    font-size: 28px;
    cursor: pointer;
    display: block;
  }

  /* overlay */
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5,8,20,.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9999;
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}
/* =========================
   USER DROPDOWN – PREMIUM
========================= */
.user-dropdown {
  position: fixed;
  top: 64px;
  right: 16px;

  width: 220px;
  padding: 10px;

  background:
    linear-gradient(180deg, rgba(20,26,58,.98), rgba(8,12,30,.98));
  backdrop-filter: blur(12px);

  border-radius: 14px;

  display: none;
  flex-direction: column;
  gap: 6px;

  z-index: 10002;

  transform-origin: top right;
  animation: dropdownIn .18s ease forwards;

  box-shadow:
    0 24px 60px rgba(0,0,0,.65),
    inset 0 0 0 1px rgba(255,255,255,.06);
}

.user-dropdown.active {
  display: flex;
}

/* lille pil mod avatar */
.user-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;

  width: 12px;
  height: 12px;
  background: #141a3a;

  transform: rotate(45deg);
  box-shadow: -1px -1px 0 rgba(255,255,255,.06);
}

/* LINKS */
.user-dropdown a {
  position: relative;
  padding: 11px 14px;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;

  color: #e6e9ff;
  text-decoration: none;

  background:
    linear-gradient(180deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.02)
    );

  transition:
    background .18s ease,
    transform .12s ease,
    box-shadow .18s ease,
    color .18s ease;
}

.user-dropdown a:hover {
  background:
    linear-gradient(180deg,
      rgba(79,108,255,.22),
      rgba(79,108,255,.12)
    );

  color: #ffffff;
  transform: translateX(2px);

  box-shadow:
    inset 0 0 0 1px rgba(79,108,255,.45),
    0 8px 18px rgba(79,108,255,.25);
}

/* divider (kan bruges med <span class="divider"></span>) */
.user-dropdown .divider {
  height: 1px;
  margin: 4px 6px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,.14),
    transparent
  );
}

/* LOGOUT */
.user-dropdown a.logout {
  margin-top: 6px;

  background:
    linear-gradient(180deg,
      rgba(239,68,68,.22),
      rgba(239,68,68,.12)
    );

  color: #fecaca;
}

.user-dropdown a.logout:hover {
  background:
    linear-gradient(180deg,
      rgba(239,68,68,.35),
      rgba(239,68,68,.18)
    );

  color: #fff;

  box-shadow:
    inset 0 0 0 1px rgba(239,68,68,.55),
    0 10px 24px rgba(239,68,68,.35);
}

/* ANIMATION */
@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: scale(.92) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* =========================
   SHOP PLANS – CENTER LIST
========================= */
.flow-step ul {
  display: flex;
  flex-direction: column;
  align-items: center;        /* 🔥 centrerer hele listen */
  text-align: left;           /* tekst står pænt */
  gap: 6px;
}

.flow-step ul li {
  width: 100%;
  max-width: 240px;           /* ens bredde, ser pro ud */
  font-size: 14px;
  opacity: .95;
}
/* Fjern linjer / understregning på menu-links */
nav a,
.nav a,
.menu a {
  text-decoration: none !important;
  border-bottom: none !important;
}
.top-nav a {
  text-decoration: none;
}/* Fjern understregning / linjer i top-menu */
.topbar .main-nav a {
  text-decoration: none;
  border-bottom: none;
}

/* Også ved hover / focus / active */
.topbar .main-nav a:hover,
.topbar .main-nav a:focus,
.topbar .main-nav a.active {
  text-decoration: none;
  border-bottom: none;
}
/* =========================
   TRUSTPILOT HEADER BADGE
========================= */
.trustpilot-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1; /* 🔥 presser den i midten */
}

.trustpilot-wrap img {
  height: 10px;
  opacity: 0.9;
  transition: opacity .2s ease, transform .2s ease;
}

.trustpilot-wrap img:hover {
  opacity: 1;
  transform: scale(1.04);
}

/* Skjul på mobil */
@media (max-width: 900px) {
  .trustpilot-wrap {
    display: none;
  }
}
/* TRUSTPILOT HEADER SIZE FIX */
.trustpilot-center img {
  height: 35px;      /* ↓ fra fx 28–32px */
  max-height: 35px;
  width: auto;
  opacity: 0.95;
  transition: transform .2s ease, opacity .2s ease;
}

.trustpilot-center img:hover {
  transform: scale(1.05);
  opacity: 1;
}
/* SEO LINK TEKST (GLOBAL) */
p a {
  color: #7c6cff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

/* Hover underline */
p a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #7c6cff, #a58bff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

p a:hover::after {
  transform: scaleX(1);
}
.offers-row .info {
  font-size: 14px;
  opacity: 0.85;
  word-break: break-all;
}
/* =========================
   ADVANCED HEADER ENERGY BAR
========================= */
.header-glow-bar{
  position: sticky;
  top: 64px;
  height: 4px;
  width: 100%;
  z-index: 99;
  overflow: hidden;

  /* base glow */
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(59,130,246,.4) 15%,
      rgba(96,165,250,1) 50%,
      rgba(59,130,246,.4) 85%,
      transparent 100%
    );

  background-size: 300% 100%;

  box-shadow:
    0 0 14px rgba(59,130,246,.9),
    0 0 40px rgba(59,130,246,.45);

  animation:
    energyFlow 5s linear infinite,
    energyPulse 2.8s ease-in-out infinite;
}

/* =========================
   FLOW ANIMATION
========================= */
@keyframes energyFlow{
  from{ background-position: 0% 50%; }
  to{ background-position: 300% 50%; }
}

/* =========================
   BREATHING / PULSE
========================= */
@keyframes energyPulse{
  0%,100%{
    box-shadow:
      0 0 10px rgba(59,130,246,.6),
      0 0 30px rgba(59,130,246,.3);
  }
  50%{
    box-shadow:
      0 0 22px rgba(96,165,250,1),
      0 0 70px rgba(59,130,246,.8);
  }
}

/* =========================
   SCANLINE / WAVE
========================= */
.header-glow-bar::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      120deg,
      transparent 35%,
      rgba(255,255,255,.45),
      transparent 65%
    );
  opacity:.35;
  transform:translateX(-100%);
  animation: scanWave 3.2s ease-in-out infinite;
}

/* =========================
   SHIMMER PARTICLE
========================= */
.header-glow-bar::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.7), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.4), transparent 45%);
  opacity:.25;
  animation: shimmerFloat 6s ease-in-out infinite alternate;
}

/* =========================
   EXTRA ANIMATIONS
========================= */
@keyframes scanWave{
  0%{ transform:translateX(-120%); }
  50%{ transform:translateX(120%); }
  100%{ transform:translateX(120%); }
}

@keyframes shimmerFloat{
  from{ opacity:.15; }
  to{ opacity:.35; }
}
/* =========================
   NAV DROPDOWN (FLAT STYLE)
========================= */
.nav-dropdown{
  position:relative;
  display:flex;
  align-items:center;
}

/* trigger matcher links */
.nav-trigger{
  font-size:14px;
  font-weight:500;
  color:var(--muted);
  cursor:pointer;
  padding:0;
  transition:color .15s ease;
}

.nav-trigger:hover{
  color:white;
}

/* dropdown menu */
.nav-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:180px;

  background:#0b0f1a;
  border:1px solid rgba(255,255,255,.06);
  border-radius:6px;

  padding:6px 0;

  box-shadow:0 20px 40px rgba(0,0,0,.6);

  opacity:0;
  transform:translateY(6px);
  pointer-events:none;

  transition:opacity .15s ease, transform .15s ease;
  z-index:200;
}

/* links i dropdown */
.nav-menu a{
  display:block;
  padding:8px 16px;
  font-size:14px;
  color:#cbd3ff;
  transition:background .15s ease, color .15s ease;
}

.nav-menu a:hover{
  background:rgba(255,255,255,.04);
  color:white;
}

/* show */
.nav-dropdown:hover .nav-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.nav-dropdown::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:10px;
}
.nav-dropdown{
  margin-right:20px; /* matcher nav a spacing */
}
/* ===== FIX: Topbar avatar (override global img max-width) ===== */
.user-avatar{
  width:32px !important;
  height:32px !important;
  max-width:32px !important;
  max-height:32px !important;
  min-width:32px;
  min-height:32px;

  object-fit:cover;
  border-radius:50%;
  display:block;
  flex-shrink:0;
  max-inline-size:32px;

  background:#0b1024;
  border:1px solid rgba(255,255,255,.18);
}

.user-box{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}


.user-box img{
  max-width:none; /* stopper arv fra img { max-width:300% } */
}
.user-info{
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:600;
}
.pokepay-explain{
  padding:80px 20px;
  background:
    radial-gradient(circle at top, rgba(79,108,255,.12), transparent 60%),
    linear-gradient(180deg, #0b0f1a, #070b16);
  color:#e7eaf4;
}

.pp-header{
  text-align:center;
  max-width:900px;
  margin:0 auto 60px;
}

.pp-header h3{
  color:#8f97c7;
  font-weight:500;
  margin-bottom:12px;
}

.pp-header h1{
  font-size:42px;
  margin:0 0 20px;
  letter-spacing:-1px;
}

.pp-header h1 span{
  color:#4f6cff;
  text-shadow:0 0 20px rgba(79,108,255,.4);
}

.pp-header p{
  font-size:18px;
  color:#b9c0f0;
  line-height:1.6;
}

.pp-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
  max-width:1100px;
  margin:0 auto;
}

.pp-card{
  background:linear-gradient(180deg,#121735,#0d122b);
  border:1px solid rgba(79,108,255,.15);
  border-radius:18px;
  padding:20px;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,.6);
  transition:.3s ease;
}

.pp-card:hover{
  transform:translateY(-6px);
  box-shadow:0 30px 80px rgba(79,108,255,.25);
}

.pp-img{
  border-radius:14px;
  overflow:hidden;
  margin-bottom:18px;
  background:#0b0f1a;
}

.pp-img img{
  width:100%;
  display:block;
  opacity:.9;
}

.pp-card h2{
  margin:10px 0 10px;
  font-size:20px;
}

.pp-card p{
  font-size:15px;
  color:#aab1e6;
  line-height:1.5;
}

.pp-cta{
  margin-top:60px;
  text-align:center;
}

.pp-cta a{
  display:inline-block;
  padding:14px 34px;
  background:linear-gradient(135deg,#4f6cff,#6f8cff);
  color:white;
  font-weight:700;
  border-radius:999px;
  text-decoration:none;
  box-shadow:0 10px 30px rgba(79,108,255,.4);
  transition:.25s ease;
}

.pp-cta a:hover{
  transform:scale(1.05);
  box-shadow:0 15px 45px rgba(79,108,255,.6);
}
