/* =====================================================
   FaharasGPT - Unified Stylesheet
   Combines homepage and app interface styles
   ===================================================== */

/* CSS Variables */
:root {
  --bg: #0a0f0a;
  --panel: #0e140f;
  --text: #d6ffd9;
  --muted: #7ac085;
  --line: #17341c;
  --accent: #48ff84;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0,0,0,.35);
  --danger: #ff5f56;
  --warning: #ffbd2e;
  --info: #5AC8FA;
  --purple: #AF52DE;
  --orange: #FF9500;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Layout Components */
.frame {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px;
}

.term {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px dashed var(--line);
  overflow: hidden;
}

.dots {
  display: flex;
  gap: 6px;
  margin-right: 6px;
  flex-shrink: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.r { background: #ff5f56; }
.y { background: #ffbd2e; }
.g { background: #27c93f; }

.title {
  font-weight: 800;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.title::-webkit-scrollbar { height: 4px; }
.title::-webkit-scrollbar-track { background: transparent; }
.title::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.title::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.cmd {
  padding: 12px;
}

/* Button Styles */
.btn {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn.primary {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.danger {
  border-color: var(--danger);
  color: var(--danger);
}

.btn.warning {
  border-color: var(--warning);
  color: var(--warning);
}

.btn.info {
  border-color: var(--info);
  color: var(--info);
}

.btn.purple {
  border-color: var(--purple);
  color: var(--purple);
}

.btn.small {
  padding: 4px 8px;
  font-size: 10px;
}

.btn.icon {
  padding: 6px;
  min-width: 32px;
  justify-content: center;
}

.btn:hover svg {
  fill: currentColor;
}

/* SVG Icons */
.icon-copy, .icon-share, .icon-edit, .icon-delete, .icon-folder, .icon-plus, .icon-sync, .icon-export, .icon-import, .icon-trash, .icon-settings {
  width: 16px;
  height: 16px;
  fill: currentColor;
  color: inherit;
}

/* Modal/Overlay System */
.overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  z-index: 1000;
}

.modal {
  width: min(780px, 95vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal.small {
  width: min(420px, 95vw);
}

.modal .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
}

.modal .bar .dots {
  display: flex;
  gap: 6px;
  margin-right: 6px;
}

.modal .bar .title {
  font-weight: 800;
  color: var(--accent);
}

.modal .body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--panel);
}

.modal .body textarea {
  width: 100%;
  min-height: 200px;
  border: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  color: inherit;
  border-radius: 8px;
  padding: 12px;
  resize: vertical;
  font: inherit;
}

.modal .body input {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  color: inherit;
  border-radius: 8px;
  margin-bottom: 10px;
  font: inherit;
}

.modal .body select {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  color: var(--text);
  border-radius: 8px;
  margin-bottom: 10px;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.modal .body select option {
  background: var(--panel);
  color: var(--text);
  padding: 8px;
  border: none;
  font: inherit;
}

.modal .body input:focus, .modal .body textarea:focus, .modal .body select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(72, 255, 132, 0.1);
}

.modal .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  border-top: 1px dashed var(--line);
  background: rgba(23, 52, 28, .2);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Toast Notification */
#toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) scale(.98);
  opacity: 0;
  transition: all .3s ease;
  min-width: 220px;
  z-index: 2000;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

#toast .bar {
  background: rgba(23, 52, 28, .3);
  padding: 8px 12px;
  border-bottom: 1px dashed var(--line);
}

#toast .bar .title {
  color: var(--accent);
  font-size: 12px;
}

#toast-msg {
  padding: 10px 12px;
  color: var(--text);
  font-size: 13px;
}

/* Top Bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 15px;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(23, 52, 28, .3);
  min-width: 200px;
}

.logo-section:hover {
  border-color: var(--accent);
  background: rgba(72, 255, 132, 0.1);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  color: var(--bg);
  flex-shrink: 0;
}

.logo-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.logo-name {
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 2px;
}

.logo-tagline {
  font-size: 11px;
  color: var(--muted);
}

/* User Section */
.user-section {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding: 8px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(23, 52, 28, 0.3);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 200px;
}

.user-section:hover {
  border-color: var(--accent);
  background: rgba(72, 255, 132, 0.1);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: var(--bg);
  flex-shrink: 0;
}

.user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.user-name {
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}

.sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sync-dot.online {
  background: var(--accent);
}

.sync-dot.offline {
  background: var(--danger);
}

.dropdown-arrow {
  margin-left: 8px;
  transition: transform 0.2s;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}

.user-section.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* User Dropdown Menu */
.user-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 100;
  min-width: 280px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 12px 15px;
  border-bottom: 1px dashed var(--line);
  background: rgba(23, 52, 28, 0.3);
  font-size: 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
}

.dropdown-section {
  padding: 8px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.dropdown-item svg {
  fill: currentColor;
  color: inherit;
}

.dropdown-item:hover {
  background: rgba(72, 255, 132, 0.1);
  color: var(--accent);
}

.dropdown-item:hover svg {
  fill: var(--accent);
}

.dropdown-item.danger {
  color: var(--danger);
}

.dropdown-item.danger:hover {
  background: rgba(255, 95, 86, 0.1);
}

.dropdown-item.danger svg {
  fill: var(--danger);
}

.dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

/* Search Container */
.search-container {
  flex: 1;
  position: relative;
  max-width: 500px;
  margin: 0 20px;
}

.search-input {
  width: 100%;
  padding: 8px 40px 8px 12px;
  border: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  color: var(--text);
  border-radius: 6px;
  font: inherit;
  transition: all .2s;
}

.search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(72, 255, 132, .1);
}

.search-input::placeholder {
  color: var(--muted);
  opacity: .7;
}

/* Action Menu */
.action-menu {
  display: flex;
  gap: 8px;
}

.menu-btn {
  padding: 8px 12px;
  border: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  transition: all .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.menu-btn:hover {
  background: rgba(72, 255, 132, .1);
  border-color: var(--accent);
  color: var(--accent);
}

.menu-btn.primary {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-btn.secondary {
  border-color: var(--muted);
  color: var(--muted);
}

.menu-btn.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(72, 255, 132, .1);
}

/* Add Prompt Button */
.add-prompt-btn {
  padding: 8px 12px;
  border: 1px solid var(--accent);
  background: rgba(72, 255, 132, 0.1);
  color: var(--accent);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.add-prompt-btn svg {
  fill: currentColor;
  color: var(--accent);
}

.add-prompt-btn:hover {
  background: rgba(72, 255, 132, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(72, 255, 132, 0.3);
}

.add-prompt-btn:hover svg {
  fill: var(--accent);
}

.add-prompt-btn .btn-text {
  display: inline;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--panel);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.nav-tabs::-webkit-scrollbar {
  height: 6px;
}

.nav-tabs::-webkit-scrollbar-track {
  background: transparent;
}

.nav-tabs::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.nav-tabs::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

.nav-tab {
  flex: 0 0 auto;
  padding: 12px 16px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  border: none;
  border-right: 1px dashed var(--line);
  transition: all .2s;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.nav-tab:last-child {
  border-right: none;
}

.nav-tab.active {
  background: var(--accent);
  color: var(--bg);
  border-radius: 8px 0px 0px 8px;
}

.nav-tab:hover:not(.active) {
  background: rgba(72, 255, 132, .1);
  color: var(--accent);
}

/* Hero Section */
.hero-section {
  margin-bottom: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-title {
  font-size: 28px;
  color: var(--accent);
  font-weight: 800;
  margin: 0;
  text-shadow: 0 0 20px rgba(72, 255, 132, .3);
}

.hero-description {
  padding: 15px;
  background: rgba(23, 52, 28, .1);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.hero-description p {
  margin: 0 0 15px 0;
  line-height: 1.6;
  color: var(--text);
  font-size: 14px;
}

.hero-steps {
  margin: 15px 0;
  padding: 0;
  list-style: none;
}

.hero-step {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text);
}

.hero-step::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
  font-size: 16px;
}

/* Newsletter Section */
.newsletter-title {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.newsletter-desc {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.newsletter-input {
  flex: 1;
  padding: 8px 10px;
  border: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  color: var(--text);
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(72, 255, 132, .1);
}

.newsletter-input::placeholder {
  color: var(--muted);
  opacity: .7;
}

.btn-newsletter {
  padding: 8px 16px;
  border: 1px dashed var(--accent);
  background: rgba(72, 255, 132, .1);
  color: var(--accent);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  transition: all .2s;
  white-space: nowrap;
}

.btn-newsletter:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-newsletter:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.newsletter-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.newsletter-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--muted);
}

.newsletter-benefit::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  font-size: 12px;
}

/* Login Terminal */
.login-terminal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
}

.login-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  overflow: hidden;
}

.login-content {
  padding: 15px;
}

.auth-form {
  width: 100%;
}

.login-prompt {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 12px;
}

.login-desc {
  padding: 8px 10px;
  border: 1px dashed var(--accent);
  background: rgba(72, 255, 132, .05);
  color: var(--muted);
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 12px;
  text-align: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-field input {
  width: 100%;
  padding: 8px 10px;
  border: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  color: var(--text);
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
}

.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(72, 255, 132, .1);
}

.form-field input::placeholder {
  color: var(--muted);
  opacity: .7;
}

.form-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-login, .btn-register {
  flex: 1;
  padding: 8px;
  border: 1px dashed var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  transition: all .2s;
}

.btn-login {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(72, 255, 132, .1);
}

.btn-register {
  border-color: var(--muted);
  color: var(--muted);
}

.btn-login:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-register:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(72, 255, 132, .1);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 15px 0;
  color: var(--muted);
  font-size: 11px;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  padding: 0 12px;
}

.btn-google {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-google:hover {
  background: rgba(72, 255, 132, .1);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-google svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Newsletter Terminal */
.newsletter-terminal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
}

.newsletter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  overflow: hidden;
}

.newsletter-content {
  padding: 15px;
}

/* Hero Stats Section */
.hero-stats {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.stats-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  overflow: hidden;
}

.stats-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-terminal {
  padding: 15px;
  border-right: 1px dashed var(--line);
  text-align: center;
  background: rgba(23, 52, 28, .1);
  transition: all .2s;
}

.stat-terminal:last-child {
  border-right: none;
}

.stat-terminal:hover {
  background: rgba(72, 255, 132, .05);
}

.stat-label {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
  font-family: monospace;
}

.stat-meta {
  font-size: 9px;
  color: var(--muted);
  opacity: .8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Terminal Stats Section */
.terminal-stats {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.stats-bar .dots {
  display: flex;
  gap: 6px;
  margin-right: 6px;
}

.stats-bar .title {
  font-weight: 800;
  font-size: 12px;
  color: var(--accent);
}

/* Quick Prompt Builder */
.prompt-builder-wrapper {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.builder-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  overflow: hidden;
}

.prompt-builder {
  padding: 20px;
}

.builder-header {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 20px;
  font-family: monospace;
  opacity: .8;
}

.builder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  height: 280px;
}

.builder-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.builder-field {
  display: flex;
  align-items: center;
  gap: 12px;
}

.builder-field label {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  opacity: .9;
  min-width: 120px;
  flex-shrink: 0;
}

.builder-field select, .builder-field input {
  flex: 1;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  background: rgba(23, 52, 28, .2);
  color: var(--text);
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  transition: all .2s;
  cursor: pointer;
}

.builder-field input {
  cursor: text;
}

.builder-field input::placeholder {
  color: var(--muted);
  opacity: .7;
}

.builder-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348ff84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 18px;
  padding-right: 35px;
}

.builder-field select:hover, .builder-field input:hover {
  border-color: var(--accent);
  background-color: rgba(72, 255, 132, .05);
}

.builder-field select:focus, .builder-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(72, 255, 132, .1);
  background-color: rgba(72, 255, 132, .08);
}

.builder-field select option {
  background: var(--panel);
  color: var(--text);
  padding: 8px;
  font-family: monospace;
}

.builder-field select option:checked {
  background: var(--accent);
  color: var(--bg);
}

.builder-result {
  padding: 15px;
  background: rgba(72, 255, 132, .1);
  border: 1px dashed rgba(72, 255, 132, .3);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.builder-result::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan-line 3s linear infinite;
}

@keyframes scan-line {
  0% { left: -100%; }
  100% { left: 100%; }
}

.builder-result-label {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.builder-result-value {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  font-family: monospace;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding: 8px;
  border: 1px dashed rgba(72, 255, 132, .3);
  background: rgba(72, 255, 132, .05);
  border-radius: 4px;
  resize: none;
  transition: all .2s;
}

.builder-result-value::placeholder {
  color: var(--muted);
  opacity: .7;
}

.builder-result-value:hover {
  border-color: var(--accent);
  background-color: rgba(72, 255, 132, .08);
}

.builder-result-value:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(72, 255, 132, .1);
  background-color: rgba(72, 255, 132, .1);
}

.builder-result-value::-webkit-scrollbar {
  width: 6px;
}

.builder-result-value::-webkit-scrollbar-track {
  background: transparent;
}

.builder-result-value::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.builder-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-shrink: 0;
}

