/* ==========================================================================
   Р­РєСЂР°РЅ РјРѕР±РёР»СЊРЅРѕРіРѕ РїСЂРёР»РѕР¶РµРЅРёСЏ Oracle вЂ” РЎС‚РёР»Рё Рё РњСЌС€-РђРЅРёРјР°С†РёСЏ
   Figma Node: 548:25108
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-color: #030303;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-light: rgba(255, 255, 255, 0.22);
  --text-white: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.3);
  --accent-purple: #9d00ff;
  --accent-magenta: #d487f0;
  --accent-blue: #1b71f2;
  --accent-spar: #b0a49c;
  --card-radius: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #07040d;
  color: var(--text-white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   Р’РЅРµС€РЅРёР№ РЅРµР¶РЅС‹Р№ WebGL Shader РјСЌС€-РіСЂР°РґРёРµРЅС‚ СЃС‚СЂР°РЅРёС†С‹ РІ РѕС‚С‚РµРЅРєР°С… Oracle
   ========================================================================== */
.page-mesh-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background-color: #06020c;
}

.page-mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.page-mesh-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(6, 2, 12, 0.15) 0%, rgba(3, 1, 6, 0.75) 100%);
  pointer-events: none;
}

/* ==========================================================================
   РћР±РѕР»РѕС‡РєР° СЃРјР°СЂС‚С„РѕРЅР° (Mobile Device Shell)
   ========================================================================== */
.presentation-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.phone-container {
  position: relative;
  display: inline-flex;
  margin: 20px auto;
}

/* Р¤РёР·РёС‡РµСЃРєРёРµ Р±РѕРєРѕРІС‹Рµ РєРЅРѕРїРєРё РєРѕСЂРїСѓСЃР° iPhone 16 */
.phone-btn {
  position: absolute;
  z-index: 0;
}

/* 1. Action Button (СЃР»РµРІР° РІРІРµСЂС…Сѓ) */
.phone-btn-action {
  left: -7px;
  top: 108px;
  width: 7.5px;
  height: 28px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(to right, #615d75 0%, #2c2937 55%, #14131b 100%);
  border-left: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.9);
}

/* 2. Volume Up (СЃР»РµРІР°) */
.phone-btn-volume-up {
  left: -7px;
  top: 154px;
  width: 7.5px;
  height: 52px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(to right, #615d75 0%, #2c2937 55%, #14131b 100%);
  border-left: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.9);
}

/* 3. Volume Down (СЃР»РµРІР°) */
.phone-btn-volume-down {
  left: -7px;
  top: 218px;
  width: 7.5px;
  height: 52px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(to right, #615d75 0%, #2c2937 55%, #14131b 100%);
  border-left: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.9);
}

/* 4. Power Button (СЃРїСЂР°РІР° - С‡РµС‚РєРѕ РІРёРґРЅР° Рё РІС‹СЃС‚СѓРїР°РµС‚) */
.phone-btn-power {
  right: -7px;
  top: 170px;
  width: 7.5px;
  height: 82px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(to left, #615d75 0%, #2c2937 55%, #14131b 100%);
  border-right: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.9);
}

/* 5. Camera Control (iPhone 16 СЃРЅРёР·Сѓ СЃРїСЂР°РІР°) */
.phone-btn-camera {
  right: -6px;
  bottom: 155px;
  width: 6.5px;
  height: 58px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(to left, #454254 0%, #1f1e29 55%, #111017 100%);
  border-right: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 1px 0 4px rgba(0, 0, 0, 0.8);
}

.phone-frame {
  width: 375px;
  height: 812px;
  background-color: #030303;
  border-radius: 54px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 
    0 45px 95px -20px rgba(0, 0, 0, 0.55),
    0 25px 50px -25px rgba(0, 0, 0, 0.6),
    0 10px 20px -5px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 1px #09080e,
    0 0 0 3.5px #262430,
    0 0 0 4.5px #0d0c13;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   РњСЌС€-РђРЅРёРјР°С†РёСЏ Р¤РѕРЅРѕРІС‹С… РљСЂСѓРіРѕРІ (РџРѕРґРІРёР¶РЅС‹Рµ С†РІРµС‚РѕРІС‹Рµ РєСЂСѓРіРё РјР°РіРёРё)
   ========================================================================== */
.mesh-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  background-color: #030303;
}

/* рџЊџ Р’РµСЂС…РЅРёР№ РїРѕРґРІРёР¶РЅС‹Р№ С†РІРµС‚РѕРІРѕР№ РєСЂСѓРі (РґСЂРµР№С„СѓРµС‚ РІ РІРµСЂС…РЅРµР№/СЃСЂРµРґРЅРµР№ Р·РѕРЅРµ) */
.moving-magic-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  left: 25px;
  top: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at center, 
    rgba(180, 50, 255, 0.82) 0%, 
    rgba(140, 15, 225, 0.52) 40%, 
    rgba(85, 0, 160, 0.2) 70%, 
    transparent 100%
  );
  filter: blur(55px);
  mix-blend-mode: screen;
  will-change: transform;
  animation: moveMagicCircle 18s ease-in-out infinite;
  pointer-events: none;
}

/* рџЊџ РќРёР¶РЅРёР№ РїРѕРґРІРёР¶РЅС‹Р№ С†РІРµС‚РѕРІРѕР№ РєСЂСѓРі (СЃРІРµС‚РёС‚СЃСЏ РїРѕРґ Р СѓРЅР°РјРё Рё РќСѓРјРµСЂРѕР»РѕРіРёРµР№) */
.moving-magic-orb-bottom {
  position: absolute;
  width: 330px;
  height: 330px;
  left: 20px;
  top: 60%;
  border-radius: 50%;
  background: radial-gradient(circle at center, 
    rgba(165, 45, 245, 0.78) 0%, 
    rgba(115, 25, 215, 0.48) 45%, 
    rgba(60, 15, 160, 0.18) 75%, 
    transparent 100%
  );
  filter: blur(55px);
  mix-blend-mode: screen;
  will-change: transform;
  animation: moveBottomOrb 16s ease-in-out infinite;
  pointer-events: none;
}

/* Р’СЃРїРѕРјРѕРіР°С‚РµР»СЊРЅС‹Рµ СЃРІРµС‚СЏС‰РёРµСЃСЏ РѕСЂР±С‹ РјСЌС€Р° (Ambient Orbs) */
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
  pointer-events: none;
}

/* РћСЂР± 1: Р¤РёРѕР»РµС‚РѕРІРѕРµ СЃРІРµС‡РµРЅРёРµ РІ РІРµСЂС…РЅРµР№ Р·РѕРЅРµ */
.mesh-orb-1 {
  width: 290px;
  height: 290px;
  left: -40px;
  top: 12%;
  background: radial-gradient(circle at center, rgba(157, 0, 255, 0.65) 0%, rgba(110, 0, 200, 0.3) 50%, transparent 75%);
  animation: orbLoop1 20s ease-in-out infinite;
}

