/* ============================================================
   MYSTICQR – REUSABLE THEME CSS
   Use on: index.php, terms.php, plans.php, etc.
============================================================ */

/* ------------------------------
   THEME VARIABLES
------------------------------ */
:root {
  --bg: #05080c;
  --bg-soft: #0c121a;
  --bg-card: #111822;

  --text: #e4e7eb;
  --text-muted: #8a95a2;

  --accentA: #4dd0e1;   /* aqua */
  --accentB: #7c4dff;   /* violet */
  --accentC: #CBC3E3;   /* violet */
  
  --danger: #ff6b81;
  --success: #4caf50;

  --border-subtle: rgba(255,255,255,0.08);
  --shadow-soft: 0 12px 30px rgba(0,0,0,0.45);
  --radius-card: 18px;
}

/* ------------------------------
   BASE
------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top, #121826 0, #05080c 55%);
  color: var(--text);
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* helper text colors */
.muted {
  color: var(--text-muted) !important;
}

.text-main {
  color: var(--accentA);
}

/* Links */
a {
  color: var(--accentA);
  text-decoration: none;
}

a:hover {
  opacity: 0.88;
}

/* Smooth scrolling for in-page anchors */
html {
  scroll-behavior: smooth;
}

/* ------------------------------
   TYPOGRAPHY & TITLES
------------------------------ */
.section-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.section-title span {
  color: var(--accentA);
}

/* can be used on darker sections */
.section-bg {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ------------------------------
   HERO SECTIONS
------------------------------ */
/* Drone cursor ONLY for the 3D city canvas inside the hero */
header.hero canvas {
    cursor: url('/img/cursors/vm-50.png') 24 24, auto;
}

/* Optional: show “grab” while dragging/rotating */
header.hero canvas:active {
    cursor: grabbing !important;
}


/* Main hero buttons */
header.hero .container.position-relative .btn,
header.hero .container.position-relative button,
header.hero .container.position-relative a.btn {
    cursor: pointer !important;
}

/* User bar (login / logout) */
header.hero .user-bar button,
header.hero .user-bar a {
    cursor: pointer !important;
}

/* Zoom controls on the right */
header.hero .hero-zoom-controls,
header.hero .hero-zoom-controls .btn,
header.hero .hero-zoom-controls button {
    cursor: pointer !important;
}


.hero {
  position: relative;
  padding: 120px 0 20px;
  overflow: hidden;
}

.hero-small {
  padding: 120px 0 60px;
}

.hero h1,
.hero .display-5 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
/* 
.hero .lead {
  max-width: 600px;
}*/

/* Optional overlay for background visuals (Three.js, etc.) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(124,77,255,0.35), transparent 50%),
              radial-gradient(circle at bottom right, rgba(77,208,225,0.25), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
  z-index: -2;
}

/* Container layering */
.hero > .container {
  position: relative;
  z-index: 2;
}

/* Canvas / WebGL background container (if used) */
.hero-canvas-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-canvas-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.6;
}

/* Let canvas receive dblclick everywhere */
header.hero > .container,
header.hero .container.position-relative {
  pointer-events: none;
}

/* Re-enable clicks on interactive UI only */
header.hero .container.position-relative .btn,
header.hero .container.position-relative button,
header.hero .container.position-relative a,
header.hero .user-bar,
header.hero .user-bar button,
header.hero .user-bar a,
header.hero .hero-zoom-controls,
header.hero .hero-zoom-controls .btn,
header.hero .hero-zoom-controls button {
  pointer-events: auto;
}


/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
  backdrop-filter: blur(18px);
  background: rgba(0,0,0,0.75) !important;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  z-index: 20;
}