.builder-btn {
  flex: 1;
  padding: 8px 12px;
  border: 1px dashed var(--accent);
  background: rgba(72, 255, 132, .1);
  color: var(--accent);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
}

.builder-btn:hover:not(:disabled) {
  background: var(--accent);
  color: var(--bg);
}

.builder-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  border-color: var(--muted);
  color: var(--muted);
  background: rgba(122, 192, 133, .1);
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  gap: 20px;
  margin-top: 20px;
}

/* Sidebar */
.sidebar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px;
  height: fit-content;
}

.sidebar h3 {
  margin: 0 0 15px 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.sidebar-item {
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid transparent;
  transition: all .2s;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
}

.sidebar-item:hover {
  background: rgba(72, 255, 132, .1);
  border-color: var(--accent);
  color: var(--accent);
}

.sidebar-badge {
  font-size: 10px;
  padding: 2px 6px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  font-weight: bold;
}

/* Collections Sidebar */
.collection-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.collection-item {
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.collection-item:hover {
  background: rgba(72, 255, 132, 0.1);
  border-color: var(--accent);
}

.collection-item.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.collection-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.collection-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}

.collection-count {
  font-size: 11px;
  opacity: 0.7;
}

.collection-actions {
  opacity: 0;
  transition: opacity 0.2s;
}

.collection-item:hover .collection-actions {
  opacity: 1;
}

/* Main Content Area */
.main-content {
  min-height: 500px;
  max-height: 900px;
}

.featured-grid {
  display: grid;
  gap: 15px;
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.section-title {
  font-size: 16px;
  color: var(--accent);
  font-weight: 800;
}

.section-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.section-link:hover {
  color: var(--accent);
}

/* Terminal-styled prompt cards */
.prompts-grid {
  display: grid;
  gap: 15px;
}

.prompt-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.2s;
  position: relative;
  text-decoration: none;
  display: block;
  color: inherit;
}

.prompt-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(72, 255, 132, 0.2);
}