/* РћСЂР± 2: РќРµРѕРЅРѕРІРѕ-СЃРёСЂРµРЅРµРІС‹Р№ Р±Р»РёРє СЃРїСЂР°РІР° */
.mesh-orb-2 {
  width: 270px;
  height: 270px;
  right: -45px;
  top: 30%;
  background: radial-gradient(circle at center, rgba(212, 135, 240, 0.6) 0%, rgba(160, 60, 220, 0.28) 50%, transparent 75%);
  animation: orbLoop2 22s ease-in-out infinite;
}

/* РћСЂР± 3: Р¦РµРЅС‚СЂР°Р»СЊРЅРѕРµ РјРёСЃС‚РёС‡РµСЃРєРѕРµ СЃРёСЏРЅРёРµ */
.mesh-orb-3 {
  width: 330px;
  height: 330px;
  left: 20px;
  top: 44%;
  background: radial-gradient(circle at center, rgba(160, 30, 220, 0.55) 0%, rgba(95, 10, 160, 0.25) 55%, transparent 80%);
  animation: orbLoop3 17s ease-in-out infinite;
}

/* РћСЂР± 4: РќРёР¶РЅРёР№ СѓР»СЊС‚СЂР°РјР°СЂРёРЅРѕРІС‹Р№ СЃРІРµС‚ */
.mesh-orb-4 {
  width: 270px;
  height: 270px;
  left: -15px;
  top: 75%;
  background: radial-gradient(circle at center, rgba(90, 40, 230, 0.55) 0%, rgba(45, 85, 210, 0.25) 50%, transparent 75%);
  animation: orbLoop4 24s ease-in-out infinite;
}

/* РҐРѕР»СЃС‚ РјРµСЂС†Р°СЋС‰РёС… С‡Р°СЃС‚РёС‡РµРє РјР°РіРёРё (Stardust / Magic Sparks) */
.mesh-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: screen;
}

/* РњСЏРіРєР°СЏ РІРёРЅСЊРµС‚РєР° РєСЂР°РµРІ */
.mesh-haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 35%, rgba(3, 3, 3, 0.5) 90%);
  pointer-events: none;
}

/* ==========================================================================
   Р—Р°С†РёРєР»РµРЅРЅС‹Рµ С‚СЂР°РµРєС‚РѕСЂРёРё РґРІРёР¶РµРЅРёСЏ РјР°РіРёС‡РµСЃРєРёС… РєСЂСѓРіРѕРІ
   ========================================================================== */
@keyframes moveMagicCircle {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  25% {
    transform: translate(80px, 70px) scale(1.12);
  }
  50% {
    transform: translate(30px, 190px) scale(1.15);
  }
  75% {
    transform: translate(-60px, 110px) scale(0.96);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

@keyframes moveBottomOrb {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(-45px, -30px) scale(1.15);
  }
  66% {
    transform: translate(50px, 35px) scale(0.95);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

@keyframes orbLoop1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate(35px, 45px) scale(1.12);
    opacity: 0.8;
  }
}

@keyframes orbLoop2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-45px, 30px) scale(1.1);
    opacity: 0.75;
  }
}

@keyframes orbLoop3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(30px, -35px) scale(1.15);
    opacity: 0.7;
  }
}

@keyframes orbLoop4 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(35px, -25px) scale(1.12);
    opacity: 0.72;
  }
}

@keyframes runeAuraGlow {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(212, 135, 240, 0.45));
    opacity: 0.85;
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(212, 135, 240, 0.9));
    opacity: 1;
  }
}

/* ==========================================================================
   РљРѕРЅС‚РµРЅС‚ СЌРєСЂР°РЅР° РјРѕР±РёР»СЊРЅРѕРіРѕ РїСЂРёР»РѕР¶РµРЅРёСЏ (App Screen Viewport)
   ========================================================================== */
.oracle-screen {
  position: relative;
  width: 375px;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 2;
  overflow: hidden;
  background: transparent;
}

/* РљРѕРЅС‚РµР№РЅРµСЂ РїСЂРѕРєСЂСѓС‚РєРё РєР°СЂС‚РѕС‡РµРє РЅР° РІСЃСЋ РІС‹СЃРѕС‚Сѓ СЌРєСЂР°РЅР° */
.screen-scroll-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 122px;
  padding-bottom: 40px;
  z-index: 5;
}

.screen-scroll-container::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   РћР±РѕР»РѕС‡РєР° РІРµСЂС…РЅРµР№ С€Р°РїРєРё (РџР°РЅРµР»СЊ РїСЂРёР»РѕР¶РµРЅРёСЏ РїРѕРґ РјРѕРґР°Р»РєР°РјРё, z-index: 20)
   ========================================================================== */
.app-header-wrapper {
  position: absolute;
  top: 54px;
  left: 0;
  z-index: 20;
  width: 100%;
  background: transparent;
  pointer-events: none;
}

.app-header-wrapper .btn-round,
.app-header-wrapper .balance-capsule {
  pointer-events: auto;
}

/* РЎС‚Р°С‚СѓСЃ-Р±Р°СЂ iOS (iPhone 16) - РќРµР·Р°РІРёСЃРёРјС‹Р№ СЃРёСЃС‚РµРјРЅС‹Р№ СЃР»РѕР№ РїРѕРІРµСЂС… РІСЃРµС… РѕРєРѕРЅ Рё С€С‚РѕСЂРѕРє (z-index: 5000) */
.status-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 54px;
  padding: 13px 34px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 5000;
  pointer-events: none;
}

/* Dynamic Island (iPhone 16) */
.dynamic-island {
  position: absolute;
  left: 50%;
  top: 11px;
  transform: translateX(-50%);
  width: 125px;
  height: 35px;
  background: #000000;
  border-radius: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 13px;
  gap: 8px;
  box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.08), 0 2px 10px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dynamic-island:hover {
  transform: translateX(-50%) scale(1.03);
}

.dynamic-island__sensor {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06070a;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.12);
}

.dynamic-island__camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #181938 0%, #070812 60%, #000000 100%);
  box-shadow: inset 0 0 2px rgba(45, 95, 255, 0.35);
  position: relative;
}

.dynamic-island__camera::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: rgba(135, 175, 255, 0.65);
}

.status-bar__time {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #ffffff;
  width: 50px;
  line-height: 1;
  margin-top: 1px;
  z-index: 2;
}

.status-bar__icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
  z-index: 2;
}

.status-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-bar__icon img {
  display: block;
  height: auto;
}

.status-bar__icon.cellular img {
  width: 18px;
  height: 12px;
}

.status-bar__icon.wifi img {
  width: 17px;
  height: 12px;
}

.status-bar__icon.battery img {
  width: 25px;
  height: 13px;
}

/* РҐРµРґРµСЂ РјРµРЅСЋ */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 14px 20px;
  width: 100%;
}