.navbar-brand {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.navbar-brand i {
  color: var(--accentA);
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-link.active {
  color: var(--accentA) !important;
}

/* ------------------------------
   PILL TAG
------------------------------ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.pill-z {
 
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ------------------------------
   BUTTONS
------------------------------ */
.btn-cta {
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 700;
  color: #05080c !important;
  box-shadow: 0 0 14px rgba(77,208,225,0.5);
  font-size: 0.95rem;
}

.btn-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text);
  padding: 11px 22px;
  font-size: 0.95rem;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

.btn-sm {
  padding: 6px 16px !important;
  font-size: 0.82rem !important;
}

/* Generic utility for subtle links */
.btn-link-soft {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ------------------------------
   CARDS
------------------------------ */
.card-soft {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

/* re-usable image style for products / artifacts / thumbnails */
.artifact-img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  object-fit: cover;
}

/* ------------------------------
   BADGES / CHIPS
------------------------------ */
.badge-chip {
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 11px;
  font-size: 0.78rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-chip strong {
  font-weight: 700;
}

/* Trust chip row label (icon + text) */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.trust-chip i {
  color: var(--accentA);
}

/* ------------------------------
   ARTIFACT GRID ALIGNMENT
------------------------------ */
#artifacts .card-soft {
  display: flex;
  flex-direction: column;
}

#artifacts .card-soft > .p-2,
#artifacts .card-soft > .p-3,
#artifacts .card-soft > .p-2.p-md-3 {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#artifacts .price-row {
  font-size: 0.95rem;
}

#artifacts .price-row span.fs-4 {
  font-size: 1.5rem;
}

/* ensure price+buttons group sits at the bottom */
#artifacts .mt-auto {
  margin-top: auto !important;
}

/* ------------------------------
   ZOOM CONTROLS (HERO)
------------------------------ */
.hero-zoom-controls {
  right: 1rem;
  bottom: 1rem;
  text-align: center;
  z-index: 5;
}

.hero-zoom-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-zoom-buttons {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.hero-zoom-btn {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
}

.hero-zoom-inner {
  pointer-events: auto;
}

.hero-zoom-btn:hover {
  background: rgba(255,255,255,0.16);
}

/* Smaller pills */
.hero-zoom-buttons .hero-zoom-btn {
  font-size: 1rem;
}

/* ------------------------------
   HOW IT WORKS / TRUST SECTIONS
------------------------------ */
#how .card-soft,
#trust .card-soft {
  height: 100%;
}

/* Layout tweaks for text */
#how p,
#trust p {
  font-size: 0.95rem;
}

/* small helper for centered small text */
.small {
  font-size: 0.8rem;
}

/* ------------------------------
   LEGAL / TERMS PAGE
------------------------------ */
.legal-copy {
  font-size: 0.98rem;
  line-height: 1.8;
}

.legal-copy h3 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.legal-copy p {
  margin-bottom: 0.9rem;
}

/* Subtle rule between major sections if desired */
.legal-copy hr {
  border-color: rgba(255,255,255,0.08);
}

/* ------------------------------
   FOOTER
------------------------------ */
.site-footer {
  background: #05080c;
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
}

.site-footer .navbar-brand {
  font-size: 1.1rem;
}

.site-footer-link {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-left: 12px;
}

.site-footer-link:hover {
  color: var(--accentA);
}

/* ------------------------------
   RESPONSIVE TWEAKS
------------------------------ */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 110px;
  }

  .hero .display-5 {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 100px 0 60px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn-cta,
  .btn-ghost {
    width: 100%;
    text-align: center;
  }
}

.text-shadow-lg {
  text-shadow: 0 4px 16px rgba(0,0,0,0.55), 
               0 0 8px rgba(0,0,0,0.45);
}

.text-shadow-md {
  text-shadow: 0 2px 10px rgba(0,0,0,0.45),
               0 0 6px rgba(0,0,0,0.35);
}
	
.qr-text-red {
      color: red;
    }
	
.qr-text-cyan {
      color: var(--accentA);
	  font-weight:700;
    }
/* MINI CTA PILLS */
.hero-zoom-pill{
  background:linear-gradient(135deg,var(--accentA),var(--accentB));
  color:#0a0f14;
  font-weight:700;
  border:none;
  border-radius:999px;

  padding:6px 14px;          /* smaller padding */
  min-width:110px;           /* smaller width */
  font-size:0.8rem;          /* smaller text */
  line-height:1;

  text-align:center;
  letter-spacing:0.02em;

  box-shadow:
    0 3px 8px rgba(0,0,0,0.25),
    0 0 4px rgba(0,0,0,0.15);

  cursor:pointer;
  transition:all .15s ease-out;
}

