/* ═══════════════════════════════════════════
   VARIABLES & RESET
══════════════════════════════════════════════ */
:root {
  --bg-space:       #0a0314;
  --bg-deep:        #130a2a;
  --glass-bg:       rgba(30,20,50,0.45);
  --glass-border:   rgba(255,255,255,0.1);
  --glass-hi:       rgba(255,255,255,0.18);
  --gold:           #F5D36B;
  --gold-glow:      rgba(245,211,107,0.45);
  --gold-dim:       rgba(245,211,107,0.25);
  --cyan:           #56B6C2;
  --cyan-glow:      rgba(86,182,194,0.45);
  --purple-light:   #C678DD;
  --white:          #F8F9FA;
  --muted:          rgba(248,249,250,0.65);
  --radius:         22px;
  --tr:             all 0.4s cubic-bezier(0.25,0.8,0.25,1);
  --m-btn: 1.1rem;
  --btn-orange: #FF6D1B;
  --btn-yellow: #FFEE55;
  --btn-green: #5BFF89;
  --btn-blue: #4D8AFF;
  --btn-purple: #6B5FFF;
  --btn-pink: #FF64F9;
  --btn-red: #FF6565;
}
*{ box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color:transparent; }
html,body{ width:100%; height:100%; font-family:'Heebo',sans-serif; background:var(--bg-space); color:var(--white); overflow:hidden; direction:rtl; text-align:right; }
h1,h2,h3,h4{ font-family:'Assistant',sans-serif; font-weight:300; letter-spacing:1px; }

/* ═══════════════════════════════════════════
   BACKGROUND
══════════════════════════════════════════════ */
#bg-canvas{ position:fixed; inset:0; z-index:0; pointer-events:none; background:radial-gradient(circle at 50% 50%, var(--bg-deep) 0%, var(--bg-space) 100%); }
.ambient-light{ position:fixed; width:60vw; height:60vw; border-radius:50%; background:radial-gradient(circle, var(--purple-light) 0%, transparent 60%); opacity:0.13; top:-20vw; right:-20vw; z-index:1; pointer-events:none; filter:blur(40px); animation:floatLight 15s infinite alternate ease-in-out; }
.ambient-light-2{ position:fixed; width:70vw; height:70vw; border-radius:50%; background:radial-gradient(circle, var(--cyan) 0%, transparent 60%); opacity:0.08; bottom:-30vw; left:-20vw; z-index:1; pointer-events:none; filter:blur(50px); animation:floatLight 20s infinite alternate-reverse ease-in-out; }
@keyframes floatLight{ 0%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(10vw,5vh) scale(1.1); } 100%{ transform:translate(-5vw,10vh) scale(0.9); } }

/* ═══════════════════════════════════════════
   GLASS UTILITIES
══════════════════════════════════════════════ */
.glass-panel{
  background:var(--glass-bg);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid var(--glass-border);
  border-radius:var(--radius);
  box-shadow:0 16px 40px rgba(0,0,0,0.4), inset 0 1px 0 var(--glass-hi);
  transition:var(--tr);
}
.glass-btn{
  background:rgba(255,255,255,0.06);
  backdrop-filter:blur(8px);
  border:1px solid var(--glass-border);
  border-radius:50px;
  color:var(--white);
  padding:13px 24px;
  font-size:1rem;
  font-family:'Heebo',sans-serif;
  font-weight:400;
  cursor:pointer;
  transition:var(--tr);
  display:flex; align-items:center; justify-content:center; gap:10px;
  box-shadow:0 4px 15px rgba(0,0,0,0.2);
  position:relative; overflow:hidden;
  width:100%; margin-bottom:14px;
}
.glass-btn::before{ content:''; position:absolute; top:0; left:-100%; width:50%; height:100%; background:linear-gradient(to right,transparent,rgba(255,255,255,0.1),transparent); transform:skewX(-20deg); transition:0.5s; }
.glass-btn:hover,.glass-btn:active{ background:rgba(255,255,255,0.12); border-color:var(--gold); box-shadow:0 0 20px var(--gold-glow); transform:translateY(-2px); }
.glass-btn:hover::before{ left:150%; }
.glass-btn.primary{ background:linear-gradient(135deg,rgba(245,211,107,0.15),rgba(198,120,221,0.15)); border-color:rgba(245,211,107,0.4); }
.glass-btn.small-btn{ padding:7px 14px; font-size:0.8rem; margin-bottom:0; width:auto; border:1px solid var(--glass-border); border-radius:20px; }
.glass-btn.icon-btn{ padding:0; width:38px; height:38px; font-size:1.1rem; margin-bottom:0; border:1px solid var(--glass-border); border-radius:50%; }
.glass-input{ width:100%; background:rgba(0,0,0,0.2); border:1px solid var(--glass-border); border-radius:12px; padding:14px; color:var(--white); font-size:1.1rem; text-align:center; font-family:'Assistant',sans-serif; outline:none; transition:var(--tr); }
.glass-input:focus{ border-color:var(--cyan); box-shadow:0 0 15px var(--cyan-glow); background:rgba(0,0,0,0.4); }

/* ═══════════════════════════════════════════
   LAYOUT & SCREENS
══════════════════════════════════════════════ */
#app-container{ position:relative; width:100%; height:100%; z-index:10; display:flex; justify-content:center; align-items:stretch; }
.screen{ position:absolute; inset:0; display:flex; flex-direction:column; padding:16px; opacity:0; pointer-events:none; transform:scale(0.97) translateY(18px); transition:opacity 0.55s ease, transform 0.55s cubic-bezier(0.2,0.8,0.2,1); overflow-y:auto; overflow-x:hidden; scrollbar-width:none; padding-bottom:44px !important; }
.screen::-webkit-scrollbar{ display:none; }
.screen.active{ opacity:1; pointer-events:auto; transform:scale(1) translateY(0); }

.screen-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:8px 0 14px;
  width:100%; max-width:600px; margin:0 auto;
  flex-shrink:0;
}
.screen-title{ font-size:1.6rem; font-weight:300; color:var(--gold); text-align:center; flex:1; text-shadow:0 2px 10px rgba(0,0,0,0.5);}
.content-wrapper{ max-width:600px; margin:0 auto; width:100%; flex:1; padding-bottom:30px; }