/* РљСЂСѓРіР»С‹Рµ РєРЅРѕРїРєРё (Р‘Р»СЋСЂ-СЃС‚РµРєР»Рѕ / Frosted Glass) */
.btn-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-round:active {
  transform: scale(0.92);
  opacity: 0.8;
}

.btn-round img {
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* РџР»Р°С€РєР° Р±Р°Р»Р°РЅСЃР° (Р‘Р»СЋСЂ-СЃС‚РµРєР»Рѕ / Frosted Glass Capsule) */
.balance-capsule {
  height: 38px;
  background: var(--glass-bg);
  border: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 100px;
  display: flex;
  align-items: center;
  padding: 4px 14px;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.balance-capsule:active {
  transform: scale(0.95);
  opacity: 0.85;
}

.balance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.balance-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.balance-icon.spar img {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0px 0px 5px rgba(176, 164, 156, 0.5));
}

.balance-icon.crystall img {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0px 0px 6px rgba(27, 113, 242, 0.7));
}

.balance-divider {
  width: 1.5px;
  height: 14px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 1px;
}

/* ==========================================================================
   РЎРµС‚РєР° РєР°СЂС‚РѕС‡РµРє Рё СЃРµСЂРІРёСЃРѕРІ (Cards Grid & Frosted Glass Sections)
   ========================================================================== */
.sections-container {
  width: 335px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 5;
  padding-bottom: 24px;
}

.card-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

/* Р‘Р°Р·РѕРІС‹Р№ СЃС‚РёР»СЊ РєР°СЂС‚РѕС‡РєРё (Р‘Р»СЋСЂ-СЃС‚РµРєР»Рѕ / Glassmorphism) */
.oracle-card {
  position: relative;
  background: var(--glass-bg);
  border: none;
  border-radius: var(--card-radius);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* РќР°С‚РёРІРЅРѕРµ РјРѕР±РёР»СЊРЅРѕРµ СЃРѕСЃС‚РѕСЏРЅРёРµ РЅР°Р¶Р°С‚РёСЏ (Active / Tap) */
.oracle-card:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-white);
  position: relative;
  z-index: 2;
  letter-spacing: -0.1px;
}

/* Р Р°Р·РјРµСЂС‹ РєР°СЂС‚РѕС‡РµРє */
.card-square {
  width: 159.5px;
  height: 160px;
  flex-shrink: 0;
  padding: 18px;
}

.card-wide {
  width: 100%;
  height: 160px;
  flex-shrink: 0;
  padding: 18px 20px;
}

/* 1. РљР°СЂС‚РѕС‡РєР° В«Р“РѕСЂРѕСЃРєРѕРїВ» */
.card-horoscope {
  position: relative;
}

.card-horoscope .card-title {
  text-align: left;
}

.card-horoscope__art {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 68px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-horoscope__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 2. РљР°СЂС‚РѕС‡РєР° В«РўР°СЂРѕВ» (РћРґРёРЅРѕС‡РЅР°СЏ РєР°СЂС‚Р°) */
.card-tarot {
  position: relative;
}

.card-tarot__art {
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 58px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-tarot__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(5deg);
}

/* 3. РљР°СЂС‚РѕС‡РєР° В«РЎРѕРІРµС‚ РћСЂР°РєСѓР»Р°В» (РЁРёСЂРѕРєР°СЏ) */
.card-oracle-advice {
  position: relative;
}

.card-oracle-advice__art {
  position: absolute;
  right: 22px;
  bottom: 14px;
  width: 86px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-oracle-advice__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 4. РљР°СЂС‚РѕС‡РєР° В«РњР°РіРёС‡РµСЃРєРёР№ С€Р°СЂВ» */
.card-magic-ball {
  position: relative;
}

.card-magic-ball__art {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 54px;
  height: 62px;
}

.card-magic-ball__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 5. РљР°СЂС‚РѕС‡РєР° В«РўРѕР»РєРѕРІР°С‚РµР»СЊ СЃРЅРѕРІВ» */
.card-dream-interpreter {
  position: relative;
}

.card-dream-interpreter__art {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 62px;
  height: 68px;
}

.card-dream-interpreter__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 6. РљР°СЂС‚РѕС‡РєР° В«РџРµС‡РµРЅСЊРµ СЃ РїСЂРµРґСЃРєР°Р·Р°РЅРёРµРјВ» */
.card-fortune-cookie {
  position: relative;
}

.card-fortune-cookie__art {
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 84px;
  height: 60px;
}

.card-fortune-cookie__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 7. РљР°СЂС‚РѕС‡РєР° В«Р СѓРЅС‹В» */
.card-runes {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 22px 14px 18px 14px;
}

.card-runes__symbols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 64px;
  width: 100%;
  position: relative;
}

.rune-glyph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rune-glyph.rune-side {
  width: 36px;
  height: 44px;
  opacity: 0.45;
  filter: blur(0.5px);
}

.rune-glyph.rune-center {
  width: 52px;
  height: 60px;
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(212, 135, 240, 0.8));
  animation: runeAuraGlow 3.5s ease-in-out infinite alternate;
}

.rune-glyph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 8. РљР°СЂС‚РѕС‡РєР° В«РќСѓРјРµСЂРѕР»РѕРіРёСЏВ» */
.card-numerology {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 22px 14px 18px 14px;
}

.card-numerology__symbols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 64px;
  width: 100%;
  position: relative;
}

.num-glyph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.num-glyph.num-side {
  width: 36px;
  height: 44px;
  opacity: 0.45;
  filter: blur(0.5px);
}

.num-glyph.num-center {
  width: 52px;
  height: 60px;
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(212, 135, 240, 0.8));
  animation: runeAuraGlow 3.8s ease-in-out infinite alternate;
}

.num-glyph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   Home Indicator (iOS РЅРёР¶РЅСЏСЏ РїРѕР»РѕСЃР°)
   ========================================================================== */
.home-indicator-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(3, 3, 3, 0.85) 0%, rgba(3, 3, 3, 0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 60;
}

.home-indicator {
  width: 134px;
  height: 5px;
  background-color: #ffffff;
  border-radius: 100px;
  opacity: 0.95;
}

/* ==========================================================================
   Bottom Sheet РњРѕРґР°Р»СЊРЅРѕРµ РѕРєРЅРѕ (Р“РѕСЂРѕСЃРєРѕРї - Figma Node 702:49227)
   Р”РІСѓС…С„Р°Р·РЅР°СЏ Р°РЅРёРјР°С†РёСЏ: СЃРЅР°С‡Р°Р»Р° С‚РµРЅСЊ (backdrop), Р·Р°С‚РµРј РІС‹РµР·Рґ С€С‚РѕСЂРєРё (sheet)
   ========================================================================== */
