

:root {
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  
  --bg-color: #0d0a16;
  --text-main: #f0e6f6;
  --text-muted: #aa9cba;
  
  --accent-pink: #ec4899;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  
  
  --glass-bg: rgba(22, 17, 39, 0.45);
  --glass-bg-hover: rgba(30, 24, 52, 0.6);
  --glass-bg-active: rgba(22, 17, 39, 0.7);
  --glass-border: rgba(236, 72, 153, 0.2);
  --glass-border-active: rgba(236, 72, 153, 0.55);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --neon-glow: 0 0 15px rgba(236, 72, 153, 0.35);
  
  --top-bar-height: 44px;
}


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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}



.wallpaper-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('wallpaper.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 40%, rgba(9, 7, 17, 0.6) 100%);
  mix-blend-mode: multiply;
  z-index: -1;
}



#top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--top-bar-height);
  background: rgba(13, 10, 22, 0.45);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  z-index: 9999;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.system-brand {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.15);
}

.system-menu {
  display: flex;
  gap: 8px;
}

.menu-trigger {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.menu-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-pink);
}

.top-bar-center {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.system-indicators {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.clock-display {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}



#desktop {
  position: relative;
  width: 100%;
  height: calc(100% - var(--top-bar-height));
  top: var(--top-bar-height);
  padding: 24px;
}

.desktop-icons {
  display: grid;
  grid-template-rows: repeat(auto-fill, 90px);
  grid-auto-flow: column;
  gap: 24px;
  width: max-content;
  max-height: 100%;
  position: absolute;
  z-index: 10;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 84px;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.desktop-icon:hover {
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--neon-glow);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.desktop-icon:hover .icon-wrapper {
  transform: scale(1.08);
}


.welcome-icon {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}
.notes-icon {
  background: linear-gradient(135deg, #f59e0b, #ec4899);
}
.devlogs-icon {
  background: linear-gradient(135deg, #10b981, #3b82f6);
}
.terminal-icon {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
}

.icon-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  text-align: center;
  max-width: 76px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



.window {
  position: absolute;
  min-width: 320px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  z-index: 100;
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.window.active-window {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  border-color: var(--glass-border-active);
  box-shadow: var(--glass-shadow), var(--neon-glow);
}

.window.inactive-window {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.window-header {
  padding: 10px 14px;
  background: rgba(13, 10, 22, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  cursor: grab;
}

.window-header:active {
  cursor: grabbing;
}

.window-controls {
  display: flex;
  gap: 8px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s ease;
}

.window-dot:hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
}

.dot-close { background-color: #ef4444; }
.dot-min { background-color: #eab308; }
.dot-max { background-color: #22c55e; }

.window-title {
  flex-grow: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
  margin-right: 32px; 
}

.window-spacer {
  width: 0;
}

.window-content {
  flex-grow: 1;
  overflow-y: auto;
  position: relative;
}



#window-welcome {
  width: 580px;
  height: 420px;
}

.welcome-app {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.welcome-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-avatar {
  font-size: 3rem;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neon-glow);
}

.hero-details h1 {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-details .subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bio-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-pink);
  margin-bottom: 6px;
}

.bio-section p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-main);
}

.interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px;
}

.grid-card h4 {
  font-size: 0.85rem;
  color: var(--accent-purple);
  margin-bottom: 4px;
}

.grid-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.welcome-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.accent-btn, .nav-btn, .danger-btn {
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.accent-btn {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  color: #fff;
}

.accent-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--neon-glow);
}

.nav-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.danger-btn {
  background: rgba(239, 68, 110, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 110, 0.3);
}

.danger-btn:hover {
  background: rgba(239, 68, 110, 0.3);
}



#window-notes {
  width: 680px;
  height: 440px;
}

.notes-app {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 100%;
}

.notes-sidebar {
  background: rgba(10, 8, 18, 0.35);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sidebar-header {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--accent-pink);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.icon-btn:hover {
  background: rgba(236, 72, 153, 0.15);
}

.notes-list-container {
  list-style: none;
  overflow-y: auto;
  flex-grow: 1;
}

.note-item {
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.note-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.note-item.active-note {
  background: rgba(236, 72, 153, 0.1);
  border-left: 3px solid var(--accent-pink);
}

.note-item-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.note-item-preview {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notes-workspace {
  display: flex;
  flex-direction: column;
  padding: 16px;
  height: 100%;
}

.note-title-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  outline: none;
}

.note-body-textarea {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.85rem;
  resize: none;
  flex-grow: 1;
  outline: none;
  line-height: 1.5;
}

.notes-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#save-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}



#window-devlogs {
  width: 620px;
  height: 430px;
}

.devlogs-app {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 100%;
}

.devlogs-sidebar {
  background: rgba(10, 8, 18, 0.35);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  overflow-y: auto;
  height: 100%;
}

.devlogs-menu-list {
  list-style: none;
}

.devlog-menu-item {
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.devlog-menu-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.devlog-menu-item.active {
  background: rgba(168, 85, 247, 0.1);
  border-left: 3px solid var(--accent-purple);
}

.log-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-purple);
}

.log-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.log-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-date {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.devlogs-viewer {
  padding: 20px;
  overflow-y: auto;
  height: 100%;
}

.devlog-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
}

.devlog-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.devlog-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--text-main);
}