/* ═══════════════════════════════════════════
   WELCOME SCREEN
══════════════════════════════════════════════ */
#screen-welcome{ overflow-y:auto; }
#screen-welcome .inner{
  max-width:600px; margin:0 auto; width:100%;
  display:flex; flex-direction:column;
  justify-content:flex-start;
  padding:55vh 0 24px; gap:14px;
}

/* ── Fairy dust message panels ── */
.welcome-msg{
  opacity:0;
  padding:6px 20px;
  line-height:2; font-size:1rem; text-align:center;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transition: opacity 0.4s ease;
}
.welcome-msg.msg-visible { opacity: 1; }

.fd-word {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  filter: blur(6px) brightness(2.5);
  transform: translateY(6px) scale(0.85);
  color: var(--purple-light);
  text-shadow:
    0 0 12px rgba(198,120,221,0.9),
    0 0 24px rgba(198,120,221,0.5),
    0 0 40px rgba(245,211,107,0.3);
  animation: none;
}
.fd-word.fd-pop {
  animation: fairyDust 0.7s cubic-bezier(0.22, 0.68, 0, 1.1) forwards;
}
.fd-spark {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  width: 4px; height: 4px;
  background: radial-gradient(circle, #f5d36b 0%, rgba(198,120,221,0.6) 60%, transparent 100%);
  animation: sparkFly 0.6s ease-out forwards;
}
@keyframes fairyDust {
  0%   { opacity:0; filter:blur(8px) brightness(3); transform:translateY(8px) scale(0.75); color: #f5d36b; text-shadow: 0 0 20px rgba(245,211,107,1), 0 0 40px rgba(198,120,221,0.8); }
  30%  { opacity:1; filter:blur(3px) brightness(1.8); transform:translateY(-2px) scale(1.08); color: var(--purple-light); }
  60%  { filter:blur(0.5px) brightness(1.2); transform:translateY(1px) scale(0.98); }
  100% { opacity:1; filter:blur(0) brightness(1); transform:translateY(0) scale(1); color: rgba(255,255,255,0.92); text-shadow: none; }
}
@keyframes sparkFly {
  0%   { opacity:1; transform:translate(0,0) scale(1); }
  100% { opacity:0; transform:translate(var(--sx,8px), var(--sy,-18px)) scale(0); }
}
.fd-emoji {
  display:inline-block;
  animation: emojiBounce 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
  opacity:0;
}
@keyframes emojiBounce {
  0%   { opacity:0; transform:scale(0) rotate(-20deg); }
  70%  { opacity:1; transform:scale(1.3) rotate(6deg); }
  100% { opacity:1; transform:scale(1) rotate(0deg); }
}
#welcome-actions{ opacity:0; transition:opacity 1.2s; margin-top:8px; padding-bottom:10px; pointer-events: none; }

/* ═══════════════════════════════════════════
   DATE INPUT
══════════════════════════════════════════════ */
.date-inputs{ display:flex; gap:10px; margin:24px 0; direction:ltr; }

/* ═══════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════ */
.star-code-box{ text-align:center; padding:18px; border-color:var(--gold); box-shadow:0 0 30px var(--gold-glow); margin-bottom:20px; animation:pulseGlow 3s infinite alternate; }
.star-code-box h3{ font-size:0.9rem; color:var(--muted); margin-bottom:8px; }
.star-code-emoji{ font-size:2.2rem; letter-spacing:4px; display:block; }
@keyframes pulseGlow{ 0%{ box-shadow:0 0 15px var(--gold-glow); } 100%{ box-shadow:0 0 35px var(--gold-glow); } }

.menu-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:13px; }
.menu-card{ padding:22px 12px; text-align:center; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.menu-card .icon{ font-size:2.2rem; margin-bottom:8px; text-shadow:0 0 15px rgba(255,255,255,0.3); transition:var(--tr); }
.menu-card:hover .icon{ transform:scale(1.2); }
.menu-card h3{ font-size:1.1rem; font-weight:600; }
.menu-card p{ font-size:0.8rem; color:var(--muted); margin-top:4px; }

/* ═══════════════════════════════════════════
   STAR SVG INFOGRAPHIC
══════════════════════════════════════════════ */
.star-infographic-wrap{ display:flex; justify-content:center; margin-bottom:16px; }
.star-infographic-wrap svg{ width:100%; max-width:260px; }

/* ═══════════════════════════════════════════
   MONEY INFOGRAPHICS
══════════════════════════════════════════════ */
.money-infographics{ display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.money-infographic-label{
  text-align:center; font-size:0.75rem; color:var(--muted);
  margin-bottom:12px; font-family:'Assistant',sans-serif;
}
.infographic-box{
  background:rgba(0,0,0,0.2); border:1px solid var(--glass-border);
  border-radius:16px; padding:12px;
  display:flex; flex-direction:column; align-items:center;
}
.infographic-box svg{ width:100%; max-width:260px; }

/* ═══════════════════════════════════════════
   CONTENT TABS
══════════════════════════════════════════════ */
.nav-tabs{ display:flex; gap:8px; overflow-x:auto; padding-bottom:12px; margin-bottom:16px; scrollbar-width:none; touch-action:pan-x; -webkit-overflow-scrolling:touch; cursor:grab; }
.nav-tabs::-webkit-scrollbar{ display:none; }
.tab-btn{ flex:0 0 auto; padding:8px 16px; border-radius:30px; background:rgba(255,255,255,0.05); border:1px solid var(--glass-border); color:var(--muted); cursor:pointer; font-family:'Assistant',sans-serif; font-weight:600; font-size:0.85rem; white-space:nowrap; transition:var(--tr); }
.tab-btn.active{ background:rgba(245,211,107,0.15); color:var(--gold); border-color:var(--gold); }

/* ═══════════════════════════════════════════
   CONTENT BLOCKS
══════════════════════════════════════════════ */
.content-block{ padding:22px; line-height:1.9; font-size:1rem; margin-bottom:18px; animation:slideUp 0.5s forwards; overflow-wrap:break-word; word-break:break-word; text-align:right; direction:rtl; }
.content-block p{ text-align:right; direction:rtl; }
.content-block h2{ color:var(--gold); margin-bottom:12px; font-size:1.3rem; border-bottom:1px solid var(--glass-border); padding-bottom:8px; }
.content-block h3{ color:var(--cyan); margin:16px 0 6px; font-size:1.05rem; font-weight:600; }
.content-block strong{ color:var(--purple-light); }
@keyframes slideUp{ from{ transform:translateY(12px); opacity:0; } to{ transform:translateY(0); opacity:1; } }

/* ═══════════════════════════════════════════
   ACTION ROW (CAROUSEL NAV)
══════════════════════════════════════════════ */
.action-row{ display:flex; gap:12px; margin-top:18px; }

/* ═══════════════════════════════════════════
   LOADING OVERLAY
══════════════════════════════════════════════ */
#loading-overlay{ position:fixed; inset:0; background:rgba(10,3,20,0.85); backdrop-filter:blur(10px); display:flex; flex-direction:column; justify-content:center; align-items:center; z-index:9999; opacity:0; pointer-events:none; transition:opacity 0.4s; }
#loading-overlay.visible{ opacity:1; pointer-events:auto; }
.sacred-loader{ width:72px; height:72px; border:3px solid transparent; border-top-color:var(--gold); border-bottom-color:var(--cyan); border-radius:50%; animation:spin 1.8s linear infinite; }
.loader-text{ margin-top:18px; font-size:1.1rem; color:var(--gold); animation:flash 2s infinite alternate; }
@keyframes spin{ 100%{ transform:rotate(360deg); } }
@keyframes flash{ 0%{ opacity:0.5; } 100%{ opacity:1; } }

/* ═══════════════════════════════════════════
   HELP MODAL POPUP
══════════════════════════════════════════════ */
#help-modal{ position:fixed; inset:0; z-index:8888; display:none; align-items:center; justify-content:center; padding:20px; }
#help-modal.open{ display:flex; }
.help-modal-backdrop{ position:absolute; inset:0; background:rgba(10,3,20,0.75); backdrop-filter:blur(6px); }
.help-modal-box{
  position:relative; z-index:1;
  width:100%; max-width:520px;
  max-height:80vh; overflow-y:auto;
  scrollbar-width:none;
  background:rgba(25,15,45,0.95);
  backdrop-filter:blur(20px);
  border:1px solid rgba(245,211,107,0.35);
  border-radius:24px;
  padding:28px 24px;
  box-shadow:0 20px 60px rgba(0,0,0,0.7), 0 0 40px rgba(245,211,107,0.15);
  animation:modalIn 0.35s ease;
}
.help-modal-box::-webkit-scrollbar{ display:none; }
@keyframes modalIn{ from{ transform:scale(0.92) translateY(20px); opacity:0; } to{ transform:scale(1) translateY(0); opacity:1; } }
.help-modal-title{ font-size:1.3rem; font-weight:600; color:var(--gold); margin-bottom:20px; text-align:center; font-family:'Assistant',sans-serif; }
.help-section{ margin-bottom:16px; }
.help-section h3{ color:var(--cyan); font-size:0.9rem; font-weight:600; margin-bottom:6px; }
.help-section p{ color:var(--muted); font-size:0.85rem; line-height:1.7; }
.help-modal-close{ position:absolute; top:14px; left:14px; background:rgba(255,255,255,0.08); border:1px solid var(--glass-border); color:var(--white); width:34px; height:34px; border-radius:50%; font-size:1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:var(--tr); }
.help-modal-close:hover{ background:rgba(255,255,255,0.18); border-color:var(--gold); }

/* ═══ MONEY INFOGRAPHIC ANIMATIONS ══════════════════════════════ */
@keyframes vertexPulse{
  0%   { opacity:1; transform:scale(1); }
  50%  { opacity:0.55; transform:scale(1.18); }
  100% { opacity:1; transform:scale(1); }
}
@keyframes infographicFadeIn{
  from { opacity:0; transform:scale(0.96); }
  to   { opacity:1; transform:scale(1);   }
}
.infographic-box svg{
  transition: opacity 0.35s ease;
}
.infographic-morph{
  animation: infographicFadeIn 0.38s cubic-bezier(0.25,0.8,0.25,1) both;
}
.vertex-pulse{
  animation: vertexPulse 1.6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

/* ═══════════════════════════════════════════
   WHO AM I
══════════════════════════════════════════════ */
#whoami-intro{ padding:20px; line-height:1.85; font-size:0.95rem; margin-bottom:18px; white-space:pre-wrap; }
.whoami-btn{ justify-content:space-between !important; padding:18px 20px; }
.badge-num{ background:var(--bg-deep); border-radius:50%; width:32px; height:32px; min-width:32px; display:flex; align-items:center; justify-content:center; color:var(--gold); font-weight:700; font-family:'Assistant',sans-serif; }

/* ═══════════════════════════════════════════
   PROGRESS DOTS
══════════════════════════════════════════════ */
#carousel-progress{ display:flex; justify-content:center; gap:6px; padding:10px 0 4px; }
.dot{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.2); transition:var(--tr); }
.dot.active{ background:var(--gold); transform:scale(1.3); }
.dot.done{ background:rgba(245,211,107,0.5); }
.screen-counter{ text-align:center; font-size:0.75rem; color:var(--muted); margin-bottom:10px; }

/* ═══════════════════════════════════════════
   PRIVACY FOOTER
══════════════════════════════════════════════ */
.privacy-note{ text-align:center; font-size:0.75rem; color:var(--muted); padding:12px 0 4px; }
.content-block ul.field-list{
  list-style:none; padding:0; margin:4px 0 0;
  display:flex; flex-direction:column; gap:6px;
}
.content-block ul.field-list li{
  display:flex; align-items:flex-start; gap:8px;
  font-size:1rem; line-height:1.5;
}
.content-block ul.field-list li::before{
  content:'•';
  color:var(--gold);
  font-size:1.1rem;
  flex-shrink:0;
  margin-top:1px;
}

/* ═══════════════════════════════════════════
   PERSONAL MONTH TIMELINE
══════════════════════════════════════════════ */
#screen-timeline .timeline-header {
  text-align: center;
  margin-bottom: 30px;
}
.tl-wrap {
  position: relative;
  padding-right: 48px;
}
.tl-wrap::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 20px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(245,211,107,0.3) 5%, rgba(245,211,107,0.3) 95%, transparent);
}
.tl-item {
  position: relative;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.tl-item.tl-visible { opacity: 1; transform: translateY(0); }
.tl-item:nth-child(1).tl-visible { transition-delay: 0.05s; }
.tl-item:nth-child(2).tl-visible { transition-delay: 0.12s; }
.tl-item:nth-child(3).tl-visible { transition-delay: 0.19s; }
.tl-item:nth-child(4).tl-visible { transition-delay: 0.26s; }
.tl-item:nth-child(5).tl-visible { transition-delay: 0.33s; }
.tl-item:nth-child(6).tl-visible { transition-delay: 0.40s; }
.tl-item:nth-child(7).tl-visible { transition-delay: 0.47s; }
.tl-item:nth-child(8).tl-visible { transition-delay: 0.54s; }
.tl-item:nth-child(9).tl-visible { transition-delay: 0.61s; }
.tl-item:nth-child(10).tl-visible { transition-delay: 0.68s; }
.tl-item:nth-child(11).tl-visible { transition-delay: 0.75s; }
.tl-item:nth-child(12).tl-visible { transition-delay: 0.82s; }
.tl-node {
  position: absolute;
  right: -48px;
  top: 14px;
  width: 38px; height: 38px;
  background: var(--bg-deep, #130a2a);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  color: var(--gold);
  box-shadow: 0 0 12px rgba(245,211,107,0.25);
  z-index: 2;
  transition: all 0.3s ease;
}
.tl-item.tl-expanded .tl-node,
.tl-item:hover .tl-node { transform: scale(1.1); box-shadow: 0 0 22px rgba(245,211,107,0.5); }
.tl-item.tl-expanded .tl-node { background: var(--gold); color: #111; }
.tl-panel {
  background: rgba(30,20,50,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 18px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1);
  max-height: 110px;
  overflow: hidden;
}
.tl-item.tl-expanded .tl-panel {
  max-height: 2000px;
  border-color: rgba(245,211,107,0.4);
  background: rgba(40,30,60,0.8);
  box-shadow: 0 18px 45px rgba(0,0,0,0.6);
}
.tl-panel:hover { border-color: rgba(245,211,107,0.2); }
.tl-panel-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 8px; gap: 10px;
}
.tl-panel-head-left { flex: 1; }
.tl-current-badge {
  display: inline-block;
  background: rgba(245,211,107,0.15);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: bold;
  border: 1px solid rgba(245,211,107,0.25);
  white-space: nowrap;
  flex-shrink: 0;
}
.tl-month-date {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3px;
  display: block;
}
.tl-month-title {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.3;
}
.tl-preview {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tl-item.tl-expanded .tl-preview { display: none; }
.tl-expanded-content {
  display: none;
  animation: tlSlideDown 0.35s ease-out forwards;
}
.tl-item.tl-expanded .tl-expanded-content { display: block; }
@keyframes tlSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tl-tabs {
  display: flex; gap: 7px;
  overflow-x: auto;
  padding: 14px 0 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
.tl-tabs.is-dragging { cursor: grabbing; }
.tl-tabs::-webkit-scrollbar { display: none; }
.tl-tab-btn {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  font-family: 'Assistant', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.tl-tab-btn:hover { border-color: var(--gold); }
.tl-tab-btn.active {
  background: rgba(245,211,107,0.15);
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(245,211,107,0.22);
}
.tl-content-block {
  padding: 12px 0;
  line-height: 1.8;
  font-size: 0.95rem;
  color: #e0e0e0;
  text-align: right;
  direction: rtl;
  display: none;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.tl-content-block.active { display: block; animation: tlFadeIn 0.28s ease-out; }
@keyframes tlFadeIn { from { opacity:0; } to { opacity:1; } }

/* ═══════════════════════════════════════════
   PROFILE MANAGER SCREEN
══════════════════════════════════════════════ */
#screen-profiles .profile-list { display:flex; flex-direction:column; gap:12px; margin-bottom:20px; }
.profile-card {
  display:flex; align-items:center; gap:14px;
  padding:16px 18px;
  cursor:pointer;
  transition:var(--tr);
  position:relative;
  overflow:hidden;
}
.profile-card:hover { border-color:var(--gold); transform:translateY(-1px); }
.profile-card.active-profile { border-color:rgba(245,211,107,0.5); background:rgba(245,211,107,0.07); }
.profile-avatar {
  width:46px; height:46px; border-radius:50%;
  background:linear-gradient(135deg, rgba(245,211,107,0.25), rgba(198,120,221,0.25));
  border:2px solid rgba(245,211,107,0.4);
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; flex-shrink:0;
}
.profile-info { flex:1; text-align:right; }
.profile-info .pname { font-size:1rem; font-weight:600; color:var(--white); }
.profile-info .pdate { font-size:0.8rem; color:var(--muted); margin-top:2px; }
.profile-info .pactive-badge {
  display:inline-block; background:rgba(245,211,107,0.15);
  color:var(--gold); font-size:0.7rem; padding:2px 8px;
  border-radius:10px; border:1px solid rgba(245,211,107,0.3);
  margin-top:3px;
}
.profile-delete-btn {
  background:rgba(255,80,80,0.1); border:1px solid rgba(255,80,80,0.25);
  color:rgba(255,120,120,0.8); width:30px; height:30px; border-radius:50%;
  font-size:0.8rem; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:var(--tr); flex-shrink:0;
}
.profile-delete-btn:hover { background:rgba(255,80,80,0.25); border-color:rgba(255,80,80,0.6); }

@keyframes profileBtnGlow {
  0%   { background: rgba(198,120,221,0.15); border-color: rgba(198,120,221,0.4); box-shadow: 0 0 8px rgba(198,120,221,0.3); }
  33%  { background: rgba(245,211,107,0.15); border-color: rgba(245,211,107,0.5); box-shadow: 0 0 14px rgba(245,211,107,0.4); }
  66%  { background: rgba(91,255,137,0.12);  border-color: rgba(91,255,137,0.4);  box-shadow: 0 0 14px rgba(91,255,137,0.35); }
  100% { background: rgba(198,120,221,0.15); border-color: rgba(198,120,221,0.4); box-shadow: 0 0 8px rgba(198,120,221,0.3); }
}
#dash-profile-btn.profile-btn-alert {
  animation: profileBtnGlow 1.4s ease-in-out infinite;
  transform: scale(1.04);
  font-weight: 700;
}

.profile-pending {
  border-color: rgba(91,255,137,0.35) !important;
  background: rgba(91,255,137,0.05) !important;
  cursor: pointer;
  position: relative; overflow: hidden;
}
.profile-pending::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(91,255,137,0.4), rgba(198,120,221,0.4), rgba(245,211,107,0.3));
  z-index: 0; opacity: 0;
  transition: opacity 0.4s;
}
.profile-pending:hover::before { opacity: 1; }
.pending-avatar {
  background: linear-gradient(135deg, rgba(91,255,137,0.25), rgba(198,120,221,0.25)) !important;
  color: #5bff89 !important;
  animation: pendingPulse 2s ease-in-out infinite;
}
@keyframes pendingPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(91,255,137,0.4); }
  50%      { box-shadow: 0 0 0 10px rgba(91,255,137,0); }
}

.profile-new-burst {
  opacity: 0;
  transform: scale(0.7) translateY(20px);
}
.profile-burst-active {
  animation: profileBurst 0.65s cubic-bezier(0.22,0.68,0,1.25) forwards;
}
@keyframes profileBurst {
  0%   { opacity:0; transform:scale(0.7) translateY(20px); filter:brightness(2) blur(4px); }
  50%  { opacity:1; transform:scale(1.06) translateY(-4px); filter:brightness(1.3) blur(0); }
  100% { opacity:1; transform:scale(1) translateY(0); filter:brightness(1) blur(0); }
}

.confetti-piece {
  position: absolute;
  top: -10px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0%   { top: -10px; transform: translateX(0) rotate(0deg); opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 110vh; transform: translateX(calc((var(--drift,1) - 0.5) * 200px)) rotate(720deg); opacity: 0; }
}

.add-profile-box {
  border:2px dashed rgba(255,255,255,0.15); border-radius:var(--radius);
  padding:20px; text-align:center; cursor:pointer;
  transition:var(--tr); color:var(--muted); font-size:0.95rem;
}
.add-profile-box:hover { border-color:rgba(86,182,194,0.5); color:var(--cyan); }
.add-profile-box .plus { font-size:2rem; display:block; margin-bottom:6px; opacity:0.7; }

/* ═══════════════════════════════════════════
   UPSELL MODAL
══════════════════════════════════════════════ */
#upsell-modal { position:fixed; inset:0; z-index:9500; display:none; align-items:flex-end; justify-content:center; padding:0; }
#upsell-modal.open { display:flex; }
.upsell-backdrop { position:absolute; inset:0; background:rgba(10,3,20,0.8); backdrop-filter:blur(8px); }
.upsell-sheet {
  position:relative; z-index:1;
  width:100%; max-width:600px;
  max-height:90vh; overflow-y:auto; scrollbar-width:none;
  background:rgba(18,10,35,0.97);
  backdrop-filter:blur(20px);
  border:1px solid rgba(245,211,107,0.25);
  border-radius:28px 28px 0 0;
  padding:28px 22px 40px;
  box-shadow:0 -20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(245,211,107,0.08);
  animation:sheetUp 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.upsell-sheet::-webkit-scrollbar { display:none; }
@keyframes sheetUp { from{ transform:translateY(100%); opacity:0; } to{ transform:translateY(0); opacity:1; } }
.upsell-handle { width:40px; height:4px; background:rgba(255,255,255,0.15); border-radius:2px; margin:0 auto 20px; }
.upsell-close { position:absolute; top:16px; left:16px; background:rgba(255,255,255,0.07); border:1px solid var(--glass-border); color:var(--white); width:32px; height:32px; border-radius:50%; font-size:0.9rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:var(--tr); }
.upsell-close:hover { background:rgba(255,255,255,0.15); }
.upsell-emoji { font-size:3rem; text-align:center; display:block; margin-bottom:10px; }
.upsell-title { font-size:1.55rem; font-weight:300; color:var(--gold); text-align:center; margin-bottom:6px; font-family:'Assistant',sans-serif; }
.upsell-sub { color:var(--muted); text-align:center; font-size:0.9rem; line-height:1.6; margin-bottom:22px; }
.upsell-price-tag {
  display:flex; align-items:center; justify-content:center; gap:8px;
  margin-bottom:22px;
}
.upsell-price-num { font-size:2.4rem; font-weight:800; color:var(--gold); font-family:'Assistant',sans-serif; }
.upsell-price-label { font-size:0.9rem; color:var(--muted); line-height:1.4; }
.upsell-features { display:flex; flex-direction:column; gap:10px; margin-bottom:24px; }
.upsell-feature-row { display:flex; align-items:flex-start; gap:10px; font-size:0.9rem; color:var(--muted); line-height:1.5; }
.upsell-feature-row .feat-icon { font-size:1.1rem; flex-shrink:0; margin-top:1px; }
.upsell-options { display:flex; flex-direction:column; gap:10px; margin-bottom:14px; }
.upsell-option-btn {
  width:100%; padding:16px 20px;
  background:rgba(255,255,255,0.04);
  border:1px solid var(--glass-border);
  border-radius:16px; color:var(--white);
  font-family:'Heebo',sans-serif; font-size:0.95rem;
  cursor:pointer; transition:var(--tr);
  display:flex; align-items:center; gap:12px; text-align:right;
}
.upsell-option-btn:hover { background:rgba(245,211,107,0.08); border-color:rgba(245,211,107,0.4); }
.upsell-option-btn .opt-icon { font-size:1.5rem; flex-shrink:0; }
.upsell-option-btn .opt-text { flex:1; }
.upsell-option-btn .opt-title { font-weight:600; display:block; }
.upsell-option-btn .opt-desc { font-size:0.78rem; color:var(--muted); display:block; margin-top:2px; }
.upsell-option-btn .opt-badge {
  background:rgba(245,211,107,0.15); color:var(--gold);
  font-size:0.72rem; padding:3px 8px; border-radius:10px;
  border:1px solid rgba(245,211,107,0.3); white-space:nowrap;
}

/* ═══════════════════════════════════════════
   ANIMATED GRADIENT BUTTON (matrix join)
══════════════════════════════════════════════ */
.matrix-animated-btn {
  border: calc(0.08 * var(--m-btn)) solid transparent;
  position: relative;
  color: #F3F3F3;
  font-family: 'Heebo', sans-serif;
  font-size: var(--m-btn);
  border-radius: calc(0.7 * var(--m-btn));
  padding: calc(0.6 * var(--m-btn)) calc(1.2 * var(--m-btn));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
  background: linear-gradient(#0f051e, #0f051e),
              linear-gradient(#0f051e 50%, rgba(15,5,30,0.6) 80%, rgba(15,5,30,0)),
              linear-gradient(90deg, var(--btn-orange), var(--btn-yellow), var(--btn-green), var(--btn-blue), var(--btn-purple), var(--btn-pink), var(--btn-red));
  background-origin: border-box;
  background-clip: padding-box, border-box, border-box;
  background-size: 200%;
  animation: matrixBtnAnim 2s infinite linear;
  transition: transform 0.3s ease;
}
.matrix-animated-btn::before {
  content: '';
  background: linear-gradient(90deg, var(--btn-orange), var(--btn-yellow), var(--btn-green), var(--btn-blue), var(--btn-purple), var(--btn-pink), var(--btn-red));
  height: 30%;
  width: 100%;
  position: absolute;
  bottom: -10%;
  z-index: -5;
  background-size: 200%;
  animation: matrixBtnAnim 2s infinite linear;
  filter: blur(calc(0.8 * var(--m-btn)));
  border-radius: 50%;
}
.matrix-animated-btn:hover,
.matrix-animated-btn:hover::before {
  animation: matrixBtnAnim 0.5s infinite linear;
}
.matrix-animated-btn:hover { transform: translateY(-2px); }
@keyframes matrixBtnAnim {
  0% { background-position: 0; }
  100% { background-position: 200%; }
}

/* ═══════════════════════════════════════════
   CLUB FULL SCREEN
══════════════════════════════════════════════ */
#screen-club { overflow-y: auto; }
#screen-club .club-hero {
  text-align: center;
  padding: 10px 0 24px;
  position: relative;
}
.club-hero-orb {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 120px;
  background: radial-gradient(ellipse, rgba(198,120,221,0.35), transparent 70%);
  pointer-events: none; filter: blur(20px);
}
.club-hero-tagline {
  font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--purple-light); margin-bottom: 10px; opacity: 0.8;
}
.club-hero h1 {
  font-size: 2rem; font-weight: 300; color: var(--white); line-height: 1.3;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--white), var(--purple-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.club-hero-sub {
  font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.75;
  max-width: 420px; margin: 0 auto 18px;
}
.club-join-hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 1rem;
  font-family: 'Heebo', sans-serif; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg, rgba(198,120,221,0.25), rgba(245,211,107,0.12));
  border: 1px solid rgba(198,120,221,0.5); color: var(--white);
  box-shadow: 0 0 30px rgba(198,120,221,0.2); transition: var(--tr);
  text-decoration: none;
}
.club-join-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(198,120,221,0.35); }