.prompt-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px dashed var(--line);
  background: rgba(23, 52, 28, 0.3);
  overflow: hidden;
}

.prompt-terminal-bar .dots {
  display: flex;
  gap: 6px;
  margin-right: 6px;
}

.prompt-terminal-bar .title {
  font-weight: 800;
  font-size: 12px;
  color: var(--accent);
}

.prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px 8px 15px;
}

.prompt-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: var(--accent);
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  min-width: 0;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prompt-title::-webkit-scrollbar {
  height: 4px;
}

.prompt-title::-webkit-scrollbar-track {
  background: transparent;
}

.prompt-title::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 2px;
}

.prompt-title::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

.prompt-actions {
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.prompt-card:hover .prompt-actions {
  opacity: 1;
}

.prompt-content {
  background: rgba(23, 52, 28, 0.3);
  padding: 12px;
  border: 1px dashed var(--line);
}

.prompt-text {
  resize: none;
  width: 100%;
  min-height: 80px;
  background: transparent;
  border: none;
  color: var(--text);
  font: inherit;
  outline: none;
}

.prompt-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--muted);
}

.prompt-preview {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prompt-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  padding: 8px 15px 12px 15px;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.prompt-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.prompt-tag {
  padding: 2px 6px;
  background: rgba(72, 255, 132, .1);
  color: var(--accent);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.prompt-stats {
  display: flex;
  gap: 10px;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.blog-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(72, 255, 132, .2);
}

.blog-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-bottom: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
}

.blog-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: rgba(23, 52, 28, .2);
  border-bottom: 1px dashed var(--line);
  display: block;
  min-height: 150px;
  background-image: linear-gradient(45deg, rgba(23, 52, 28, .1) 25%, transparent 25%), linear-gradient(-45deg, rgba(23, 52, 28, .1) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(23, 52, 28, .1) 75%), linear-gradient(-45deg, transparent 75%, rgba(23, 52, 28, .1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.blog-content {
  padding: 12px;
}

.blog-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  font-size: 11px;
  color: var(--muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 30px 0;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(72, 255, 132, .2);
}

.feature-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-bottom: 1px dashed var(--line);
  background: rgba(23, 52, 28, .3);
  overflow: hidden;
}

.feature-content {
  padding: 20px;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-icon {
  width: 32px;
  height: 32px;
  fill: var(--accent);
  flex-shrink: 0;
}

.feature-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
}

.feature-desc {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  text-align: left;
}

/* Shared Prompt Page */
.share-prompt-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.share-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px dashed var(--line);
  background: rgba(23, 52, 28, 0.3);
}

.share-terminal-bar .dots {
  display: flex;
  gap: 6px;
  margin-right: 6px;
}

.share-terminal-bar .title {
  font-weight: 800;
  font-size: 12px;
  color: var(--accent);
}

.share-header {
  padding: 25px 30px;
  text-align: center;
  background: rgba(23, 52, 28, 0.1);
  border-bottom: 1px dashed var(--line);
}

.share-title {
  font-size: 28px;
  color: var(--accent);
  margin: 0 0 10px 0;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(72, 255, 132, 0.3);
}

.share-author {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 15px;
  font-style: italic;
}

.share-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 15px 0;
  font-size: 13px;
  color: var(--muted);
}