.hero-zoom-pill:hover{
  transform:translateY(-2px);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.28),
    0 0 8px rgba(0,0,0,0.18);
}

.hero-zoom-pill:active{
  transform:scale(0.94);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.3),
    0 0 4px rgba(0,0,0,0.2);
}

/* Improve readability for the placeholder "How artifact login works" text */
#classicLoginSectionPlaceholder .text-muted {
    color: #bfc6cc !important;   /* soft, readable grey */
}

#classicLoginSection .text-muted {
    color: #bfc6cc !important;   /* soft, readable grey */
}

.text-unmuted {
    color: #bfc6cc !important;   /* soft, readable grey */
}

#classicLoginSectionPlaceholder ol,
#classicLoginSectionPlaceholder li,
#classicLoginSectionPlaceholder p {
    color: #d4d9dd !important;   /* even lighter, matches product modal tone */
}


.tarot-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.tarot-extra.is-open {
    max-height: 1500px; /* big enough for content */
}

.tarot-ex{
	color: var(--accentA);
}
.tarot-dex{
	color: var(--accentC);
}

.content-sequence img {
    max-width: 220px;   /* adjust size here */
    height: auto;
    display: block;
    margin: 0 auto;
}

.js-toggle-next {
    width: 200px;          /* choose your width */
    display: inline-block; /* ensures width is respected */
    text-align: center;    /* centers text inside */
}

/* When the toggle is ON (section open) */
.js-toggle-next.is-on {
  /* choose one: 
  filter: brightness(1.15);*/
  /* or hard set: */
  background: #2E8ED9 !important;
  border-color: #2E8ED9 !important;
  color: #fff !important;
 
}
/* Make range reliably draggable inside Bootstrap modals */
.mq-suds-root input[type="range"],
.mq-suds-root .form-range {
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
  touch-action: none;            /* key: allow horizontal drag */
  -webkit-user-select: none;
  user-select: none;
}


/*---------------------------------------
  BREATH               
-----------------------------------------*/

.breath-container {
  display: flex;
  align-items: center;
  justify-content: center;
  
  height: 180px;
  width: 180px;
  position: relative;
  transform: scale(1);
}

.breath-circle {
  background-color: #010f1c;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.breath-gradient-circle {
  background: conic-gradient(
    #55b7a4 0%,
    #4ca493 21%,
    #fff 21%,
    #fff 58%,
    #336d62 58%,
    #2a5b52 100%
  );
  height: 200px;
  width: 200px;
  z-index: -2;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  left: -10px;
}

.breath-pointer {
  background-color: #f10606;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  display: block;
}

.breath-pointer-container {
  position: absolute;
  top: -10px;
  left: 93px;   /* was 82px */
  width: 14px;
  height: 110px;
  transform-origin: bottom center;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


.breath-container.grow {
  animation: grow 4s linear forwards;
}


@keyframes grow {
  from {
    transform: scale(0.6);
  }

  to {
    transform: scale(0.95);
  }
}


.breath-container.shrink {
  animation: shrink 4s linear forwards;
}

@keyframes shrink {
  from {
    transform: scale(0.95);
  }

  to {
    transform: scale(0.6);
  }
}

.mq-breathe-center {
  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 260px;   /* tune this */
  width: 100%;
}


.mq-tts-btn { font-size: 12px; line-height: 1.2; }
.mq-tts-btn.is-speaking { opacity: 0.85; }


.emoji-bkg {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 1.6em;
  height: 1.6em;

  background: #ff2b2b;       /* red background */
  border-radius: 50%;        /* circle */
  color: #fff;               /* affects fallback glyphs */
  font-size: 0.9em;
}


.emoji-onair {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 1.6em;
  height: 1.6em;
  background: #FFA500;
  border-radius: 50%;
  color: #fff;  
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,51,51,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255,51,51,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,51,51,0); }
}