.bottom-sheet-backdrop {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: rgba(3, 3, 3, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 48px;
  overflow: hidden;
}

.bottom-sheet-backdrop.is-backdrop-visible {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet-modal {
  width: 100%;
  background-color: #1c131f;
  border-radius: 36px 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(105%);
  transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.dream-modal {
  padding: 0 20px 20px 20px;
  box-sizing: border-box;
}

.bottom-sheet-modal.is-sheet-visible {
  transform: translateY(0);
}

.bottom-sheet-handle-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 6px 0;
  margin: 0;
  flex-shrink: 0;
  cursor: grab;
}

.bottom-sheet-handle {
  width: 36px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  flex-shrink: 0;
}

@keyframes statusBreathe {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.5;
  }
}

.bottom-sheet-header,
.tarot-header,
.runes-header,
.numerology-header,
.magic-ball-header,
.cookie-header,
.oracle-advice-header,
.full-horoscope-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 12px 20px 16px 20px;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  background-color: #1c131f;
  position: relative;
  z-index: 10;
}

.dream-modal .bottom-sheet-header {
  padding: 12px 0 16px 0;
}

.bottom-sheet-title,
.tarot-title,
.runes-title,
.numerology-title,
.full-horoscope-title,
.magic-ball-title,
.cookie-title,
.oracle-advice-title,
.dream-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: normal !important;
  color: #ffffff !important;
  text-align: center !important;
  letter-spacing: normal !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.bottom-sheet-balance {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.bottom-sheet-crystal-icon,
.badge-crystal-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0px 0px 4px rgba(27, 113, 242, 0.6));
}

.bottom-sheet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.bottom-sheet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  min-height: 62px;
  padding: 0 20px;
  background-color: #29212c;
  border-radius: 24px;
  border: none;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  transition: background-color 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.bottom-sheet-item:hover {
  background-color: #352b39;
}

.bottom-sheet-item:active {
  transform: scale(0.98);
}

.bottom-sheet-item.is-selected {
  background-color: #382c3c;
  border: none;
}

.bottom-sheet-item__title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.bottom-sheet-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 28px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
}

.badge-free {
  background: rgba(0, 195, 75, 0.08);
  color: #00c34b;
}

.badge-cost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.badge-error {
  background: rgba(207, 51, 54, 0.2);
  color: #ffffff;
}

.bottom-sheet-home-indicator {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ==========================================================================
   РЁС‚РѕСЂРєР°: РўРѕР»РєРѕРІР°С‚РµР»СЊ СЃРЅРѕРІ (Figma Node 702:51768, 746:14993 & 746:15162)
   3 СЌС‚Р°РїР°: 
   1. РџРѕР»Рµ РІРІРѕРґР° (0/200 СЃРёРјРІРѕР»РѕРІ, РєРЅРѕРїРєР° В«РСЃС‚РѕР»РєРѕРІР°С‚СЊ СЃРѕРЅ В· 30 рџ’ЋВ»)
   2. Р“РµРЅРµСЂР°С†РёСЏ РѕС‚РІРµС‚Р° (13 СЃРµРє, РІРѕРїСЂРѕСЃ РІ Р±Р°Р±Р»Рµ, РІРёРґРµРѕ Picture06, "РўРѕР»РєСѓСЋ СЃРѕРЅ...")
   3. РћС‚РІРµС‚ (Р±Р°Р±Р» РІРѕРїСЂРѕСЃР°, РєР°СЂС‚РѕС‡РєР° РѕС‚РІРµС‚Р° СЃ С‚РѕР»РєРѕРІР°РЅРёРµРј, РєРЅРѕРїРєР° share)
   ========================================================================== */
.dream-modal {
  max-height: 88%;
  height: auto;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: height 0.35s cubic-bezier(0.32, 0.72, 0, 1), max-height 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.dream-modal.is-input-state {
  height: auto;
  max-height: none;
}

.dream-modal.is-generating {
  height: auto;
  min-height: 420px;
}

.dream-modal.is-answered {
  height: 88%;
  max-height: 88%;
}

.dream-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 12px 20px 16px 20px;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  background-color: #1c131f;
  position: relative;
  z-index: 10;
}

.dream-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 20px 20px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.dream-modal.is-answered .dream-content {
  padding: 0 20px 160px 20px;
}

.dream-content::-webkit-scrollbar {
  display: none;
}

/* Р­С‚Р°Рї 1: РџРѕР»Рµ РІРІРѕРґР° */
.dream-input-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.dream-input-wrap {
  position: relative;
  margin-bottom: 20px;
}

.dream-input-container {
  width: 100%;
  background-color: #29212c;
  border-radius: 24px;
  min-height: 118px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

.dream-input-container:focus-within {
  background-color: #342938;
}

.dream-textarea {
  width: 100%;
  min-height: 82px;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.dream-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.dream-char-counter {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  text-align: right;
  width: 100%;
  margin-top: 8px;
}

/* Р­С‚Р°Рї 2: Р“РµРЅРµСЂР°С†РёСЏ */
.dream-gen-stage {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
}

.dream-modal.is-generating .dream-input-stage {
  display: none;
}

.dream-modal.is-generating .dream-gen-stage {
  display: flex;
}

.dream-question-bubble {
  width: 100%;
  background-color: #29212c;
  border-radius: 24px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 20px;
  word-break: break-word;
}

.dream-art-wrap {
  width: 260px;
  height: 215px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 10px auto;
}

.dream-gen-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  pointer-events: none;
  border-radius: 20px;
}

.dream-status-text {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-top: 14px;
  animation: statusBreathe 2s ease-in-out infinite;
}

/* Р­С‚Р°Рї 3: РћС‚РІРµС‚ */
.dream-result-stage {
  width: 100%;
  display: none;
  flex-direction: column;
}

.dream-modal.is-answered .dream-input-stage,
.dream-modal.is-answered .dream-gen-stage {
  display: none;
}

.dream-modal.is-answered .dream-result-stage {
  display: flex;
}

.dream-response-card {
  width: 100%;
  background-color: #29212c;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dream-response-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.dream-response-paragraphs {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Р¤СѓС‚РµСЂ */
.dream-footer-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 8px 20px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.dream-modal.is-answered .dream-footer-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(28, 19, 31, 0) 0%, rgba(28, 19, 31, 0.9) 30%, #1c131f 100%);
  padding: 16px 20px 8px 20px;
  pointer-events: none;
  z-index: 20;
}

.dream-action-btn {
  width: 100%;
  height: 62px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(235, 180, 255, 0.6) 0%, rgba(212, 135, 240, 0.55) 25%, rgba(189, 90, 225, 0.5) 50%, rgba(166, 45, 210, 0.45) 75%, rgba(143, 0, 195, 0.4) 100%), linear-gradient(90deg, #1c131f 0%, #1c131f 100%);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: inset 0px 0px 0px 1px rgba(143, 0, 195, 0.02);
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.2s ease;
  font-family: inherit;
}

.dream-action-btn:hover {
  filter: brightness(1.12);
}

.dream-action-btn:active {
  transform: scale(0.98);
}

.dream-action-btn span {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.dream-action-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0px 0px 4px rgba(27, 113, 242, 0.6));
}

.dream-modal.is-generating .dream-action-btn,
.dream-modal.is-answered .dream-action-btn {
  display: none;
}

.dream-share-btn-wrap {
  display: none;
  width: 100%;
  justify-content: center;
  margin-bottom: 4px;
}

.dream-modal.is-answered .dream-share-btn-wrap {
  display: flex;
  pointer-events: auto;
}

/* ==========================================================================
   РЁС‚РѕСЂРєР°: РќСѓРјРµСЂРѕР»РѕРіРёСЏ (Figma Node 702:51251 / 702:51360 - РўРѕС‡РЅРѕРµ СЃРѕРІРїР°РґРµРЅРёРµ)
   ========================================================================== */
.numerology-modal {
  max-height: 88%;
  height: 88%;
  padding: 0;
  overflow: hidden;
  position: relative;
}



.numerology-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
}

