
  body.sponsor-page {
    min-height: 100vh;
    padding-top: 72px;
    background: radial-gradient(circle at top, rgba(40, 230, 255, .16), transparent 34%), #060812;
    color: #eefcff;
    overflow-x: hidden;
  }

  .mqr-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: linear-gradient(180deg, rgba(6, 6, 15, .50), rgba(10, 10, 28, .22));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 0px solid rgba(255,255,255,.12);
    box-shadow: 0 10px 34px rgba(0,0,0,.42), 0 0 30px rgba(139,92,246,.12);
  }
  .mqr-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: .04em;
  }
  .mqr-navbar .navbar-brand img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 18px rgba(190,140,255,.65);
  }
  .mqr-navbar .navbar-nav {
    gap: .35rem;
  }
  .mqr-navbar .nav-link {
    color: rgba(255,255,255,.76);
    font-size: .92rem;
  }
  .mqr-navbar .nav-link:hover,
  .mqr-navbar .nav-link:focus {
    color: #fff;
  }
  .mqr-top-btn {
    color: #fff;
    text-decoration: none;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    box-shadow: 0 0 20px rgba(236,72,153,.35);
    font-size: .9rem;
    border: 0;
  }
  .mqr-top-btn:hover,
  .mqr-top-btn:focus {
    color: #fff;
    filter: brightness(1.08);
  }
  .navbar-toggler {
    border-color: rgba(255,255,255,.2);
  }
  @media (max-width: 991.98px) {
    body.sponsor-page { padding-top: 66px; }
    .mqr-navbar .navbar-collapse {
      margin-top: .75rem;
      padding: .75rem;
      border-radius: 18px;
      background: rgba(7, 12, 26, .94);
      border: 1px solid rgba(255,255,255,.12);
    }
    .mqr-navbar .navbar-nav {
      gap: .1rem;
      margin-bottom: .75rem;
    }
    .mqr-top-btn {
      display: inline-flex;
      justify-content: center;
      width: 100%;
    }
  }

  #sponsor-particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  #sponsor-particles canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
  }
  .sponsor-wrap { position: relative; z-index: 1; }
  
  .sponsor-card {
    background: rgba(7, 12, 26, .78);
    border: 1px solid rgba(108, 243, 255, .25);
    box-shadow: 0 0 40px rgba(0, 210, 255, .12), inset 0 0 22px rgba(255,255,255,.03);
    backdrop-filter: blur(12px);
    border-radius: 28px;
  }
  .sponsor-photo {
    width: 268px;
    height: 268px;
    object-fit: cover;
    border-radius: 50%;
    border: 0px solid rgba(120, 245, 255, .72);
    box-shadow: 0 0 30px rgba(0, 230, 255, .35), 0 0 80px rgba(125, 80, 255, .18);
    animation: floatSponsor 4.2s ease-in-out infinite;
    background: rgba(255,255,255,.08);
  }
  @keyframes floatSponsor {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-13px); }
  }
  .magic-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 12px;
    max-width: 360px;
    margin-inline: auto;
    touch-action: none;
    user-select: none;
  }
  .magic-tile {
    aspect-ratio: 1;
    border-radius: 20px;
    border: 1px solid rgba(120, 245, 255, .38);
    color: #090909;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 0 18px rgba(0, 218, 255, .12);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .magic-tile.active {
    transform: scale(.94) rotate(2deg);
    border-color: rgba(255, 210, 95, .95);
    box-shadow: 0 0 28px rgba(255, 210, 95, .35), 0 0 48px rgba(0, 235, 255, .22);
  }
  .selection-pill {
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
  }
  .btn-sponsor-action { white-space: normal; }
  
  .brand-subtitle{
	margin-top:-5px; 
    display:block;
    font-size:.8rem;
    opacity:.8;
    color:#c8a2ff;
  }
  
  .journey-group-title{
  font-size:.75rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
  margin:.5rem 0 .65rem;
}

.journey-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:.75rem;
}

@media(min-width:768px){
  .journey-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

.journey-card{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;
  border-radius:18px;
  padding:1rem .75rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.35rem;
  transition:.2s ease;
}

.journey-card:hover,
.journey-card.active{
  border-color:rgba(199,162,255,.85);
  background:rgba(150,90,255,.18);
  box-shadow:0 0 24px rgba(180,120,255,.25);
}

.journey-icon{
  font-size:1.4rem;
}

.natal-fields{
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:1rem;
}

.natal-fields .form-control{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}

.natal-fields .form-control::placeholder{
  color:rgba(255,255,255,.45);
}
.journey-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  justify-content:center;
}

.journey-btn{
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.05);
  color:#fff;
  border-radius:999px;
  padding:.45rem .9rem;
  font-size:.85rem;
}

.journey-btn.active{
  background:rgba(180,120,255,.25);
  border-color:#c8a2ff;
}

