/* ═══════════════════════════════════════════════════════════
   PSYFLOW PLATFORM LAYER — roles, dashboards, intro, auras
═══════════════════════════════════════════════════════════ */

/* ─── INTRO SPLASH ─── */
#intro-splash {
  position: fixed; inset: 0; z-index: 5000;
  background: radial-gradient(ellipse at 50% 45%, #14101f 0%, #060409 70%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 22px;
  transition: opacity 1.4s ease, visibility 1.4s;
}
#intro-splash.gone { opacity: 0; visibility: hidden; pointer-events: none; }

.intro-sym {
  font-size: 2.6rem; color: #B8A9C9;
  opacity: 0;
  animation: intro-sym-in 2.2s cubic-bezier(.2,.8,.3,1) .3s forwards;
}
@keyframes intro-sym-in {
  0%   { opacity: 0; transform: scale(.4) rotate(-90deg); filter: blur(8px); }
  60%  { opacity: 1; transform: scale(1.15) rotate(8deg); filter: blur(0); }
  100% { opacity: .9; transform: scale(1) rotate(0); }
}
.intro-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 7vw, 5rem); font-weight: 300;
  letter-spacing: .35em; text-transform: uppercase;
  color: #F5F0E8; padding-left: .35em;
  opacity: 0; white-space: nowrap;
  animation: intro-name-in 2.4s cubic-bezier(.2,.8,.3,1) .9s forwards;
}
.intro-name-sub {
  display: block; white-space: nowrap;
  font-size: .32em; letter-spacing: .5em; font-weight: 400;
  text-transform: lowercase; color: rgba(245,240,232,.6);
  margin-top: .5em;
}
@keyframes intro-name-in {
  0%   { opacity: 0; letter-spacing: .8em; filter: blur(14px); }
  100% { opacity: 1; letter-spacing: .35em; filter: blur(0); }
}
.intro-line {
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,169,201,.7), transparent);
  animation: intro-line-in 1.6s ease 1.8s forwards;
}
@keyframes intro-line-in { to { width: min(420px, 70vw); } }
.intro-sub {
  font-family: 'Inter', sans-serif;
  font-size: .72rem; letter-spacing: .5em; text-transform: uppercase;
  color: rgba(245,240,232,.35); padding-left: .5em;
  opacity: 0; animation: intro-fade 1.4s ease 2.3s forwards;
}
@keyframes intro-fade { to { opacity: 1; } }
.intro-enter {
  margin-top: 26px;
  background: none; cursor: pointer;
  border: 1px solid rgba(184,169,201,.35);
  border-radius: 50px; padding: 13px 44px;
  color: rgba(245,240,232,.75);
  font-family: 'Inter', sans-serif; font-size: .78rem;
  letter-spacing: .3em; text-transform: uppercase; padding-left: calc(44px + .3em);
  opacity: 0; animation: intro-fade 1.4s ease 3s forwards;
  transition: all .4s;
}
.intro-enter:hover {
  background: rgba(184,169,201,.14);
  box-shadow: 0 0 44px rgba(184,169,201,.25);
  border-color: rgba(184,169,201,.7);
}

/* ─── WINDOW AURAS — each modal gets its own atmosphere ─── */
.modal { transition: background 1s; }
.modal-panel { position: relative; }
.modal-panel::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: 28px; padding: 1px;
  pointer-events: none; opacity: .8;
}