.numerology-scroll-content {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 0 160px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.numerology-scroll-content::-webkit-scrollbar {
  display: none;
}

/* Р СЏРґ С‡РёСЃРµР» (Р”РёРЅР°РјРёС‡РµСЃРєРёР№ С†РµРЅС‚СЂРёСЂСѓРµРјС‹Р№ СЃР»Р°Р№РґРµСЂ - Figma Node 702:51254) */
.numerology-numbers-wrapper {
  height: 96px;
  min-height: 96px;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 1) 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 1) 82%, transparent 100%);
}

.numerology-numbers-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 96px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 calc(50% - 44px);
  flex-shrink: 0;
}

.numerology-numbers-row::-webkit-scrollbar {
  display: none;
}

.num-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  user-select: none;
  -webkit-user-select: none;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
}

.num-box span {
  pointer-events: none;
}

.num-box-side {
  width: 72px;
  height: 72px;
  background-color: #29212c;
  border-radius: 24px;
  color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.02);
}

.num-box-side:hover {
  color: rgba(255, 255, 255, 0.7);
  background-color: #352a39;
  transform: scale(1.04);
}

.num-box-side:active {
  transform: scale(0.95);
}

.num-box-active {
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(235, 180, 255, 0.6) 0%, rgba(212, 135, 240, 0.55) 25%, rgba(189, 90, 225, 0.5) 50%, rgba(166, 45, 210, 0.45) 75%, rgba(143, 0, 195, 0.4) 100%), #1c131f;
  box-shadow: 0px 0px 40px 0px rgba(143, 0, 195, 0.3), inset 0px 0px 0px 1px rgba(143, 0, 195, 0.02);
  color: #ffffff;
  transform: scale(1);
}

/* РЎРµРєС†РёСЏ: Р–РёР·РЅРµРЅРЅС‹Р№ РїСѓС‚СЊ */
.numerology-main-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 335px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.numerology-title-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  width: 206px;
}

.numerology-main-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.16;
  color: #ffffff;
  text-align: center;
  width: 100%;
}

.numerology-main-subtitle {
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  width: 100%;
  transition: opacity 0.2s ease;
}

.numerology-card-block {
  width: 335px;
  background-color: #29212c;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: none;
}

.numerology-card-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.6);
  transition: opacity 0.2s ease;
  width: 100%;
}

/* РЎРµРєС†РёРё СЃР»Р°Р№РґРµСЂРѕРІ: РџРёРєРѕРІС‹Рµ РїРµСЂРёРѕРґС‹ Рё Р’С‹Р·РѕРІС‹ Р¶РёР·РЅРё */
.numerology-slider-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.numerology-slider-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.16;
  color: #ffffff;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.numerology-collection-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.numerology-cards-track {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 calc(50% - 150px);
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
  flex-shrink: 0;
  box-sizing: border-box;
}

.numerology-cards-track:active {
  cursor: grabbing;
}

.numerology-cards-track::-webkit-scrollbar {
  display: none;
}

.numerology-slide-card {
  width: 300px;
  height: 230px;
  flex-shrink: 0;
  scroll-snap-align: center;
  background-color: #29212c;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: opacity 0.25s ease, transform 0.25s ease;
  opacity: 0.35;
  box-sizing: border-box;
}

.numerology-slide-card.is-active-card {
  opacity: 1;
}

.numerology-slide-card.is-dimmed {
  opacity: 0.35;
}

.numerology-period-capsule {
  display: flex;
  gap: 8px;
  height: 28px;
  align-items: center;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
}

.period-capsule-num {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

.period-capsule-sep {
  width: 2px;
  height: 14px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.3;
  border-radius: 100px;
}

.period-capsule-text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

.numerology-slide-text-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
}

.numerology-slide-header {
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  color: #ffffff;
  width: 100%;
}

.numerology-slide-desc {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4; /* 140% LH */
  color: rgba(255, 255, 255, 0.5);
  width: 100%;
}

.numerology-slider-dots-row {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  justify-content: center;
  height: 6px;
}

.slider-dot-item {
  border-radius: 100px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.3);
  width: 6px;
  height: 6px;
}

.slider-dot-item.is-active-dot {
  width: 20px;
  height: 6px;
  background-color: #ffffff;
}

/* РњРµС‚Р°-РёРЅС„РѕСЂРјР°С†РёСЏ Рё С„СѓС‚РµСЂ */
.numerology-source-info {
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.numerology-footer-action,
.bottom-sheet-sticky-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to bottom, rgba(28, 19, 31, 0) 0%, rgba(28, 19, 31, 0.22) 25%, rgba(28, 19, 31, 0.6) 52%, rgba(28, 19, 31, 0.88) 76%, #1c131f 92%, #1c131f 100%);
  padding-top: 48px;
  padding-bottom: 8px;
  z-index: 40;
  pointer-events: none;
}

.bottom-sheet-sticky-footer-simple {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(28, 19, 31, 0) 0%, rgba(28, 19, 31, 0.9) 50%, #1c131f 100%);
  z-index: 40;
  pointer-events: none;
}

.numerology-upload-btn {
  width: 62px;
  height: 62px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(235, 180, 255, 0.6) 0%, rgba(212, 135, 240, 0.55) 25%, rgba(189, 90, 225, 0.5) 50%, rgba(166, 45, 210, 0.45) 75%, rgba(143, 0, 195, 0.4) 100%), linear-gradient(90deg, #1c131f 0%, #1c131f 100%);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0px 0px 0px 1px rgba(143, 0, 195, 0.02);
  transition: transform 0.12s ease, filter 0.2s ease;
  margin-bottom: 20px;
  pointer-events: auto;
}

.numerology-upload-btn:hover {
  filter: brightness(1.12);
}

.numerology-upload-btn:active {
  transform: scale(0.95);
}