.club-video-wrap{
  position:relative;width:100%;max-width:520px;margin:0 auto 24px;
}
.club-video-glow{
  position:absolute;inset:-18px;
  background:radial-gradient(ellipse at 50% 50%, rgba(198,120,221,0.45) 0%, rgba(100,60,180,0.25) 45%, transparent 75%);
  border-radius:24px;filter:blur(22px);z-index:0;pointer-events:none;
  animation:videoGlowPulse 3s ease-in-out infinite;
}
@keyframes videoGlowPulse{
  0%,100%{opacity:.7;transform:scale(1);}
  50%{opacity:1;transform:scale(1.04);}
}
.club-video-border{
  position:relative;z-index:1;padding:3px;border-radius:18px;
  background:linear-gradient(135deg,rgba(198,120,221,0.9),rgba(100,60,180,0.6),rgba(91,255,137,0.4));
  box-shadow:0 8px 32px rgba(198,120,221,0.3),0 0 0 1px rgba(255,255,255,0.08);
}
.club-video-inner{
  border-radius:15px;overflow:hidden;background:#000;aspect-ratio:16/9;
}
.club-video-inner iframe{width:100%;height:100%;display:block;}

.katy-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; margin-bottom: 18px;
}
.katy-info { flex: 1; }
.katy-name { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.katy-role { font-size: 0.78rem; color: var(--purple-light); margin-bottom: 8px; letter-spacing: 0.5px; }

.person {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 180px;
  cursor: pointer;
}
.katy-container {
  position: absolute;
  top: 0; left: 0;
  width: 400px; height: 340px;
  transform: scale(0.30);
  transform-origin: top left;
  transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
}
.person:hover .katy-container { transform: scale(0.335); }
.katy-container-inner {
  clip-path: path("M 390,400 C 390,504.9341 304.9341,590 200,590 95.065898,590 10,504.9341 10,400 V 10 H 200 390 Z");
  position: relative;
  transform-origin: 50%;
  top: -200px;
}
.katy-circle {
  border-radius: 50%;
  height: 380px; left: 10px;
  pointer-events: none;
  position: absolute; top: 210px; width: 380px; object-fit: cover;
}
.katy-img {
  pointer-events: none;
  position: relative; left: -46px; top: 174px;
  width: 444px;
  transform: translateY(20px) scale(1.15);
  transform-origin: 50% bottom;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.person:hover .katy-img { transform: translateY(0) scale(1.22); }

.club-section-title {
  font-size: 1.1rem; font-weight: 600; color: var(--white);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.club-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--glass-border);
}

.fit-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.fit-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(198,120,221,0.05); border: 1px solid rgba(198,120,221,0.12);
  font-size: 0.88rem; color: rgba(255,255,255,0.8); line-height: 1.5;
}
.fit-item-emoji { font-size: 1.2rem; flex-shrink: 0; }