.devlog-content ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.devlog-content li {
  font-size: 0.85rem;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--text-main);
}

.devlog-content blockquote {
  border-left: 3px solid var(--accent-purple);
  padding-left: 12px;
  margin: 14px 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.devlog-content code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 5px;
  border-radius: 4px;
}



#window-terminal {
  width: 640px;
  height: 400px;
}

.terminal-app {
  background-color: rgba(6, 4, 10, 0.95);
  font-family: var(--font-mono);
  color: #38bdf8;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.terminal-body {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terminal-welcome {
  color: #a78bfa;
}

.terminal-ascii {
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 8px;
}

.term-highlight {
  color: var(--accent-pink);
  font-weight: 600;
}

.terminal-prompt {
  color: #ec4899;
  margin-right: 8px;
  font-weight: 600;
}

.terminal-input-line {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

#terminal-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  flex-grow: 1;
  outline: none;
}

.terminal-output-line {
  line-height: 1.4;
  font-size: 0.85rem;
}

.terminal-output-line.cmd-echo {
  color: #f472b6;
  font-weight: 500;
}

.terminal-output-line.system-msg {
  color: #cbd5e1;
}

.terminal-output-line.error-msg {
  color: #f87171;
}

.neofetch-container {
  display: flex;
  gap: 24px;
  margin: 10px 0;
  line-height: 1.3;
}

.neofetch-logo {
  color: var(--accent-pink);
  font-weight: 700;
}

.neofetch-info {
  color: var(--text-main);
}

.neofetch-title {
  color: var(--accent-purple);
  font-weight: 700;
}

.neofetch-item {
  margin-top: 4px;
}

.neofetch-label {
  color: var(--accent-pink);
  font-weight: 500;
}


.matrix-line {
  color: #22c55e;
  text-shadow: 0 0 5px rgba(34, 197, 94, 0.5);
  font-size: 0.8rem;
}



.roulette-icon {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}

#window-roulette {
  width: 420px;
  height: 440px;
}

