@charset "UTF-8";
/* Storm Network v2 - Red/
Blue Glass */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

:root{
  --storm-red:#e10600;
  --storm-blue:#1e90ff;
  --bg-0:#050812;
  --bg-1:#0b1020;
  --glass: rgba(18, 22, 35, .72);
  --glass2: rgba(18, 22, 35, .55);
  --border: rgba(255,255,255,.12);
  --muted: rgba(233,241,255,.75);
  --text: #e9f1ff;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);

  /* Neutral base – ingen blå/røde ringe */
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));

  overflow-x:hidden;
}


.bg{
  position:fixed; inset:0;
  background:
    linear-gradient(180deg, rgba(5,8,18,.45), rgba(5,8,18,.82)),
    url('/assets/img/hero.jpg') center/cover no-repeat;
  filter:saturate(1.05) contrast(1.05);
  z-index:-2;
}
.no-bg .bg{ display:none; }
.grain{
  position:fixed; inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
  opacity:.28;
  z-index:-1;
}

.container{max-width:1150px;margin:0 auto;padding:26px 18px}
/* bruges når du kun vil have max-width + side-padding, uden ekstra top/bottom */
.wrap{max-width:1150px;margin:0 auto;padding:0 18px}
/* samme bredde som container, men uden "top/bottom" padding (til hero/footer) */
.wrap{max-width:1150px;margin:0 auto;padding:0 18px}
a{color:inherit;text-decoration:none}
.small{font-size:13px;color:var(--muted)}
.muted{color:var(--muted)}
hr.sep{border:0;border-top:1px solid rgba(255,255,255,.08);margin:18px 0}

.navwrap{
  position:sticky; top:14px; z-index:50;
}
.nav{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:18px;
  background:rgba(12, 15, 26, .62);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 50px rgba(0,0,0,.35);
}
.brand{
  display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.2px
}
.logo{
  width:34px;height:34px;border-radius:12px;
  background:linear-gradient(135deg,var(--storm-blue),var(--storm-red));
  box-shadow:0 0 26px rgba(30,144,255,.35), 0 0 30px rgba(225,6,0,.18);
}
.navlinks{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.navlinks a{
  padding:10px 12px;border-radius:12px;
  color:rgba(233,241,255,.9);
  transition:.2s ease;
}
.navlinks a.active{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.navlinks a:hover{background:rgba(255,255,255,.06)}
.navcta{display:flex;gap:10px;align-items:center}
.iconbtn{
  width:38px;height:38px;border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  display:grid;place-items:center;
  transition:.2s ease;
}
.iconbtn:hover{transform:translateY(-1px);background:rgba(255,255,255,.06)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:11px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.20);
  color:var(--text);
  font-weight:700;
  transition:.22s ease;
  user-select:none;
}
.btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.06)}
.btn.primary{
  border-color: rgba(30,144,255,.35);
  background: linear-gradient(135deg, rgba(30,144,255,.95), rgba(225,6,0,.9));
  box-shadow: 0 10px 35px rgba(30,144,255,.22), 0 10px 40px rgba(225,6,0,.12);
}
.btn.primary:hover{box-shadow:0 14px 45px rgba(30,144,255,.28), 0 16px 55px rgba(225,6,0,.16)}
.btn.ghost{
  border-color: rgba(255,255,255,.16);
  background: rgba(15, 18, 30, .55);
}

