/* ========== CSS Variables & Reset ========== */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #12122a;
  --bg-tertiary: #1a1a3e;
  --bg-card: rgba(20, 20, 50, 0.6);
  --bg-message-user: linear-gradient(135deg, #6c3ce9, #9b59f0);
  --bg-message-ai: rgba(30, 30, 70, 0.7);
  --text-primary: #e8e8f0;
  --text-secondary: #9999bb;
  --text-muted: #666688;
  --accent-1: #7c3aed;
  --accent-2: #06b6d4;
  --accent-3: #f43f5e;
  --accent-4: #10b981;
  --glow-1: rgba(124, 58, 237, 0.4);
  --glow-2: rgba(6, 182, 212, 0.4);
  --border-color: rgba(124, 58, 237, 0.2);
  --glass-bg: rgba(15, 15, 40, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="light"] {
  --bg-primary: #f0f0ff;
  --bg-secondary: #e8e8f8;
  --bg-tertiary: #ddddf0;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-message-user: linear-gradient(135deg, #7c3aed, #a78bfa);
  --bg-message-ai: rgba(255, 255, 255, 0.8);
  --text-primary: #1a1a2e;
  --text-secondary: #555577;
  --text-muted: #8888aa;
  --glow-1: rgba(124, 58, 237, 0.2);
  --glow-2: rgba(6, 182, 212, 0.2);
  --border-color: rgba(124, 58, 237, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(124, 58, 237, 0.1);
  --shadow: 0 8px 32px rgba(100, 100, 150, 0.15);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
  transition: background var(--transition), color var(--transition);
}

/* ========== Particle Canvas ========== */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ========== Aurora Background ========== */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: aurora-float 15s ease-in-out infinite;
}

.aurora-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-1);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.aurora-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-2);
  top: 50%;
  right: -150px;
  animation-delay: -5s;
  animation-duration: 18s;
}

.aurora-3 {
  width: 400px;
  height: 400px;
  background: var(--accent-3);
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
  animation-duration: 20s;
}

@keyframes aurora-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, 30px) scale(1.1); }
  50% { transform: translate(-30px, 60px) scale(0.9); }
  75% { transform: translate(40px, -20px) scale(1.05); }
}

/* ========== App Container ========== */
.app-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-width: 900px;
  margin: 0 auto;
}

/* ========== Header ========== */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 10;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-orb {
  position: relative;
  width: 36px;
  height: 36px;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent-1);
  border-radius: 50%;
  animation: orb-spin 4s linear infinite;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.orb-core {
  position: absolute;
  inset: 6px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border-radius: 50%;
  animation: orb-pulse 2s ease-in-out infinite;
}

@keyframes orb-spin {
  to { transform: rotate(360deg); }
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.85); opacity: 0.7; }
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text span {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-4);
  border-radius: 50%;
  animation: status-blink 2s ease-in-out infinite;
}

@keyframes status-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent-4); }
  50% { opacity: 0.5; box-shadow: 0 0 2px var(--accent-4); }
}

.status-text {
  font-size: 0.75rem;
  color: var(--accent-4);
  font-weight: 500;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-secondary);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--accent-1);
  transform: scale(1.05);
}

#theme-toggle .icon-moon { display: none; }
[data-theme="light"] #theme-toggle .icon-sun { display: none; }
[data-theme="light"] #theme-toggle .icon-moon { display: block; }

.btn-glow {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent-1), #9b59f0);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  font-family: var(--font);
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  transition: 0.5s;
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--glow-1);
}

.btn-glow.logged-in {
  background: linear-gradient(135deg, var(--accent-4), #059669);
}

/* ========== Chat Area ========== */
.chat-area {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  scroll-behavior: smooth;
  position: relative;
}

.chat-area::-webkit-scrollbar {
  width: 6px;
}

.chat-area::-webkit-scrollbar-track {
  background: transparent;
}

.chat-area::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

/* ========== Welcome Screen ========== */
.welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  animation: fadeInUp 0.8s ease-out;
  padding: 20px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.welcome-screen.hidden {
  display: none;
}

.welcome-orb-container {
  margin-bottom: 30px;
}

.welcome-orb {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  padding: 3px;
  animation: welcome-orb-rotate 6s linear infinite;
  position: relative;
}

.welcome-orb::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  opacity: 0.3;
  filter: blur(20px);
  animation: orb-pulse 3s ease-in-out infinite;
}

.welcome-orb-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes welcome-orb-rotate {
  to { transform: rotate(360deg); }
}

.welcome-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.welcome-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  text-align: center;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 550px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--glow-1), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-1);
  box-shadow: 0 8px 30px var(--glow-1);
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  position: relative;
}

.feature-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  position: relative;
}

/* ========== Messages ========== */
.messages-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  display: flex;
  gap: 12px;
  animation: messageIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 85%;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.message.user {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.message.user .message-avatar {
  background: linear-gradient(135deg, var(--accent-1), #9b59f0);
  color: white;
}

.message.assistant .message-avatar {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-4));
  color: white;
  position: relative;
}

