@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');
* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html, body { background:#050508; color:#fff; font-family:'Inter',-apple-system,system-ui,sans-serif; min-height:100%; overscroll-behavior:none; }
a { color:inherit; text-decoration:none; }
button, input, textarea { font-family:inherit; }

/* FLOATING EMOJIS */
.floating-emoji { position:fixed; pointer-events:none; opacity:.15; z-index:0;
  animation: floatUp linear infinite; filter: blur(1px); }
@keyframes floatUp {
  0% { transform: translateY(100vh) rotate(0deg); opacity:0; }
  10%,90% { opacity:.15; }
  100% { transform: translateY(-100px) rotate(360deg); opacity:0; }
}

/* AUTH */
.auth-body { display:flex; align-items:center; justify-content:center; min-height:100dvh; padding:20px;
  background: radial-gradient(circle at 20% 10%, rgba(168,85,247,.15), transparent 40%),
              radial-gradient(circle at 80% 90%, rgba(236,72,153,.12), transparent 40%), #050508;
  position:relative; overflow:hidden; }
.auth-card { background:rgba(18,18,26,.95); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  padding:32px; border-radius:24px; width:100%; max-width:400px;
  border:1px solid rgba(255,255,255,.06); box-shadow:0 30px 80px rgba(140,60,255,.2);
  position:relative; z-index:10; max-height:95dvh; overflow-y:auto; }
.logo-big { font-size:40px; font-weight:900; letter-spacing:-2px; display:inline-block;
  background:linear-gradient(90deg,#a855f7,#ec4899,#f59e0b); -webkit-background-clip:text; background-clip:text;
  color:transparent; margin-bottom:6px; animation:wobble 3s ease-in-out infinite; }
@keyframes wobble { 0%,100%{transform:rotate(-3deg);} 50%{transform:rotate(3deg);} }
.auth-sub { font-size:13px; opacity:.5; margin-bottom:20px; }
.auth-card input { width:100%; padding:15px; border-radius:14px; border:1px solid rgba(255,255,255,.08);
  background:#1a1a24; color:#fff; font-size:15px; margin-bottom:12px; }
.auth-card input:focus { outline:none; border-color:#a855f7; }
.btn-primary { width:100%; padding:15px; border-radius:14px; border:none;
  background:linear-gradient(135deg,#a855f7,#ec4899); color:#fff; font-weight:800; font-size:15px; cursor:pointer;
  transition: transform .15s; }
.btn-primary:active { transform:scale(.97); }
.error-box { background:rgba(239,68,68,.1); border:1px solid rgba(239,68,68,.3); color:#ef4444;
  padding:12px; border-radius:12px; font-size:13px; margin-bottom:16px; }
.auth-link { text-align:center; font-size:13px; opacity:.6; margin-top:16px; }
.auth-link a { color:#a855f7; font-weight:700; }
.recent-msgs { margin:20px 0 16px; padding-top:16px; border-top:1px solid rgba(255,255,255,.06); }
.recent-title { font-size:10px; letter-spacing:2px; opacity:.4; font-weight:800; margin-bottom:10px; text-transform:uppercase; }
.recent-item { font-size:12px; padding:6px 0; opacity:.65; line-height:1.4;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.recent-item b { color:#a855f7; font-weight:700; }
.top-card { background:linear-gradient(135deg, rgba(168,85,247,.15), rgba(236,72,153,.1));
  border:1px solid rgba(245,158,11,.3); border-radius:18px; padding:16px; margin-bottom:20px;
  position:relative; overflow:hidden; animation:topGlow 3s infinite; }
@keyframes topGlow { 0%,100% { box-shadow:0 0 20px rgba(245,158,11,.2); } 50% { box-shadow:0 0 40px rgba(245,158,11,.4); } }
.top-card::before { content:''; position:absolute; inset:0;
  background:conic-gradient(from 0deg, transparent, rgba(245,158,11,.1), transparent 30%);
  animation:spin 4s linear infinite; pointer-events:none; }
@keyframes spin { to { transform:rotate(360deg); } }
.top-inner { position:relative; z-index:1; }
.top-label { font-size:9px; letter-spacing:3px; opacity:.7; font-weight:800; margin-bottom:6px; }
.top-name { font-size:22px; font-weight:900; background:linear-gradient(90deg,#f59e0b,#ec4899);
  -webkit-background-clip:text; background-clip:text; color:transparent; margin-bottom:4px; }
.top-vibe { font-size:11px; opacity:.7; margin-bottom:8px; }
.top-quote { font-size:12px; font-style:italic; opacity:.85; line-height:1.4;
  border-left:2px solid #f59e0b; padding-left:10px; }

/* ============ DESKTOP 3-COLOANE ============ */
.desktop-layout {
  display: flex; gap: 20px; min-height: 100dvh;
  padding: 20px; justify-content: center;
  max-width: 1600px; margin: 0 auto;
}

.side-ads {
  width: 280px; flex-shrink: 0;
  display: none; flex-direction: column; gap: 14px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto; padding-right: 6px;
  position: sticky; top: 20px;
}
.side-ads::-webkit-scrollbar { width: 4px; }
.side-ads::-webkit-scrollbar-thumb { background: rgba(168,85,247,.3); border-radius: 4px; }

.app {
  flex: 1; max-width: 520px; min-width: 320px;
  background:#0c0c14;
  display:flex; flex-direction:column;
  position:relative; overflow:hidden;
  border-radius: 32px;
  border: 3px solid #1a1a24;
  height: calc(100dvh - 40px);
  box-shadow: 0 20px 60px rgba(140,60,255,.3);
}

/* Pe mobil: fără sidebar-uri, fullscreen */
@media (max-width: 900px) {
  .desktop-layout { padding: 0; gap: 0; }
  .side-ads { display: none !important; }
  .app { max-width: none; height: 100dvh; border-radius: 0; border: none; box-shadow: none; }
}

/* Pe desktop mediu: doar o coloană de reclame */
@media (min-width: 900px) and (max-width: 1200px) {
  .side-ads.right { display: none; }
  .side-ads.left { display: flex; }
}

/* Pe desktop mare: ambele coloane */
@media (min-width: 1200px) {
  .side-ads { display: flex; }
}

/* ============ RECLAME LATERALE ============ */
.ad-card {
  background: linear-gradient(160deg, #16161f, #12121a);
  border-radius: 18px; padding: 14px;
  border: 1px solid rgba(255,255,255,.06);
  position: relative; overflow: hidden;
  animation: adSlide .5s ease-out backwards;
  cursor: pointer;
  transition: transform .15s;
}
.ad-card:hover { transform: translateY(-2px); }
.ad-card:active { transform: scale(.98); }
@keyframes adSlide { from { opacity:0; transform: translateX(-20px); } to { opacity:1; transform: translateX(0); } }
.ad-card::before { content:'SPONSORIZAT'; position:absolute; top:6px; right:8px;
  font-size:7px; letter-spacing:1.5px; opacity:.35; font-weight:800; }

.ad-card-emoji {
  font-size: 40px; margin-bottom: 8px; display: inline-block;
  animation: adBounce 2.5s infinite; filter: drop-shadow(0 4px 8px rgba(168,85,247,.3));
}
@keyframes adBounce { 0%,100%{transform:translateY(0) rotate(-3deg);} 50%{transform:translateY(-5px) rotate(3deg);} }

.ad-card-title { font-weight: 800; font-size: 14px; margin-bottom: 4px; letter-spacing: -.2px; }
.ad-card-desc { font-size: 11px; opacity: .55; line-height: 1.4; margin-bottom: 10px; }
.ad-card-cta {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  padding: 8px 12px; border-radius: 10px;
  font-size: 11px; font-weight: 800; color: #fff;
  text-align: center; letter-spacing: .3px;
}
.ad-card.dark .ad-card-cta { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.ad-card.green .ad-card-cta { background: linear-gradient(135deg, #10b981, #06b6d4); }
.ad-card.blue .ad-card-cta { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }

/* ============ TOPBAR ============ */
.topbar {
  padding:14px 18px;
  padding-top: calc(14px + env(safe-area-inset-top));
  display:flex; justify-content:space-between; align-items:center;
  border-bottom:1px solid rgba(255,255,255,.05);
  background:rgba(12,12,20,.95);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  flex-shrink:0; z-index:20;
}
.logo { font-size:22px; font-weight:900; letter-spacing:-1px;
  background:linear-gradient(90deg,#a855f7,#ec4899,#f59e0b); -webkit-background-clip:text; background-clip:text;
  color:transparent; }
.topbar-right { display:flex; gap:8px; align-items:center; }
.pill { background:#1a1a24; padding:6px 12px; border-radius:14px; font-size:11px; font-weight:700;
  border:1px solid rgba(255,255,255,.06); display:flex; align-items:center; gap:5px; cursor:pointer;
  transition:.15s; }
.pill:active { transform:scale(.95); }
.online-dot { width:7px; height:7px; border-radius:50%; background:#10b981;
  box-shadow:0 0 8px #10b981; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.4;} }
.aura-pill { background:linear-gradient(135deg, rgba(168,85,247,.2), rgba(236,72,153,.2));
  border:1px solid rgba(168,85,247,.3); }
.logout-btn { background:rgba(239,68,68,.1); border:1px solid rgba(239,68,68,.3); color:#ef4444;
  padding:6px 12px; border-radius:14px; font-size:11px; font-weight:800; cursor:pointer;
  display:flex; align-items:center; gap:4px; }
.logout-btn:active { transform:scale(.95); }

/* CONTENT */
.content { flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; padding-bottom:90px; }
.content::-webkit-scrollbar { width:0; }

/* FEED */
.feed { padding:12px; }
.loading { text-align:center; opacity:.4; padding:60px 20px; font-size:13px; }
.empty { text-align:center; padding:60px 20px; opacity:.5; font-size:14px; }
.empty-emoji { font-size:48px; display:block; margin-bottom:12px; opacity:.7;
  animation:emptyBounce 2s infinite; }
@keyframes emptyBounce { 0%,100%{transform:translateY(0) rotate(-5deg);} 50%{transform:translateY(-10px) rotate(5deg);} }
.post { background:#16161f; border-radius:22px; padding:14px; margin-bottom:12px;
  border:1px solid rgba(255,255,255,.05); animation:postIn .35s cubic-bezier(.34,1.56,.64,1) backwards; position:relative; }
@keyframes postIn { from { opacity:0; transform:translateY(12px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }
.post-head { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.post-avatar { width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg,#a855f7,#ec4899);
  display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.post-user { font-weight:800; font-size:13px; }
.post-time { font-size:10px; opacity:.4; }
.post-content { font-size:15px; line-height:1.4; margin-bottom:10px; word-wrap:break-word; }
.post-media { width:100%; border-radius:14px; margin-bottom:10px; display:block; }
.post-media-video { width:100%; border-radius:14px; margin-bottom:10px; }
.post-vibe-tag { display:inline-block; background:rgba(168,85,247,.15); color:#a855f7; font-size:10px;
  padding:3px 8px; border-radius:10px; font-weight:700; margin-bottom:10px; letter-spacing:.5px; }
.reactions { display:flex; gap:6px; flex-wrap:wrap; }
.reaction { background:rgba(37,37,51,.8); border:1px solid rgba(255,255,255,.06); padding:7px 11px;
  border-radius:18px; font-size:13px; display:flex; align-items:center; gap:5px; font-weight:700;
  color:#fff; cursor:pointer; transition:.15s; }
.reaction:active { transform:scale(.94); }
.reaction.picked { background:linear-gradient(135deg,#a855f7,#ec4899); border-color:transparent; }
.reaction small { opacity:.75; font-size:10px; }
.report-btn { position:absolute; top:10px; right:10px; background:rgba(239,68,68,.1);
  border:1px solid rgba(239,68,68,.2); color:#ef4444; width:26px; height:26px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:11px; opacity:.5; }
.report-btn:hover { opacity:1; }

/* NAV */
.nav {
  position:absolute; bottom:0; left:0; right:0;
  padding-bottom: env(safe-area-inset-bottom);
  height: calc(68px + env(safe-area-inset-bottom));
  background:rgba(12,12,20,.96);
  backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
  border-top:1px solid rgba(255,255,255,.06);
  display:flex; justify-content:space-around; align-items:center;
  padding:0 8px; z-index:50;
}
.nav-btn { font-size:22px; opacity:.4; padding:10px; background:none; border:none; color:#fff; cursor:pointer;
  transition:.2s; display:flex; align-items:center; justify-content:center; }
.nav-btn.active { opacity:1; transform:translateY(-2px); }
.nav-plus { width:46px; height:46px; border-radius:16px; background:linear-gradient(135deg,#a855f7,#ec4899);
  border:none; color:#fff; font-size:26px; font-weight:300; cursor:pointer;
  box-shadow:0 8px 24px rgba(168,85,247,.5); display:flex; align-items:center; justify-content:center; }
.nav-badge { position:absolute; top:6px; right:6px; width:8px; height:8px; border-radius:50%;
  background:#ec4899; box-shadow:0 0 8px #ec4899; }
.nav-btn-wrap { position:relative; }

/* ViberZ CHECK */
.vibe-screen { padding:40px 20px; text-align:center; }
.vibe-q { font-size:26px; font-weight:900; letter-spacing:-1px; margin-bottom:8px;
  background:linear-gradient(135deg,#fff,#a855f7); -webkit-background-clip:text; background-clip:text;
  color:transparent; }
.vibe-sub { font-size:13px; opacity:.5; margin-bottom:28px; }
.vibe-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.vibe-btn { aspect-ratio:1; background:#16161f; border:1.5px solid rgba(255,255,255,.06); border-radius:18px;
  font-size:30px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  color:#fff; cursor:pointer; transition:.15s; }
.vibe-btn.selected { background:linear-gradient(135deg,#a855f7,#ec4899); border-color:transparent; }
.vibe-btn span { font-size:8px; opacity:.55; letter-spacing:.6px; font-weight:800; }

/* NEW POST */
.new-post { position:absolute; inset:0; background:rgba(5,5,8,.97);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  z-index:100; padding:30px 20px;
  padding-top: calc(30px + env(safe-area-inset-top));
  display:none; flex-direction:column; overflow-y:auto; }
.new-post.open { display:flex; }
.np-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px;
  font-weight:800; font-size:18px; }
.np-close { background:none; border:none; color:#fff; font-size:22px; cursor:pointer; padding:6px; }
#postForm { display:flex; flex-direction:column; gap:12px; }
#postForm textarea { background:#16161f; border:1px solid rgba(255,255,255,.06); border-radius:14px;
  padding:14px; color:#fff; font-size:15px; min-height:120px; resize:none; }
#postForm textarea:focus { outline:none; border-color:#a855f7; }
.np-vibes { display:flex; gap:6px; overflow-x:auto; padding-bottom:6px; scrollbar-width:none; }
.np-vibes::-webkit-scrollbar { display:none; }
.np-vibe { background:#16161f; border:1.5px solid rgba(255,255,255,.06); border-radius:14px;
  font-size:24px; padding:10px 14px; cursor:pointer; flex-shrink:0; }
.np-vibe.selected { background:linear-gradient(135deg,#a855f7,#ec4899); border-color:transparent; transform:scale(1.05); }
.np-file-row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.np-file { display:inline-flex; align-items:center; gap:6px; background:#16161f; border:1px dashed rgba(255,255,255,.15);
  border-radius:14px; padding:12px 16px; font-size:13px; cursor:pointer; font-weight:600; }
.np-file.camera { background:linear-gradient(135deg, rgba(168,85,247,.2), rgba(236,72,153,.2));
  border:1px solid rgba(168,85,247,.4); }
.np-file-preview { font-size:12px; opacity:.7; margin-top:6px; }
#mediaInput { display:none; }

/* CAMERA MODAL */
.camera-modal { position:fixed; inset:0; background:rgba(0,0,0,.95); z-index:9999;
  display:none; flex-direction:column; align-items:center; justify-content:center; padding:20px; }
.camera-modal.open { display:flex; }
.camera-wrap { position:relative; width:100%; max-width:600px; aspect-ratio:3/4;
  border-radius:24px; overflow:hidden; background:#000; }
#cameraVideo { width:100%; height:100%; object-fit:cover; transform: scaleX(-1); }
.camera-rect { position:absolute; inset:8%; border:2px dashed rgba(255,255,255,.4);
  border-radius:16px; pointer-events:none; }
.camera-rec-indicator { position:absolute; top:16px; left:16px;
  background:rgba(239,68,68,.9); color:#fff; padding:6px 12px; border-radius:12px;
  font-size:12px; font-weight:800; display:none; align-items:center; gap:6px; }
.camera-rec-indicator.on { display:flex; }
.camera-rec-indicator::before { content:''; width:8px; height:8px; border-radius:50%;
  background:#fff; animation: blink 1s infinite; }
.camera-progress { position:absolute; bottom:0; left:0; right:0; height:4px;
  background:rgba(255,255,255,.1); }
.camera-progress-bar { height:100%; width:0%; background:linear-gradient(90deg,#a855f7,#ec4899);
  transition: width .1s linear; }

.camera-actions { display:flex; gap:16px; margin-top:20px; align-items:center; justify-content:center; }
.camera-btn { width:64px; height:64px; border-radius:50%; border:3px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.1); color:#fff; font-size:24px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:.15s; }
.camera-btn:active { transform:scale(.92); }
.camera-btn.capture { width:80px; height:80px; background:#fff; border-color:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,.2); }
.camera-btn.capture.recording { background:#ef4444; border-color:#ef4444; }
.camera-btn.close { position:absolute; top:20px; right:20px; width:44px; height:44px;
  border-radius:50%; background:rgba(255,255,255,.1); font-size:20px; }

/* CHAT */
.chat-list { padding:12px; }
.chat-item { background:#16161f; border-radius:18px; padding:14px; display:flex; gap:12px; align-items:center;
  margin-bottom:10px; border:1px solid rgba(255,255,255,.05); cursor:pointer; }
.chat-avatar { width:46px; height:46px; border-radius:50%; background:linear-gradient(135deg,#a855f7,#ec4899);
  display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; position:relative; }
.chat-avatar.online::after { content:''; position:absolute; bottom:2px; right:2px; width:11px; height:11px;
  border-radius:50%; background:#10b981; border:2px solid #16161f; }
.chat-info { flex:1; min-width:0; }
.chat-name { font-weight:800; font-size:14px; }
.chat-preview { font-size:12px; opacity:.5; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chat-meta { text-align:right; flex-shrink:0; }
.chat-time { font-size:10px; opacity:.4; }
.chat-unread { background:linear-gradient(135deg,#a855f7,#ec4899); color:#fff; font-size:10px; font-weight:800;
  border-radius:10px; padding:2px 7px; margin-top:4px; display:inline-block; }
.conv { display:flex; flex-direction:column; height:100%; }
.conv-header { padding:14px 18px; display:flex; align-items:center; gap:12px;
  border-bottom:1px solid rgba(255,255,255,.05); background:rgba(12,12,20,.95);
  backdrop-filter:blur(20px); flex-shrink:0; }
.conv-back { background:none; border:none; color:#fff; font-size:22px; cursor:pointer; padding:6px; opacity:.8; }
.conv-name { font-weight:800; font-size:15px; flex:1; }
.conv-status { font-size:11px; opacity:.5; }
.conv-status.online { color:#10b981; opacity:1; }
.conv-messages { flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:8px; }
.conv-messages::-webkit-scrollbar { width:0; }
.msg { max-width:78%; padding:10px 14px; border-radius:20px; font-size:14px; line-height:1.4;
  word-wrap:break-word; animation:msgIn .25s ease-out; }
@keyframes msgIn { from { opacity:0; transform:translateY(6px) scale(.95); } to { opacity:1; transform:scale(1); } }
.msg.me { align-self:flex-end; background:linear-gradient(135deg,#a855f7,#ec4899); color:#fff;
  border-bottom-right-radius:6px; }
.msg.them { align-self:flex-start; background:#22222e; color:#fff; border-bottom-left-radius:6px; }
.msg-time { font-size:9px; opacity:.5; margin-top:3px; display:block; }
.msg.me .msg-time { opacity:.7; }
.conv-input { padding:12px 14px; padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background:rgba(12,12,20,.96); backdrop-filter:blur(20px);
  border-top:1px solid rgba(255,255,255,.05);
  display:flex; gap:8px; align-items:flex-end; flex-shrink:0; }
.conv-input textarea { flex:1; background:#16161f; border:1px solid rgba(255,255,255,.08);
  border-radius:22px; padding:12px 16px; color:#fff; font-size:15px; resize:none; max-height:100px; }
.conv-input textarea:focus { outline:none; border-color:#a855f7; }
.conv-send { width:46px; height:46px; border-radius:50%; border:none; flex-shrink:0;
  background:linear-gradient(135deg,#a855f7,#ec4899); color:#fff; font-size:20px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; }

/* BUMP */
.bump-screen { padding:40px 20px; text-align:center; display:flex; flex-direction:column; align-items:center; }
.radar { width:180px; height:180px; border-radius:50%;
  background:radial-gradient(circle, rgba(168,85,247,.35) 0%, transparent 70%);
  border:1.5px solid rgba(168,85,247,.5); display:flex; align-items:center; justify-content:center;
  font-size:52px; margin:30px 0; animation:pulse 2s infinite; box-shadow:0 0 60px rgba(168,85,247,.3); }
@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.06);} }
.radar.off { animation:none; opacity:.3; box-shadow:none; }
.bump-title { font-size:22px; font-weight:900; margin-bottom:8px; }
.bump-desc { font-size:13px; opacity:.6; line-height:1.6; max-width:300px; margin-bottom:26px; }
.bump-btn { background:linear-gradient(135deg,#a855f7,#ec4899); color:#fff; padding:15px 38px;
  border-radius:28px; border:none; font-size:14px; font-weight:800; cursor:pointer;
  box-shadow:0 12px 32px rgba(168,85,247,.4); }
.bump-btn.off { background:#252533; box-shadow:none; }

/* PROFILE */
.profile-screen { padding:20px; }
.profile-head { text-align:center; margin-bottom:20px; }
.profile-avatar { width:100px; height:100px; border-radius:50%; margin:0 auto 14px;
  background:linear-gradient(135deg,#a855f7,#ec4899); display:flex; align-items:center; justify-content:center;
  font-size:46px; box-shadow:0 12px 40px rgba(168,85,247,.5); cursor:pointer; }
.profile-name { font-size:24px; font-weight:900; letter-spacing:-.5px; }
.profile-vibe { font-size:12px; opacity:.6; text-transform:uppercase; letter-spacing:2px; margin-top:4px; }
.profile-aura { text-align:center; background:#16161f; border-radius:20px; padding:22px; margin-bottom:20px;
  border:1px solid rgba(168,85,247,.2); cursor:pointer; }
.aura-big { font-size:38px; font-weight:900; background:linear-gradient(90deg,#a855f7,#ec4899);
  -webkit-background-clip:text; background-clip:text; color:transparent; letter-spacing:-1.5px; }
.aura-label { font-size:10px; letter-spacing:5px; opacity:.5; font-weight:800; margin-top:6px; }
.profile-posts { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; }
.mini-post { aspect-ratio:1; background:#16161f; border-radius:10px; overflow:hidden; display:flex;
  align-items:center; justify-content:center; }
.mini-post img { width:100%; height:100%; object-fit:cover; }
.mini-emoji { font-size:32px; }
.logout-big { margin-top:20px; width:100%; padding:15px; border-radius:14px;
  background:rgba(239,68,68,.1); border:1px solid rgba(239,68,68,.3); color:#ef4444;
  font-weight:800; font-size:14px; cursor:pointer; }

/* STAR BURST */
.star-burst { position:fixed; pointer-events:none; font-size:24px; z-index:9999;
  animation:burstFly 1.2s ease-out forwards; }
@keyframes burstFly {
  0% { transform: translate(0,0) scale(0) rotate(0deg); opacity:1; }
  50% { opacity:1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.5) rotate(720deg); opacity:0; }
}

/* NSFW warning */
.nsfw-warning { background:rgba(239,68,68,.1); border:1px solid rgba(239,68,68,.3);
  color:#ef4444; padding:12px; border-radius:12px; font-size:12px; line-height:1.5; margin-bottom:12px; }
/* ============ FIX RECLAME LATERALE v6 ============ */
.desktop-layout {
  display: flex !important;
  gap: 24px !important;
  padding: 20px !important;
  max-width: 1700px !important;
  margin: 0 auto !important;
  min-height: 100dvh !important;
  align-items: flex-start !important;
}

.side-ads {
  width: 300px !important;
  flex-shrink: 0 !important;
  display: none;
  flex-direction: column !important;
  gap: 14px !important;
  max-height: calc(100dvh - 40px) !important;
  overflow-y: auto !important;
  padding-right: 8px !important;
  position: sticky !important;
  top: 20px !important;
}

.side-ads::-webkit-scrollbar { width: 4px; }
.side-ads::-webkit-scrollbar-thumb { background: rgba(168,85,247,.3); border-radius: 4px; }
.side-ads::-webkit-scrollbar-track { background: transparent; }

.ad-card {
  background: linear-gradient(160deg, #1a1a24, #12121a) !important;
  border-radius: 20px !important;
  padding: 16px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: transform .2s, box-shadow .2s !important;
  animation: adSlide .5s ease-out backwards !important;
  min-height: 140px !important;
}
.ad-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(168,85,247,.25) !important;
  border-color: rgba(168,85,247,.3) !important;
}
.ad-card:active { transform: scale(.98) !important; }
@keyframes adSlide { from { opacity:0; transform: translateX(-30px); } to { opacity:1; transform: translateX(0); } }
.ad-card::before {
  content:'SPONSORIZAT';
  position:absolute; top:8px; right:10px;
  font-size:7px; letter-spacing:1.5px;
  opacity:.35; font-weight:800;
  color: #fff;
}

.ad-card-emoji {
  font-size: 44px !important;
  margin-bottom: 10px !important;
  display: inline-block !important;
  animation: adBounce 2.5s infinite !important;
  filter: drop-shadow(0 4px 12px rgba(168,85,247,.4)) !important;
}
@keyframes adBounce {
  0%,100%{transform:translateY(0) rotate(-3deg);}
  50%{transform:translateY(-6px) rotate(3deg);}
}

.ad-card-title {
  font-weight: 800 !important;
  font-size: 15px !important;
  margin-bottom: 6px !important;
  letter-spacing: -.3px !important;
  color: #fff !important;
  line-height: 1.2 !important;
}
.ad-card-desc {
  font-size: 12px !important;
  opacity: .6 !important;
  line-height: 1.45 !important;
  margin-bottom: 12px !important;
  color: #fff !important;
}
.ad-card-cta {
  background: linear-gradient(135deg, #a855f7, #ec4899) !important;
  padding: 9px 14px !important;
  border-radius: 10px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-align: center !important;
  letter-spacing: .3px !important;
  display: block !important;
}
.ad-card.dark .ad-card-cta { background: linear-gradient(135deg, #f59e0b, #ef4444) !important; }
.ad-card.green .ad-card-cta { background: linear-gradient(135deg, #10b981, #06b6d4) !important; }
.ad-card.blue .ad-card-cta { background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important; }

/* MEDIA QUERIES */
@media (min-width: 900px) and (max-width: 1199px) {
  .side-ads.left { display: flex !important; }
  .side-ads.right { display: none !important; }
}
@media (min-width: 1200px) {
  .side-ads { display: flex !important; }
}
@media (max-width: 899px) {
  .side-ads { display: none !important; }
  .desktop-layout { padding: 0 !important; gap: 0 !important; }
}
/* ============ PWA INSTALL BANNER ============ */
.install-banner {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  background: linear-gradient(135deg, #1a1a24, #12121a);
  border: 1px solid rgba(168,85,247,.4);
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(168,85,247,.4);
  z-index: 9999;
  max-width: calc(100vw - 32px);
  width: 400px;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  opacity: 0;
}
.install-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.install-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #ec4899, #f59e0b);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 900; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(168,85,247,.5);
  position: relative;
}
.install-icon::after {
  content: '💀';
  position: absolute;
  top: -6px; right: -6px;
  font-size: 16px;
  filter: drop-shadow(0 0 6px #ec4899);
}
.install-info { flex: 1; min-width: 0; }
.install-title { font-weight: 800; font-size: 14px; margin-bottom: 2px; }
.install-desc { font-size: 11px; opacity: .55; }
.install-btn {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border: none; color: #fff;
  padding: 10px 16px; border-radius: 12px;
  font-weight: 800; font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(168,85,247,.5);
  white-space: nowrap;
}
.install-btn:active { transform: scale(.94); }
.install-dismiss {
  background: transparent; border: none; color: rgba(255,255,255,.4);
  font-size: 18px; cursor: pointer; padding: 4px;
}

/* PWA MODAL (instrucțiuni) */
.pwa-modal {
  position: fixed; inset: 0;
  background: rgba(5,5,8,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .3s;
}
.pwa-modal.show { display: flex; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.pwa-modal-content {
  background: linear-gradient(160deg, #1a1a24, #12121a);
  border: 1px solid rgba(168,85,247,.3);
  border-radius: 24px;
  padding: 30px 24px;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(168,85,247,.4);
  animation: modalIn .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalIn {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.pwa-modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.06);
  border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pwa-modal-icon {
  font-size: 52px; text-align: center; margin-bottom: 14px;
  filter: drop-shadow(0 8px 20px rgba(168,85,247,.5));
}
.pwa-modal h3 {
  font-size: 20px; font-weight: 900; text-align: center;
  margin-bottom: 20px; letter-spacing: -.5px;
}
.pwa-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
}
.pwa-steps li {
  counter-increment: step;
  padding: 12px 0 12px 44px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.pwa-steps li:last-child { border-bottom: none; }
.pwa-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 12px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(168,85,247,.5);
}
.pwa-note {
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.3);
  color: #f59e0b;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 16px;
  text-align: center;
}

/* BUTON INSTALARE ÎN TOPBAR (opțional) */
.install-pill {
  background: linear-gradient(135deg, rgba(168,85,247,.2), rgba(236,72,153,.2));
  border: 1px solid rgba(168,85,247,.4) !important;
  color: #fff !important;
  animation: pulseInstall 2s infinite;
}
@keyframes pulseInstall {
  0%,100% { box-shadow: 0 0 0 0 rgba(168,85,247,.4); }
  50% { box-shadow: 0 0 0 8px rgba(168,85,247,0); }
}

/* MOBILE */
@media (max-width: 500px) {
  .install-banner {
    bottom: 100px;
    width: calc(100vw - 24px);
    padding: 12px 14px;
  }
  .install-title { font-size: 13px; }
  .install-desc { font-size: 10px; }
  .install-btn { padding: 9px 12px; font-size: 11px; }
}
/* ============================================================
   ViberZ v9 — STICKERE + LIVE CHAT
   ============================================================ */

/* ============ POST MEDIA WRAP (pentru stickere) ============ */
.post-media-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 14px;
  overflow: hidden;
}

/* ============ STICKER MODAL ============ */
.sticker-modal {
  position: fixed;
  inset: 0;
  background: rgba(5,5,8,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10001;
  display: none;
  flex-direction: column;
  padding: 20px;
  padding-top: calc(20px + env(safe-area-inset-top));
  animation: fadeIn .25s;
}
.sticker-modal.open { display: flex; }

.sticker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.sticker-header h3 {
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sticker-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.sticker-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding-bottom: 12px;
}
.sticker-tab {
  flex: 1;
  padding: 10px;
  background: #16161f;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: .15s;
}
.sticker-tab.active {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(168,85,247,.4);
}

.sticker-content {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-content: start;
  padding-bottom: 20px;
}
.sticker-content::-webkit-scrollbar { width: 4px; }
.sticker-content::-webkit-scrollbar-thumb { background: rgba(168,85,247,.3); border-radius: 4px; }

.sticker-opt {
  aspect-ratio: 1;
  background: #16161f;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  font-size: 30px;
  cursor: pointer;
  transition: .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.sticker-opt:active { transform: scale(.9); }
.sticker-opt:hover { background: linear-gradient(135deg, rgba(168,85,247,.2), rgba(236,72,153,.2)); }

.sticker-opt.text-opt {
  font-size: 12px;
  font-weight: 900;
  padding: 8px;
  text-align: center;
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 46px;
}

/* ============ STICKERS PE POZĂ (în preview editare) ============ */
.placed-sticker {
  position: absolute;
  z-index: 5;
  user-select: none;
  pointer-events: auto;
  cursor: grab;
  transition: filter .15s;
}
.placed-sticker:active { filter: brightness(1.3); }

/* ============ LIVE CHAT SIDEBAR ============ */
.live-chat-box {
  background: linear-gradient(160deg, #16161f, #12121a);
  border: 1px solid rgba(168,85,247,.25);
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(168,85,247,.15);
}

.live-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: livePulse 1.5s infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.live-count {
  margin-left: auto;
  background: rgba(168,85,247,.15);
  color: #a855f7;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
}

.live-chat-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.live-chat-feed::-webkit-scrollbar { width: 3px; }
.live-chat-feed::-webkit-scrollbar-thumb { background: rgba(168,85,247,.3); border-radius: 3px; }

.live-msg {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(22,22,31,.7);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.04);
  animation: liveMsgIn .5s cubic-bezier(.34,1.56,.64,1);
  align-items: flex-start;
}
@keyframes liveMsgIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.live-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.live-content {
  flex: 1;
  min-width: 0;
}

.live-user {
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: -.2px;
}

.live-text {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,.85);
  word-wrap: break-word;
}

/* ============ ANIMAȚII ÎN FEED ============ */
.post {
  position: relative;
}
.post::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 40%, rgba(168,85,247,.05) 100%);
  opacity: 0;
  transition: opacity .3s;
}
.post:hover::after { opacity: 1; }

/* Discuții animate în feed */
.post-content {
  position: relative;
}
.post-content::first-letter {
  font-size: 1.4em;
  font-weight: 900;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Vibe tag animat */
.post-vibe-tag {
  animation: vibeTagPulse 3s infinite;
}
@keyframes vibeTagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168,85,247,.4); }
  50% { box-shadow: 0 0 0 6px rgba(168,85,247,0); }
}

/* ============ BUTON PENTRU STICKERE ============ */
.sticker-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(168,85,247,.15), rgba(236,72,153,.15));
  border: 1px solid rgba(168,85,247,.3);
  color: #a855f7;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
}
.sticker-btn:active { transform: scale(.95); }
.sticker-btn:hover {
  background: linear-gradient(135deg, rgba(168,85,247,.3), rgba(236,72,153,.3));
}

/* ============ PREVIEW STICKERS ZONE ============ */
#mediaPreviewZone {
  position: relative;
  width: 100%;
  min-height: 200px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 10px;
  background: rgba(0,0,0,.3);
  display: none;
}
#mediaPreviewZone.active { display: block; }
#mediaPreviewZone img,
#mediaPreviewZone video {
  width: 100%;
  display: block;
  border-radius: 14px;
}
/* ============ ViberZ v9.1 — ZONA PREVIEW STICKERE ============ */
#mediaPreviewZone {
  position: relative !important;
  width: 100% !important;
  min-height: 220px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
  background: rgba(0,0,0,.4) !important;
  display: none;
  border: 1px dashed rgba(168,85,247,.3) !important;
}
#mediaPreviewZone.active {
  display: block !important;
  border: 1px solid rgba(168,85,247,.4) !important;
  box-shadow: 0 10px 30px rgba(168,85,247,.15) !important;
}
#mediaPreviewZone img,
#mediaPreviewZone video {
  width: 100% !important;
  display: block !important;
  border-radius: 14px !important;
}

/* Buton șterge poza */
#clearMediaBtn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}
#clearMediaBtn[style*="inline-flex"] { display: inline-flex !important; }

/* ============================================================
   ViberZ v10 — STICKERS + AUDIO + FRIENDS + NOTIFICĂRI
   ============================================================ */

/* ZONA STICKERS */
#mediaPreviewZone {
  position: relative !important;
  width: 100% !important;
  min-height: 220px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin: 12px 0 !important;
  background: rgba(0,0,0,.4) !important;
  display: none;
  border: 1px dashed rgba(168,85,247,.3) !important;
}
#mediaPreviewZone.active {
  display: block !important;
  border: 1px solid rgba(168,85,247,.4) !important;
  box-shadow: 0 10px 30px rgba(168,85,247,.15) !important;
}
#mediaPreviewZone img,
#mediaPreviewZone video {
  width: 100% !important;
  display: block !important;
  border-radius: 14px !important;
}
.placed-sticker {
  position: absolute;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition: filter .15s;
}
.placed-sticker:active { filter: brightness(1.3); }

/* POST MEDIA WRAP */
.post-media-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 14px;
  overflow: hidden;
}

/* STICKER MODAL */
.sticker-modal {
  position: fixed; inset: 0;
  background: rgba(5,5,8,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10001;
  display: none;
  flex-direction: column;
  padding: 20px;
  padding-top: calc(20px + env(safe-area-inset-top));
}
.sticker-modal.open { display: flex; }
.sticker-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.sticker-header h3 {
  font-size: 18px; font-weight: 900;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sticker-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: none; color: #fff;
  font-size: 16px; cursor: pointer;
}
.sticker-tabs {
  display: flex; gap: 8px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 12px;
}
.sticker-tab {
  flex: 1; padding: 10px; background: #16161f;
  border: 1px solid rgba(255,255,255,.06); border-radius: 12px;
  color: #fff; font-weight: 700; font-size: 13px; cursor: pointer;
}
.sticker-tab.active {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(168,85,247,.4);
}
.sticker-content {
  flex: 1; overflow-y: auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  align-content: start; padding-bottom: 20px;
}
.sticker-content::-webkit-scrollbar { width: 4px; }
.sticker-content::-webkit-scrollbar-thumb { background: rgba(168,85,247,.3); border-radius: 4px; }
.sticker-opt {
  aspect-ratio: 1;
  background: #16161f;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  font-size: 30px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: .15s;
}
.sticker-opt:active { transform: scale(.9); }
.sticker-opt.text-opt {
  font-size: 12px; font-weight: 900; padding: 10px;
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 48px;
  font-family: inherit;
}

/* BUTON STICKER */
.sticker-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, rgba(168,85,247,.15), rgba(236,72,153,.15));
  border: 1px solid rgba(168,85,247,.3);
  color: #a855f7;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: .15s;
  font-family: inherit;
  margin-bottom: 8px;
}
.sticker-btn:active { transform: scale(.95); }

/* AUDIO */
.audio-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, rgba(16,185,129,.15), rgba(6,182,212,.15));
  border: 1px solid rgba(16,185,129,.3);
  color: #10b981;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: .15s;
  font-family: inherit;
  margin-bottom: 8px;
}
.audio-btn:active { transform: scale(.95); }
.audio-btn.recording {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  border-color: transparent;
  animation: audioPulse 1s infinite;
}
@keyframes audioPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,.6); }
  50% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
}
#audioInput { display: none; }
.audio-preview {
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  color: #10b981;
  margin-bottom: 10px;
  display: none;
  align-items: center;
  gap: 8px;
}
.audio-preview.active { display: flex; }
.audio-preview audio { flex: 1; height: 32px; }
.audio-clear {
  background: rgba(239,68,68,.2);
  border: none;
  color: #ef4444;
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
}
.post-audio {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 12px;
}

/* FRIENDS */
.friend-btn {
  width: 100%;
  padding: 13px;
  border-radius: 14px;
  border: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 10px;
  font-family: inherit;
  transition: .15s;
}
.friend-btn:active { transform: scale(.97); }
.friend-btn.add {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  box-shadow: 0 8px 20px rgba(168,85,247,.4);
}
.friend-btn.pending {
  background: rgba(245,158,11,.15);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,.3);
}
.friend-btn.friends {
  background: rgba(16,185,129,.15);
  color: #10b981;
  border: 1px solid rgba(16,185,129,.3);
}
.friend-btn.remove {
  background: rgba(239,68,68,.1);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,.3);
}
.friend-badge {
  display: inline-block;
  background: rgba(16,185,129,.15);
  color: #10b981;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* NOTIFICARE URIAȘĂ */
.big-notif {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5,5,8,.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: bigNotifIn .4s;
}
.big-notif.show { display: flex; }
@keyframes bigNotifIn {
  from { opacity: 0; backdrop-filter: blur(0); }
  to { opacity: 1; backdrop-filter: blur(30px); }
}
.big-notif-card {
  background: linear-gradient(160deg, #1a1a24, #12121a);
  border: 2px solid rgba(168,85,247,.5);
  border-radius: 32px;
  padding: 40px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(168,85,247,.5),
              0 0 100px rgba(236,72,153,.3);
  animation: bigNotifCard .5s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
@keyframes bigNotifCard {
  from { transform: scale(.6) rotate(-5deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}
.big-notif-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(168,85,247,.2), transparent 60%);
  pointer-events: none;
}
.big-notif-emoji {
  font-size: 100px;
  margin-bottom: 20px;
  display: inline-block;
  animation: bigNotifEmoji 1s infinite;
  filter: drop-shadow(0 0 30px rgba(168,85,247,.8));
}
@keyframes bigNotifEmoji {
  0%,100% { transform: scale(1) rotate(-5deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}
.big-notif-label {
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 800;
  opacity: .6;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.big-notif-name {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.big-notif-text {
  font-size: 15px;
  line-height: 1.5;
  opacity: .85;
  margin-bottom: 24px;
  font-style: italic;
  padding: 16px;
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  border-left: 3px solid #a855f7;
}
.big-notif-actions {
  display: flex; gap: 10px;
}
.big-notif-btn {
  flex: 1;
  padding: 15px;
  border-radius: 16px;
  border: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.big-notif-btn.open {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  box-shadow: 0 10px 30px rgba(168,85,247,.5);
}
.big-notif-btn.later {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
}

/* PUBLISHING POLL */
@keyframes badgePulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.nav-badge.pulse {
  animation: badgePulse 1s infinite;
  background: #ef4444;
  box-shadow: 0 0 12px #ef4444;
}
/* ============================================================
   ViberZ v11 — STICKERE FORȚAT + LOGIN FUN
   ============================================================ */

#mediaPreviewZone {
  position: relative !important;
  display: none;
  width: 100% !important;
  min-height: 200px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin: 12px 0 !important;
  background: rgba(0,0,0,.4) !important;
  border: 2px dashed rgba(168,85,247,.4) !important;
  transition: all .3s;
}
#mediaPreviewZone.active {
  display: block !important;
  border: 2px solid rgba(168,85,247,.6) !important;
  box-shadow: 0 10px 40px rgba(168,85,247,.25), inset 0 0 40px rgba(168,85,247,.1) !important;
}
#mediaPreviewZone img,
#mediaPreviewZone video {
  width: 100% !important;
  display: block !important;
  border-radius: 12px !important;
}

.placed-sticker {
  position: absolute !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
  z-index: 5 !important;
  transition: filter .15s !important;
  cursor: grab !important;
  line-height: 1 !important;
}
.placed-sticker:active {
  filter: brightness(1.3) !important;
  cursor: grabbing !important;
}

#stickerBtn,
#clearMediaBtn {
  display: none;
}
#stickerBtn[style*="inline-flex"],
#clearMediaBtn[style*="inline-flex"] {
  display: inline-flex !important;
}

/* MODAL STICKERE */
.sticker-modal {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(5,5,8,.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  z-index: 99999 !important;
  display: none !important;
  flex-direction: column !important;
  padding: 20px !important;
  padding-top: calc(20px + env(safe-area-inset-top)) !important;
}
.sticker-modal.open { display: flex !important; }
.sticker-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.sticker-header h3 {
  font-size: 18px; font-weight: 900;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sticker-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: none; color: #fff;
  font-size: 16px; cursor: pointer;
}
.sticker-tabs {
  display: flex; gap: 8px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 12px;
}
.sticker-tab {
  flex: 1; padding: 10px; background: #16161f;
  border: 1px solid rgba(255,255,255,.06); border-radius: 12px;
  color: #fff; font-weight: 700; font-size: 13px; cursor: pointer;
  font-family: inherit;
}
.sticker-tab.active {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-color: transparent;
}
.sticker-content {
  flex: 1; overflow-y: auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  align-content: start; padding-bottom: 20px;
}
.sticker-opt {
  aspect-ratio: 1;
  background: #16161f;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  font-size: 30px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: inherit;
}
.sticker-opt:active { transform: scale(.9); }
.sticker-opt.text-opt {
  font-size: 12px; font-weight: 900; padding: 10px;
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 48px;
}

/* TEXT WHITE pe tot */
.placed-sticker {
  color: #fff;
}
/* ============================================================
   ViberZ v12 — NAV FUNNY cu speech bubbles
   ============================================================ */

.nav {
  overflow: visible !important;
}

.nav-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* NAV ICONS -- animale/emoji mari */
.vz-nav-icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  background: transparent;
  border: none;
  color: #fff;
  border-radius: 16px;
  padding: 0;
  line-height: 1;
}

.vz-nav-icon .vz-emoji {
  display: block;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

.vz-nav-icon:hover .vz-emoji,
.vz-nav-icon.tapped .vz-emoji {
  transform: scale(1.6) rotate(-8deg);
}

.vz-nav-icon.tapped {
  background: linear-gradient(135deg, rgba(0,229,255,.2), rgba(255,0,170,.2));
  transform: scale(1.15);
  animation: vzTapPop .5s cubic-bezier(.34,1.56,.64,1);
}

@keyframes vzTapPop {
  0% { transform: scale(1); }
  30% { transform: scale(1.35) rotate(-6deg); }
  60% { transform: scale(.95) rotate(3deg); }
  100% { transform: scale(1.15) rotate(0deg); }
}

.vz-nav-icon.active {
  background: linear-gradient(135deg, rgba(0,229,255,.2), rgba(163,230,53,.2));
  box-shadow: 0 0 20px rgba(0,229,255,.4);
}

.vz-nav-icon.active .vz-emoji {
  filter: drop-shadow(0 0 12px currentColor);
}

/* Speech bubble */
.vz-speech {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%) scale(0) translateY(20px);
  background: linear-gradient(135deg, #00e5ff, #a3e635 50%, #ff00aa);
  color: #0a0a0f;
  font-weight: 900;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 14px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 8px 24px rgba(0,229,255,.5),
              0 0 40px rgba(255,0,170,.3);
  z-index: 100;
  letter-spacing: -.3px;
  max-width: 260px;
}

.vz-speech::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #ff00aa;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

.vz-nav-icon.show-speech .vz-speech {
  opacity: 1;
  transform: translateX(-50%) scale(1) translateY(0);
  animation: speechBounce .4s cubic-bezier(.34,1.56,.64,1);
}

@keyframes speechBounce {
  0% { transform: translateX(-50%) scale(0) translateY(20px); }
  60% { transform: translateX(-50%) scale(1.08) translateY(-4px); }
  100% { transform: translateX(-50%) scale(1) translateY(0); }
}

/* Wave effect pe ecran când apeși */
.vz-ripple {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,.5), transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%) scale(0);
  animation: vzRippleExpand .7s ease-out forwards;
}
@keyframes vzRippleExpand {
  to { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}

/* Floating emoji când apeși nav */
.vz-float-emoji {
  position: fixed;
  pointer-events: none;
  font-size: 32px;
  z-index: 9999;
  animation: vzFloatUp 1.2s ease-out forwards;
  filter: drop-shadow(0 0 10px rgba(0,229,255,.8));
}
@keyframes vzFloatUp {
  0% { transform: translate(0,0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx, 0), -180px) scale(1.5) rotate(360deg); opacity: 0; }
}

/* Nav redesigned */
.nav {
  padding: 4px 8px !important;
  height: calc(76px + env(safe-area-inset-bottom)) !important;
}

.nav-btn-wrap .nav-badge {
  top: 6px;
  right: 6px;
}

/* Navigatorul principal plus button */
.nav-plus-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-plus {
  width: 54px !important;
  height: 54px !important;
  background: linear-gradient(135deg, #00e5ff, #a3e635 50%, #ff00aa) !important;
  box-shadow: 0 0 24px rgba(0,229,255,.6), 0 0 40px rgba(255,0,170,.3) !important;
  animation: navPlusPulse 2s infinite;
}

@keyframes navPlusPulse {
  0%,100% { box-shadow: 0 0 24px rgba(0,229,255,.6), 0 0 40px rgba(255,0,170,.3); }
  50% { box-shadow: 0 0 36px rgba(0,229,255,.9), 0 0 60px rgba(255,0,170,.5); }
}

.nav-plus:hover {
  transform: scale(1.15) rotate(90deg) !important;
}