.share-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: rgba(23, 52, 28, 0.2);
}

.share-content {
  padding: 30px;
}

.share-content .prompt-content {
  margin: 0;
  background: rgba(23, 52, 28, 0.3);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 20px;
}

.share-content .prompt-text {
  min-height: 150px;
  font-size: 15px;
  line-height: 1.6;
}

.share-actions {
  padding: 20px 30px;
  text-align: center;
  border-top: 1px dashed var(--line);
  background: rgba(23, 52, 28, 0.1);
}

.share-actions .btn {
  margin: 0 8px;
  padding: 12px 24px;
  font-size: 14px;
}

.share-footer {
  text-align: center;
  padding: 20px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px dashed var(--line);
}

/* Platform Updates Widget */
.platform-updates {
  margin-top: 20px;
}

.platform-updates h3 {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 15px 0;
}

.update-item {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
  line-height: 1.6;
}

.update-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.update-title {
  color: var(--accent);
  font-weight: 600;
}

.update-desc {
  color: var(--muted);
  font-size: 11px;
}

/* Empty state and loading styles */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.loading {
  text-align: center;
  padding: 20px;
  color: var(--muted);
}

/* Terminal-styled login forms */
.login-container {
  padding: 40px 20px;
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
  overflow: hidden;
}

.login-ascii {
  font-size: clamp(6px, 2.2vw, 10px);
  line-height: 0.9;
  color: var(--accent);
  margin-bottom: 20px;
  white-space: pre;
  overflow: hidden;
  max-width: 100%;
  transform-origin: top center;
  font-family: 'Courier New', monospace;
  font-weight: normal;
  letter-spacing: -0.5px;
  display: block;
}