.schedule-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.schedule-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border);
}
.schedule-date {
  background: rgba(245,211,107,0.1); border: 1px solid rgba(245,211,107,0.3);
  border-radius: 8px; padding: 4px 10px; font-size: 0.82rem; font-weight: 700;
  color: var(--gold); white-space: nowrap; flex-shrink: 0; align-self: flex-start;
}
.schedule-date.pro { background: rgba(198,120,221,0.1); border-color: rgba(198,120,221,0.3); color: var(--purple-light); }
.schedule-text { font-size: 0.85rem; color: rgba(255,255,255,0.8); line-height: 1.5; }
.schedule-badge { display: inline-block; background: rgba(198,120,221,0.12); color: var(--purple-light); font-size: 0.68rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; border: 1px solid rgba(198,120,221,0.25); margin-right: 4px; }

.club-perks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.club-perk-card {
  padding: 18px 14px; text-align: center; border-radius: 16px;
  background: rgba(198,120,221,0.06); border: 1px solid rgba(198,120,221,0.15);
  transition: var(--tr);
}
.club-perk-card:hover { border-color: rgba(198,120,221,0.35); transform: translateY(-2px); }
.club-perk-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.club-perk-title { font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.club-perk-desc { font-size: 0.74rem; color: var(--muted); line-height: 1.5; }

.testimonials-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 18px;
  scrollbar-width: none; direction: rtl;
  touch-action: pan-x; -webkit-overflow-scrolling: touch; cursor: grab;
}
.testimonials-scroll::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 220px; padding: 16px; border-radius: 16px;
  background: rgba(30,20,50,0.6); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.testimonial-stars { color: var(--gold); font-size: 0.75rem; margin-bottom: 6px; letter-spacing: 1px; }
