/* ============================================================
   HOOKIE.NET — Pages
   Page-specific styles: login, profile, messages, settings
   ============================================================ */

/* =============================================
   LOGIN / REGISTER PAGE  (corporate refresh)
============================================= */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ---- Left branding panel ---- */
.auth-left {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 52px;
}

/* Subtle grid */
.auth-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Single restrained glow */
.auth-left-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,142,255,0.14) 0%, transparent 70%);
  bottom: -140px;
  right: -140px;
  pointer-events: none;
}

.auth-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--text);
}

.auth-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--flame);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-logo-icon svg { width: 18px; height: 18px; fill: white; }

.auth-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.auth-logo-name span { color: var(--flame); }

/* Brand body */
.auth-branding {
  position: relative;
  z-index: 2;
}

.auth-headline {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.auth-headline em { font-style: normal; color: var(--flame-2); }

.auth-tagline {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: var(--space-10);
}

/* Stats grid */
.auth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.auth-stat {
  background: var(--bg-2);
  padding: var(--space-5);
}

.auth-stat-num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.auth-stat-label {
  font-size: 0.73rem;
  color: var(--text-3);
  margin-top: 2px;
  font-weight: 500;
}

/* Features list (signup panel) */
.auth-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.auth-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.auth-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(76,142,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-feature-icon svg { width: 15px; height: 15px; color: var(--flame-2); }

.auth-feature h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.auth-feature p {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* Testimonial */
.auth-testimonial {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  background: var(--bg-2);
}

.auth-testimonial p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.auth-testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.auth-testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-2);
  overflow: hidden;
  flex-shrink: 0;
}

.auth-testimonial-avatar img { width: 100%; height: 100%; display: block; }

.auth-testimonial-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.auth-testimonial-location {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: 1px;
}

/* Footer links */
.auth-left-footer { position: relative; z-index: 2; }

.auth-left-footer a {
  font-size: 0.73rem;
  color: var(--text-3);
  text-decoration: none;
  margin-right: var(--space-5);
  transition: color var(--dur-fast);
}

.auth-left-footer a:hover { color: var(--text-2); }

/* ---- Right form panel ---- */
.auth-right {
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  overflow-y: auto;
}

.auth-form-wrap {
  width: 100%;
  max-width: 410px;
  animation: fadeInUp var(--dur-slow) var(--ease);
}

.auth-form-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.auth-form-sub {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: var(--space-8);
}

/* Social buttons */
.auth-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.btn-auth-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}

.btn-auth-social:hover { background: var(--surface-2); }
.btn-auth-social svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.auth-divider-line { flex: 1; height: 1px; background: var(--border); }
.auth-divider-text { font-size: 0.75rem; color: var(--text-3); font-weight: 500; }

/* Form sections */
.auth-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: var(--space-3);
  margin-top: var(--space-6);
}

.auth-section-label:first-of-type { margin-top: 0; }

/* Fields */
.auth-field { margin-bottom: var(--space-4); }

.auth-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.auth-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.auth-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.auth-field-label-row label { margin-bottom: 0; }
.auth-field-label-row a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--flame-2);
  text-decoration: none;
}
.auth-field-label-row a:hover { color: var(--flame-3); }

.auth-hint {
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--text-3);
}

.auth-input-wrap { position: relative; }

.auth-input-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-3);
  pointer-events: none;
}

.auth-input-wrap input,
.auth-input-wrap select {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  appearance: none;
}

.auth-input-wrap input:focus,
.auth-input-wrap select:focus {
  outline: none;
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(76,142,255,0.15);
}

.auth-input-wrap input::placeholder { color: var(--text-3); }

/* Password strength */
.auth-pw-strength {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

.auth-pw-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--border-2);
  transition: background var(--dur-med);
}

.auth-pw-bar.weak   { background: var(--error); }
.auth-pw-bar.fair   { background: var(--amber); }
.auth-pw-bar.good   { background: var(--teal); }
.auth-pw-label { font-size: 0.7rem; color: var(--text-3); min-width: 38px; }