.message.assistant .message-avatar::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-4));
  z-index: -1;
  opacity: 0.3;
  filter: blur(6px);
}

.message-content {
  padding: 14px 18px;
  border-radius: var(--radius);
  line-height: 1.6;
  font-size: 0.92rem;
  position: relative;
  overflow-wrap: break-word;
  word-break: break-word;
}

.message.user .message-content {
  background: var(--bg-message-user);
  color: white;
  border-bottom-right-radius: 4px;
}

.message.assistant .message-content {
  background: var(--bg-message-ai);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-bottom-left-radius: 4px;
}

/* Markdown styling in messages */
.message-content h1, .message-content h2, .message-content h3 {
  margin: 12px 0 6px;
  font-weight: 600;
}

.message-content h1 { font-size: 1.3rem; }
.message-content h2 { font-size: 1.15rem; }
.message-content h3 { font-size: 1.05rem; }

.message-content p {
  margin: 6px 0;
}

.message-content ul, .message-content ol {
  margin: 6px 0;
  padding-left: 20px;
}

.message-content li {
  margin: 3px 0;
}

.message-content code {
  font-family: var(--font-mono);
  background: rgba(124, 58, 237, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

.message-content pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  overflow-x: auto;
  margin: 10px 0;
  position: relative;
}

.message-content pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.copy-code-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  background: rgba(124, 58, 237, 0.3);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}

.copy-code-btn:hover {
  background: var(--accent-1);
  color: white;
}

.message-content blockquote {
  border-left: 3px solid var(--accent-1);
  padding-left: 12px;
  margin: 8px 0;
  color: var(--text-secondary);
  font-style: italic;
}

.message-content a {
  color: var(--accent-2);
  text-decoration: none;
}

.message-content a:hover {
  text-decoration: underline;
}

.message-content strong {
  color: var(--accent-2);
}

.message-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0;
}

.message-content th, .message-content td {
  border: 1px solid var(--glass-border);
  padding: 8px 12px;
  text-align: left;
}

.message-content th {
  background: rgba(124, 58, 237, 0.15);
  font-weight: 600;
}

/* ========== Typing Indicator ========== */
.typing-indicator {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  animation: fadeInUp 0.3s ease;
}

.typing-indicator.active {
  display: flex;
}

.typing-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-4));
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-orb {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  animation: orb-pulse 1s ease-in-out infinite;
}

.typing-dots {
  display: flex;
  gap: 4px;
  padding: 12px 18px;
  background: var(--bg-message-ai);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: var(--text-secondary);
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-8px); opacity: 1; }
}

/* ========== Input Area ========== */
.input-area {
  padding: 12px 20px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.input-container {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 8px 12px;
  transition: all var(--transition);
}

.input-container:focus-within {
  border-color: var(--accent-1);
  box-shadow: 0 0 20px var(--glow-1);
}

.input-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
  animation: gradient-rotate 4s linear infinite;
}

.input-container:focus-within .input-glow {
  opacity: 0.6;
}

@keyframes gradient-rotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#message-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  resize: none;
  outline: none;
  max-height: 150px;
  line-height: 1.5;
  padding: 6px 4px;
}

#message-input::placeholder {
  color: var(--text-muted);
}

#message-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.send-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent-1), #9b59f0);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.send-btn svg {
  width: 18px;
  height: 18px;
}

.send-btn:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 4px 20px var(--glow-1);
}

.send-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding: 0 4px;
}

.powered-by {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.char-count {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ========== Login Overlay ========== */
.login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.login-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.login-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.login-orb-container {
  margin-bottom: 20px;
}

.login-orb {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  animation: welcome-orb-rotate 4s linear infinite;
  box-shadow: 0 0 40px var(--glow-1);
}

.login-card h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.login-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.btn-login-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-1), #9b59f0);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}

.btn-login-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--glow-1);
}

.btn-login-main svg {
  width: 20px;
  height: 20px;
}

/* ========== Toast Notifications ========== */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.85rem;
  z-index: 200;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  border-color: var(--accent-3);
  background: rgba(244, 63, 94, 0.15);
}

.toast.success {
  border-color: var(--accent-4);
  background: rgba(16, 185, 129, 0.15);
}

/* ========== Responsive ========== */
@media (max-width: 640px) {
  .app-header {
    padding: 10px 14px;
  }

  .header-center {
    display: none;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  #auth-text {
    display: none;
  }

  .btn-glow {
    padding: 8px 12px;
  }

  .welcome-title {
    font-size: 1.6rem;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 16px;
  }

  .message {
    max-width: 92%;
  }

  .input-area {
    padding: 10px 14px 14px;
  }
}

/* ========== Smooth transitions for theme ========== */
.app-header,
.input-area,
.input-container,
.feature-card,
.message-content,
.typing-dots,
.login-card {
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

/* ========== Ripple effect ========== */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ========== Streaming cursor ========== */
.streaming-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent-1);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