.testimonial-text { font-size: 0.8rem; color: rgba(255,255,255,0.8); line-height: 1.65; margin-bottom: 10px; }
.testimonial-name { font-size: 0.72rem; color: var(--muted); font-weight: 600; }

.screenshots-label {
  font-size: 0.8rem; font-weight: 700; color: var(--purple-light);
  text-align: center; letter-spacing: 0.5px;
  margin-bottom: 14px; opacity: 0.85;
}
.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 10px;
  margin-bottom: 24px;
}
.ss-card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.ss-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.ss-card:nth-child(3) { grid-column: 2; grid-row: 2; }
.ss-card:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
.ss-card:nth-child(5) { grid-column: 1 / 3; grid-row: 4; }
.ss-card:nth-child(6) { grid-column: 1 / 3; grid-row: 5; }

.ss-card {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(198,120,221,0.2);
  background: rgba(20,10,40,0.5);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease, border-color 0.3s;
  opacity: 0; transform: translateY(30px) scale(0.95);
}
.ss-card.ss-visible { animation: ssReveal 0.55s cubic-bezier(.22,.68,0,1.15) forwards; }
@keyframes ssReveal { to { opacity: 1; transform: translateY(0) scale(1); } }
.ss-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(198,120,221,0.55);
  box-shadow: 0 8px 28px rgba(198,120,221,0.3), 0 0 0 1px rgba(198,120,221,0.15);
}
.ss-card img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 13px; }
.ss-glow {
  position: absolute; inset: -10px; border-radius: 20px;
  background: radial-gradient(ellipse at 50% 50%, rgba(198,120,221,0.35) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.35s; pointer-events: none; z-index: 1;
}
.ss-card:hover .ss-glow { opacity: 1; }
.ss-shine {
  position: absolute; inset: 0; border-radius: 14px; pointer-events: none; z-index: 2;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%, rgba(255,255,255,0.04) 100%);
}

