/* ============================================
   CODEFACE.SPACE — COSMIC CIRCUIT CSS
   ============================================ */

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

html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

:root {
  --bg:         #020408;
  --bg2:        #050d15;
  --surface:    #0a1628;
  --border:     #0e2a45;
  --accent:     #00d4ff;
  --accent2:    #00ff88;
  --accent3:    #ff6b35;
  --warn:       #ffcc00;
  --text:       #c8e6ff;
  --muted:      #4a7a9b;
  --glow:       rgba(0, 212, 255, 0.15);
  --glow2:      rgba(0, 255, 136, 0.1);
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  cursor: crosshair;
}

/* ============================================
   BACKGROUND CANVAS
   ============================================ */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 1;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  animation: particleDrift linear infinite;
  opacity: 0;
}

@keyframes particleDrift {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-100px) translateX(var(--drift)); opacity: 0; }
}

/* ============================================
   PAGES
   ============================================ */
.page {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow-y: auto;
  overflow-x: hidden;
}

.page.active {
  display: flex;
  flex-direction: column;
  animation: pageFadeIn 0.6s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

/* ============================================
   LANDING PAGE
   ============================================ */
#page-landing {
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.landing-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
}

/* Orb rings */
.cosmos-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ringRotate 20s linear infinite;
  box-shadow: 0 0 40px rgba(0,212,255,0.05), inset 0 0 40px rgba(0,212,255,0.03);
}

.cosmos-ring-2 {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(0,255,136,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ringRotate 12s linear infinite reverse;
}

.cosmos-ring-3 {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ringRotate 7s linear infinite;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

#orb {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    #00ffff 0%,
    #0088cc 30%,
    #003366 60%,
    #000a1a 100%
  );
  box-shadow:
    0 0 20px #00d4ff,
    0 0 60px rgba(0,212,255,0.4),
    0 0 120px rgba(0,212,255,0.2),
    inset 0 0 30px rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbPulse 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

#orb:hover {
  transform: scale(1.1);
  box-shadow:
    0 0 40px #00d4ff,
    0 0 100px rgba(0,212,255,0.6),
    0 0 200px rgba(0,212,255,0.3),
    inset 0 0 40px rgba(255,255,255,0.2);
}

.orb-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-symbol {
  font-size: 36px;
  color: rgba(255,255,255,0.9);
  animation: orbSymbol 4s ease-in-out infinite;
  text-shadow: 0 0 20px #fff;
}

@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 20px #00d4ff, 0 0 60px rgba(0,212,255,0.4), 0 0 120px rgba(0,212,255,0.2); }
  50%       { box-shadow: 0 0 40px #00d4ff, 0 0 100px rgba(0,212,255,0.6), 0 0 180px rgba(0,212,255,0.3); }
}

@keyframes orbSymbol {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%       { transform: rotate(180deg) scale(1.1); }
}

.landing-text {
  text-align: center;
}

.site-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(0,212,255,0.6);
}

.dot {
  color: var(--accent2);
  text-shadow: 0 0 20px rgba(0,255,136,0.8);
}

.site-tagline {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
  margin-top: 8px;
}

.site-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  animation: subtleBlink 2s ease-in-out infinite;
}

@keyframes subtleBlink {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

.edu-hint {
  max-width: 420px;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: left;
}

.edu-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--accent2);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.edu-hint p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================
   TERMINAL PAGE
   ============================================ */
#page-terminal {
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}

.terminal-wrap {
  width: 100%;
  max-width: 680px;
  background: rgba(2, 8, 20, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,212,255,0.1);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid var(--border);
}

.t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.t-dot.red    { background: #ff5f56; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green  { background: #27c93f; }

.t-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
  letter-spacing: 2px;
}

.terminal-body {
  padding: 24px;
  min-height: 280px;
  position: relative;
}

.terminal-body pre {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: var(--accent2);
  white-space: pre-wrap;
}

.cursor-blink {
  font-family: 'Share Tech Mono', monospace;
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

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

.edu-panel {
  width: 100%;
  max-width: 680px;
}

.edu-card {
  background: rgba(0,255,136,0.05);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.edu-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.edu-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.edu-card p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
}

/* ============================================
   AUTH PAGE
   ============================================ */
#page-auth {
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.auth-container {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.auth-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.auth-box {
  background: rgba(5, 13, 21, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 80px rgba(0,212,255,0.08);
  position: relative;
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-hex {
  font-size: 36px;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(0,212,255,0.6);
  display: block;
  margin-bottom: 10px;
}

.auth-logo h2 {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  letter-spacing: 6px;
  color: var(--accent);
}

.auth-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  font-family: 'Share Tech Mono', monospace;
}

.tab-switch {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: rgba(0,212,255,0.1);
  color: var(--accent);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}

.input-group input,
.input-group select {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0,212,255,0.1);
}

.input-group select {
  cursor: pointer;
}

.id-preview {
  background: rgba(0,255,136,0.05);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 8px;
  padding: 14px 16px;
}

.id-preview-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.id-preview-value {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--accent2);
  word-break: break-all;
  text-shadow: 0 0 10px rgba(0,255,136,0.4);
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,255,136,0.1));
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.auth-btn:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.25), rgba(0,255,136,0.15));
  box-shadow: 0 0 30px rgba(0,212,255,0.2);
  transform: translateY(-1px);
}

.btn-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.auth-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.auth-msg {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  text-align: center;
  min-height: 20px;
  transition: color 0.3s ease;
}

.auth-msg.success { color: var(--accent2); }
.auth-msg.error   { color: #ff4466; }

/* ============================================
   FEED PAGE
   ============================================ */
#page-feed {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* Nav */
.feed-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(2,4,8,0.95);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-hex {
  font-size: 20px;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(0,212,255,0.6);
  animation: orbPulse 3s ease-in-out infinite;
}

.nav-title {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--accent);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.user-nick {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  color: var(--accent2);
  letter-spacing: 1px;
}

.user-id {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}

.logout-btn {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid rgba(255,100,50,0.4);
  border-radius: 4px;
  color: #ff6432;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: rgba(255,100,50,0.1);
  box-shadow: 0 0 15px rgba(255,100,50,0.2);
}

/* Composer */
.composer {
  flex-shrink: 0;
  background: rgba(5,13,21,0.95);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.composer-inner {
  max-width: 860px;
  margin: 0 auto;
}

.composer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.composer-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}

.signal-dots {
  display: flex;
  gap: 4px;
}

.signal-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: signalPulse 1.5s ease-in-out infinite;
}
.signal-dots span:nth-child(2) { animation-delay: 0.3s; }
.signal-dots span:nth-child(3) { animation-delay: 0.6s; }

@keyframes signalPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

.composer textarea {
  width: 100%;
  min-height: 80px;
  max-height: 160px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s ease;
}

.composer textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0,212,255,0.08);
}

.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-select {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tag-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}

.tag-btn {
  padding: 5px 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-btn:hover,
.tag-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,212,255,0.08);
}

.post-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,255,136,0.08));
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.post-btn:hover {
  background: rgba(0,212,255,0.2);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
  transform: translateY(-1px);
}

/* Feed Container */
.feed-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.feed-container::-webkit-scrollbar { width: 4px; }
.feed-container::-webkit-scrollbar-track { background: transparent; }
.feed-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  margin: 0 auto 20px;
}

.feed-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
}

.feed-pulse {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--accent2);
  letter-spacing: 2px;
}

.feed-pulse span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: signalPulse 1s ease-in-out infinite;
}

#feedList {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Post Card */
.post-card {
  background: rgba(5,13,21,0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.3s ease;
  animation: postAppear 0.4s ease forwards;
  position: relative;
  overflow: hidden;
}

.post-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--tag-color, var(--accent));
  border-radius: 3px 0 0 3px;
}