.roulette-app {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.roulette-coin {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border: 4px solid rgba(245, 158, 11, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
  transition: transform 0.1s ease;
}

.roulette-coin.spinning {
  animation: coinSpin 0.6s ease-in-out;
}

@keyframes coinSpin {
  0%   { transform: rotateY(0deg) scale(1); }
  25%  { transform: rotateY(180deg) scale(0.8); }
  50%  { transform: rotateY(360deg) scale(1.1); }
  75%  { transform: rotateY(540deg) scale(0.9); }
  100% { transform: rotateY(720deg) scale(1); }
}

.roulette-coin.win {
  background: linear-gradient(135deg, #22c55e, #10b981);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.roulette-coin.lose {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

.roulette-heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.roulette-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 280px;
}

.roulette-btn {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  letter-spacing: 0.5px;
}

.roulette-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.roulette-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.roulette-result {
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.4em;
  color: var(--text-main);
}

.roulette-result.win-text {
  color: #22c55e;
}

.roulette-result.lose-text {
  color: #ef4444;
}

.roulette-restore-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 20px;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.roulette-restore-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.roulette-stats {
  display: flex;
  gap: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.roulette-stats strong {
  color: var(--accent-pink);
}


.desktop-icon.wiped {
  opacity: 0;
  transform: scale(0) rotate(45deg);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}





::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(236, 72, 153, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(236, 72, 153, 0.35);
}



#login-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0a0714;
  background-image: url('wallpaper.png');
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#login-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 14, 0.75);
  z-index: 0;
}

#login-screen.hidden {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

.login-card {
  position: relative;
  z-index: 1;
  background: rgba(18, 14, 32, 0.75);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: 20px;
  padding: 48px 40px 40px;
  width: 380px;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(236, 72, 153, 0.12);
}

.login-logo {
  font-size: 2.4rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.login-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-label {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.login-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.login-input:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}

.login-btn {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  letter-spacing: 0.5px;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.login-btn:active {
  transform: translateY(0);
}

.login-error {
  font-size: 0.8rem;
  color: #f87171;
  min-height: 1.2em;
  margin-top: 4px;
}


#pc-name-display {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.85rem;
}



.asciicam-icon {
  background: linear-gradient(135deg, #22d3ee, #a855f7);
}

#window-asciicam {
  width: 680px;
  height: 520px;
}

.asciicam-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(4, 3, 10, 0.97);
}


.asciicam-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  background: rgba(10, 8, 20, 0.8);
}

.ascii-ctrl-btn {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.ascii-start {
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #fff;
}
.ascii-start:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

.ascii-stop {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.ascii-stop:hover { background: rgba(239, 68, 68, 0.35); }

.ascii-snap {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.ascii-snap:hover { background: rgba(34, 197, 94, 0.3); }

.ascii-mode-group,
.ascii-res-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}

.ascii-mode-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.ascii-select {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.75rem;
  padding: 4px 8px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.ascii-select:focus {
  border-color: var(--accent-purple);
}


.asciicam-screen {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: stretch;
}


.asciicam-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.ascii-placeholder-icon {
  font-size: 3.5rem;
  opacity: 0.4;
  animation: pulse-cam 2.5s ease-in-out infinite;
}

@keyframes pulse-cam {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 0.65; }
}

.asciicam-placeholder p {
  text-align: center;
  line-height: 1.5;
}

.asciicam-placeholder strong {
  color: #22d3ee;
}

.ascii-sub {
  font-size: 0.75rem;
  color: rgba(170, 156, 186, 0.6);
}


.ascii-output {
  font-family: 'Courier New', 'Fira Code', monospace;
  font-size: 6px;
  line-height: 1.05;
  letter-spacing: 0.5px;
  white-space: pre;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 6px 8px;
  margin: 0;
  background: transparent;
  
  color: #22c55e;
  text-shadow: 0 0 4px rgba(34, 197, 94, 0.45);
  user-select: text;
}


.ascii-output.mode-green  { color: #22c55e; text-shadow: 0 0 4px rgba(34, 197, 94, 0.45); }
.ascii-output.mode-pink   { color: #f472b6; text-shadow: 0 0 4px rgba(244, 114, 182, 0.45); }
.ascii-output.mode-cyan   { color: #22d3ee; text-shadow: 0 0 4px rgba(34, 211, 238, 0.45); }
.ascii-output.mode-white  { color: #e2e8f0; text-shadow: none; }
.ascii-output.mode-color  { color: inherit; text-shadow: none; }


.asciicam-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 8, 20, 0.8);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.ascii-fps    { color: #22d3ee; }
.ascii-chars  { color: #a78bfa; }
.ascii-status { margin-left: auto; font-weight: 600; }
.ascii-status.live { color: #22c55e; }
.ascii-status.offline { color: var(--text-muted); }