.ss-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(5,2,18,0.92); backdrop-filter: blur(16px);
  align-items: center; justify-content: center;
  animation: lbFadeIn 0.25s ease;
}
.ss-lightbox.open { display: flex; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.ss-lightbox-inner {
  position: relative; max-width: 92vw; max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: lbSlideUp 0.3s cubic-bezier(.22,.68,0,1.15);
}
@keyframes lbSlideUp { from { transform: translateY(28px) scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }
#ssLightboxImg {
  max-width: 88vw; max-height: 76vh; border-radius: 16px; display: block;
  border: 1px solid rgba(198,120,221,0.35);
  box-shadow: 0 0 60px rgba(198,120,221,0.25), 0 20px 60px rgba(0,0,0,0.6);
  transition: opacity 0.2s ease;
}
.ss-lb-close {
  position: absolute; top: -40px; right: 0;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  font-size: 0.9rem; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.ss-lb-close:hover { background: rgba(255,255,255,0.2); }
.ss-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(198,120,221,0.15); border: 1px solid rgba(198,120,221,0.35);
  color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 10;
}
.ss-lb-nav:hover { background: rgba(198,120,221,0.35); }
.ss-lb-prev { left: -44px; }
.ss-lb-next { right: -44px; }
.ss-lb-dots { display: flex; gap: 6px; justify-content: center; }
.ss-lb-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer; transition: all 0.2s;
}
.ss-lb-dot.active { background: var(--purple-light); border-color: var(--purple-light); transform: scale(1.3); }