#modal-about        { background: radial-gradient(ellipse at 30% 20%, rgba(184,169,201,.14), rgba(0,0,0,.62) 65%); }
#modal-about .modal-panel        { box-shadow: 0 0 130px rgba(184,169,201,.14), 0 30px 80px rgba(0,0,0,.5); border-color: rgba(184,169,201,.24); }
#modal-motivation   { background: radial-gradient(ellipse at 70% 25%, rgba(232,180,160,.13), rgba(0,0,0,.62) 65%); }
#modal-motivation .modal-panel   { box-shadow: 0 0 130px rgba(232,180,160,.13), 0 30px 80px rgba(0,0,0,.5); border-color: rgba(232,180,160,.22); }
#modal-test         { background: radial-gradient(ellipse at 50% 80%, rgba(135,169,150,.14), rgba(0,0,0,.62) 65%); }
#modal-test .modal-panel         { box-shadow: 0 0 130px rgba(135,169,150,.14), 0 30px 80px rgba(0,0,0,.5); border-color: rgba(135,169,150,.24); }
#modal-cabinet      { background: radial-gradient(ellipse at 25% 70%, rgba(123,155,181,.15), rgba(0,0,0,.62) 65%); }
#modal-cabinet .modal-panel      { box-shadow: 0 0 130px rgba(123,155,181,.15), 0 30px 80px rgba(0,0,0,.5); border-color: rgba(123,155,181,.24); }
#modal-gallery      { background: radial-gradient(ellipse at 60% 30%, rgba(122,197,190,.12), rgba(0,0,0,.62) 65%); }
#modal-gallery .modal-panel      { box-shadow: 0 0 130px rgba(122,197,190,.12), 0 30px 80px rgba(0,0,0,.5); border-color: rgba(122,197,190,.22); }
#modal-login        { background: radial-gradient(ellipse at 50% 40%, rgba(123,155,181,.14), rgba(0,0,0,.66) 60%); }
#modal-login .modal-panel        { box-shadow: 0 0 110px rgba(123,155,181,.18); border-color: rgba(123,155,181,.28); }
#modal-register     { background: radial-gradient(ellipse at 50% 30%, rgba(184,169,201,.16), rgba(0,0,0,.66) 60%); }
#modal-register .modal-panel     { box-shadow: 0 0 110px rgba(184,169,201,.2); border-color: rgba(184,169,201,.3); }
#modal-dev-login    { background: radial-gradient(ellipse at 50% 45%, rgba(255,200,50,.09), rgba(0,0,0,.72) 60%); }
#modal-dev-login .modal-panel    { box-shadow: 0 0 110px rgba(255,200,50,.14); border-color: rgba(255,200,50,.25); }
#modal-profile .modal-panel      { box-shadow: 0 0 110px rgba(245,240,232,.09); }

/* subtle breathing of panels */
.modal.open .modal-panel { animation: panel-in .5s cubic-bezier(.22,.9,.36,1), panel-breathe 7s ease-in-out 1s infinite; }
@keyframes panel-breathe {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-5px); }
}

/* ─── DASHBOARD SHELL ─── */
#dash {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  background: rgba(5,4,10,.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  animation: dash-in .6s ease;
}
#dash.open { display: flex; }
@keyframes dash-in { from { opacity: 0; } to { opacity: 1; } }

#dash-side {
  width: 250px; flex-shrink: 0;
  display: flex; flex-direction: column;
  padding: 30px 18px;
  background: rgba(8,6,14,.68);
  border-right: 1px solid rgba(255,255,255,.07);
  overflow-y: auto;
}
#dash-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream, #F5F0E8); text-align: center; margin-bottom: 4px;
}
#dash-role {
  text-align: center; font-size: .62rem;
  letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: 30px; padding: 5px 0;
  border-radius: 20px;
}
.dash-nav-btn {
  display: flex; align-items: center; gap: 12px;
  background: none; border: none; text-align: left;
  border-radius: 12px; padding: 12px 16px; margin-bottom: 4px;
  color: rgba(245,240,232,.5); cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: .82rem;
  letter-spacing: .04em;
  transition: all .3s;
}
.dash-nav-btn:hover { background: rgba(255,255,255,.06); color: rgba(245,240,232,.85); }
.dash-nav-btn.active { background: rgba(255,255,255,.09); color: var(--cream,#F5F0E8); }
.dash-nav-ic { width: 20px; text-align: center; font-size: .95rem; }
#dash-side .spacer { flex: 1; }
.dash-exit {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 11px; cursor: pointer;
  color: rgba(245,240,232,.55); font-size: .78rem; letter-spacing: .08em;
  transition: all .3s;
}
.dash-exit:hover { background: rgba(220,80,80,.14); color: #e8a0a0; }

#dash-main {
  flex: 1; overflow-y: auto; padding: 44px 52px;
  animation: fadeUp .5s ease;
}
#dash-main::-webkit-scrollbar { width: 5px; }
#dash-main::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }

/* role auras on dashboard */
#dash.aura-chief  #dash-side { border-right-color: rgba(212,180,110,.25); box-shadow: 30px 0 120px -60px rgba(212,180,110,.3); }
#dash.aura-chief  #dash-role { background: rgba(212,180,110,.14); color: #d4b46e; }
#dash.aura-psych  #dash-side { border-right-color: rgba(135,169,150,.25); box-shadow: 30px 0 120px -60px rgba(135,169,150,.3); }
#dash.aura-psych  #dash-role { background: rgba(135,169,150,.14); color: #9dc4ae; }
#dash.aura-patient #dash-side { border-right-color: rgba(184,169,201,.25); box-shadow: 30px 0 120px -60px rgba(184,169,201,.3); }
#dash.aura-patient #dash-role { background: rgba(184,169,201,.14); color: #c9bad8; }
#dash.aura-seo    #dash-side { border-right-color: rgba(122,197,190,.25); box-shadow: 30px 0 120px -60px rgba(122,197,190,.3); }
#dash.aura-seo    #dash-role { background: rgba(122,197,190,.13); color: #8fd0ca; }
#dash.aura-dev    #dash-side { border-right-color: rgba(255,200,50,.22); box-shadow: 30px 0 120px -60px rgba(255,200,50,.28); }
#dash.aura-dev    #dash-role { background: rgba(255,200,50,.12); color: #e8c964; }

/* ─── DASH CONTENT PRIMITIVES ─── */
.dh-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem; font-weight: 300; color: var(--cream,#F5F0E8);
  margin-bottom: 6px;
}
.dh-sub { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,240,232,.35); margin-bottom: 32px; }

.dcard {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px; padding: 26px 28px;
  margin-bottom: 20px;
}
.dgrid { display: grid; gap: 18px; }
.dgrid.c2 { grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); }
.dgrid.c3 { grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); }
.dgrid.c4 { grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); }