.numerology-home-indicator-wrap {
  width: 100%;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.numerology-home-indicator-pill {
  width: 144px;
  height: 5px;
  background-color: #ffffff;
  border-radius: 100px;
  opacity: 0.95;
}

/* ==========================================================================
   РЁС‚РѕСЂРєР°: РџРѕР»РЅС‹Р№ Р“РѕСЂРѕСЃРєРѕРї (Figma Node 702:49881)
   ========================================================================== */
.full-horoscope-modal {
  max-height: 88%;
  height: 88%;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.horoscope-full-scroll {
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 4px 20px 160px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.horoscope-full-scroll::-webkit-scrollbar {
  display: none;
}

.horoscope-hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
}

.horoscope-sign-art-wrap {
  width: 185px;
  height: 202px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: scorpioFloatingGlow 4.2s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes scorpioFloatingGlow {
  0% {
    transform: translateY(0px) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) scale(1.02) rotate(0.8deg);
  }
  100% {
    transform: translateY(0px) scale(1) rotate(0deg);
  }
}

.horoscope-sign-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.horoscope-sign-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, rgba(0, 0, 0, 1) 38%, rgba(0, 0, 0, 0) 70%);
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, rgba(0, 0, 0, 1) 38%, rgba(0, 0, 0, 0) 70%);
}

.horoscope-sign-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.2px;
}

.horoscope-blocks-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.horoscope-block {
  width: 100%;
  background-color: #29212c;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: none;
}

.horoscope-block__header {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.horoscope-block__text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

.horoscope-meta-info {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  line-height: 1.4;
  width: 100%;
}

/* ==========================================================================
   РЁС‚РѕСЂРєР°: Р СѓРЅС‹ (Figma Node 702:51459 - РћРґРЅР° СЂСѓРЅР°)
   ========================================================================== */
.runes-modal {
  max-height: 88%;
  height: 88%;
  padding: 0;
  overflow: hidden;
  position: relative;
}



.runes-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
}

.runes-scroll-content {
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 16px 0 160px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.runes-scroll-content::-webkit-scrollbar {
  display: none;
}

.rune-sign-box {
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(235, 180, 255, 0.6) 0%, rgba(212, 135, 240, 0.55) 25%, rgba(189, 90, 225, 0.5) 50%, rgba(166, 45, 210, 0.45) 75%, rgba(143, 0, 195, 0.4) 100%), linear-gradient(90deg, #1c131f 0%, #1c131f 100%);
  box-shadow: 0px 0px 40px 0px rgba(143, 0, 195, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 10px;
}

.rune-sign-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.runes-title-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 335px;
}

.runes-main-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.16;
  text-align: center;
}

.runes-title-dim {
  color: rgba(255, 255, 255, 0.3);
}

.runes-title-bright {
  color: #ffffff;
}

.runes-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  width: 335px;
}

.runes-tag-badge {
  background: rgba(255, 255, 255, 0.08);
  height: 28px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.runes-blocks-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 335px;
  align-items: flex-start;
}

.runes-block {
  width: 335px;
  background-color: #29212c;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: none;
}

.runes-block__header {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.runes-block__text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.5);
}

.runes-element-card {
  width: 335px;
  min-height: 62px;
  background-color: #29212c;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: none;
}

/* ==========================================================================
   РЁС‚РѕСЂРєР°: РўР°СЂРѕ (Figma Node 702:51627 - РљР°СЂС‚Р° РґРЅСЏ)
   ========================================================================== */
.tarot-modal {
  max-height: 88%;
  height: 88%;
  padding: 0;
  overflow: hidden;
  position: relative;
}



.tarot-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
}

.tarot-scroll-content {
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 16px 0 160px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.tarot-scroll-content::-webkit-scrollbar {
  display: none;
}

/* РР»Р»СЋСЃС‚СЂР°С†РёСЏ РґСѓСЌС‚Р° РєР°СЂС‚ РўР°СЂРѕ (Figma Node 702:51572) */
.tarot-duo-container {
  width: 280px;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 10px;
  overflow: visible;
}

.tarot-duo-container::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 45, 210, 0.3) 0%, rgba(143, 0, 195, 0) 70%);
  filter: blur(25px);
  z-index: 0;
  pointer-events: none;
  animation: tarotAmbientPulse 4.5s ease-in-out infinite alternate;
}

@keyframes tarotAmbientPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.tarot-card-item {
  position: absolute;
  width: 160px;
  height: 218px;
  border-radius: 24px;
  overflow: hidden;
  top: 10px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 78%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 78%, rgba(0, 0, 0, 0) 100%);
}

.tarot-card-back {
  right: 42px;
  transform: rotate(5deg);
  z-index: 1;
  animation: tarotBackLevitate 4.8s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes tarotBackLevitate {
  0% {
    transform: translateY(0px) rotate(5deg);
  }
  50% {
    transform: translateY(4px) rotate(6.8deg) scale(0.98);
  }
  100% {
    transform: translateY(0px) rotate(5deg);
  }
}

.tarot-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.tarot-card-front {
  left: 42px;
  transform: rotate(-5deg);
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: tarotFrontLevitate 4.5s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes tarotFrontLevitate {
  0% {
    transform: translateY(0px) rotate(-5deg);
  }
  50% {
    transform: translateY(-6px) rotate(-3.5deg) scale(1.02);
  }
  100% {
    transform: translateY(0px) rotate(-5deg);
  }
}

.tarot-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.tarot-card-inner-border {
  position: absolute;
  inset: 6px;
  border: 3.5px solid #ffffff;
  border-radius: 18px;
  pointer-events: none;
}

.tarot-info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 335px;
}

.tarot-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: normal;
}

.tarot-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 335px;
}