.bonus-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.bonus-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: 16px;
  background: rgba(198,120,221,0.06); border: 1px solid rgba(198,120,221,0.18);
}
.bonus-icon { font-size: 1.8rem; flex-shrink: 0; }
.bonus-info { flex: 1; }
.bonus-title { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.bonus-desc { font-size: 0.78rem; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 6px; }
.bonus-value { font-size: 0.72rem; color: var(--gold); font-weight: 700; }

.plan-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.plan-tab-btn {
  flex: 1; padding: 12px; border-radius: 12px; cursor: pointer;
  font-family: 'Heebo', sans-serif; font-size: 0.85rem; font-weight: 700;
  transition: all 0.3s; text-align: center;
}
.plan-tab-btn.std { background: rgba(245,211,107,0.12); border: 1px solid rgba(245,211,107,0.5); color: var(--gold); }
.plan-tab-btn.pro { background: rgba(198,120,221,0.08); border: 1px solid rgba(198,120,221,0.25); color: var(--muted); }
.plan-tab-btn.pro.active-plan { background: rgba(198,120,221,0.18); border-color: rgba(198,120,221,0.6); color: var(--purple-light); }
.plan-tab-btn.std.inactive-plan { background: rgba(245,211,107,0.05); border-color: rgba(245,211,107,0.2); color: var(--muted); }

.plan-content { display: none; }
.plan-content.active { display: block; animation: slideUp 0.3s forwards; }
.plan-features-box {
  border-radius: 14px; padding: 16px; margin-bottom: 12px;
  font-size: 0.82rem; line-height: 1.9; color: rgba(255,255,255,0.75);
}
.plan-features-box.std-box { background: rgba(245,211,107,0.06); border: 1px solid rgba(245,211,107,0.25); }
.plan-features-box.pro-box { background: rgba(198,120,221,0.07); border: 1px solid rgba(198,120,221,0.3); }
.plan-features-title { font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; }
.plan-features-title.std-color { color: var(--gold); }
.plan-features-title.pro-color { color: var(--purple-light); }
.plan-price-row {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 12px; padding: 14px 16px; margin-bottom: 12px;
}
.plan-price-row.std-row { background: rgba(245,211,107,0.08); border: 1px solid rgba(245,211,107,0.3); }
.plan-price-row.pro-row { background: rgba(198,120,221,0.08); border: 1px solid rgba(198,120,221,0.3); }
.plan-price-amount { font-size: 1.8rem; font-weight: 800; font-family: 'Assistant', sans-serif; }
.plan-price-amount.std-price { color: var(--gold); }
.plan-price-amount.pro-price { color: var(--purple-light); }
.plan-price-note { font-size: 0.7rem; color: var(--muted); }

.faq-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.faq-item {
  border-radius: 14px; border: 1px solid var(--glass-border);
  background: rgba(30,20,50,0.4); overflow: hidden;
}
.faq-q {
  padding: 14px 16px; font-size: 0.9rem; font-weight: 600; color: var(--white);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
}
.faq-chevron { color: var(--gold); font-size: 0.8rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  font-size: 0.84rem; color: rgba(255,255,255,0.7); line-height: 1.75;
  padding: 0 16px;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 16px 16px; }

.social-proof-bar {
  display: flex; justify-content: center; gap: 0;
  background: rgba(198,120,221,0.07); border: 1px solid rgba(198,120,221,0.2);
  border-radius: 16px; margin-bottom: 18px; overflow: hidden;
}
.sp-item {
  flex: 1; padding: 14px 8px; text-align: center; position: relative;
}
.sp-item:not(:last-child)::after {
  content: ''; position: absolute; top: 20%; bottom: 20%; right: 0;
  width: 1px; background: rgba(198,120,221,0.2);
}
.sp-num { font-size: 1.2rem; font-weight: 800; display: block; }
.sp-label { font-size: 0.65rem; color: var(--muted); }

.matrix-teaser {
  background: rgba(198,120,221,0.06);
  border: 1px solid rgba(198,120,221,0.18);
  border-radius: 16px; padding: 16px 18px; margin-bottom: 18px;
  text-align: right; direction: rtl;
}
.matrix-teaser p { color: rgba(255,255,255,0.78); font-size: 0.9rem; line-height: 1.75; }
.matrix-teaser strong { color: var(--purple-light); }

/* ═══════════════════════════════════════════
   DASHBOARD UPSELL STRIP
══════════════════════════════════════════════ */
.upsell-strip { display:flex; gap:10px; margin-bottom:16px; }
.upsell-chip {
  flex:1; padding:12px 10px; text-align:center; cursor:pointer;
  border-radius:14px; transition:var(--tr); position:relative; overflow:hidden;
}
.upsell-chip::before { content:''; position:absolute; inset:0; opacity:0; background:rgba(255,255,255,0.06); transition:0.3s; }
.upsell-chip:hover::before { opacity:1; }
.upsell-chip .chip-icon { font-size:1.4rem; display:block; margin-bottom:4px; }
.upsell-chip .chip-title { font-size:0.8rem; font-weight:600; color:var(--white); display:block; }
.upsell-chip .chip-sub { font-size:0.68rem; color:var(--muted); display:block; margin-top:2px; }
.chip-gold { border-color:rgba(245,211,107,0.3); background:rgba(245,211,107,0.05); }
.chip-purple { border-color:rgba(198,120,221,0.3); background:rgba(198,120,221,0.05); }

/* ═══════════════════════════════════════════
   NAME INPUT SCREEN
══════════════════════════════════════════════ */
#screen-name .name-wrap {
  max-width:600px; margin:0 auto; width:100%;
  display:flex; flex-direction:column; justify-content:center;
  flex:1; padding:20px 0;
}