.stat-tile { text-align: center; padding: 22px 14px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.3rem; font-weight: 300; }
.stat-lbl { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(245,240,232,.38); margin-top: 6px; }

.dtable { width: 100%; border-collapse: collapse; font-size: .82rem; }
.dtable th {
  text-align: left; padding: 10px 14px;
  font-size: .66rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(245,240,232,.35); font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dtable td { padding: 12px 14px; color: rgba(245,240,232,.72); border-bottom: 1px solid rgba(255,255,255,.045); }
.dtable tr:hover td { background: rgba(255,255,255,.03); }
.dtable tr.clickable { cursor: pointer; }

.pill {
  display: inline-block; padding: 3px 12px; border-radius: 20px;
  font-size: .68rem; letter-spacing: .06em;
  background: rgba(255,255,255,.07); color: rgba(245,240,232,.6);
  border: 1px solid rgba(255,255,255,.1);
}
.pill.sage   { background: rgba(135,169,150,.14); border-color: rgba(135,169,150,.35); color: #9dc4ae; }
.pill.coral  { background: rgba(232,180,160,.14); border-color: rgba(232,180,160,.35); color: #e8b4a0; }
.pill.dusty  { background: rgba(123,155,181,.14); border-color: rgba(123,155,181,.35); color: #a3bed4; }
.pill.gold   { background: rgba(212,180,110,.14); border-color: rgba(212,180,110,.35); color: #d4b46e; }
.pill.lav    { background: rgba(184,169,201,.14); border-color: rgba(184,169,201,.35); color: #c9bad8; }
.pill.red    { background: rgba(220,100,100,.13); border-color: rgba(220,100,100,.32); color: #e39a9a; }

.dbtn {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  border-radius: 30px; padding: 9px 22px;
  color: rgba(245,240,232,.8); cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: .78rem; letter-spacing: .05em;
  transition: all .3s;
}
.dbtn:hover { background: rgba(255,255,255,.13); transform: translateY(-1px); }
.dbtn.primary { background: rgba(184,169,201,.18); border-color: rgba(184,169,201,.4); color: #d3c6e0; }
.dbtn.gold    { background: rgba(212,180,110,.14); border-color: rgba(212,180,110,.35); color: #d4b46e; }
.dbtn.danger  { background: rgba(220,90,90,.12); border-color: rgba(220,90,90,.3); color: #e39a9a; }
.dbtn.sm { padding: 5px 14px; font-size: .7rem; }

.dinput, .dselect, .dtextarea {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; color: var(--cream,#F5F0E8);
  font-family: 'Inter', sans-serif; font-size: .84rem;
  padding: 11px 15px; outline: none; width: 100%;
  transition: border .25s;
}
.dinput:focus, .dselect:focus, .dtextarea:focus { border-color: rgba(184,169,201,.5); }
.dselect option { background: #17111f; }
.dtextarea { min-height: 100px; resize: vertical; line-height: 1.7; }
.dlabel { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,240,232,.4); display: block; margin: 0 0 7px 2px; }
.dfield { margin-bottom: 16px; }

/* ─── PSYCHOLOGIST PROFILE (chief view) ─── */
.psy-hero {
  display: flex; gap: 30px; align-items: center;
  padding: 34px; border-radius: 24px; margin-bottom: 22px;
  background: linear-gradient(120deg, rgba(123,155,181,.12), rgba(184,169,201,.09) 55%, transparent);
  border: 1px solid rgba(255,255,255,.1);
  position: relative; overflow: hidden;
}
.psy-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,169,201,.16), transparent 70%);
}
.psy-photo {
  width: 108px; height: 108px; border-radius: 50%;
  background: linear-gradient(135deg, #B8A9C9, #7B9BB5);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 44px rgba(0,0,0,.4);
  overflow: hidden;
}
.psy-photo img { width: 100%; height: 100%; object-fit: cover; }
.psy-hero h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 300; color: var(--cream,#F5F0E8); }
.psy-hero .spec { color: #c9bad8; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin: 5px 0 10px; }
.psy-hero .bio { font-size: .84rem; color: rgba(245,240,232,.55); line-height: 1.7; max-width: 520px; }

.stars { color: #d4b46e; letter-spacing: 3px; font-size: .95rem; }
.stars .dim { color: rgba(255,255,255,.15); }

.fb-item {
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 10px;
}
.fb-head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: .74rem; color: rgba(245,240,232,.45); }
.fb-item p { font-size: .84rem; color: rgba(245,240,232,.68); line-height: 1.7; font-style: italic; }

.chart-box { padding: 20px 22px 12px; }
.chart-box svg { width: 100%; height: auto; display: block; }
.chart-cap { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,240,232,.35); margin-bottom: 14px; }

/* schedule editor */
.sched-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 10px; }
.slot {
  padding: 9px 6px; text-align: center; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  font-size: .74rem; color: rgba(245,240,232,.55); cursor: pointer;
  transition: all .25s;
}
.slot:hover { border-color: rgba(135,169,150,.4); }
.slot.on { background: rgba(135,169,150,.16); border-color: rgba(135,169,150,.45); color: #b9dcc8; }
.slot.busy { background: rgba(232,180,160,.14); border-color: rgba(232,180,160,.4); color: #e8c4b4; cursor: default; }

/* filter row */
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.fchip {
  padding: 6px 17px; border-radius: 20px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  font-size: .74rem; color: rgba(245,240,232,.5); transition: all .3s;
}
.fchip:hover, .fchip.on { background: rgba(212,180,110,.14); border-color: rgba(212,180,110,.4); color: #d4b46e; }

/* dev cms file rows */
.cms-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 12px; margin-bottom: 8px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
}
.cms-row .grow { flex: 1; min-width: 0; }
.cms-name { font-size: .82rem; color: rgba(245,240,232,.78); }
.cms-meta { font-size: .68rem; color: rgba(245,240,232,.32); margin-top: 2px; word-break: break-all; }
.cms-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: rgba(255,255,255,.06); flex-shrink: 0; }

.file-drop {
  border: 1.5px dashed rgba(255,255,255,.18); border-radius: 16px;
  padding: 26px; text-align: center; cursor: pointer;
  color: rgba(245,240,232,.4); font-size: .8rem; transition: all .3s;
}
.file-drop:hover { border-color: rgba(255,200,50,.45); color: rgba(255,200,50,.75); background: rgba(255,200,50,.04); }

.msg-inline { font-size: .78rem; border-radius: 10px; margin-top: 10px; transition: all .3s; }
.msg-inline.ok  { color: #9dc4ae; background: rgba(135,169,150,.1); padding: 10px 14px; }
.msg-inline.err { color: #e8b4a0; background: rgba(232,180,160,.1); padding: 10px 14px; }

.appt-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; border-radius: 12px; margin-bottom: 8px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
  font-size: .82rem; color: rgba(245,240,232,.68);
}

.diag-box {
  padding: 22px 26px; border-radius: 16px; margin-bottom: 12px;
  background: linear-gradient(110deg, rgba(135,169,150,.09), transparent);
  border: 1px solid rgba(135,169,150,.2);
}
.diag-score { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: #9dc4ae; }
.diag-label { font-size: .95rem; color: var(--cream,#F5F0E8); margin: 6px 0; }
.diag-note { font-size: .78rem; color: rgba(245,240,232,.45); line-height: 1.7; }

/* ─── MUSIC PILL ─── */
#music-pill {
  position: fixed; bottom: 36px; left: 36px; z-index: 100;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50px; padding: 9px 10px 9px 20px;
  font-size: .78rem; color: rgba(245,240,232,.7);
  letter-spacing: .05em;
  transition: all .3s;
}
#music-pill:hover { background: rgba(255,255,255,.1); }
#music-pill-next {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(184,169,201,.16); border: 1px solid rgba(184,169,201,.35);
  color: var(--lavender, #B8A9C9); cursor: pointer; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
#music-pill-next:hover { transform: rotate(180deg); background: rgba(184,169,201,.3); }

/* ─── THEME PICKER ─── */
.theme-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
  gap: 12px;
}
.theme-sw {
  padding: 16px 12px; text-align: center; cursor: pointer;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; transition: all .3s;
}
.theme-sw:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.theme-sw.on { border-color: var(--lavender,#B8A9C9); background: rgba(184,169,201,.1); box-shadow: 0 0 24px rgba(184,169,201,.18); }
.theme-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.theme-dots span { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.theme-nm { font-size: .72rem; color: rgba(245,240,232,.6); letter-spacing: .04em; }

/* ─── REMINDER BANNER ─── */
#reminder-banner {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-120%);
  z-index: 300; max-width: 90vw;
  display: flex; align-items: center; gap: 14px;
  background: rgba(20,16,31,.82); backdrop-filter: blur(24px);
  border: 1px solid rgba(184,169,201,.3); border-radius: 40px;
  padding: 12px 16px 12px 24px;
  font-size: .86rem; color: rgba(245,240,232,.85); font-style: italic;
  box-shadow: 0 12px 44px rgba(0,0,0,.4);
  transition: transform .7s cubic-bezier(.2,.9,.3,1), opacity .7s;
  opacity: 0;
}
#reminder-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; }
#reminder-close {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.08); border: none; color: rgba(245,240,232,.5);
  cursor: pointer; font-size: .7rem;
}
#reminder-close:hover { background: rgba(255,255,255,.16); }

/* ─── LANGUAGE PILL (indi footer daxilində axır, sabit mövqe yoxdur) ─── */
#lang-pill {
  display: flex; gap: 2px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 30px; padding: 4px;
}
#lang-pill button {
  background: none; border: none; cursor: pointer;
  color: rgba(245,240,232,.5); font-family: 'Inter', sans-serif;
  font-size: .68rem; letter-spacing: .1em; padding: 5px 11px; border-radius: 20px;
  transition: all .25s;
}
#lang-pill button:hover { color: rgba(245,240,232,.85); }
#lang-pill button.on { background: rgba(184,169,201,.2); color: var(--cream,#F5F0E8); }

/* ─── CONNECTION DOT (yalnız işıq, klik reaksiyası yoxdur) ─── */
#conn-pill {
  position: fixed; top: 24px; right: 24px; z-index: 210;
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; pointer-events: none;
}
#conn-dot { width: 8px; height: 8px; border-radius: 50%; background: #888; box-shadow: 0 0 8px currentColor; }

/* ─── SAYT ALTLIĞI (FOOTER) ─── */
/* #hero-screen "position:fixed" olduğu üçün (tək-ekran dizayn, alt-səhifələr
   modal kimi açılır — sayt üzrə scroll YOXDUR), footer də eyni şəkildə
   viewport-un lap altına sabitlənir ki, həmişə görünsün. */
#site-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 20px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(0deg, rgba(0,0,0,.55), transparent);
  pointer-events: none;
}
#site-footer > * { pointer-events: auto; }
.footer-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
#footer-theme-pills button {
  width: 26px; height: 26px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid rgba(255,255,255,.15); background: transparent;
  display: grid; place-items: center; transition: all .2s;
}
#footer-theme-pills button span { width: 100%; height: 100%; border-radius: 50%; display: block; }
#footer-theme-pills button.on, #footer-theme-pills button:hover { border-color: rgba(255,255,255,.55); transform: scale(1.08); }
.footer-partners {
  width: 100%; max-width: 640px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.footer-partners-track {
  display: flex; gap: 40px; width: max-content;
  animation: footer-partners-scroll 22s linear infinite;
}
.footer-partners-track span {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(245,240,232,.4); white-space: nowrap;
}
@keyframes footer-partners-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.footer-copy { font-size: .68rem; color: rgba(245,240,232,.32); letter-spacing: .03em; text-align: center; }

/* ─── GIFT BELL ─── */
#gift-bell {
  position: fixed; bottom: 92px; left: 36px; z-index: 100;
  width: 46px; height: 46px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: rgba(224,192,104,.14); backdrop-filter: blur(20px);
  border: 1px solid rgba(224,192,104,.35); cursor: pointer; font-size: 1.15rem;
  transition: all .3s;
}
#gift-bell:hover { background: rgba(224,192,104,.26); transform: scale(1.06); }
#gift-bell.pulse { animation: gift-pulse 1.8s ease-in-out infinite; }
@keyframes gift-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(224,192,104,.4); }
  50%     { box-shadow: 0 0 0 12px rgba(224,192,104,0); }
}
#gift-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px;
  background: #E06666; color: #fff; font-size: .66rem;
  display: none; align-items: center; justify-content: center; font-family: 'Inter';
}

/* ─── GIFT LIST ITEMS ─── */
.gift-item {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 10px;
  transition: all .3s;
}
.gift-item:hover { background: rgba(224,192,104,.1); border-color: rgba(224,192,104,.3); transform: translateX(4px); }
.gift-item.opened { opacity: .6; }
.gift-ic { font-size: 1.7rem; }
.gift-item .grow { flex: 1; }
.gift-t { font-size: .92rem; color: var(--cream,#F5F0E8); }
.gift-m { font-size: .74rem; color: rgba(245,240,232,.45); margin-top: 2px; }
.gift-new { color: #E06666; font-size: .7rem; }

/* ─── GIFT REVEAL OVERLAY ─── */
#gift-reveal {
  position: fixed; inset: 0; z-index: 6000;
  display: none; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(20,12,30,.92), rgba(4,3,8,.97));
}
#gift-reveal.show { display: flex; }
#gift-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.gift-card {
  position: relative; z-index: 2; text-align: center;
  width: min(440px, 90vw); padding: 44px 40px;
  background: rgba(18,13,28,.9); backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 26px;
  box-shadow: 0 0 100px rgba(224,192,104,.25);
  animation: gift-pop .7s cubic-bezier(.2,1.3,.4,1);
}
@keyframes gift-pop { 0% { transform: scale(.3) rotate(-12deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
.gift-big { font-size: 4rem; animation: gift-float 3s ease-in-out infinite; }
@keyframes gift-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.gift-cert-sub { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(245,240,232,.4); margin: 12px 0 6px; }
.gift-cert-title { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 300; margin-bottom: 10px; }
.gift-cert-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--cream,#F5F0E8); border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 14px; margin-bottom: 14px; display: inline-block; }
.gift-cert-note { font-size: .85rem; color: rgba(245,240,232,.6); line-height: 1.7; font-style: italic; }
.gift-cert-seal { font-size: .72rem; color: rgba(245,240,232,.35); margin-top: 18px; letter-spacing: .08em; }
.gift-coupon { margin: 8px 0; }
.gift-disc { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--lavender,#B8A9C9); }
.gift-qr { width: 160px; height: 160px; border-radius: 14px; margin: 14px 0; background: #17111b; padding: 6px; }
.gift-code { font-family: monospace; letter-spacing: .2em; font-size: .8rem; color: rgba(245,240,232,.55); }
.gift-actions { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }

@media (max-width: 760px) {
  #dash { flex-direction: column; }
  #dash-side { width: 100%; flex-direction: row; flex-wrap: wrap; padding: 14px; align-items: center; }
  #dash-brand, #dash-role { display: none; }
  #dash-main { padding: 24px 18px; }
  .psy-hero { flex-direction: column; text-align: center; }
}