.post-card:hover {
  border-color: rgba(0,212,255,0.2);
  box-shadow: 0 0 30px rgba(0,212,255,0.05);
  transform: translateY(-1px);
}

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

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.post-identity {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.post-nick {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  color: var(--accent2);
  letter-spacing: 1px;
}

.post-id {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--muted);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-tag {
  padding: 3px 10px;
  border-radius: 4px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  border: 1px solid;
}

.post-time {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--muted);
}

.post-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Code blocks inside posts */
.post-body code {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--accent);
}

.post-body pre {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin: 10px 0;
  overflow-x: auto;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--accent2);
  line-height: 1.6;
}

.post-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(14,42,69,0.5);
  flex-wrap: wrap;
}

.grade-btn {
  padding: 5px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.grade-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,212,255,0.08);
}

.grade-btn.voted {
  border-color: var(--accent2);
  color: var(--accent2);
  background: rgba(0,255,136,0.08);
}

.grade-count {
  font-size: 11px;
  font-weight: 600;
}

/* Tag colors */
.tag-INSIGHT  { color: #00d4ff; border-color: #00d4ff; --tag-color: #00d4ff; }
.tag-PATTERN  { color: #a855f7; border-color: #a855f7; --tag-color: #a855f7; }
.tag-BUG      { color: #ff4466; border-color: #ff4466; --tag-color: #ff4466; }
.tag-QUERY    { color: #ffcc00; border-color: #ffcc00; --tag-color: #ffcc00; }
.tag-IDEA     { color: #00ff88; border-color: #00ff88; --tag-color: #00ff88; }

/* Connect Button */
.connect-btn {
  padding: 4px 10px;
  background: transparent;
  border: 1px solid rgba(0,255,136,0.4);
  border-radius: 4px;
  color: var(--accent2);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.connect-btn:hover {
  background: rgba(0,255,136,0.1);
  box-shadow: 0 0 10px rgba(0,255,136,0.2);
}

.connect-btn.connect-sent {
  border-color: var(--accent);
  color: var(--accent);
  cursor: pointer;
}

.connect-btn.connect-sent:hover {
  background: rgba(0,212,255,0.1);
  box-shadow: 0 0 10px rgba(0,212,255,0.2);
}

/* Notification Bell */
.notif-wrap {
  position: relative;
}

.notif-bell {
  position: relative;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--accent);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notif-bell:hover {
  border-color: var(--accent);
  background: rgba(0,212,255,0.08);
}

.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: #ff4466;
  border-radius: 50%;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: #fff;
  align-items: center;
  justify-content: center;
}

.notif-panel {
  display: none;
  position: fixed;
  top: 60px;
  right: 16px;
  width: 320px;
  max-width: calc(100vw - 24px);
  background: rgba(5,13,21,0.98);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 999;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.notif-panel.open { display: block; }

.notif-header {
  padding: 12px 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.notif-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: opacity 0.3s;
}

.notif-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notif-nick {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  color: var(--accent2);
}

.notif-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--muted);
}

.notif-cfid {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: rgba(74,122,155,0.6);
  word-break: break-all;
}

.notif-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.notif-accept, .notif-decline {
  padding: 5px 10px;
  border-radius: 4px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  cursor: pointer;
  border: 1px solid;
  transition: all 0.2s;
}

.notif-accept {
  background: rgba(0,255,136,0.1);
  border-color: var(--accent2);
  color: var(--accent2);
}

.notif-accept:hover { background: rgba(0,255,136,0.2); }

.notif-decline {
  background: rgba(255,68,102,0.1);
  border-color: #ff4466;
  color: #ff4466;
}

.notif-decline:hover { background: rgba(255,68,102,0.2); }

.notif-empty, .notif-done {
  padding: 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* FIX: inbox-panel is now a proper fixed overlay
   Moved outside nav in HTML so position:fixed works correctly on mobile.
   Previously nested inside nav caused Safari/iOS clipping issues. */
.inbox-panel {
  display: none;
  position: fixed;
  top: 60px;
  right: 0;
  width: 340px;
  max-width: 100vw;
  height: calc(100vh - 60px);
  max-height: 480px;
  background: rgba(5,13,21,0.98);
  border: 1px solid var(--border);
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  box-shadow: -4px 0 40px rgba(0,0,0,0.6);
  z-index: 999;
  box-sizing: border-box;
  flex-direction: column;
}

.inbox-panel.open {
  display: flex;
  flex-direction: column;
}

/* Make chat area scrollable and fill space */
#inboxChat {
  display: none;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

#inboxChat.active {
  display: flex;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  min-height: 0;
}

.inbox-thread {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}
.inbox-thread:hover { background: rgba(0,212,255,0.05); }

.thread-nick {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  color: var(--accent2);
}
.thread-preview {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.thread-unread {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* chat-messages defined above in inbox-panel section */

.chat-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}
.chat-bubble.mine {
  align-self: flex-end;
  background: rgba(0,212,255,0.15);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--text);
}
.chat-bubble.theirs {
  align-self: flex-start;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  color: var(--text);
}
.chat-time {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
  text-align: right;
}

.chat-composer {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
}
.chat-composer input {
  flex: 1;
  min-width: 0;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  outline: none;
}
.chat-composer input:focus { border-color: var(--accent); }
.chat-composer button {
  padding: 8px 14px;
  background: rgba(0,212,255,0.15);
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.chat-composer button:hover { background: rgba(0,212,255,0.25); }

/* ============================================
   FEED LAYOUT (feed + profile side panel)
   ============================================ */
.feed-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
  gap: 0;
}

.feed-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* ============================================
   PROFILE PANEL
   ============================================ */
.profile-panel {
  width: 280px;
  flex-shrink: 0;
  padding: 20px 16px;
  border-left: 1px solid var(--border);
  overflow-y: auto;
  background: rgba(2,4,8,0.6);
  backdrop-filter: blur(10px);
}

.profile-toggle {
  display: none;
}

.profile-card {
  position: relative;
  background: rgba(5,13,21,0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  overflow: hidden;
}

.profile-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Profile Orb */
.profile-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.profile-orb-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ringRotate 8s linear infinite;
  box-shadow: 0 0 20px rgba(0,212,255,0.1);
}

.profile-orb-core {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #00ffff, #003366, #000a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(255,255,255,0.9);
  box-shadow: 0 0 15px rgba(0,212,255,0.4);
  animation: orbPulse 3s ease-in-out infinite;
}

.profile-nick {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  color: var(--accent2);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.profile-cfid {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--muted);
  word-break: break-all;
  line-height: 1.5;
  padding: 0 4px;
}

.profile-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.profile-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}

.stat-val {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--accent);
}

.profile-grades-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  text-align: left;
  margin-bottom: 10px;
}

.profile-grades {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-grade {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.grade-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--muted);
  flex: 1;
  text-align: left;
  letter-spacing: 1px;
}

.grade-val {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  color: var(--accent2);
}

.profile-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--accent2);
  letter-spacing: 2px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: signalPulse 1.5s ease-in-out infinite;
}

/* Comments */
.comment-section {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  max-height: 300px;
  overflow-y: auto;
}

.comment-item {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comment-nick {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  color: var(--accent2);
  letter-spacing: 1px;
}

.comment-time {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--muted);
}

.comment-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}

.no-comments {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding: 10px;
}

.comment-composer {
  display: flex;
  gap: 8px;
}

.comment-composer input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  outline: none;
}

.comment-composer input:focus {
  border-color: var(--accent);
}