.dropdown{
  position:relative;
  z-index:5000;
}

.dropdown-menu{
  z-index:6000;
}

#sponsor-particles{
  pointer-events:none;
}

.journey-picker{
  position:relative;
  z-index:5000;
}

.journey-picker .dropdown-menu{
  z-index:6000;
  min-width:220px;
}

.swirl-panel{
  text-align:center;
  margin-top:1.5rem;
}

.current-mode{
  display:inline-block;
  margin-bottom:1rem;
  padding:.4rem 1rem;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.9);
  font-size:.9rem;
}

.magic-squares{
  width:min(320px, 88vw);
  height:min(320px, 88vw);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:.65rem;
  touch-action:none;
}

.magic-tile{
  border:1px solid rgba(255,255,255,.18);
  border-radius:22px;
  background: #0b0f1a;
  box-shadow:0 0 24px rgba(180,120,255,.22);
  transition:transform .18s ease, filter .18s ease, box-shadow .18s ease;
}


.magic-tile.swirling{
  transform:scale(1.08) rotate(8deg);
  filter:brightness(1.35);
  box-shadow:0 0 36px rgba(255,255,255,.45);
}

.magic-tile.selected{
  transform:scale(.96);
  outline:2px solid rgba(255,255,255,.8);
}

.reveal-card{
  margin:1rem auto 0;
  display:inline-block;
  padding:.7rem 1.2rem;
  border-radius:18px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:1.1rem;
}



.history-title{
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:rgba(255,255,255,.55);
  margin-bottom:.6rem;
}

.history-item{
  display:flex;
  justify-content:space-between;
  padding:.45rem 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#fff;
  font-size:.9rem;
}

.swirl-wrap{
 
  width:min(320px, 88vw);
  margin:0 auto;
}

.history-rail{
  position: absolute;
  top: 10px;
  right: -100px;
  width: 70px;

  padding: .75rem .5rem;
  border-radius: 18px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);

  z-index: 10;
}

.magic-wrapper{
  position: relative;
}

.swirl-panel,
.magic-wrapper{
  overflow: visible;
}

.mqr-card {
  width: 100%;
  height: 460px;
  perspective: 1200px;
  position: relative;
}

.mqr-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.mqr-card.flipped .mqr-card-inner {
  transform: rotateY(180deg);
}

.mqr-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.mqr-front {
  transform: rotateY(0deg);
}

.mqr-back {
  transform: rotateY(180deg);
}



.card-back {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-result-img {
  max-height: 280px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

#resultTitle {
  color: #ffffff;
  font-weight: 700;
}

#resultJourney,
#resultNumber {
  color: rgba(255,255,255,0.65);
}





#astralMode input {
  width: 70%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  box-sizing: border-box;
  margin-bottom: 12px;
}

#astralMode button {
  width: 70%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #222;
  color: #fff;
  font-weight: 600;
}

#astralMode input[type="date"],
#astralMode input[type="time"] {
  width: 70%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  box-sizing: border-box;
}

#astralMode input[type="date"]::-webkit-calendar-picker-indicator,
#astralMode input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.7;
  cursor: pointer;
}

.history-title button {
  font-size: 12px;
  padding: 4px 10px;
  opacity: 0.5;
  
  position: absolute;
  top: -40px;
  left: 1px;
}

.history-title button:hover {
  opacity: 1;
}

.debug-text{
  position: absolute;
  top: -90px;
  left: 1px;
	
}

.magic-tile {
  transition: transform 0.08s ease, filter 0.08s ease, box-shadow 0.08s ease;
}

.magic-stage {
  width: 100%;
  height:100%;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#magicCanvas {
  display: block;
  /* Width and height will be set dynamically via JS */
}

.stage-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hint {
  opacity: 0.6;
  font-size: 12px;
  padding-bottom: 12px;
}

.storefront-section {
  max-width: 1120px;
  margin: 0 auto;
}
.storefront-card {
  position: relative;
  height: 100%;
  border: 1px solid rgba(120, 255, 235, .22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  overflow: hidden;
}

.

.storefront-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(200,100,100,.16), transparent 42%);
  pointer-events: none;
}


.storefront-card-body {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
}
.storefront-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(100,100,100,.12);
  color: #7c4dff;
  font-size: 1.35rem;
  border: 1px solid rgba(127,255,234,.25);
}
.storefront-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.storefront-muted {
  color: rgba(255,255,255,.72);
}
.storefront-card .btn {
  border-radius: 999px;
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-price {
  color: #64ffe3;
  font-weight: 700;
  font-size: 1.1rem;
}

.product-features {
  padding-left: 1.1rem;
}

.product-features li {
  margin-bottom: 0.35rem;
}

#magicCanvas,
.magic-stage {
  touch-action: none;
  overscroll-behavior: contain;
}