/* =====================================================
   INNER PAGES GLASS ATMOSPHERE
   Shared visual layer for portal pages opened from home.
===================================================== */

:root {
  --inner-ink: rgba(255, 247, 255, 0.94);
  --inner-soft: rgba(255, 238, 250, 0.74);
  --inner-muted: rgba(255, 236, 248, 0.58);
  --inner-line: rgba(255, 238, 255, 0.30);
  --inner-glass: rgba(255, 255, 255, 0.045);
}

html {
  min-height: 100%;
  background: #18143a;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: transparent !important;
  color: var(--inner-ink) !important;
}

body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -3 !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  background-image: url("/assets/hand-desktop-bg.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  filter: none !important;
  animation: none !important;
  pointer-events: none !important;
}

body::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -2 !important;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 221, 245, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(12, 17, 50, 0.48), rgba(48, 30, 78, 0.24) 42%, rgba(18, 15, 48, 0.60)) !important;
  pointer-events: none !important;
}

.bubble-field,
.mini-bubble,
.yuna-bg,
.bubbles,
.bubble,
.glow-orb {
  display: none !important;
}

.site-logo {
  position: absolute !important;
  top: 24px !important;
  left: 32px !important;
  z-index: 3 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.site-logo a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}

.site-logo img,
nav img {
  width: 68px !important;
  height: 68px !important;
  border: 0 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.site-logo a::after,
nav a::after,
.nav-brand::after {
  content: "INHALE EXHALE\A STUDIO";
  white-space: pre;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.68rem;
  line-height: 1.25;
  letter-spacing: 0.12em;
  color: var(--inner-ink);
  text-shadow: 0 0 18px rgba(255, 220, 245, 0.22);
}

nav {
  z-index: 20 !important;
}

nav span,
.nav-brand {
  color: transparent !important;
  font-size: 0 !important;
}

main,
.page,
.story-wrapper,
.container,
nav,
.hero,
.card-list,
.library-footer,
.yuna-subscribe-section,
.site-footer,
footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
.hero h1,
.hero-eyebrow,
.section-title,
.subtitle,
.nav-brand,
.card-title,
.freq-name,
.freq-hz,
.bw-name {
  color: var(--inner-ink) !important;
  text-shadow: 0 0 24px rgba(255, 224, 248, 0.18) !important;
}

p,
.hero p,
.hero-sub,
.intro p,
.container p,
.glass-card p,
.myth-card p,
.myths-intro-card p,
.meditation-transition,
.section-subtitle,
.freq-description,
.freq-tagline,
.bw-desc,
.card-date,
.library-footer p {
  color: var(--inner-soft) !important;
}

.myths-intro-card,
.myth-card,
.myth-list-card,
.meditation-card,
.free-bubble,
.glass-card,
.container,
.together-card,
.final-container,
.freq-card,
.brainwave-card,
.detail-item,
.bottom-cta,
.card-list {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.045) !important;
  border: 1px solid var(--inner-line) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 12px 14px 28px rgba(255, 255, 255, 0.045),
    0 22px 58px rgba(24, 18, 58, 0.18) !important;
  backdrop-filter: blur(6px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(145%) !important;
}

.free-bubble {
  border-radius: 50% !important;
}

.glass-card,
.freq-card,
.brainwave-card,
.detail-item,
.meditation-card {
  border-radius: 18px !important;
}

.glass-card + .glass-card,
.myth-list-card article,
.freq-content {
  border-color: rgba(255, 238, 255, 0.14) !important;
}

.card-spine,
.glass-card.featured .card-spine {
  background: linear-gradient(180deg, rgba(255, 238, 255, 0.16), rgba(255, 224, 244, 0.48), rgba(255, 238, 255, 0.16)) !important;
}

.card-cat,
.card-read,
.detail-label,
.hero-divider span,
.hero-symbol {
  color: var(--inner-muted) !important;
}

.yuna-portrait,
.yuna-avatar {
  border: 1px solid rgba(255, 238, 255, 0.34) !important;
  box-shadow: 0 22px 58px rgba(24, 18, 58, 0.22) !important;
}

.yuna-portrait {
  width: min(260px, 72vw) !important;
  height: min(260px, 72vw) !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center 18% !important;
  background: rgba(255, 255, 255, 0.04) !important;
  filter: saturate(0.96) contrast(0.98) brightness(1.02) !important;
}

.freq-cta,
.gift-store-btn,
.gift-cta-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 238, 255, 0.28) !important;
  color: var(--inner-ink) !important;
  box-shadow: none !important;
}

.policy-wrap {
  position: relative !important;
  z-index: 1 !important;
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: clamp(96px, 12vh, 136px) 1.2rem 5rem !important;
}

.policy-card {
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 236, 246, 0.105), rgba(118, 82, 138, 0.09)),
    rgba(255, 255, 255, 0.042) !important;
  border: 1px solid rgba(255, 238, 255, 0.25) !important;
  border-radius: 26px !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 16px 18px 34px rgba(255, 255, 255, 0.045),
    0 28px 74px rgba(24, 18, 58, 0.24) !important;
  color: var(--inner-soft) !important;
  backdrop-filter: blur(7px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(7px) saturate(150%) !important;
}

.policy-card h1,
.policy-card h2,
.policy-card h3,
.service-row-title,
.cookie-row-title,
.rights-item strong,
.highlight-row strong {
  color: var(--inner-ink) !important;
  text-shadow: 0 10px 34px rgba(30, 18, 72, 0.22) !important;
}

.policy-card p,
.policy-card li,
.policy-intro,
.policy-date,
.service-row p,
.cookie-row p,
.rights-item,
.highlight-row p,
.contact-card p {
  color: var(--inner-soft) !important;
}

.policy-eyebrow {
  color: var(--inner-muted) !important;
}

.policy-card a,
.service-row a,
.contact-card a {
  color: rgba(255, 247, 255, 0.9) !important;
  text-decoration-color: rgba(255, 238, 255, 0.35) !important;
}

.policy-divider,
.policy-card hr {
  border: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 238, 255, 0.22), transparent) !important;
}

.service-row,
.cookie-row,
.rights-item,
.highlight-row,
.contact-card {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 238, 255, 0.19) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 16px 38px rgba(24, 18, 58, 0.13) !important;
  backdrop-filter: blur(5px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(5px) saturate(140%) !important;
}

.law-badge,
.cookie-tag {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 238, 255, 0.22) !important;
  color: rgba(255, 247, 255, 0.82) !important;
}

.yuna-subscribe-section,
.site-footer,
footer {
  background: rgba(20, 15, 50, 0.26) !important;
  border-top: 1px solid rgba(255, 238, 255, 0.16) !important;
  color: var(--inner-soft) !important;
  backdrop-filter: blur(5px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(5px) saturate(135%) !important;
}

.site-footer a,
footer a {
  color: rgba(255, 247, 255, 0.82) !important;
}

@media (max-width: 768px) {
  body::before {
    background-image: url("/assets/hand-mobile-bg.webp") !important;
    background-position: center top !important;
    background-attachment: scroll !important;
  }

  .site-logo {
    top: 14px !important;
    left: 14px !important;
  }

  .site-logo img,
  nav img {
    width: 54px !important;
    height: 54px !important;
  }

  .site-logo a::after,
  nav a::after,
  .nav-brand::after {
    font-size: 0.56rem;
  }
}