/* ═══════════════════════════════════════════
   MATRIX (CLUB) UPSELL SECTION
══════════════════════════════════════════════ */
.matrix-sub { color:var(--muted); text-align:center; font-size:0.88rem; line-height:1.7; margin-bottom:22px; }
.matrix-perks { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:22px; }
.matrix-perk {
  background:rgba(198,120,221,0.07);
  border:1px solid rgba(198,120,221,0.18);
  border-radius:14px; padding:14px 12px; text-align:center;
}
.matrix-perk .perk-icon { font-size:1.6rem; display:block; margin-bottom:6px; }
.matrix-perk .perk-title { font-size:0.82rem; font-weight:600; color:var(--white); }
.matrix-perk .perk-desc { font-size:0.73rem; color:var(--muted); margin-top:3px; line-height:1.4; }
.matrix-price-row {
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(198,120,221,0.08); border:1px solid rgba(198,120,221,0.2);
  border-radius:16px; padding:14px 18px; margin-bottom:16px;
}
.matrix-price-row .mp-label { color:var(--muted); font-size:0.85rem; }
.matrix-price-row .mp-price { font-size:1.8rem; font-weight:800; color:var(--purple-light); font-family:'Assistant',sans-serif; }
.matrix-price-row .mp-period { font-size:0.75rem; color:var(--muted); }
.matrix-cta { background:linear-gradient(135deg, rgba(198,120,221,0.25), rgba(245,211,107,0.12)); border-color:rgba(198,120,221,0.5) !important; }
.matrix-cta:hover { box-shadow:0 0 30px rgba(198,120,221,0.3) !important; }
