:root {
    --bg: linear-gradient(135deg, #2f2f2f, #444, #2f2f2f);
    --accent: #ffef9f;
    --accent2: #a5e0d2;
    --text: #222;
    --shadow: rgba(0, 0, 0, 0.5);
  }

  * { box-sizing: border-box; margin:0; padding:0; }

  body {
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
  }

  header { text-align: center; margin-bottom: 1rem; }
  header h1 {
    font-size: 4.2rem;
    transform: rotate(-1deg);
    display: inline-block;
    background: var(--accent);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    box-shadow: 0 3px 6px var(--shadow);
  }

  main {
    /* display: grid;
    width: 100%;
    max-width: 1000px;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    justify-items: start;  */
  }

  .postit .content {
    display: flex;
    
    align-items: center;
    justify-content: flex-start; /* space-between kan de eerste positie duwen */
    /* gap: clamp(0.5rem, 2vw, 1.4rem); */
  }
  
  .reverse .content {
    flex-direction: row-reverse;
  }

  .postit {
    background: linear-gradient(120deg, #ffef9f, #fff3c0);
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 1000px;
    outline: 2px solid #3b3b3b;
    box-shadow: 0 4px 6px var(--shadow);
    transform: rotate(var(--angle,0deg));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
  
  }

  .postit.alt {  background: linear-gradient(120deg, #a5e0d2, #c7f0e6); }

  .postit h2 {
    font-family: system-ui, sans-serif;
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 0.3rem;
    display: flex;
  }

  .icon {

    color: var(--text);
    opacity: 0.8;
  }
  .icon.material-symbols-outlined {
    display: flex;
    justify-content: center;
      
    font-size: clamp(6.2rem, 6.5vw, 6.2rem) !important;
  }

  .text { 
    flex: 1;
    min-width: 0;
    font-family: 'Poppins', sans-serif;
  }

  .text p {
    font-size: clamp(0.9rem, 1.2vw + 0.5rem, 1.35rem);
    line-height: 1.2;
  }

  .reverse .content { flex-direction: row-reverse; }

  .postit:hover { transform: rotate(0deg) scale(1.02); box-shadow: 0 6px 10px var(--shadow); z-index:1; }

  footer {
    text-align:center;
    font-size:0.85rem;
    color:#ddd;
    margin-top:auto;
  }

  .invite {
    background: #fff9c4;
    grid-column: span 2;
    text-align:center;
    flex-direction: column;
  }

  .invite h2 {
    font-family: system-ui, sans-serif;
    font-size: 1.6rem;
    margin-bottom:0.5rem;
  }

  .invite p { font-family: 'Poppins', sans-serif; margin-bottom:1rem; }
  .invite button {
    background: var(--accent2);
    border: none;
    padding: 0.8rem 1.2rem;
    font-weight:600;
    border-radius:6px;
    box-shadow:0 3px 5px var(--shadow);
    cursor:pointer;
    transition: transform 0.2s ease;
  }

  .invite button:hover { transform: scale(1.05); }

  .cta-btn {
    display: inline-block;
    background: var(--accent2);
    border: none;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 3px 5px var(--shadow);
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
    color: var(--text);
  }
  
  .cta-btn:hover {
    transform: scale(1.05);
  }

  .signup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.8rem;
  }
  
  .signup-form input {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 240px;
    text-align: center;
    font-size: 1rem;
  }
  
  .signup-msg {
    margin-top: 0.6rem;
    font-weight: 500;
  }
  
  .cta-form { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1rem; }
.cta-form input, .cta-form textarea { padding: 0.6rem; border: 1px solid #ccc; border-radius: 4px; font: inherit; }
.cta-form button { align-self: flex-start; }

.upload-group { margin: 0.5rem 0; }
.upload-group label { display: block; margin-bottom: 0.3rem; font-weight: 600; }

.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 0.5rem; margin-top: 0.5rem; }
.preview-grid img { width: 100%; height: 80px; object-fit: cover; border-radius: 4px; border: 1px solid #ddd; }

.tier-hint { font-size: 0.9rem; color: #666; margin: 0.5rem 0; }
.upsell { color: #0066cc; }

.invite-form {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.6rem;
}

.invite-form > div {
  width: 100%;
  max-width: 640px;
}


  /* Responsive */
/* >=901px → 3 kolommen */
@media (min-width:901px){
  main {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Invite = 2 kolommen breed (bijv. kolom 1–2) */
  .invite {
    grid-column: span 2;
  }
}

/* 600–900px → 2 kolommen */
@media (max-width:900px) and (min-width:601px){
  main {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Invite = volledige rij */
  .invite {
    grid-column: 1 / span 2;
  }
}

/* <=600px → 1 kolom */
@media (max-width:600px){
  main {
    grid-template-columns: 1fr;
  }

  .invite {
    grid-column: auto;
  }
}
.mosaic-loader {
  position: fixed;
  inset: -25vw -25vh;
  width: 150vw;
  height: 150vh;
  pointer-events: none;
  z-index: -9998;
  /* ====== JOUW OPACITY CONTROLE ====== */
  opacity: 0.05; /* ← PAS HIER AAN: 0.1 = heel subtiel, 1.0 = vol */
  /* ==================================== */
}
.qr-cell {
  position: absolute;
  background: transparent;
  border: 2px solid var(--cell-color);
  border-radius: 6px;
  opacity: 0;
  transform: scale(var(--scale-start, 2)) translateZ(0);
  animation: qrFloat var(--duration, 3000ms) ease-in-out var(--delay, 0ms) infinite;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  will-change: transform, opacity, background, border;
 
}

@keyframes qrFloat {
  0%   { opacity: 0; transform: scale(var(--scale-start)) translateY(30px); background: transparent; border-color: transparent; }
  18%  { opacity: 1; border-color: var(--cell-color); }
  45%  { background: var(--cell-color); transform: scale(1.1); }
  75%  { background: var(--cell-color); transform: scale(var(--scale-end)); }
  100% { opacity: 0; transform: scale(var(--scale-end)) translateY(-25px); background: transparent; border-color: transparent; }
}

.launch-top-header {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.launch-top-title {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  background: var(--accent);
  padding: 0.8rem 1.3rem;
  border-radius: 8px;
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  font-weight: 700;
  transform: rotate(-1deg);
  box-shadow: 0 4px 8px var(--shadow);
}

.launch-top-icon {
  font-size: 1.5em !important;
  transform: translateY(0.12em);
}