/* Remember / Terms checkbox */
.auth-check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: var(--space-5);
  margin-top: 4px;
}

.auth-check-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: var(--flame);
  flex-shrink: 0;
}

.auth-check-row label {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
  cursor: pointer;
}

.auth-check-row a { color: var(--flame-2); font-weight: 500; text-decoration: none; }
.auth-check-row a:hover { color: var(--flame-3); }

/* Terms note */
.auth-terms {
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-3);
  margin-top: var(--space-5);
  line-height: 1.6;
}

.auth-terms a { color: var(--flame-2); text-decoration: none; }

/* Switch link */
.auth-switch {
  text-align: center;
  margin-top: var(--space-6);
  font-size: 0.85rem;
  color: var(--text-2);
}

.auth-switch a {
  color: var(--flame-2);
  font-weight: 600;
  text-decoration: none;
}

.auth-switch a:hover { color: var(--flame-3); }

/* Responsive */
@media (max-width: 768px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 40px 24px; }
  .auth-field-grid { grid-template-columns: 1fr; }
}

/* =============================================
   PROFILE PAGE
============================================= */
.profile-page-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-6);
  max-width: 1100px;
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-height) + var(--space-6));
}

.profile-cover {
  height: 140px;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--surface-2) 100%);
  position: relative;
  overflow: hidden;
}

.profile-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 50% 100%, rgba(76,142,255,0.15) 0%, transparent 70%);
}

.profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin: -44px 0 0 var(--space-5);
}

.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid var(--bg-2);
  overflow: hidden;
  background: var(--bg-3);
}

.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

.profile-avatar-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: var(--online);
  border-radius: 50%;
  border: 2px solid var(--bg-2);
}

.profile-body { padding: var(--space-3) var(--space-5) var(--space-5); }

.profile-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.profile-handle {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-top: 2px;
}

.profile-bio {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: var(--space-4) 0;
}

.profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.profile-meta-item {
  font-size: 0.78rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 4px;
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-1);
  border-top: 1px solid var(--border);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
}

.profile-stat {
  text-align: center;
}

.profile-stat-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.profile-stat-label {
  font-size: 0.68rem;
  color: var(--text-3);
}

/* Profile right column */
.profile-right {}

.profile-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

.profile-section-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.photo-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
  transition: transform var(--dur-med);
}

.photo-thumb:hover { transform: scale(0.98); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   MESSAGES PAGE
============================================= */
.messages-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: calc(100vh - var(--nav-height));
  overflow: hidden;
}

.inbox-panel {
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.inbox-header {
  padding: var(--space-5);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.inbox-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.inbox-search {
  position: relative;
}

.inbox-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-pill);
  padding: 8px 16px 8px 36px;
  font-size: 0.82rem;
}

.inbox-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--text-3);
}

.inbox-list {
  overflow-y: auto;
  flex: 1;
}

.inbox-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  transition: background var(--dur-fast);
  border-left: 3px solid transparent;
}

.inbox-item:hover { background: var(--surface); }
.inbox-item.active {
  background: rgba(76,142,255,0.06);
  border-left-color: var(--flame);
}

.inbox-item-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.inbox-item-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.inbox-item-status {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--online);
  border: 2px solid var(--bg-2);
}

.inbox-item-info { flex: 1; min-width: 0; }
.inbox-item-name { font-size: 0.875rem; font-weight: 600; }

.inbox-item-preview {
  font-size: 0.78rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.inbox-item-meta { text-align: right; flex-shrink: 0; }

.inbox-item-time {
  font-size: 0.68rem;
  color: var(--text-3);
}

.inbox-unread {
  width: 18px;
  height: 18px;
  background: var(--flame);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-top: 4px;
}

/* Chat panel */
.chat-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--flame);
}

