/* =========================================
   ALINA SINS - Site Styles (modular external CSS)
   All visual styles extracted for harder full-site theft
   ========================================= */

:root {
  --gradient-start: #ff6b9d;
  --accent: #ff1a66;
  --accent-light: #ff99cc;
  --shadow-soft: rgba(255, 26, 102, .4);
  --shadow-glow: rgba(255, 77, 148, .7);
  --overlay-mid: rgba(30, 0, 10, .55);
  --overlay-end: rgba(45, 0, 15, .75);
  --hint-color: #ff6b9d;
  --pink: #ff0055;
  --dark: #0f0005;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  font-family: 'Poppins', system-ui, Arial, sans-serif;
  background: #0f0005;
  color: #fff;
  overflow-x: hidden;
}

.container {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 40px;
}

/* Background layers */
#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0a19;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 0, 10, 0.35) 0%, rgba(20, 0, 5, 0.55) 50%, rgba(50, 0, 15, 0.75) 100%);
  z-index: 1;
}

.bg-fon {
  position: absolute;
  inset: 0;
  background: url('../images/fon.png') center / cover no-repeat;
  filter: blur(10px);
  z-index: 0;
  opacity: 0.75;
}

#canvas-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(10, 0, 5, 0.08);
  overflow: hidden;
  pointer-events: none;
}

/* Profile / content */
.profile {
  margin-top: auto;
  padding-top: 65px;
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 520px;
  padding-left: 20px;
  padding-right: 20px;
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 46px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #c2185b, #ad1457, #880e4f, #ad1457, #c2185b);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sexyShimmer 10s ease-in-out infinite;
  text-shadow: 0 2px 22px rgba(255, 26, 102, 0.5);
  position: relative;
}

h1::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 58px;
  height: 1.5px;
  background: linear-gradient(to right, transparent, var(--accent-light), transparent);
  opacity: 0.55;
  animation: titleUnderline 4s ease-in-out infinite;
}

@keyframes sexyShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes titleUnderline {
  0%, 100% { opacity: 0.3; width: 52px; }
  50% { opacity: 0.9; width: 82px; }
}

.status {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 32px;
  opacity: .92;
  letter-spacing: 1.5px;
  color: #c2185b;
}

.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  width: 100%;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  border: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 17px 26px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  width: 100%;
  max-width: 295px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255,255,255,0.2);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
}

.btn:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.1));
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 8px 28px var(--shadow-soft), 0 0 24px var(--shadow-glow), inset 0 1px rgba(255,255,255,0.35);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff1a66 0%, #ff6b9d 100%);
  box-shadow: 0 4px 22px var(--shadow-soft), 0 0 26px var(--shadow-glow);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff3366 0%, #ff99bb 100%);
  box-shadow: 0 8px 32px var(--shadow-soft), 0 0 40px var(--shadow-glow), 0 0 55px var(--shadow-glow);
}

.button-icon {
  width: 28px;
  height: 28px;
  margin-right: 13px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}

.btn-label {
  display: flex;
  align-items: center;
}

.separator {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  margin: 6px 0 4px;
  animation: sepPulse 4s ease-in-out infinite;
}

@keyframes sepPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}

/* Notifications - white + pink action, fixed viewport top */
.notification-toast {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 90%;
  max-width: 355px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  color: #fff;
  pointer-events: none;
}
.notification-toast.show {
  animation: toastPop 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards, notificationGlow 6s ease-in-out infinite 0.6s;
  pointer-events: auto;
}
.notification-toast.hiding {
  animation: toastHide 0.35s ease forwards;
  pointer-events: none;
}

@keyframes toastPop {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-25px) scale(0.9);
  }
  55% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes toastHide {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px) scale(0.95);
  }
}

@keyframes notificationGlow {
  0%, 100% {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 15px var(--shadow-glow);
  }
  50% {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 40px var(--shadow-glow);
  }
}

@media (min-width: 768px) {
  .notification-toast {
    top: 8px;
  }
}