.comment-composer button {
  padding: 8px 14px;
  background: rgba(0,212,255,0.1);
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.comment-composer button:hover {
  background: rgba(0,212,255,0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .feed-layout { flex-direction: column; }

  /* Mobile: profile panel slides in full width from right */
  .profile-panel {
    width: 100% !important;
    max-width: 100vw !important;
    border-left: none !important;
    border-top: none !important;
    padding: 16px !important;
    order: 0 !important;
    overflow-y: auto !important;
    flex-shrink: 1 !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    z-index: 800 !important;
    background: rgba(5,13,21,0.99) !important;
  }
  .profile-panel.open {
    transform: translateX(0) !important;
  }
  .profile-card {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .profile-toggle {
    display: block;
    width: 100%;
    padding: 8px;
    background: rgba(0,212,255,0.08);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--accent);
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
  }

  .nav-title { display: none; }
  .user-badge { display: none; }
  .feed-nav { padding: 8px 12px; gap: 8px; }

  .post-card { padding: 14px; }
  .post-header { flex-direction: column; gap: 6px; }
  .post-meta { flex-wrap: wrap; gap: 6px; }
  .post-footer { gap: 6px; flex-wrap: wrap; }
  .grade-btn { font-size: 9px; padding: 4px 8px; }

  .composer { padding: 10px 12px; }
  .composer-footer { flex-direction: column; gap: 8px; }
  .tag-select { flex-wrap: wrap; justify-content: flex-start; gap: 4px; }
  .tag-btn { font-size: 9px; padding: 4px 8px; }
  .post-btn { width: 100%; justify-content: center; }

  /* FIX: notif panel fits screen on mobile */
  .notif-panel { 
    width: calc(100vw - 16px); 
    right: 8px; 
  }

  /* FIX: inbox panel - uses --real-vh set by JS for true iOS height */
  .inbox-panel { 
    width: 100vw;
    right: 0;
    left: 0;
    max-width: 100vw;
    border-radius: 0;
    top: 56px;
    height: calc(var(--real-vh, 1vh) * 100 - 56px);
    max-height: calc(var(--real-vh, 1vh) * 100);
  }
  
  /* FIX: chat composer pinned to bottom, safe area for iPhone notch */
  .chat-composer {
    position: sticky;
    bottom: 0;
    background: rgba(5,13,21,0.98);
    flex-shrink: 0;
    z-index: 10;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .auth-box { padding: 20px 16px; }
  .input-row { grid-template-columns: 1fr; }

  .cosmos-ring { width: 200px; height: 200px; }
  .cosmos-ring-2 { width: 155px; height: 155px; }
  .cosmos-ring-3 { width: 110px; height: 110px; }
  #orb { width: 80px; height: 80px; }
  .site-title { font-size: 24px; letter-spacing: 4px; }
  .edu-hint { max-width: 100%; }

  .connect-btn { font-size: 9px; padding: 3px 7px; }

  .feed-container { padding: 12px; }
  #feedList { gap: 12px; }
}

@media (max-width: 600px) {
  .input-row { grid-template-columns: 1fr; }
  .auth-box { padding: 24px 20px; }
  .feed-nav { padding: 10px 16px; }
  .nav-title { font-size: 11px; letter-spacing: 2px; }
  .composer { padding: 12px 16px; }
  .feed-container { padding: 16px; }
  .post-card { padding: 16px; }
  .composer-footer { flex-direction: column; align-items: stretch; }
  .post-btn { justify-content: center; }
  .tag-select { justify-content: center; }
  .user-badge { display: none; }
  .cosmos-ring { width: 220px; height: 220px; }
  .cosmos-ring-2 { width: 170px; height: 170px; }
  .cosmos-ring-3 { width: 120px; height: 120px; }
  #orb { width: 85px; height: 85px; }
  /* FIX: full-screen inbox small phones - real-vh */
  .inbox-panel { 
    width: 100vw;
    right: 0;
    left: 0;
    max-width: 100vw;
    border-radius: 0;
    top: 56px;
    height: calc(var(--real-vh, 1vh) * 100 - 56px);
    max-height: calc(var(--real-vh, 1vh) * 100);
  }
}

/* ============================================
   NEWS TICKER, UDE, SIDEBAR — ADDITIONS
   ============================================ */

/* News ticker */
.news-ticker {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  background: rgba(255,204,0,0.04);
  border-bottom: 1px solid rgba(255,204,0,0.15);
  cursor: pointer; flex-shrink: 0; overflow: hidden;
  transition: background 0.2s; user-select: none;
  -webkit-user-select: none;
}
.news-ticker:hover { background: rgba(255,204,0,0.09); }
.ticker-label { font-family:'Share Tech Mono',monospace; font-size:10px; letter-spacing:2px; color:#ffcc00; white-space:nowrap; flex-shrink:0; pointer-events:none; }
.ticker-track { flex:1; overflow:hidden; pointer-events:none; }
.ticker-inner { display:inline-flex; gap:60px; white-space:nowrap; animation:tickerScroll 25s linear infinite; pointer-events:none; }
.ticker-item { font-family:'Share Tech Mono',monospace; font-size:11px; color:rgba(255,204,0,0.75); letter-spacing:1px; pointer-events:none; }
.ticker-item::before { content:'⬡ '; color:rgba(255,204,0,0.3); }
.ticker-arrow { font-size:14px; color:rgba(255,204,0,0.5); flex-shrink:0; animation:arrowPulse 1.5s ease-in-out infinite; pointer-events:none; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes arrowPulse { 0%,100%{opacity:0.4;transform:translateX(0)} 50%{opacity:1;transform:translateX(4px)} }

/* ============================================
   SIDEBAR + FEED BODY LAYOUT
   ============================================ */

/* cf-body: sidebar left + content right, fills remaining height */
.cf-body {
  flex: 1;
  display: flex;
  flex-direction: row;
  min-height: 0;
  overflow: hidden;
}

/* Sidebar */
.cf-sidebar {
  width: 64px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px;
  background: rgba(2,4,8,0.98);
  border-right: 1px solid rgba(0,212,255,0.1);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Content column: composer + feed-layout */
.cf-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Composer inside content */
.cf-content .composer {
  flex-shrink: 0;
}

/* feed-layout fills rest of cf-content */
.cf-content .feed-layout {
  flex: 1 !important;
  overflow: hidden !important;
  min-height: 0 !important;
}

/* feed-container scrolls */
.cf-content .feed-container {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

/* Sidebar buttons */
.sb-btn {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; width: 52px; min-height: 54px;
  padding: 8px 3px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.sb-btn:hover { background:rgba(0,212,255,0.07); border-color:rgba(0,212,255,0.2); color:#fff; }
.sb-btn:active { transform:scale(0.95); }
.sb-icon { font-size:20px; line-height:1; display:block; }
.sb-label { font-family:'Share Tech Mono',monospace; font-size:7px; letter-spacing:0.5px; text-align:center; display:block; }
.sb-notif { position:absolute; top:5px; right:5px; min-width:13px; height:13px; background:#ff4466; border-radius:7px; font-size:8px; color:#fff; display:flex; align-items:center; justify-content:center; }
.sb-divider { width:30px; height:1px; background:rgba(0,212,255,0.1); margin:3px 0; flex-shrink:0; }

.sb-btn-post .sb-icon  { color:#00ff88; }
.sb-btn-ude .sb-icon   { color:#00ffb4; }
.sb-btn-news .sb-icon  { color:#ffcc00; }
.sb-btn-card .sb-icon  { color:#00d4ff; }
.sb-btn-msg .sb-icon   { color:#c864ff; }
.sb-btn-connect .sb-icon { color:#ffaa00; }
.sb-btn-exit .sb-icon  { color:rgba(255,68,102,0.6); }
.sb-btn-exit:hover .sb-icon { color:#ff4466; }

@media (max-width:600px) {
  .cf-sidebar { width:50px; }
  .sb-btn { width:40px; min-height:48px; }
  .sb-icon { font-size:17px; }
  .sb-label { font-size:6px; }
}

/* Composer toggle */
#composerBox { flex-shrink:0; }

/* ============================================
   LANDING POST CARDS
   ============================================ */
.landing-post-card {
  background: rgba(5,13,21,0.85);
  border: 1px solid rgba(0,212,255,0.2);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
}
.landing-post-card:hover {
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 20px rgba(0,212,255,0.08);
  transform: translateY(-1px);
}
.lpc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.lpc-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: #ffcc00;
  padding: 2px 8px;
  border: 1px solid rgba(255,204,0,0.3);
  border-radius: 4px;
}
.lpc-nick {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(0,212,255,0.5);
}
.lpc-text {
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 10px;
}
.lpc-footer {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

/* Landing feed section */
.landing-feed-section {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px 20px;
  box-sizing: border-box;
}
.lfs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 6px;
}
.lfs-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
}
.lfs-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   PROFILE PANEL — SLIDE IN FROM RIGHT
   ============================================ */
.profile-panel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 300px !important;
  max-width: 100vw !important;
  height: 100vh !important;
  background: rgba(5,13,21,0.99) !important;
  border-left: 1px solid rgba(0,212,255,0.15) !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s ease !important;
  z-index: 800 !important;
  overflow-y: auto !important;
  padding: 20px 16px !important;
  box-sizing: border-box !important;
  display: block !important;
}
.profile-panel.open {
  transform: translateX(0) !important;
}
.profile-panel .profile-card {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  max-height: none !important;
  overflow: visible !important;
}
.profile-close-btn {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.profile-close-btn button {
  background: transparent;
  border: 1px solid rgba(255,68,102,0.3);
  border-radius: 6px;
  color: rgba(255,68,102,0.6);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.profile-close-btn button:hover {
  background: rgba(255,68,102,0.1);
  color: #ff4466;
}

/* ============================================
   UDE CHAMBER — FULL SCREEN FIXED
   ============================================ */
.ude-chamber {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: radial-gradient(ellipse at center, #000d1a 0%, #000508 60%, #000 100%);
  flex-direction: column;
  overflow: hidden;
}
.ude-chamber.open {
  display: flex !important;
}
.ude-chamber-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ude-chamber-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  box-sizing: border-box;
  overflow: hidden;
}
.ude-chamber-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 12px;
  border-bottom: 1px solid rgba(0,255,180,0.15);
  flex-shrink: 0;
}
.ude-chamber-title { display: flex; align-items: center; gap: 10px; }
.ude-ch-icon { font-size: 22px; color: #00ffb4; animation: udePulse 1.5s ease-in-out infinite; }
@keyframes udePulse { 0%,100%{opacity:0.5;} 50%{opacity:1;} }
.ude-ch-main { font-family:'Orbitron',monospace; font-size:clamp(11px,2.5vw,15px); font-weight:700; color:#00ffb4; letter-spacing:2px; }
.ude-ch-sub { font-family:'Share Tech Mono',monospace; font-size:9px; color:rgba(0,255,180,0.4); letter-spacing:2px; margin-top:2px; }
.ude-close-btn { padding:8px 14px; background:rgba(255,68,102,0.08); border:1px solid rgba(255,68,102,0.3); border-radius:6px; color:#ff4466; font-family:'Share Tech Mono',monospace; font-size:11px; letter-spacing:2px; cursor:pointer; transition:all 0.2s; }
.ude-close-btn:hover { background:rgba(255,68,102,0.18); }

/* UDE scrollable body */
.ude-chamber-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 16px 0 40px;
}

.ude-input-zone { margin-bottom: 20px; }
.ude-input-label { font-family:'Share Tech Mono',monospace; font-size:11px; letter-spacing:3px; color:rgba(0,255,180,0.6); margin-bottom:6px; }
.ude-input-desc { font-family:'Exo 2',sans-serif; font-size:13px; color:rgba(255,255,255,0.35); margin-bottom:14px; line-height:1.5; }
.ude-textarea { width:100%; min-height:110px; background:rgba(0,255,180,0.03); border:1px solid rgba(0,255,180,0.2); border-radius:10px; padding:14px 16px; color:#e0ffe8; font-family:'Exo 2',sans-serif; font-size:14px; line-height:1.7; outline:none; resize:none; box-sizing:border-box; transition:all 0.3s; }
.ude-textarea:focus { border-color:rgba(0,255,180,0.5); }
.ude-textarea::placeholder { color:rgba(0,255,180,0.2); }
.ude-input-footer { display:flex; align-items:center; justify-content:space-between; margin-top:10px; }
.ude-char-count { font-family:'Share Tech Mono',monospace; font-size:10px; color:rgba(0,255,180,0.3); }
.ude-analyse-btn { display:flex; align-items:center; gap:8px; padding:11px 22px; background:linear-gradient(135deg,rgba(0,255,180,0.1),rgba(0,200,255,0.07)); border:1px solid rgba(0,255,180,0.4); border-radius:8px; color:#00ffb4; font-family:'Orbitron',monospace; font-size:12px; letter-spacing:2px; cursor:pointer; transition:all 0.3s; }
.ude-analyse-btn:hover { background:linear-gradient(135deg,rgba(0,255,180,0.2),rgba(0,200,255,0.14)); box-shadow:0 0 20px rgba(0,255,180,0.2); }
.ude-btn-glow { animation:udePulse 1s ease-in-out infinite; }

.ude-loading { display:flex; flex-direction:column; align-items:center; padding:40px 0; gap:16px; }
.ude-loading-robot { animation:udeFloat 0.8s ease-in-out infinite; }
@keyframes udeFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.ude-lr-head { width:38px; height:28px; background:linear-gradient(135deg,#00ffb4,#00c8ff); border-radius:8px; margin:0 auto 4px; display:flex; align-items:center; justify-content:center; gap:6px; box-shadow:0 0 18px rgba(0,255,180,0.7); }
.ude-lr-eye { width:7px; height:7px; background:#000; border-radius:50%; animation:udeBlink 0.8s ease-in-out infinite; }
.ude-lr-eye:last-child { animation-delay:0.4s; }
@keyframes udeBlink { 0%,88%,100%{transform:scaleY(1)} 93%{transform:scaleY(0.1)} }
.ude-lr-body { width:28px; height:20px; background:linear-gradient(135deg,#061a2e,#0d3352); border:1px solid rgba(0,255,180,0.3); border-radius:5px; margin:0 auto; display:flex; align-items:center; justify-content:center; }
.ude-lr-light { width:9px; height:9px; background:#00ffb4; border-radius:50%; box-shadow:0 0 10px #00ffb4; animation:udePulse 0.6s ease-in-out infinite; }
.ude-loading-msg { font-family:'Share Tech Mono',monospace; font-size:12px; letter-spacing:2px; color:rgba(0,255,180,0.7); animation:udePulse 0.8s ease-in-out infinite; }
.ude-loading-bar { width:260px; height:3px; background:rgba(0,255,180,0.1); border-radius:2px; overflow:hidden; }
.ude-loading-fill { height:100%; background:linear-gradient(90deg,#00ffb4,#00c8ff); border-radius:2px; width:0%; transition:width 0.4s ease; box-shadow:0 0 8px #00ffb4; }
.ude-loading-steps { font-family:'Share Tech Mono',monospace; font-size:10px; color:rgba(0,255,180,0.4); text-align:center; min-height:16px; }

.ude-result { padding-bottom: 20px; }
.ude-result-topbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; flex-wrap:wrap; gap:8px; }
.ude-result-label { font-family:'Share Tech Mono',monospace; font-size:10px; letter-spacing:2px; color:rgba(0,255,180,0.5); }
.ude-download-btn { padding:7px 14px; background:rgba(0,255,180,0.08); border:1px solid rgba(0,255,180,0.3); border-radius:6px; color:#00ffb4; font-family:'Share Tech Mono',monospace; font-size:11px; letter-spacing:1px; cursor:pointer; transition:all 0.2s; }
.ude-diagram-wrap { background:rgba(0,10,20,0.8); border:1px solid rgba(0,255,180,0.12); border-radius:12px; padding:20px; }
.ude-reset-btn { display:block; margin:20px auto 0; padding:9px 22px; background:transparent; border:1px solid rgba(0,255,180,0.2); border-radius:8px; color:rgba(0,255,180,0.5); font-family:'Share Tech Mono',monospace; font-size:11px; letter-spacing:2px; cursor:pointer; transition:all 0.2s; }
.ude-reset-btn:hover { border-color:rgba(0,255,180,0.5); color:#00ffb4; }

/* UDE Diagram nodes */
.ude-node { background:rgba(0,20,40,0.9); border-radius:10px; padding:12px 16px; margin:6px 0; animation:fadeIn 0.4s ease forwards; opacity:0; }
@keyframes fadeIn { to{opacity:1;} }
.ude-node-root { border:2px solid #ff4466; }
.ude-node-root .ude-node-label { color:#ff4466; }
.ude-node-cause { border:1px solid rgba(255,180,0,0.5); margin-left:16px; }
.ude-node-cause .ude-node-label { color:#ffcc00; }
.ude-node-effect { border:1px solid rgba(0,255,180,0.4); margin-left:16px; }
.ude-node-effect .ude-node-label { color:#00ffb4; }
.ude-node-predict { border:1px solid rgba(0,150,255,0.4); margin-left:32px; }
.ude-node-predict .ude-node-label { color:#00c8ff; }
.ude-node-solution { border:1px solid rgba(180,0,255,0.4); }
.ude-node-solution .ude-node-label { color:#c864ff; }
.ude-node-label { font-family:'Share Tech Mono',monospace; font-size:8px; letter-spacing:2px; margin-bottom:5px; opacity:0.7; }
.ude-node-text { font-family:'Exo 2',sans-serif; font-size:13px; color:rgba(255,255,255,0.8); line-height:1.5; }
.ude-arrow { font-family:'Share Tech Mono',monospace; font-size:16px; color:rgba(0,255,180,0.3); text-align:center; padding:2px 0; }
.ude-section-title { font-family:'Orbitron',monospace; font-size:10px; letter-spacing:3px; padding:12px 0 6px; border-top:1px solid rgba(0,255,180,0.08); margin-top:12px; }
.ude-equation-box { background:linear-gradient(135deg,rgba(0,255,180,0.05),rgba(0,200,255,0.03)); border:1px solid rgba(0,255,180,0.2); border-radius:10px; padding:14px 18px; margin:14px 0; font-family:'Orbitron',monospace; font-size:clamp(10px,1.8vw,13px); color:#00ffb4; letter-spacing:1px; text-align:center; line-height:1.8; }

/* UDE Sidebar icon animation */
.sb-btn-ude .sb-icon {
  animation: udeIconPulse 2s ease-in-out infinite;
}
@keyframes udeIconPulse {
  0%,100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.2); filter: brightness(1.5) drop-shadow(0 0 6px #00ffb4); }
}

/* AI News page */
.news-card { background:rgba(5,13,21,0.85); border:1px solid rgba(255,204,0,0.12); border-left:3px solid #ffcc00; border-radius:12px; padding:18px 20px; transition:all 0.3s; }
.news-card:hover { border-color:rgba(255,204,0,0.3); box-shadow:0 0 20px rgba(255,204,0,0.06); }
.news-card-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:10px; gap:10px; flex-wrap:wrap; }
.news-card-title { font-family:'Orbitron',monospace; font-size:clamp(12px,2vw,15px); font-weight:700; color:#ffcc00; letter-spacing:1px; flex:1; }
.news-card-time { font-family:'Share Tech Mono',monospace; font-size:10px; color:var(--muted); white-space:nowrap; }
.news-card-body { font-size:14px; line-height:1.7; color:var(--text); margin-bottom:12px; }
.news-card-link { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; background:rgba(255,204,0,0.06); border:1px solid rgba(255,204,0,0.2); border-radius:4px; color:#ffcc00; font-family:'Share Tech Mono',monospace; font-size:11px; text-decoration:none; transition:all 0.2s; }
.news-back-btn { background:transparent; border:1px solid rgba(255,204,0,0.3); border-radius:4px; color:#ffcc00; font-family:'Share Tech Mono',monospace; font-size:11px; letter-spacing:2px; padding:5px 10px; cursor:pointer; transition:all 0.2s; }
.post-news-btn { padding:6px 14px; background:rgba(255,204,0,0.1); border:1px solid rgba(255,204,0,0.4); border-radius:4px; color:#ffcc00; font-family:'Share Tech Mono',monospace; font-size:11px; letter-spacing:1px; cursor:pointer; transition:all 0.2s; }
.news-title-input { width:100%; background:rgba(0,0,0,0.4); border:1px solid rgba(255,204,0,0.2); border-radius:6px; padding:10px 14px; color:#ffcc00; font-family:'Orbitron',monospace; font-size:13px; outline:none; margin-bottom:10px; box-sizing:border-box; }
.news-link-input { width:100%; background:rgba(0,0,0,0.3); border:1px solid rgba(255,204,0,0.15); border-radius:6px; padding:8px 14px; color:rgba(255,204,0,0.7); font-family:'Share Tech Mono',monospace; font-size:12px; outline:none; margin-top:8px; box-sizing:border-box; }

/* ============================================
   LANDING HERO — GLOWING TITLE + BUTTON
   ============================================ */
#page-landing.active {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(0,212,255,0.1);
  flex-shrink: 0;
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,13,21,0.95);
  backdrop-filter: blur(8px);
}
.landing-nav-brand {
  font-family: 'Orbitron', monospace;
  font-size: 14px; font-weight: 700;
  color: var(--accent); letter-spacing: 3px;
}
.landing-join-btn {
  padding: 8px 18px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.35);
  border-radius: 6px; color: var(--accent);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 2px;
  cursor: pointer; transition: all 0.2s;
}
.landing-join-btn:hover { background: rgba(0,212,255,0.18); }

.landing-hero {
  text-align: center;
  padding: 50px 24px 30px;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.landing-hero-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 4px;
  color: rgba(0,212,255,0.5);
  margin-bottom: 16px;
}
.landing-hero-desc {
  font-family: 'Exo 2', sans-serif;
  font-size: 16px; color: rgba(255,255,255,0.55);
  margin-bottom: 30px; line-height: 1.6;
}

/* Glowing CODEFACE.SPACE title */
.site-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(28px, 8vw, 56px);
  font-weight: 900;
  letter-spacing: 6px;
  color: #fff;
  text-shadow:
    0 0 20px rgba(0,212,255,0.8),
    0 0 40px rgba(0,212,255,0.5),
    0 0 80px rgba(0,212,255,0.3);
  animation: titleGlow 3s ease-in-out infinite;
  margin-bottom: 12px;
  line-height: 1.1;
}
.site-title .dot { color: var(--accent); }
@keyframes titleGlow {
  0%,100% {
    text-shadow: 0 0 20px rgba(0,212,255,0.8), 0 0 40px rgba(0,212,255,0.4), 0 0 80px rgba(0,212,255,0.2);
  }
  50% {
    text-shadow: 0 0 30px rgba(0,212,255,1), 0 0 60px rgba(0,212,255,0.7), 0 0 120px rgba(0,212,255,0.4);
  }
}

/* ENTER button */
.enter-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,255,136,0.08));
  border: 1px solid rgba(0,212,255,0.5);
  border-radius: 8px;
  color: var(--accent);
  font-family: 'Orbitron', monospace;
  font-size: 13px; font-weight: 700;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.3s;
  animation: btnPulse 2.5s ease-in-out infinite;
  margin-top: 8px;
}
.enter-btn:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.28), rgba(0,255,136,0.16));
  box-shadow: 0 0 30px rgba(0,212,255,0.35);
  transform: translateY(-2px);
}
@keyframes btnPulse {
  0%,100% { box-shadow: 0 0 10px rgba(0,212,255,0.2); }
  50%      { box-shadow: 0 0 25px rgba(0,212,255,0.5); }
}

/* Stats counter */
.landing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 28px auto 0;
  max-width: 400px;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 10px;
  padding: 14px 20px;
}
.lst-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px; flex: 1;
}
.lst-val {
  font-family: 'Orbitron', monospace;
  font-size: 20px; font-weight: 900;
  color: #00d4ff;
  text-shadow: 0 0 12px rgba(0,212,255,0.5);
}
.lst-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px; color: rgba(255,255,255,0.35);
  letter-spacing: 1px; text-align: center;
}
.lst-div {
  width: 1px; height: 34px;
  background: rgba(0,212,255,0.15);
  margin: 0 8px;
}

/* UDE demo section */
.landing-ude-section {
  max-width: 500px; margin: 0 auto;
  padding: 0 16px 24px;
  box-sizing: border-box; text-align: center;
}
.lus-label {
  font-family: 'Orbitron', monospace;
  font-size: 12px; font-weight: 700;
  color: #00ffb4; letter-spacing: 2px;
  margin-bottom: 8px;
}
.lus-desc {
  font-family: 'Exo 2', sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.4);
  line-height: 1.6; margin-bottom: 14px;
}
.lus-demo {
  background: rgba(0,255,180,0.03);
  border: 1px solid rgba(0,255,180,0.2);
  border-left: 3px solid #00ffb4;
  border-radius: 10px; padding: 14px 18px;
  text-align: left;
}
.lus-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 5px 0;
  border-bottom: 1px solid rgba(0,255,180,0.06);
}
.lus-row:last-child { border-bottom: none; }
.lus-key {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,0.4);
}
.lus-val {
  font-family: 'Orbitron', monospace;
  font-size: 13px; font-weight: 700; color: #00ffb4;
}
.lus-mind { color: #c864ff !important; }
.lus-deep { color: #00ffb4; }

/* CTA bottom */
.landing-cta-bottom {
  text-align: center;
  padding: 20px 16px 40px;
}
.lcb-text {
  font-family: 'Exo 2', sans-serif;
  font-size: 15px; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .landing-hero { padding: 30px 16px 20px; }
  .enter-btn { font-size: 11px; padding: 12px 22px; letter-spacing: 2px; }
  .landing-stats { padding: 10px 12px; }
  .lst-val { font-size: 16px; }
  .landing-nav { padding: 12px 16px; }
  .landing-nav-brand { font-size: 12px; }
}

/* ============================================
   MY POSTS — PROFILE CARD
   ============================================ */
.my-posts-section {
  margin-top: 16px;
  border-top: 1px solid rgba(0,212,255,0.1);
  padding-top: 14px;
}
.my-posts-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(0,212,255,0.5);
  margin-bottom: 10px;
}
.my-posts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 400px;
  overflow-y: auto;
}
.my-post-card {
  background: rgba(0,212,255,0.03);
  border: 1px solid rgba(0,212,255,0.1);
  border-left: 2px solid var(--accent);
  border-radius: 8px;
  padding: 10px 12px;
  transition: all 0.2s;
}
.my-post-card:hover {
  border-color: rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.06);
}
.my-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.my-post-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: #ffcc00;
}
.my-post-time {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.25);
}
.my-post-text {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 6px;
  word-break: break-word;
}
.my-post-grades {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   LANDING PAGE — POLISHED v2
   ============================================ */

/* Nav */
.landing-nav-right {
  display: flex; align-items: center; gap: 12px;
}
.landing-nav-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; letter-spacing: 2px;
  color: rgba(0,255,136,0.6);
  padding: 3px 8px;
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 4px;
  display: none;
}
@media (min-width: 480px) { .landing-nav-tag { display: block; } }

/* Hero badge */
.landing-hero-badge {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 3px;
  color: rgba(0,212,255,0.6);
  padding: 5px 14px;
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 20px;
  margin-bottom: 18px;
  background: rgba(0,212,255,0.04);
}

/* Hero actions */
.landing-hero-actions { margin: 24px 0 20px; }
.landing-hero-hint {
  margin-top: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 1px;
  color: rgba(255,255,255,0.25);
}

/* Trust badges */
.trust-badges {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px;
  margin: 0 auto 24px;
  max-width: 400px;
}
.trust-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 1px;
  color: rgba(0,255,136,0.6);
  padding: 4px 12px;
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 4px;
  background: rgba(0,255,136,0.03);
}

/* How it works */
.how-it-works {
  max-width: 700px; margin: 0 auto;
  padding: 30px 16px; text-align: center;
  border-top: 1px solid rgba(0,212,255,0.06);
}
.hiw-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 3px;
  color: rgba(0,212,255,0.4); margin-bottom: 24px;
}
.hiw-steps {
  display: flex; align-items: center;
  justify-content: center; gap: 8px;
  flex-wrap: wrap;
}
.hiw-step {
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 140px; max-width: 180px;
  flex: 1;
}
.hiw-num {
  font-family: 'Orbitron', monospace;
  font-size: 24px; font-weight: 900;
  color: rgba(0,212,255,0.2);
  margin-bottom: 8px;
}
.hiw-label {
  font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 700;
  color: #00d4ff; letter-spacing: 1px;
  margin-bottom: 6px;
}
.hiw-desc {
  font-family: 'Exo 2', sans-serif;
  font-size: 11px; color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.hiw-arrow {
  font-size: 20px; color: rgba(0,212,255,0.2);
  flex-shrink: 0;
}

/* Feed section */
.lfs-header {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}
.lfs-join-btn {
  padding: 8px 16px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 6px; color: var(--accent);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 2px;
  cursor: pointer; white-space: nowrap;
  transition: all 0.2s; flex-shrink: 0;
}
.lfs-join-btn:hover { background: rgba(0,212,255,0.16); }

/* Landing post cards — full style */
.landing-feed-list {
  display: flex; flex-direction: column; gap: 12px;
}
.landing-post-card {
  background: rgba(5,13,21,0.85);
  border: 1px solid rgba(0,212,255,0.1);
  border-left: 3px solid #00d4ff;
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.landing-post-card:hover {
  border-color: rgba(0,212,255,0.35);
  background: rgba(5,13,21,0.95);
  box-shadow: 0 4px 20px rgba(0,212,255,0.06);
  transform: translateY(-1px);
}
.lpc-top {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 10px; flex-wrap: wrap; gap: 6px;
}
.lpc-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 1px;
  color: #ffcc00;
  padding: 2px 8px;
  border: 1px solid rgba(255,204,0,0.25);
  border-radius: 4px;
}
.lpc-nick {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; color: rgba(0,212,255,0.5);
}
.lpc-time {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; color: rgba(255,255,255,0.2);
}
.lpc-text {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.75);
  line-height: 1.7; margin-bottom: 12px;
  word-break: break-word;
}
.lpc-footer {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
}
.lpc-cta {
  margin-left: auto;
  color: rgba(0,212,255,0.5);
  letter-spacing: 1px;
}

/* UDE section polish */
.lus-badge {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; letter-spacing: 2px;
  color: rgba(0,255,180,0.6);
  padding: 4px 12px;
  border: 1px solid rgba(0,255,180,0.2);
  border-radius: 20px;
  margin-bottom: 10px;
  background: rgba(0,255,180,0.04);
}
.lus-demo-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; letter-spacing: 2px;
  color: rgba(0,255,180,0.4);
  margin-bottom: 10px;
}

/* CTA bottom polish */
.lcb-inner {
  max-width: 480px; margin: 0 auto;
  text-align: center;
}
.lcb-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(18px, 4vw, 28px);
  font-weight: 700; color: #fff;
  letter-spacing: 2px; margin-bottom: 12px;
}
.lcb-note {
  margin-top: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 1px;
  color: rgba(255,255,255,0.2);
}

/* ============================================
   LANDING PAGE v3 — HIGH CONVERSION
   ============================================ */
#page-landing.active {
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  background: #000a14 !important;
}

/* NAV */
.ln-nav {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(0,212,255,0.08);
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,10,20,0.97);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.ln-nav-brand {
  font-family: 'Orbitron', monospace;
  font-size: 15px; font-weight: 900;
  color: #fff; letter-spacing: 3px;
}
.ln-dot { color: #00d4ff; }
.ln-nav-right { display: flex; align-items: center; gap: 12px; }
.ln-nav-free {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; letter-spacing: 2px;
  color: rgba(0,255,136,0.5);
  padding: 3px 8px;
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 4px;
}
.ln-nav-btn {
  padding: 8px 16px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.35);
  border-radius: 6px; color: #00d4ff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 2px;
  cursor: pointer; transition: all 0.2s;
}
.ln-nav-btn:hover { background: rgba(0,212,255,0.2); }

/* HERO */
.ln-hero {
  text-align: center;
  padding: 60px 24px 40px;
  max-width: 700px; margin: 0 auto;
  width: 100%; box-sizing: border-box;
}
.ln-hero-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 4px;
  color: rgba(0,212,255,0.4); margin-bottom: 20px;
}
.ln-hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(30px, 8vw, 58px);
  font-weight: 900; color: #fff;
  line-height: 1.1; margin-bottom: 16px;
  letter-spacing: 2px;
  text-shadow: 0 0 40px rgba(0,212,255,0.2);
}
.ln-hero-sub {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(14px, 2.5vw, 18px);
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px; line-height: 1.6;
}
.ln-hero-hook {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(12px, 2vw, 15px);
  color: #00ffb4; letter-spacing: 1px;
  margin-bottom: 32px;
  padding: 12px 20px;
  border: 1px solid rgba(0,255,180,0.2);
  border-radius: 8px;
  background: rgba(0,255,180,0.04);
  display: inline-block;
}
.ln-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ln-btn-primary {
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,255,136,0.1));
  border: 1px solid rgba(0,212,255,0.5);
  border-radius: 8px; color: #00d4ff;
  font-family: 'Orbitron', monospace;
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; cursor: pointer;
  transition: all 0.3s;
  animation: btnGlow 2.5s ease-in-out infinite;
}
.ln-btn-primary:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.3), rgba(0,255,136,0.18));
  box-shadow: 0 0 30px rgba(0,212,255,0.3);
  transform: translateY(-2px);
}
@keyframes btnGlow {
  0%,100% { box-shadow: 0 0 8px rgba(0,212,255,0.15); }
  50% { box-shadow: 0 0 22px rgba(0,212,255,0.4); }
}
.ln-btn-secondary {
  padding: 14px 24px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; color: rgba(255,255,255,0.5);
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px; letter-spacing: 1px;
  cursor: pointer; transition: all 0.2s;
}
.ln-btn-secondary:hover { border-color: rgba(255,255,255,0.3); color: #fff; }

/* STATS BAR */
.ln-stats {
  display: flex; align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: rgba(0,212,255,0.03);
  border-top: 1px solid rgba(0,212,255,0.08);
  border-bottom: 1px solid rgba(0,212,255,0.08);
  gap: 0; flex-wrap: nowrap;
}
.ln-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; }
.ln-stat-val {
  font-family: 'Orbitron', monospace;
  font-size: clamp(18px, 4vw, 26px);
  font-weight: 900; color: #00d4ff;
  text-shadow: 0 0 15px rgba(0,212,255,0.4);
}
.ln-stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; color: rgba(255,255,255,0.3);
  letter-spacing: 1px; text-align: center;
}
.ln-stat-div { width: 1px; height: 36px; background: rgba(0,212,255,0.12); margin: 0 8px; }

/* SECTIONS */
.ln-section {
  max-width: 900px; margin: 0 auto;
  padding: 50px 24px;
  width: 100%; box-sizing: border-box;
  text-align: center;
  border-bottom: 1px solid rgba(0,212,255,0.06);
}
.ln-section-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 3px;
  color: rgba(0,212,255,0.4); margin-bottom: 14px;
}
.ln-section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700; color: #fff;
  line-height: 1.3; margin-bottom: 32px;
  letter-spacing: 1px;
}

/* FEATURES GRID */
.ln-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; text-align: left;
}
.ln-feature {
  background: rgba(0,212,255,0.03);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 12px; padding: 20px;
  transition: all 0.2s;
}
.ln-feature:hover {
  border-color: rgba(0,212,255,0.25);
  background: rgba(0,212,255,0.06);
}
.ln-feat-icon { font-size: 24px; margin-bottom: 10px; }
.ln-feat-title {
  font-family: 'Orbitron', monospace;
  font-size: 12px; font-weight: 700;
  color: #00d4ff; letter-spacing: 1px;
  margin-bottom: 8px;
}
.ln-feat-desc {
  font-family: 'Exo 2', sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* UDE DEMO */
.ln-ude-section {
  max-width: 600px; margin: 0 auto;
  padding: 50px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(0,212,255,0.06);
  width: 100%; box-sizing: border-box;
}
.ln-ude-demo {
  background: rgba(0,255,180,0.03);
  border: 1px solid rgba(0,255,180,0.2);
  border-radius: 14px; padding: 20px 24px;
  text-align: left; margin: 24px 0 16px;
}
.ln-ude-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 6px;
}
.ln-ude-badge {
  font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 700;
  color: #00ffb4; letter-spacing: 1px;
}
.ln-ude-subbadge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px; letter-spacing: 2px;
  color: rgba(0,255,180,0.35);
}
.ln-ude-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 8px 0;
  border-bottom: 1px solid rgba(0,255,180,0.06);
}
.ln-ude-row:last-of-type { border-bottom: none; }
.ln-ude-key {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.ln-ude-val {
  font-family: 'Orbitron', monospace;
  font-size: 13px; font-weight: 700;
}
.ln-ude-insight {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(0,255,180,0.08);
  font-family: 'Exo 2', sans-serif;
  font-size: 13px; color: rgba(0,255,180,0.5);
  font-style: italic; line-height: 1.6;
  text-align: center;
}
.ln-ude-cta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px; color: rgba(0,255,180,0.6);
  letter-spacing: 1px; cursor: pointer;
  transition: color 0.2s;
}
.ln-ude-cta:hover { color: #00ffb4; }

/* HOW IT WORKS STEPS */
.ln-steps {
  display: flex; align-items: flex-start;
  justify-content: center; gap: 8px;
  flex-wrap: wrap;
}
.ln-step {
  background: rgba(0,212,255,0.03);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 12px; padding: 20px 16px;
  flex: 1; min-width: 130px; max-width: 180px;
  text-align: center;
}
.ln-step-num {
  font-family: 'Orbitron', monospace;
  font-size: 28px; font-weight: 900;
  color: rgba(0,212,255,0.15); margin-bottom: 10px;
}
.ln-step-title {
  font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 700;
  color: #00d4ff; letter-spacing: 1px;
  margin-bottom: 8px;
}
.ln-step-desc {
  font-family: 'Exo 2', sans-serif;
  font-size: 11px; color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.ln-step-arrow {
  font-size: 18px; color: rgba(0,212,255,0.2);
  padding-top: 28px; flex-shrink: 0;
}

/* ASPIRATION */
.ln-aspire {
  background: linear-gradient(135deg, rgba(0,10,30,0.9), rgba(0,5,15,0.9));
  border-top: 1px solid rgba(0,212,255,0.08);
  border-bottom: 1px solid rgba(0,212,255,0.08);
  padding: 60px 24px; text-align: center;
}
.ln-aspire-inner { max-width: 600px; margin: 0 auto; }
.ln-aspire-lines { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.ln-aspire-line {
  font-family: 'Orbitron', monospace;
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 700; color: #fff;
  line-height: 1.4; letter-spacing: 1px;
}
.ln-aspire-dim { color: rgba(255,255,255,0.35); font-size: clamp(13px, 2.5vw, 18px); }

/* LIVE FEED */
.ln-feed-section {
  max-width: 900px; margin: 0 auto;
  padding: 50px 24px;
  width: 100%; box-sizing: border-box;
  border-bottom: 1px solid rgba(0,212,255,0.06);
}
.ln-feed-header {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.ln-feed-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; color: rgba(255,255,255,0.25);
  letter-spacing: 1px; margin-top: 6px;
}
.ln-join-feed-btn {
  padding: 10px 18px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 6px; color: #00d4ff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 2px;
  cursor: pointer; white-space: nowrap;
  transition: all 0.2s; flex-shrink: 0;
}
.ln-join-feed-btn:hover { background: rgba(0,212,255,0.18); }
.ln-feed-list { display: flex; flex-direction: column; gap: 12px; }

/* Feed cards */
.landing-post-card {
  background: rgba(5,13,21,0.85);
  border: 1px solid rgba(0,212,255,0.1);
  border-left: 3px solid #00d4ff;
  border-radius: 12px; padding: 16px 18px;
  cursor: pointer; transition: all 0.2s;
}
.landing-post-card:hover {
  border-color: rgba(0,212,255,0.3);
  background: rgba(5,13,21,0.98);
  box-shadow: 0 4px 20px rgba(0,212,255,0.06);
  transform: translateY(-1px);
}
.lpc-top {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 10px; flex-wrap: wrap; gap: 6px;
}
.lpc-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 1px;
  padding: 2px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
}
.lpc-nick { font-family:'Share Tech Mono',monospace; font-size:10px; color:rgba(0,212,255,0.5); }
.lpc-time { font-family:'Share Tech Mono',monospace; font-size:9px; color:rgba(255,255,255,0.2); }
.lpc-text { font-family:'Exo 2',sans-serif; font-size:14px; color:rgba(255,255,255,0.75); line-height:1.7; margin-bottom:12px; word-break:break-word; }
.lpc-footer { display:flex; align-items:center; gap:12px; font-family:'Share Tech Mono',monospace; font-size:10px; color:rgba(255,255,255,0.3); flex-wrap:wrap; }
.lpc-cta { margin-left:auto; color:rgba(0,212,255,0.4); letter-spacing:1px; }

/* FUTURE */
.ln-future {
  text-align: center;
  padding: 60px 24px;
  background: rgba(0,5,12,0.95);
}
.ln-future-line {
  font-family: 'Orbitron', monospace;
  font-size: clamp(14px, 3vw, 20px);
  font-weight: 700; color: rgba(0,212,255,0.7);
  letter-spacing: 2px; margin-bottom: 10px;
}
.ln-future-sub {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.ln-future-note {
  margin-top: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .ln-hero { padding: 40px 16px 28px; }
  .ln-nav { padding: 12px 16px; }
  .ln-nav-free { display: none; }
  .ln-section, .ln-ude-section, .ln-feed-section { padding: 36px 16px; }
  .ln-aspire { padding: 40px 16px; }
  .ln-future { padding: 40px 16px; }
  .ln-features { grid-template-columns: 1fr 1fr; }
  .ln-steps { gap: 6px; }
  .ln-step { min-width: 110px; padding: 14px 10px; }
  .ln-step-arrow { display: none; }
}

.ln-ude-nomatch {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(0,255,180,0.5);
  text-align: center;
  margin: 14px 0 6px;
}

/* ============================================
   LANDING ATMOSPHERE
   ============================================ */
#page-landing {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,40,80,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(0,20,50,0.2) 0%, transparent 60%),
    #000810 !important;
}

/* Scan lines overlay — very subtle */
#page-landing::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.03) 3px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Ensure all landing content is above bg */
#page-landing > * {
  position: relative;
  z-index: 2;
}

/* ============================================
   LANDING ATMOSPHERE
   ============================================ */
#landingAtmos {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

#page-landing.active {
  background:
    radial-gradient(ellipse 90% 55% at 50% 10%, rgba(0,35,70,0.5) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(0,15,40,0.3) 0%, transparent 60%),
    #000810 !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

/* All landing content above canvas */
#page-landing > *:not(#landingAtmos) {
  position: relative;
  z-index: 2;
}

/* ============================================
   GOOGLE LOGIN
   ============================================ */
.google-auth-section {
  margin-bottom: 20px;
}
.google-login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #3c3c3c;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s;
}
.google-login-btn:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}
.google-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.2);
  font-size: 11px;
  letter-spacing: 2px;
  font-family: 'Share Tech Mono', monospace;
}
.google-divider::before,
.google-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.google-divider span { white-space: nowrap; }

