:root {
  --bg-dark: #000000;
  --bg-glass: rgba(5, 5, 5, 0.65); 
  --glass-border: rgba(255, 255, 255, 0.06);
  --bg-input: rgba(10, 10, 10, 0.8);
  --accent-purple: #2d0b4e;
  --gradient-subtle: linear-gradient(135deg, #170526 0%, #000000 100%);
  --gradient-avatar: linear-gradient(135deg, #2d0b4e 0%, #050505 100%);
  --gradient-snake: conic-gradient(from 0deg, transparent 0%, transparent 70%, #2d0b4e 100%);
  --text-light: #f5f5f7; 
  --text-muted: #86868b;
  --font-apple: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}

.snake-btn-wrapper {
  position: fixed; bottom: 25px; right: 25px; width: 100px; height: 44px;
  border-radius: 22px; background: var(--bg-dark); display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer; z-index: 9999; 
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), height 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.snake-btn-wrapper.has-notification { width: 270px; height: 60px; border-radius: 30px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.1); }
.snake-btn-wrapper.hidden-toggle { opacity: 0; transform: scale(0.9) translateY(20px); pointer-events: none; }
.snake-btn-wrapper:hover { transform: scale(1.03); }

@keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }

.snake-btn-wrapper::before { 
  content: ''; position: absolute; width: 400px; height: 400px; top: 50%; left: 50%;
  background: var(--gradient-snake); animation: spin 3s linear infinite; transform-origin: center;
}

.snake-btn-content { position: absolute; inset: 1.5px; background: var(--bg-dark); border-radius: 28px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-family: var(--font-apple); font-weight: 500; font-size: 14px; z-index: 1; }

.sbc-default, .sbc-notif { position: absolute; display: flex; align-items: center; transition: opacity 0.4s ease, transform 0.4s ease; width: 100%; height: 100%; }
.sbc-default { justify-content: center; opacity: 1; transform: translateY(0); }
.sbc-notif { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 16px; opacity: 0; transform: translateY(10px); pointer-events: none; }
.snake-btn-wrapper.has-notification .sbc-default { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.snake-btn-wrapper.has-notification .sbc-notif { opacity: 1; transform: translateY(0); pointer-events: auto; }

.anc-avatar-wrap { width: 32px; height: 32px; border-radius: 50%; background: var(--gradient-avatar); border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.anc-avatar-dot { width: 8px; height: 8px; background-color: #10b981; border-radius: 50%; border: 2px solid #000; position: absolute; bottom: 0px; right: 0px; }
.anc-content-wrap { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; flex: 1; }
.anc-header { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.anc-name { font-weight: 600; font-size: 13px; color: var(--text-light); }
.anc-time { font-size: 10px; color: var(--text-muted); font-weight: 500; }
.anc-body { font-size: 12px; color: var(--text-muted); font-weight: 400; display: flex; align-items: center; gap: 4px; }
.wave-emoji { display: inline-block; transform-origin: 70% 70%; animation: waveAnimation 2s infinite; }
@keyframes waveAnimation { 0% { transform: rotate(0deg); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } 60%, 100% { transform: rotate(0deg); } }

.dark-theme { font-family: var(--font-apple); }
#chat-container { position: fixed; bottom: 10px; right: 25px; width: 340px; height: 540px; background: var(--bg-glass); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; z-index: 10000; transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; }
.chat-hidden { opacity: 0; transform: translateY(20px) scale(0.97); pointer-events: none; }

#chat-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.04); position: relative; z-index: 5; }
.chat-header-left { display: flex; align-items: center; gap: 14px; }
.bot-avatar-wrap { position: relative; }
.bot-avatar-icon { background: transparent !important; border: none !important; width: auto !important; height: auto !important; }
.status-indicator { position: absolute; bottom: 0px; right: 0px; width: 8px; height: 8px; background-color: #10b981; border-radius: 50%; border: 2px solid #000; z-index: 5;}
.bot-info { display: flex; flex-direction: column; gap: 2px; }
.bot-info strong { font-size: 15px; font-weight: 600; color: var(--text-light); letter-spacing: -0.3px; }
.bot-status { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.chat-header-right { display: flex; align-items: center; gap: 4px; }
.header-icon-btn { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.header-icon-btn:hover { color: var(--text-light); background: rgba(255, 255, 255, 0.05); }

#chat-toast {
  position: absolute; top: 70px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: transparent; color: #fff; font-size: 12px; font-weight: 500;
  padding: 10px 18px; border-radius: 20px; z-index: 100; opacity: 0; pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(126, 34, 206, 0.2);
  white-space: nowrap; font-family: var(--font-apple); letter-spacing: 0.2px;
  border: none !important;
}
#chat-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
#chat-toast::before {
  content: ''; position: absolute; width: 500px; height: 500px; 
  background: var(--gradient-snake);
  top: 50%; left: 50%; transform: translate(-50%, -50%); animation: spin 3s linear infinite; z-index: -2;
}
#chat-toast::after {
  content: ''; position: absolute; inset: 1.5px; background: rgba(10, 5, 15, 0.95);
  border-radius: 18.5px; z-index: -1; backdrop-filter: blur(10px);
}
.toast-text { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 1px; }

.typing-dots span { animation: blinkDot 1.4s infinite both; margin-left: 1px; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blinkDot { 0% { opacity: 0.2; } 20% { opacity: 1; } 100% { opacity: 0.2; } }

#chat-messages {
  flex: 1; padding: 24px; overflow-y: scroll !important; display: flex; flex-direction: column; gap: 20px;
  scrollbar-width: thin; scrollbar-color: rgba(126, 34, 206, 0.4) transparent; position: relative;
}
#chat-messages::-webkit-scrollbar { width: 5px; display: block; }
#chat-messages::-webkit-scrollbar-track { background: transparent; }
#chat-messages::-webkit-scrollbar-thumb { background: rgba(126, 34, 206, 0.4); border-radius: 10px; }
#chat-messages::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #7e22ce, #3b0764, #170526); } 

.cinematic-sphere-base {
  position: relative; border-radius: 50%;
  background-image: 
    radial-gradient(circle at 50% 50%, #8b5cf6 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, #3b0764 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, #000000 20%, #1a0b2e 100%);
  background-size: 200% 200%, 250% 200%, 100% 100%;
  background-repeat: no-repeat;
  animation: meshFlow 10s ease-in-out infinite alternate;
  box-shadow: 0 0 30px rgba(107, 33, 168, 0.4), inset -5px -5px 25px rgba(0,0,0,0.95);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; cursor: pointer;
}
@keyframes meshFlow {
  0% { background-position: 0% 0%, 100% 100%, 50% 50%; filter: hue-rotate(0deg); }
  50% { background-position: 100% 20%, 0% 80%, 50% 50%; filter: hue-rotate(15deg); }
  100% { background-position: 20% 100%, 80% 0%, 50% 50%; filter: hue-rotate(-10deg); }
}

.cinematic-sphere-base::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.25; mix-blend-mode: overlay; pointer-events: none; z-index: 2;
}
.cinematic-sphere-base::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.85) 0%, transparent 50%);
  opacity: 0; transform: scale(1); transition: opacity 0.4s ease;
  mix-blend-mode: overlay; z-index: 1; pointer-events: none;
}
.cinematic-sphere-base:hover::before { opacity: 1; }
.cinematic-sphere-base:hover {
  transform: translateY(-2px); box-shadow: 0 10px 40px rgba(168, 85, 247, 0.6), inset -5px -5px 20px rgba(0,0,0,0.8);
}

.cinematic-sphere-large { width: 110px; height: 110px; margin-bottom: 24px; z-index: 2; }
.cinematic-sphere-mini { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.05); }

#hero-start-screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 10; background: transparent; padding: 20px; text-align: center; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; 
}
.ambient-light { position: absolute; border-radius: 50%; filter: blur(45px); opacity: 0; pointer-events: none; z-index: 1; }
.light-1 { width: 180px; height: 180px; background: rgba(107, 33, 168, 0.15); top: 15%; left: 10%; animation: floatLight 8s infinite alternate ease-in-out; }
.light-2 { width: 140px; height: 140px; background: rgba(75, 0, 130, 0.25); bottom: 25%; right: 5%; animation: floatLight 10s infinite alternate-reverse ease-in-out; }
@keyframes floatLight { 0% { transform: translate(0, 0) scale(0.8); opacity: 0.2; } 100% { transform: translate(30px, -20px) scale(1.2); opacity: 0.7; } }