.login-title {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 800;
}

.login-subtitle {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 0 10px;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.auth-tab {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  border: none;
  border-right: 1px dashed var(--line);
  transition: all 0.2s;
}

.auth-tab:last-child {
  border-right: none;
}

.auth-tab.active {
  background: var(--accent);
  color: var(--bg);
}

.auth-tab:hover:not(.active) {
  background: rgba(72, 255, 132, 0.1);
  color: var(--accent);
}

.auth-form {
  position: relative;
}

.form-field {
  position: relative;
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1px dashed var(--line);
  background: rgba(23, 52, 28, 0.3);
  color: var(--text);
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.2s;
}

.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(72, 255, 132, 0.1);
}

.form-field input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.auth-form .btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.terminal-prompt {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 14px;
}

.security-note {
  margin-top: 20px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.hidden {
  display: none !important;
}

.color-picker {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}

.color-option {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.color-option.selected {
  border-color: var(--text);
  transform: scale(1.2);
}

.welcome-badge {
  background: var(--accent);
  color: var(--bg);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: bold;
  margin-left: 8px;
  opacity: 0;
  animation: fadeInBounce 0.6s ease-out 0.5s forwards;
}

@keyframes fadeInBounce {
  0% { opacity: 0; transform: scale(0.8); }
  50% { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px dashed var(--line);
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 1200px) {
  .nav-tabs { overflow: visible; }
  .nav-tab { flex: 1; }
}

@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 200px 1fr; gap: 15px; }
  .sidebar:last-child { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 15px; }
  .newsletter-terminal { width: 100%; max-width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .frame { padding: 12px; }
  .top-bar { flex-direction: column; gap: 12px; align-items: stretch; }
  .logo-section, .user-section { justify-content: center; min-width: auto; }
  .search-container { margin: 0; max-width: none; }
  .action-menu { justify-content: center; }
  .add-prompt-btn .btn-text { display: none; }
  .add-prompt-btn { padding: 8px; min-width: 36px; }
  .stats-content { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; gap: 15px; }
  .sidebar { display: none; }
  .builder-layout { grid-template-columns: 1fr; height: auto; }
  .builder-result { height: auto; min-height: 200px; }
  .builder-result-value { height: 300px; min-height: 300px; }
  .builder-field { flex-direction: column; align-items: stretch; gap: 6px; }
  .builder-field label { min-width: auto; margin-bottom: 0; }
  .hero-title { font-size: 22px; }
  .hero-grid { gap: 10px; }
  .login-terminal { width: 100%; max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stat-terminal { padding: 12px; }
  .user-dropdown { right: auto; left: 0; min-width: 100%; }
  .prompt-title { font-size: 15px; padding-right: 4px; -webkit-overflow-scrolling: touch; }
  .prompt-title::-webkit-scrollbar { height: 6px; }
  .prompt-actions { gap: 4px; }
  .prompt-actions .btn { padding: 6px; min-width: 28px; }
}

@media (max-width: 480px) {
  .stat-terminal { padding: 12px; }
  .menu-btn { padding: 8px; }
  .hero-title { font-size: 20px; }
  .hero-description p { font-size: 13px; }
  .bar .title { font-size: 11px; }
  .hero-description { padding: 12px; }
  .builder-btn { font-size: 10px; padding: 6px 8px; }
  .builder-result-value { height: 300px; min-height: 300px; }
  .login-ascii { font-size: clamp(4px, 1.8vw, 6px); margin-bottom: 15px; transform: scale(0.9); }
}

@media (max-width: 360px) {
  .login-ascii { font-size: clamp(3px, 1.5vw, 5px); transform: scale(0.8); }
}