:root {
  --bg-1: #09121c;
  --bg-2: #0e304c;
  --bg-3: #0a6ed1;
  --accent: #6ED3FF;
  --text: #eaf7ff;
  --muted: #b9d7ea;
  --card-bg: rgba(8, 20, 35, 0.5);
  --glass: rgba(255,255,255,0.08);
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { 
  min-height: 100%; 
}

body {
  margin: 0;
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  position: relative;           /* anchor the pseudo-element */
  overflow-x: hidden;
  min-height: 100%;
}

/* Full-page gradient that expands with the document height */
body::before {
  content: "";
  position: fixed;
  inset: 0;                     /* top:0; right:0; bottom:0; left:0 */
  z-index: -2;                  /* behind all content */
  background:
    radial-gradient(1200px 800px at 15% 15%, #0a6ed144, transparent 60%),
    radial-gradient(800px 600px at 85% 25%, #00bcd48c, transparent 60%),
    radial-gradient(1000px 700px at 35% 80%, #7c4dff66, transparent 60%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
  background-repeat: no-repeat; /* no tiling */
}

/* Animated nebula layer */
.bg-anim {
  position: fixed;
  inset: 0;
  z-index:-1;
  pointer-events: none;
  background:
    radial-gradient(1000px 800px at 10% 30%, rgba(0,170,255,.18), transparent 70%),
    radial-gradient(1000px 800px at 90% 60%, rgba(0,255,200,.12), transparent 70%),
    radial-gradient(800px 600px at 40% 90%, rgba(150,80,255,.16), transparent 70%);
  filter: saturate(120%) blur(0.2px);
  animation: drift 28s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(-1%, -1%, 0) scale(1.02); }
  100% { transform: translate3d(1%, 1%, 0)  scale(1.05); }
}

header {
  width: 100%;
  padding: clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 40px) 20px;
}

.hero {
  margin-top: 3vh;
  text-align: center;
}
.hero h1 {
  font-size: clamp(40px, 8vw, 90px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #c1f1ff, #8ad7ff, #c1f1ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 12s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(0, 140, 255, .25));
}
@keyframes shine {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.products {
  position:absolute; 
  left:-9999px;
}
.tagline {
  margin: 14px auto 22px;
  max-width: 800px;
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--muted);
}

.credit {
  margin-top: 8px;
  font-size: 14px;
  color: #9cc9e8;
  opacity: .9;
}

.grid {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) );
  gap: 22px;
  margin-top: 36px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 190px;
  -webkit-backdrop-filter: blur(6px) saturate(115%);
  backdrop-filter: blur(6px) saturate(115%);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.card::after {
  content: "";
  position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent 0 320deg, rgba(110,211,255,.4) 330deg, transparent 360deg);
  transform: rotate(0deg);
  animation: spin 12s linear infinite;
  opacity: .25;
  z-index: 0;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(110,211,255,.45);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}

.card-head{
  display:flex;
  align-items:center;     /* logo en titel verticaal gecentreerd */
  gap:14px;               /* ruimte tussen logo en titel */
  margin-bottom:8px;      /* wat lucht boven de link/description */
}

.card-link{
  display:block;                 /* laat de <a> als kaart gedragen */
  color:inherit;
  text-decoration:none;
  position:relative;
  border-radius: var(--radius);  /* behoud afgeronde hoeken voor hover/focus */
}

/* Optioneel: cursor en focus-stijl voor toetsenbordtoegang */
.card-link{ cursor:pointer; }
.card-link:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px rgba(110,211,255,.6), var(--shadow);
}

/* Zorg dat “B6Missions.com” niet onderlijnd wordt */
.card-link .link{ text-decoration:none; }
.card-link:hover .link{ text-decoration:underline; }  /* als je juist wél hint wil */

/* optioneel: iets kleinere logo's in de kaartkop */
.card-head .logo{
  width:72px;
  height:72px;
}
.card .title{
  margin: 0 0 0 15px;
  line-height:1.2;
}

.brand{
  display:flex;
  justify-content:center;   /* centreer horizontaal als groep */
  align-items:center;        /* logo en H1 verticaal centreren */
  gap:16px;
  width:100%;
}

.mainLogo{
  width:75px;
  height:75px;
  /* margin-top:50px;  <-- weghalen */
  transform: translateY(3px);   /* logo 10px omlaag, zonder layout te verschuiven */
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45));
}

@media (max-width: 600px) {
  .mainLogo{
    width:50px;
    height:50px;
    /* margin-top:50px;  <-- weghalen */
    transform: translateY(-1px);   /* logo 10px omlaag, zonder layout te verschuiven */
    filter: drop-shadow(0 4px 9px rgba(0,0,0,.45));
  }
}

.brandTitle{
  margin:0;                  /* standaard h1-margin weghalen */
  line-height:1;
}

.logo { width: 84px; height: 84px; object-fit: contain; display:block; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.title { font-size: 20px; margin: 12px 0 6px; letter-spacing:.3px; }
.link  { color: var(--accent); text-decoration: none; font-weight: 600; }
.desc  { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

.cryptocomLogo{
  width:40px;
  height:40px;
  transform: translateY(0px);   /* logo 10px omlaag, zonder layout te verschuiven */
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45));
}

.referral {
  margin-top: 6vh;
  text-align: center;
}

footer {
  text-align: center;
  padding: 0px 20px 60px;
  color: #9cc9e8;
  opacity: .9;
}

.card-inner { position: relative; z-index: 1; }