.chat-header-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-header-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.chat-header-status { font-size: 0.73rem; color: var(--online); display: flex; align-items: center; gap: 4px; }
.chat-header-actions { margin-left: auto; display: flex; gap: var(--space-2); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.chat-date-divider {
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-3);
  position: relative;
  margin: var(--space-2) 0;
}

.chat-date-divider::before,
.chat-date-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}

.chat-date-divider::before { left: 0; }
.chat-date-divider::after  { right: 0; }

.message-row {
  display: flex;
  gap: var(--space-2);
  max-width: 75%;
}

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

.message-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: auto;
}

.message-avatar img { width: 100%; height: 100%; object-fit: cover; }

.message-bubble {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-bottom-left-radius: var(--radius-xs);
  padding: var(--space-3) var(--space-4);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
}

.message-row.me .message-bubble {
  background: var(--grad-brand);
  border: none;
  border-radius: var(--radius);
  border-bottom-right-radius: var(--radius-xs);
  color: #fff;
}

.message-time {
  font-size: 0.63rem;
  color: var(--text-3);
  margin-top: 4px;
  padding: 0 var(--space-2);
}

.message-row.me .message-time { text-align: right; }

.chat-input-bar {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  display: flex;
  gap: var(--space-3);
  align-items: flex-end;
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  font-size: 0.875rem;
  color: var(--text);
  resize: none;
  max-height: 120px;
  line-height: 1.5;
  transition: border-color var(--dur-med);
}

.chat-input:focus {
  border-color: rgba(76,142,255,0.4);
}

.chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-fast), box-shadow var(--dur-med);
  box-shadow: 0 4px 16px rgba(76,142,255,0.3);
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(76,142,255,0.45);
}

/* Empty chat state */
.chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
  color: var(--text-3);
}

.chat-empty-icon {
  font-size: 3.5rem;
  opacity: 0.5;
}

/* =============================================
   SETTINGS PAGE
============================================= */
.settings-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-6);
  max-width: 960px;
}

.settings-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-6));
  height: fit-content;
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 9px var(--space-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--dur-fast);
}

.settings-nav-item:hover { background: var(--surface-2); color: var(--text); }
.settings-nav-item.active { background: rgba(76,142,255,0.1); color: var(--flame-2); }

.settings-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
}

.settings-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.settings-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.settings-row:last-child { border-bottom: none; }

.settings-row-info { flex: 1; }
.settings-row-label { font-size: 0.875rem; font-weight: 600; }
.settings-row-desc  { font-size: 0.75rem; color: var(--text-3); margin-top: 2px; }

/* Toggle switch */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur-med);
}

.toggle-track::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-3);
  top: 2px;
  left: 2px;
  transition: transform var(--dur-med) var(--ease-bounce), background var(--dur-med);
}

.toggle input:checked + .toggle-track {
  background: rgba(76, 142, 255, 0.2);
  border-color: var(--flame);
}

.toggle input:checked + .toggle-track::before {
  transform: translateX(20px);
  background: var(--flame);
}

/* =============================================
   404 PAGE
============================================= */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
}

.error-content {
  max-width: 480px;
  animation: fadeInUp var(--dur-slow) var(--ease);
}

.error-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
}

.error-title {
  font-size: 1.6rem;
  margin-bottom: var(--space-3);
}

.error-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

/* =============================================
   RESPONSIVE PAGES
============================================= */
@media (max-width: 900px) {
  .auth-page           { grid-template-columns: 1fr; }
  .auth-left           { display: none; }
  .auth-right          { padding: var(--space-8) var(--space-5); }
  .profile-page-grid   { grid-template-columns: 1fr; }
  .profile-card        { position: static; }
  .settings-grid       { grid-template-columns: 1fr; }
  .settings-nav        { position: static; }
  .messages-layout     { grid-template-columns: 1fr; }
  .inbox-panel         { display: none; }
}

@media (max-width: 640px) {
  .chat-messages       { padding: var(--space-4); }
  .chat-input-bar      { padding: var(--space-3) var(--space-4); }
}