.tarot-tag-badge {
  height: 28px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.tarot-interpretation-block {
  width: 335px;
  background-color: #29212c;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: none;
}

/* ==========================================================================
   РЁС‚РѕСЂРєР°: РњР°РіРёС‡РµСЃРєРёР№ С€Р°СЂ (Figma Nodes 746:23666 & 746:23837)
   ========================================================================== */
.magic-ball-modal {
  max-height: 525px;
  height: 525px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: height 0.35s cubic-bezier(0.32, 0.72, 0, 1), max-height 0.35s cubic-bezier(0.32, 0.72, 0, 1), background 0.35s ease;
}

.magic-ball-modal.is-answered {
  max-height: 420px;
  height: 420px;
  background: linear-gradient(180deg, rgba(143, 0, 195, 0) 75.238%, rgba(143, 0, 195, 0.3) 100%), #1c131f;
}

.magic-ball-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px 160px 20px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.magic-ball-modal.is-answered .magic-ball-content {
  padding: 0 20px 34px 20px;
}

.magic-ball-content::-webkit-scrollbar {
  display: none;
}

.magic-ball-center-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.magic-ball-art-wrap {
  width: 192px;
  height: 175px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.magic-ball-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  pointer-events: none;
}

.magic-ball-text-stage {
  position: relative;
  width: 335px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magic-ball-subtitle {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  width: 335px;
  margin: 0;
  transition: opacity 0.3s ease;
}

.magic-ball-modal.is-predicting .magic-ball-subtitle {
  color: #ffffff;
  animation: statusBreathe 2s ease-in-out infinite;
}

.magic-ball-modal.is-answered .magic-ball-subtitle {
  display: none !important;
}

.magic-ball-answer-text {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.16;
  width: 315px;
  padding: 8px 0;
  margin: 0 auto;
  display: none;
  opacity: 0;
  transform: translateY(8px);
  text-shadow: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.magic-ball-modal.is-answered .magic-ball-answer-text {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.magic-ball-footer-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(28, 19, 31, 0.85) 40%, #1c131f 100%);
  pointer-events: none;
  z-index: 20;
}

.magic-ball-footer-wrap .magic-ball-action-btn {
  pointer-events: auto;
}

.magic-ball-action-btn {
  width: 335px;
  height: 62px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(235, 180, 255, 0.6) 0%, rgba(212, 135, 240, 0.55) 25%, rgba(189, 90, 225, 0.5) 50%, rgba(166, 45, 210, 0.45) 75%, rgba(143, 0, 195, 0.4) 100%), linear-gradient(90deg, #1c131f 0%, #1c131f 100%);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: inset 0px 0px 0px 1px rgba(143, 0, 195, 0.02);
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.2s ease;
}

.magic-ball-modal.is-predicting .magic-ball-action-btn,
.magic-ball-modal.is-answered .magic-ball-action-btn {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.magic-ball-action-btn span {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: normal;
}

.magic-ball-action-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0px 0px 4px rgba(27, 113, 242, 0.6));
}

.magic-ball-action-btn:hover {
  filter: brightness(1.12);
}

.magic-ball-action-btn:active {
  transform: scale(0.97);
}

/* ==========================================================================
   РЁС‚РѕСЂРєР°: РџРµС‡РµРЅСЊРµ СЃ РїСЂРµРґСЃРєР°Р·Р°РЅРёРµРј (Figma Node 702:50494 & 702:50663)
   ========================================================================== */
.cookie-modal {
  max-height: 485px;
  height: 485px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: height 0.35s cubic-bezier(0.32, 0.72, 0, 1), max-height 0.35s cubic-bezier(0.32, 0.72, 0, 1), background 0.35s ease;
}

.cookie-modal.is-revealed {
  max-height: 452px;
  height: 452px;
  background: linear-gradient(180deg, rgba(143, 0, 195, 0) 75.238%, rgba(143, 0, 195, 0.3) 100%), #1c131f;
}

/* ==========================================================================
   Р•РґРёРЅС‹Р№ СЃС‚Р°РЅРґР°СЂС‚ iOS Home Indicator РґР»СЏ РІСЃРµС… С€С‚РѕСЂРѕРє Рё СЌРєСЂР°РЅРѕРІ
   ========================================================================== */
.ios-home-indicator-wrap,
.bottom-sheet-home-indicator,
.numerology-home-indicator-wrap {
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  pointer-events: none;
  padding-bottom: 8px;
  box-sizing: border-box;
}

.ios-home-indicator-pill,
.bottom-sheet-home-indicator .home-indicator,
.numerology-home-indicator-pill {
  width: 144px;
  height: 5px;
  background-color: #ffffff;
  border-radius: 100px;
}





.cookie-badge-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-modal.is-generating .cookie-badge-capsule {
  opacity: 1;
  transform: translateY(0);
}

.cookie-badge-currency {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.cookie-badge-currency img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.cookie-badge-sep {
  width: 2px;
  height: 14px;
  background: linear-gradient(to bottom, transparent 0%, #ffffff 50%, transparent 100%);
  opacity: 0.3;
  border-radius: 100px;
}

.cookie-badge-time {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.cookie-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px 116px 20px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.cookie-content::-webkit-scrollbar {
  display: none;
}

.cookie-center-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  margin-top: 10px;
}

.cookie-art-wrap {
  width: 250px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: cookieFloating 4.2s ease-in-out infinite alternate;
  will-change: transform;
  mix-blend-mode: lighten;
}

.cookie-art-whole,
.cookie-art-video-wrap,
.cookie-art-breaking,
.cookie-art-result {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-art-whole {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal.is-generating .cookie-art-whole {
  opacity: 0;
}

.cookie-modal.is-generating .cookie-art-video-wrap {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal.is-revealed .cookie-art-whole,
.cookie-modal.is-revealed .cookie-art-video-wrap,
.cookie-modal.is-revealed .cookie-art-breaking {
  opacity: 0;
}

.cookie-modal.is-revealed .cookie-art-result {
  opacity: 1;
  pointer-events: auto;
}

.cookie-transition-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  pointer-events: none;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal.is-phase1 .cookie-video-phase1 {
  opacity: 1;
  z-index: 2;
}

.cookie-modal.is-phase2 .cookie-video-phase2 {
  opacity: 1;
  z-index: 3;
}

.cookie-modal.is-phase3 .cookie-video-phase3 {
  opacity: 1;
  z-index: 4;
}

.cookie-art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-art-whole .cookie-art-img {
  transform: scale(1.22);
}

.cookie-art-result .cookie-art-img {
  transform: scale(1.18);
}

@keyframes cookieFloating {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes cookiePulseText {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.cookie-status-text {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  width: 315px;
  min-height: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin: 0;
}

.cookie-modal.is-generating .cookie-status-text {
  opacity: 1;
  animation: cookiePulseText 1.6s ease-in-out infinite;
}

/* Р‘РёР»РµС‚РёРє / РўРµРєСЃС‚ РїСЂРµРґСЃРєР°Р·Р°РЅРёСЏ (Figma Node 702:50831) */
.cookie-prediction-ticket {
  width: 315px;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  /* РџСЂРё СЃРєСЂС‹С‚РёРё вЂ” visibility СѓС…РѕРґРёС‚ РїРѕСЃР»Рµ 0.45s, РїСЂРё РїРѕРєР°Р·Рµ вЂ” РЅРµРјРµРґР»РµРЅРЅРѕ С‡РµСЂРµР· JS */
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 16px;
}

.cookie-modal.is-revealed .cookie-prediction-ticket {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cookie-prediction-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  text-align: center;
  width: 315px;
}

.cookie-footer-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(28, 19, 31, 0.85) 40%, #1c131f 100%);
  pointer-events: none;
  z-index: 20;
}

.cookie-modal.is-revealed .cookie-footer-wrap {
  background: transparent;
}

.cookie-footer-wrap button,
.cookie-footer-wrap .cookie-action-btn {
  pointer-events: auto;
}

.cookie-action-btn {
  width: 335px;
  height: 62px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(235, 180, 255, 0.6) 0%, rgba(212, 135, 240, 0.55) 25%, rgba(189, 90, 225, 0.5) 50%, rgba(166, 45, 210, 0.45) 75%, rgba(143, 0, 195, 0.4) 100%), linear-gradient(90deg, #1c131f 0%, #1c131f 100%);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: inset 0px 0px 0px 1px rgba(143, 0, 195, 0.02);
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.2s ease;
}

.cookie-action-btn span {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.cookie-action-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0px 0px 4px rgba(27, 113, 242, 0.6));
}

.cookie-action-btn:hover {
  filter: brightness(1.12);
}

.cookie-action-btn:active {
  transform: scale(0.97);
}

.cookie-modal.is-generating .cookie-action-btn,
.cookie-modal.is-revealed .cookie-action-btn {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-share-btn-wrap {
  display: none;
  width: 100%;
  justify-content: center;
  margin-bottom: 4px;
}

.cookie-modal.is-revealed .cookie-share-btn-wrap {
  display: none !important;
}

/* ==========================================================================
   РЁС‚РѕСЂРєР°: РЎРѕРІРµС‚ РћСЂР°РєСѓР»Р° (Figma Node 654:36122 & 654:35366)
   3 СЌС‚Р°РїР°: 
   1. РџРѕР»Рµ РІРІРѕРґР° (0/200 СЃРёРјРІРѕР»РѕРІ, РєРЅРѕРїРєР° 30 рџ’Ћ)
   2. Р“РµРЅРµСЂР°С†РёСЏ РѕС‚РІРµС‚Р° (-30 рџ’Ћ | ~ 15 СЃРµРє, РІРѕРїСЂРѕСЃ РІ Р±Р°Р±Р»Рµ, СЃС„РµСЂР°, "РЎРІРµСЂСЏСЋ РїР»Р°РЅРµС‚С‹...")
   3. РћС‚РІРµС‚ РћСЂР°РєСѓР»Р° (Р±Р°Р±Р» РІРѕРїСЂРѕСЃР°, РєР°СЂС‚РѕС‡РєР° РѕС‚РІРµС‚Р° СЃ Р·Р°РіРѕР»РѕРІРєРѕРј Рё С‚РµРєСЃС‚РѕРј, РєРЅРѕРїРєР° upload)
   ========================================================================== */
.oracle-advice-modal {
  max-height: 88%;
  height: auto;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: height 0.35s cubic-bezier(0.32, 0.72, 0, 1), max-height 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.oracle-advice-modal.is-input-state {
  height: auto;
  max-height: none;
}

.oracle-advice-modal.is-generating {
  height: auto;
  min-height: 420px;
}

.oracle-advice-modal.is-answered {
  height: 88%;
  max-height: 88%;
}

.oracle-advice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.oracle-advice-modal.is-generating .oracle-advice-badge {
  opacity: 1;
  transform: translateY(0);
}

.oracle-advice-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 20px 20px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.oracle-advice-modal.is-answered .oracle-advice-content {
  padding: 0 20px 160px 20px;
}

.oracle-advice-content::-webkit-scrollbar {
  display: none;
}

/* Р­С‚Р°Рї 1: РџРѕР»Рµ РІРІРѕРґР° */
.oracle-advice-input-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.oracle-advice-input-wrap {
  position: relative;
  margin-bottom: 20px;
}

/* Р­С‚Р°Рї 2: Р“РµРЅРµСЂР°С†РёСЏ */
.oracle-advice-gen-stage {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
}

.oracle-advice-modal.is-generating .oracle-advice-input-stage {
  display: none;
}

.oracle-advice-modal.is-generating .oracle-advice-gen-stage {
  display: flex;
}

.oracle-advice-question-bubble {
  width: 100%;
  background-color: #29212c;
  border-radius: 24px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 20px;
  word-break: break-word;
}

.oracle-advice-art-wrap {
  width: 260px;
  height: 215px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 10px auto;
}

.oracle-advice-gen-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  pointer-events: none;
  border-radius: 20px;
}

.oracle-advice-status-text {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-top: 14px;
  animation: statusBreathe 2s ease-in-out infinite;
}

/* Р­С‚Р°Рї 3: РћС‚РІРµС‚ РћСЂР°РєСѓР»Р° */
.oracle-advice-result-stage {
  width: 100%;
  display: none;
  flex-direction: column;
}

.oracle-advice-modal.is-answered .oracle-advice-input-stage,
.oracle-advice-modal.is-answered .oracle-advice-gen-stage {
  display: none;
}

.oracle-advice-modal.is-answered .oracle-advice-result-stage {
  display: flex;
}

.oracle-advice-response-card {
  width: 100%;
  background-color: #29212c;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.oracle-advice-response-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.oracle-advice-response-paragraphs {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.oracle-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  background: #bd5ae1;
  border-radius: 2px;
  margin-left: 2px;
  vertical-align: -2px;
  box-shadow: 0 0 8px rgba(189, 90, 225, 0.9);
  animation: oracleCursorBlink 0.75s ease-in-out infinite;
}

@keyframes oracleCursorBlink {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0; transform: scaleY(0.85); }
}

.oracle-advice-footer-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  background: transparent;
  pointer-events: none;
  z-index: 20;
}

.oracle-advice-modal.is-answered .oracle-advice-footer-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-top: 30px;
  background: linear-gradient(to bottom, transparent 0%, rgba(28, 19, 31, 0.95) 40%, #1c131f 100%);
}

.oracle-advice-footer-wrap button {
  pointer-events: auto;
}

.oracle-advice-action-btn {
  width: 335px;
  height: 62px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(235, 180, 255, 0.6) 0%, rgba(212, 135, 240, 0.55) 25%, rgba(189, 90, 225, 0.5) 50%, rgba(166, 45, 210, 0.45) 75%, rgba(143, 0, 195, 0.4) 100%), linear-gradient(90deg, #1c131f 0%, #1c131f 100%);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: inset 0px 0px 0px 1px rgba(143, 0, 195, 0.02);
  transition: transform 0.15s ease, filter 0.2s ease;
}

.oracle-advice-action-btn span {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.oracle-advice-action-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0px 0px 4px rgba(27, 113, 242, 0.6));
}

.oracle-advice-action-btn:hover {
  filter: brightness(1.12);
}

.oracle-advice-action-btn:active {
  transform: scale(0.97);
}

.oracle-advice-modal.is-generating .oracle-advice-action-btn,
.oracle-advice-modal.is-answered .oracle-advice-action-btn {
  display: none !important;
}

.oracle-advice-share-btn-wrap {
  display: none;
  width: 100%;
  justify-content: center;
  margin-bottom: 4px;
}

.oracle-advice-modal.is-answered .oracle-advice-share-btn-wrap {
  display: flex;
}

/* ==========================================================================
   РђРґР°РїС‚РёРІРЅРѕСЃС‚СЊ РґР»СЏ РјРѕР±РёР»СЊРЅС‹С… СЌРєСЂР°РЅРѕРІ
   ========================================================================== */
@media (max-width: 480px) {
  body {
    padding: 0;
    background-color: var(--bg-color);
  }
  
  .phone-frame {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
  
  .oracle-screen {
    width: 100%;
  }
  
  .sections-container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .card-square {
    width: calc(50% - 8px);
  }
}