.hero-greeting { position: relative; z-index: 2; font-size: 16px; color: #fff; font-weight: 500; letter-spacing: -0.3px; line-height: 1.4; margin: 0; }
.azzist-text { background: linear-gradient(135deg, #ffffff 0%, #5d308b 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; font-family: 'Inter', sans-serif; }

.dramatic-fade-out { animation: dramaticBlurOut 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important; pointer-events: none; }
@keyframes dramaticBlurOut { 0% { opacity: 1; filter: blur(0); transform: scale(1); } 100% { opacity: 0; filter: blur(20px); transform: scale(0.85); visibility: hidden; } }

.message {
  max-width: 85%; min-width: 90px; padding: 14px 18px 26px 18px; font-size: 14px; line-height: 1.5; word-wrap: break-word; position: relative; letter-spacing: -0.1px; animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; flex-shrink: 0; font-weight: 400;
}
.msg-content { position: relative; z-index: 2; display: block; color: var(--text-light); }
.msg-time { position: absolute; bottom: 8px; right: 16px; font-size: 10px; user-select: none; display: flex; align-items: center; gap: 4px; color: var(--text-muted); font-weight: 500; }
.clock-icon { width: 10px; height: 10px; opacity: 0.6; }

.user-message {
  background: var(--gradient-subtle); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 18px 18px 4px 18px;
  align-self: flex-end; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.user-message .msg-time { right: auto; left: 16px; }

.bot-message {
  background: rgba(15, 15, 15, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  align-self: flex-start; border-radius: 18px 18px 18px 4px;
  animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards, botBreathe 4s ease-in-out infinite alternate;
}
@keyframes botBreathe { 0% { box-shadow: 0 4px 15px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.04); } 100% { box-shadow: 0 8px 25px rgba(126, 34, 206, 0.15); border: 1px solid rgba(126, 34, 206, 0.25); } }

.msg-copy-btn {
  position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%;
  background: #000; border: 1px solid rgba(255,255,255,0.08); color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transform: scale(0.8); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.msg-copy-btn svg { position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.icon-copy { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.icon-check { opacity: 0; transform: translate(-50%, -50%) scale(0.5); stroke: #fff; } 
.icon-check polyline { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; }

.bot-message:hover .msg-copy-btn { opacity: 1; transform: scale(1); }
.msg-copy-btn:hover { color: #fff; background: #111; border-color: rgba(255,255,255,0.2); }
.msg-copy-btn.permanent-check { opacity: 1 !important; transform: scale(1) !important; color: #fff; border-color: rgba(126,34,206,0.6); background: rgba(126,34,206,0.2); }
.msg-copy-btn.permanent-check .icon-copy { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
.msg-copy-btn.permanent-check .icon-check { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
.msg-copy-btn.permanent-check .icon-check polyline { stroke-dashoffset: 0; }

.text-clamp-wrap { position: relative; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.text-clamp-wrap.collapsed { max-height: 115px; }
.text-clamp-wrap.collapsed::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 45px; background: linear-gradient(to top, rgba(15, 15, 15, 1), transparent); pointer-events: none; }
.msg-read-more { background: transparent; border: none; color: #56327a; font-size: 11px; font-weight: 600; cursor: pointer; padding: 6px 0 0 0; margin-top: 2px; transition: color 0.2s; letter-spacing: 0.5px; text-transform: uppercase; }
.msg-read-more:hover { color: #fff; text-shadow: 0 0 8px rgba(168, 85, 247, 0.6); }

.message.raw-card-mode { background: transparent !important; border: none !important; box-shadow: none !important; backdrop-filter: none !important; padding: 0 !important; max-width: 95% !important; animation: popIn 0.4s ease forwards !important; }
.message.raw-card-mode .msg-copy-btn, .message.raw-card-mode .msg-time { display: none; }

.aww-card { position: relative; background: #050505; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,0.8); }
.aww-glow-anim { position: absolute; top: -50px; right: -50px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(126, 34, 206, 0.3) 0%, transparent 70%); pointer-events: none; animation: floatGlow 5s infinite alternate ease-in-out; }
@keyframes floatGlow { 0% { transform: scale(1) translate(0, 0); opacity: 0.5; } 100% { transform: scale(1.3) translate(-10px, 15px); opacity: 1; } }

.aww-header { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 2; }
.aww-subtitle { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); font-weight: 600; }
.aww-title { font-size: 22px; font-weight: 500; letter-spacing: -0.5px; color: #fff; margin: 0; }
.aww-desc { margin: 8px 0 0 0; font-size: 13px; color: var(--text-muted); line-height: 1.5; font-weight: 400; }
.aww-pill-wrap { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.aww-pill { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 6px 14px; border-radius: 30px; font-size: 12px; color: #fff; transition: all 0.3s ease; }
.aww-pill:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.aww-list { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; }
.aww-list-item { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.03); padding-bottom: 12px; }
.aww-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.aww-num { font-size: 12px; color: var(--text-muted); font-weight: 400; font-family: 'JetBrains Mono', monospace; }
.aww-text { font-size: 14px; color: #fff; font-weight: 400; }

@keyframes popIn { 0% { opacity: 0; transform: scale(0.96) translateY(8px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
.blur-out-anim { animation: blurOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important; }
@keyframes blurOut { 0% { filter: blur(0); opacity: 1; transform: scale(1); } 100% { filter: blur(8px); opacity: 0; transform: scale(0.96); } }

#typing-indicator { display: flex; gap: 4px; padding: 14px 18px; background: rgba(15, 15, 15, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 18px 18px 18px 4px; align-self: flex-start; position: relative; z-index: 1; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.04); }
#typing-indicator.hidden { display: none; }
.dot { width: 5px; height: 5px; background: var(--text-muted); border-radius: 50%; animation: typingWave 1.4s infinite ease-in-out both; }
.dot:nth-child(1) { animation-delay: -0.32s; } .dot:nth-child(2) { animation-delay: -0.16s; } .dot:nth-child(3) { animation-delay: 0s; }
@keyframes typingWave { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-4px); opacity: 1; } }

@keyframes darkSendShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

#chat-input-area { 
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(15, 15, 20, 0.85); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 30px; 
  margin: 0 16px 16px 16px; padding: 14px 20px;
  position: relative; z-index: 5; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#chat-input-area:focus-within {
  border-color: rgba(126, 34, 206, 0.5); 
  background: linear-gradient(135deg, rgba(0,0,0,0.95) 40%, rgba(26,11,46,0.95) 80%, rgba(59,7,100,0.95) 100%);
  background-size: 200% 200%;
  animation: darkSendShift 6s ease infinite alternate;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 15px rgba(126, 34, 206, 0.2);
}
#chat-input-area:hover:not(:focus-within) {
  border-color: rgba(75, 0, 130, 0.6); background: rgba(15, 15, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 0 15px rgba(75, 0, 130, 0.15);
}

#chat-input { 
  width: 100%; padding: 4px 4px 8px 4px; background: transparent !important; border: none !important; 
  color: var(--text-light); font-size: 14px; outline: none !important; box-shadow: none !important; font-family: inherit; 
}
#chat-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.input-bottom-row { display: flex; justify-content: space-between; align-items: center; width: 100%; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; }
.toggles-row { display: flex; gap: 8px; margin: 0; }

.toggle-btn {
  display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: 500;
  color: var(--text-muted); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer; transition: all 0.3s ease; font-family: var(--font-apple); letter-spacing: 0.2px;
}
.toggle-btn:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(75,0,130,0.5); }

.toggle-btn.active { 
  background: linear-gradient(135deg, #000000 40%, #1a0b2e 80%, #3b0764 100%);
  background-size: 200% 200%; animation: darkSendShift 6s ease infinite alternate;
  border-color: rgba(126,34,206,0.5); color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
}

#chat-send-btn { 
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; border: none;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #000000 40%, #1a0b2e 80%, #3b0764 100%);
  background-size: 200% 200%; animation: darkSendShift 6s ease infinite alternate;
  color: #fff; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8); z-index: 1;
}
#chat-send-btn::before, #chat-send-btn::after { display: none !important; }
#chat-send-btn svg { position: relative; z-index: 2; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); width: 16px; height: 16px; }

#chat-send-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 6px 20px rgba(59, 7, 100, 0.6); }
#chat-send-btn:hover svg { transform: translateY(-2px); }
#chat-send-btn:active { transform: scale(0.95); }

#azzist-ask-tooltip { position: absolute; z-index: 99999; transform: translate(-50%, -10px) scale(0.9); opacity: 0; pointer-events: none; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
#azzist-ask-tooltip.active { transform: translate(-50%, -45px) scale(1); opacity: 1; pointer-events: auto; cursor: pointer; }

.tooltip-inner { 
  position: relative; padding: 10px 20px; border-radius: 12px; color: #fff; font-size: 13px; font-weight: 600; font-family: var(--font-apple); 
  box-shadow: 0 10px 25px rgba(0,0,0,0.5); transition: all 0.3s; overflow: hidden; background: transparent; 
  min-width: 140px; display: flex; justify-content: center; border: none !important;
}
.tooltip-inner::before {
  content: ''; position: absolute; width: 400px; height: 400px; 
  background: var(--gradient-snake);
  top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.3s ease; z-index: -2;
}
.tooltip-inner::after { 
  content: ''; position: absolute; inset: 1.5px; background: rgba(10,10,12,0.95); 
  border-radius: 10.5px; z-index: -1; backdrop-filter: blur(10px); 
}
.tooltip-inner:hover::before { opacity: 1; animation: spin 3s linear infinite; }
.tooltip-inner:hover { box-shadow: 0 0 15px rgba(126, 34, 206, 0.4); transform: translateY(-2px); }
.tooltip-content { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.tooltip-content svg { width: 18px !important; height: 18px !important; }

#chat-reset-overlay { position: absolute; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: center; opacity: 1; transition: opacity 0.3s ease; }
#chat-reset-overlay.hidden { opacity: 0; pointer-events: none; }

.snake-box { 
  background: rgba(10, 10, 12, 0.6); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); 
  border: 1px solid rgba(255, 255, 255, 0.08); 
  padding: 28px; border-radius: 24px; width: 85%; text-align: center; display: flex; flex-direction: column; gap: 8px; 
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1), modalGlowPulse 4s infinite alternate ease-in-out 0.3s; 
}
@keyframes modalGlowPulse {
  0% { box-shadow: 0 30px 60px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(126,34,206,0.15), 0 0 0px rgba(75, 0, 130, 0); border-color: rgba(255, 255, 255, 0.08); }
  100% { box-shadow: 0 30px 60px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(126,34,206,0.3), 0 0 30px rgba(75, 0, 130, 0.5); border-color: rgba(126, 34, 206, 0.6); }
}

.snake-box h3 { margin: 0; color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -0.5px; }
.snake-box p { margin: 8px 0 0 0; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.rm-buttons { display: flex; gap: 10px; margin-top: 16px; }
.rm-btn { flex: 1; padding: 12px; border-radius: 12px; cursor: pointer; font-size: 13px; font-weight: 500; font-family: var(--font-apple); transition: all 0.2s; }
.rm-btn.outline { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: var(--text-light); }
.rm-btn.outline:hover { background: rgba(255,255,255,0.08); }

.rm-btn.primary { 
  background: linear-gradient(135deg, #000000 40%, #1a0b2e 80%, #3b0764 100%);
  background-size: 200% 200%; animation: darkSendShift 6s ease infinite alternate;
  color: #fff; border: 1px solid rgba(126,34,206,0.5); font-weight: 600; box-shadow: 0 4px 20px rgba(126, 34, 206, 0.4); 
}
.rm-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(126, 34, 206, 0.6); }

#command-palette { position: absolute; bottom: 100px; left: 24px; right: 24px; background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 8px; display: none; flex-direction: column; gap: 4px; box-shadow: 0 16px 32px rgba(0,0,0,0.8); z-index: 100; max-height: 200px; overflow-y: auto; }
#command-palette.active { display: flex; animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.cmd-item { padding: 12px 14px; border-radius: 10px; cursor: pointer; transition: background 0.2s; display: flex; justify-content: space-between; align-items: center; }
.cmd-item:hover, .cmd-item.selected { background: rgba(255, 255, 255, 0.05); }
.cmd-name { font-weight: 500; color: #fff; font-size: 13px; }
.cmd-desc { color: var(--text-muted); font-size: 11px; }

#rating-container { 
  position: relative; background: transparent; 
  margin: 0 16px 16px 16px; padding: 24px 20px; 
  text-align: center; color: var(--text-light); 
  animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
  overflow: hidden; z-index: 6; border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 20px rgba(126, 34, 206, 0.2);
  border: none !important;
}
#rating-container.hidden { display: none; }

#rating-container::before {
  content: ''; position: absolute; width: 600px; height: 600px;
  background: var(--gradient-snake);
  top: 50%; left: 50%; transform: translate(-50%, -50%); 
  animation: spin 4s linear infinite; z-index: -2;
}

#rating-container::after {
  content: ''; position: absolute; inset: 1.5px; 
  background: rgba(15, 15, 20, 0.95); 
  border-radius: 28.5px; z-index: -1; backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
}

#rating-container > * { position: relative; z-index: 1; }

#rating-container p { margin: 0 0 16px 0; font-size: 14px; font-weight: 500; letter-spacing: -0.2px; color: #fff; }
.stars { display: flex; justify-content: center; gap: 10px; cursor: pointer; }

.star { font-size: 28px; color: rgba(255, 255, 255, 0.08); transition: color 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.3s; }
.star:hover, .star.active { color: #fff; text-shadow: 0 0 20px rgba(168, 85, 247, 0.8); }
.star:hover { transform: scale(1.3) translateY(-2px); }

#rating-thanks { color: #2d0b4e; font-size: 13px; margin-top: 16px; font-weight: 600; animation: popIn 0.3s ease-out; display: none; }
#rating-thanks:not(.hidden) { display: block; }