.hero{
  margin-top:18px;

  /* FJERN GLAS/RAMME HELT */
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.heroinner{
  /* FJERN “glas overlay” inde i hero */
  padding: 24px 0;
  background: transparent !important;
}

.heroTop{
  display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
  flex-wrap:wrap;
}
.hTitle{
  margin:0;
  font-size:46px; line-height:1.05;
  font-weight:900;
  letter-spacing:-.8px;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.hSub{
  margin:10px 0 0;
  max-width:72ch;
  color:rgba(233,241,255,.83);
  line-height:1.55;
}
.pill{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  min-width: 140px;
  justify-content:center;
}
.dot{
  width:10px;height:10px;border-radius:999px;background:#666;
  box-shadow:none;
}
.dot.on{background:#22c55e; box-shadow:0 0 18px rgba(34,197,94,.55)}
.dot.off{background:#ef4444; box-shadow:0 0 18px rgba(239,68,68,.55)}
.heroGrid{
  display:grid; gap:14px;
  grid-template-columns: repeat(12, 1fr);
  margin-top:18px;
}
.feature{
  grid-column: span 4;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background: rgba(15, 18, 30, .55);
  padding:16px 16px 14px;
  transition:.22s ease;
}
.feature:hover{transform:translateY(-2px); background: rgba(255,255,255,.06)}
.ico{
  width:38px;height:38px;border-radius:14px;
  display:grid;place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  margin-bottom:10px;
}
.feature h3{margin:0 0 6px;font-size:18px}
.feature p{margin:0;color:rgba(233,241,255,.76);line-height:1.45;font-size:13px}

.ctarow{
  display:flex;gap:12px;flex-wrap:wrap;align-items:center;
  margin-top:18px;
}
.socialrow{
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;
  margin-top:14px;
}
.social{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  transition:.2s ease;
  font-weight:700;
  font-size:13px;
}
.social:hover{transform:translateY(-1px);background:rgba(255,255,255,.06)}
.tag{
  padding:4px 8px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(233,241,255,.85);
  font-size:12px;
  font-weight:700;
}

.mainGrid{
  display:grid; gap:14px;
  grid-template-columns: repeat(12, 1fr);
  margin-top:14px;
}
.card{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cardhead{padding:16px 16px 0}
.cardbody{padding:16px}
.card h2{margin:0 0 6px;font-size:18px}
.card .sub{margin:0;color:rgba(233,241,255,.78);font-size:13px;line-height:1.45}

.statusCard{grid-column: span 5}
.playersCard{grid-column: span 7}

.kv{
  display:grid; gap:10px;
  margin-top:12px;
}
.kv .row{
  display:flex;justify-content:space-between;gap:14px;
  padding:10px 12px;border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.kv b{font-weight:800}
.kv span{color:rgba(233,241,255,.82)}
.copy{
  cursor:pointer;
  padding:9px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  font-weight:800;
}
.copy:hover{background:rgba(255,255,255,.06)}
.table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.table th,.table td{
  padding:10px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
}
.table th{color:rgba(233,241,255,.78);font-weight:800}
.table td{color:rgba(233,241,255,.88)}
.scrollbox{
  max-height: 420px;
  overflow:auto;
  border-top:1px solid rgba(255,255,255,.08);
}
.scrollbox::-webkit-scrollbar{height:10px;width:10px}
.scrollbox::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:999px}

.footer{
  margin:18px 0 8px;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  color:rgba(233,241,255,.62);
  font-size:12px;
}

@media (max-width:980px){
  .hTitle{font-size:38px}
  .feature{grid-column: span 12}
  .statusCard,.playersCard{grid-column: span 12}
  .navlinks{display:none}
}

/* Serverstatus layout */
.statusRow{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  margin-top:16px;
}
.statusBox{
  grid-column: span 4;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background: rgba(15, 18, 30, .55);
  padding:16px;
}
.statusLabel{
  font-size:12px;
  letter-spacing:.14em;
  color: rgba(233,241,255,.62);
  font-weight:800;
}
.statusValue{
  margin-top:10px;
  font-size:20px;
  font-weight:900;
}

.bigJoin{ margin-top:16px; text-align:center; }
.bigJoinBtn{
  display:inline-flex;
  justify-content:center;
  width:min(640px, 100%);
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(30,144,255,.35);
  background: linear-gradient(135deg, rgba(30,144,255,.95), rgba(225,6,0,.9));
  color:#fff;
  font-weight:900;
  box-shadow: 0 14px 50px rgba(30,144,255,.22), 0 16px 60px rgba(225,6,0,.12);
}
.bigJoinBtn:hover{ transform: translateY(-1px); }

.infoRow{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  margin-top:14px;
}
.infoBox{
  grid-column: span 4;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background: rgba(15, 18, 30, .55);
  padding:16px;
}
.infoTitle{ font-weight:900; margin-bottom:10px; }
.codeBox{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  border-radius:14px;
  padding:12px;
}
.codeLine{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight:900;
  margin-top:6px;
}

@media (max-width:980px){
  .statusBox{ grid-column: span 12; }
  .infoBox{ grid-column: span 12; }
}

/* Serverstatus: 2 info bokse */
.infoRow { grid-template-columns: repeat(12, 1fr); }
.infoRow .infoBox { grid-column: span 6; }

@media (max-width:980px){
  .infoRow .infoBox { grid-column: span 12; }
}

.userMenu { position: relative; display: inline-block; }

.userBtn {
  display:flex; align-items:center; gap:10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(233,241,255,.95);
  font-weight: 800;
  cursor: pointer;
}

.userBtn .caret { opacity:.7; font-weight:900; }

.userDropdown {
  position:absolute;
  right:0;
  top: calc(100% + 10px);
  min-width: 260px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(10,14,20,.78);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  display:none;
  z-index: 9999;
}

.userDropdown.open { display:block; }

.userSectionTitle{
  font-size: 11px;
  letter-spacing: .12em;
  opacity:.6;
  font-weight: 900;
  padding: 8px 10px 6px;
}

.userItem{
  display:flex;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration:none;
  color: rgba(233,241,255,.92);
  font-weight: 700;
}

.userItem:hover{ background: rgba(255,255,255,.06); }

.userDivider{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 8px 6px;
}

.userItem.danger{
  color: #ffb3b3;
}
/* =========================
   PROFILE (profil.php)
   ========================= */
.profileHero{
  max-width: 1100px;
  margin: 0 auto 14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(255,170,60,.55), rgba(225,6,0,.18)),
    radial-gradient(900px 380px at 80% 10%, rgba(255,220,140,.22), transparent 60%),
    rgba(15, 18, 30, .62);
}
.profileHeroInner{padding:18px 18px 16px; backdrop-filter: blur(14px); background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.10));}
.profileTop{display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap;}
.profileLeft{display:flex; gap:14px; align-items:center; min-width: 280px;}
.profileAvatar{width:74px; height:74px; border-radius:18px; overflow:hidden; border:1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.25); box-shadow: 0 18px 55px rgba(0,0,0,.35); display:grid; place-items:center;}
.profileAvatar img{width:100%; height:100%; object-fit:cover; display:block;}
.profileAvatarFallback{font-weight:900; font-size:30px; color:rgba(233,241,255,.92);}
.profileMeta{display:flex; flex-direction:column; gap:6px;}
.profileNameRow{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.profileName{font-size:28px; font-weight:900; letter-spacing:-.4px; text-shadow: 0 10px 40px rgba(0,0,0,.35);}
.profileRole{font-size:12px; font-weight:900; padding:6px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.22);}
.profileSince{color: rgba(233,241,255,.78); font-size:13px;}
.profileActions{display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:flex-end;}

.profileTiles{margin-top:14px; display:grid; gap:12px; grid-template-columns: repeat(12, 1fr);}
.pTile{grid-column: span 4; border:1px solid rgba(255,255,255,.10); border-radius:16px; background: rgba(15, 18, 30, .52); padding:12px 12px 10px;}
.pLbl{font-size:11px; letter-spacing:.12em; text-transform:uppercase; color: rgba(233,241,255,.66); margin-bottom:6px; font-weight:900;}
.pVal{font-size:14px; font-weight:800; color: rgba(233,241,255,.92); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}

.profileGrid{max-width:1100px; margin:0 auto; display:grid; gap:14px; grid-template-columns: repeat(12, 1fr);}
.profileCard{grid-column: span 6;}

.linkRow{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border:1px solid rgba(255,255,255,.10); border-radius:16px; background: rgba(0,0,0,.18); margin-bottom:10px;}
.linkLeft{display:flex; align-items:center; gap:12px; min-width: 220px;}
.linkIcon{width:38px; height:38px; border-radius:14px; display:grid; place-items:center; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10);}
.linkTitle{font-weight:900;}
.linkSub{font-size:12px; color: rgba(233,241,255,.74); margin-top:2px;}
.linkRight{display:flex; align-items:center; gap:8px;}
.linkOk{font-weight:900; color:#5CFF8A;}
.linkWarn{font-weight:900; color:#ffb347;}
.linkMuted{font-weight:900; color: rgba(233,241,255,.55);}

/* =========================
   Toast (beskeder)
   ========================= */
.snToast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(15, 18, 30, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  font-weight: 800;
  transition: .18s ease;
  z-index: 999;
}
.snToast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================
   Inputs
   ========================= */
.snInput{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(233,241,255,.92);
  padding: 12px;
  outline: none;
  font-weight: 800;
}
.snInput:focus{
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}

.pHint{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(233,241,255,.70);
}

/* =========================
   Edit-mode (profil)
   ========================= */
.editMode .hideOnEdit{
  display: none !important;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 920px){
  .pTile{ grid-column: span 6; }
  .profileCard{ grid-column: span 12; }
}

@media (max-width: 520px){
  .pTile{ grid-column: span 12; }
  .profileName{ font-size: 24px; }
}
.navlinks a.active{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 8px 12px;
}
/* === CLICK FIX (NAVBAR) === */
.navwrap,
.navwrap * {
  pointer-events: auto !important;
}

.navwrap {
  position: sticky !important;
  top: 14px !important;
  z-index: 99999 !important;
}

/* Slå klik fra på overlays / pseudo elements der tit ligger ovenpå */
.bg, .grain,
.hero::before, .hero::after,
.heroinner::before, .heroinner::after,
.ring, .rings,
.overlay, .noise,
[class*="ring"], [class*="grain"], [class*="overlay"] {
  pointer-events: none !important;
}