.notif-icon {
  position: relative;
  margin-right: 13px;
}
.notif-icon img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.notif-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 13px;
  height: 13px;
  background: #30d158;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: pulseDot 1.7s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(46, 204, 113, 0); }
}
.notif-content {
  flex: 1;
  text-align: left;
  line-height: 1.3;
}
.notif-title {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 1px;
  color: #222;
}
.notif-message {
  font-size: 13px;
  color: #555;
}
.notif-action {
  display: inline-block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
  color: #ff1a66;
  text-decoration: none;
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--hint-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-decoration: underline;
  text-underline-offset: 3.5px;
  margin-top: 34px;
  opacity: 0.85;
  cursor: pointer;
  transition: color 0.2s ease;
  animation: hintBob 2.2s ease-in-out infinite;
}
.scroll-hint:hover {
  color: #ff99cc;
}
@keyframes hintBob {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* Footer */
.footer {
  margin-top: auto;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  padding: 26px 16px 12px;
  letter-spacing: .6px;
  opacity: 0.82;
  transition: opacity .3s ease;
}
.footer:hover {
  opacity: 1;
}
.footer a {
  color: #ff99cc;
  text-decoration: none;
  font-weight: 400;
  transition: color .25s ease;
}
.footer a:hover {
  color: #ff1a66;
}

/* SEO: Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/* Responsive */
@media (min-width: 700px) {
  .profile {
    max-width: 470px;
  }
  h1 {
    font-size: 48px;
    letter-spacing: 1px;
  }
  .status {
    font-size: 20px;
    margin-bottom: 38px;
  }
  .btn {
    max-width: 330px;
    padding: 19px 32px;
    font-size: 15px;
  }
  .button-icon {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 1200px) {
  h1 { font-size: 52px; }
  .btn { max-width: 355px; }
}

@media (max-width: 640px) {
  .notification-toast.show {
    width: 94%;
    max-width: none;
    padding: 11px 14px;
  }
  .notification-toast .notif-icon img {
    width: 36px;
    height: 36px;
  }
  .profile {
    padding-top: 38px;
  }
  h1 {
    font-size: 36px;
    letter-spacing: 0.5px;
  }
  .status {
    font-size: 16px;
    margin-bottom: 22px;
  }
  .btn {
    max-width: 260px;
    padding: 14px 22px;
    font-size: 13.5px;
  }
}

/* Avatar with pink animated soft frame */
.avatar {
  border: 5px solid #ff1a66;
  animation: avatarFloat 5.5s ease-in-out infinite, pinkFrame 2.8s ease-in-out infinite alternate;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s ease, border-color 0.3s;
  cursor: pointer;
  box-shadow: 0 10px 36px rgba(0,0,0,0.38), 
              0 0 15px #ff1a66, 
              0 0 30px rgba(255, 26, 102, 0.55),
              0 0 50px rgba(255, 26, 102, 0.3);
}
.avatar:hover {
  transform: scale(1.04);
  border-color: #ff4d8a;
  box-shadow: 0 12px 48px rgba(0,0,0,0.45), 
              0 0 22px #ff1a66, 
              0 0 42px rgba(255, 26, 102, 0.7),
              0 0 65px rgba(255, 26, 102, 0.45);
}
.avatar:active {
  transform: scale(0.97);
}

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes pinkFrame {
  0% {
    box-shadow: 0 10px 36px rgba(0,0,0,0.38), 
                0 0 15px #ff1a66, 
                0 0 30px rgba(255, 26, 102, 0.55),
                0 0 50px rgba(255, 26, 102, 0.3);
    border-color: #ff1a66;
  }
  100% {
    box-shadow: 0 10px 36px rgba(0,0,0,0.38), 
                0 0 25px #ff1a66, 
                0 0 45px rgba(255, 26, 102, 0.75),
                0 0 70px rgba(255, 26, 102, 0.5);
    border-color: #ff4d8a;
  }
}

/* Button extras */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: scale(0);
  animation: rippleAnim 0.65s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* Page entrance */
.profile {
  opacity: 0;
  transform: translateY(30px);
  animation: profileEnter 1.1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes profileEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shake */
@keyframes shakeBtn {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}
.btn.shake {
  animation: shakeBtn 0.65s ease-in-out;
}

/* About section */


/* =========================================
   ALINA SINS AI CHAT - Sexy dark pink theme
   ========================================= */
.chat-msg {
  display: flex;
  margin-bottom: 14px;
  gap: 10px;
}
.chat-msg.user {
  justify-content: flex-end;
}
.chat-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.chat-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ff1a66;
}
.chat-bubble {
  max-width: 78%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 14.2px;
  line-height: 1.35;
  background: #1a0008;
  color: #fff;
}
.chat-msg.user .chat-bubble {
  background: #ff1a66;
  color: #fff;
  border-bottom-right-radius: 6px;
}
.chat-bubble a {
  color: #ff99cc;
  text-decoration: underline;
}
.typing .chat-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 11px 15px;
}
.dot {
  width: 5px;
  height: 5px;
  background: #ff1a66;
  border-radius: 50%;
  animation: dotBounce 1.2s infinite;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
}

.quick-reply {
  background: rgba(255,26,102,0.1);
  color: #ff99cc;
  border: 1px solid #ff1a66;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s;
}
.quick-reply:hover {
  background: #ff1a66;
  color: white;
}

#alina-chat-reopen-btn:hover {
  background: #e6005c;
  transform: translateY(-50%) scale(1.05);
}

/* =========================================
   IMPROVED CHAT DESIGN
   ========================================= */
#alina-chat-desktop, #alina-chat-modal .chat-container {
  font-family: 'Poppins', system-ui, sans-serif;
}

.chat-bubble {
  background: #1f0a12;
  border: 1px solid rgba(255, 26, 102, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-size: 14.5px;
  padding: 12px 16px;
  max-width: 82%;
  word-wrap: break-word;
}

.chat-msg.user .chat-bubble {
  background: linear-gradient(135deg, #ff1a66, #c2185b);
  border: none;
  color: #fff;
  box-shadow: 0 3px 12px rgba(255, 26, 102, 0.35);
}

.chat-avatar {
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.chat-bubble a {
  color: #ffccdd;
  text-decoration: underline;
  font-weight: 600;
}

.chat-bubble a:hover {
  color: #fff;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: #1f0a12;
  border-radius: 18px;
  border: 1px solid rgba(255, 26, 102, 0.15);
  width: fit-content;
}

.typing-indicator span {
  height: 6px;
  width: 6px;
  background: #ff1a66;
  border-radius: 50%;
  display: inline-block;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
}