/* Google button in nav */
.google-nav-btn {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
}
.google-nav-btn:hover {
  background: rgba(255,255,255,0.15) !important;
}

/* ============================================
   LANDING — PROMINENT GOOGLE BUTTON
   ============================================ */
.ln-google-cta {
  margin: 24px auto 0;
  max-width: 380px;
  width: 100%;
}
.ln-google-big-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  background: #fff;
  border: none;
  border-radius: 10px;
  color: #1a1a1a;
  font-family: 'Exo 2', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.ln-google-big-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(66,133,244,0.06), rgba(52,168,83,0.06));
  opacity: 0;
  transition: opacity 0.2s;
}
.ln-google-big-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.ln-google-big-btn:hover::before { opacity: 1; }
.ln-google-big-btn:active { transform: scale(0.98); }
.ln-google-arrow {
  margin-left: auto;
  color: #999;
  font-size: 18px;
}
.ln-google-note {
  text-align: center;
  margin-top: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.25);
}

.ln-hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 380px;
  margin: 20px auto;
  color: rgba(255,255,255,0.2);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
}
.ln-hero-divider::before,
.ln-hero-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* ============================================
   NEURAL NETWORK OVERLAY
   ============================================ */
#neuralOverlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,8,18,0.95);
  backdrop-filter: blur(4px);
}
#neuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.neural-center {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: neuralFadeIn 0.4s ease forwards;
  margin-top: 60px;
}
@keyframes neuralFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.neural-logo {
  font-size: 36px;
  color: #00d4ff;
  animation: neuralPulse 0.8s ease-in-out infinite;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(0,212,255,0.8);
}
@keyframes neuralPulse {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%     { transform: scale(1.15); opacity: 1; }
}
.neural-text {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.neural-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: rgba(0,212,255,0.5);
  letter-spacing: 2px;
  animation: neuralPulse 1.5s ease-in-out infinite;
}

@media (max-width: 480px) {
  .ln-google-big-btn { font-size: 14px; padding: 14px 20px; }
  .ln-google-cta { max-width: 100%; }
}
