/* ════════════════════════════════════════
   Landing screen (pré-lançamento)
   ════════════════════════════════════════ */
.landing-root {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  color: white;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(20px, 6vh, 64px) 20px;
}
.landing-bg {
  position: absolute; inset: 0;
  opacity: 0.55;
  pointer-events: none;
}
.landing-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.landing-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.landing-brand-row {
  display: flex; align-items: baseline; gap: 2px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.landing-brand { font-size: clamp(2.4rem, 7vw, 3.4rem); color: #fff; }
.landing-domain { font-size: clamp(1.1rem, 3vw, 1.4rem); color: rgba(255,255,255,0.5); }
.landing-launch-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.landing-title {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 4px 0 0;
  letter-spacing: -0.02em;
}
.landing-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  max-width: 420px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.landing-access-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 360px;
  margin-top: 12px;
}
.access-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  text-align: center;
}
.access-text strong {
  color: #fff;
  font-weight: 600;
}

.landing-auth,
.landing-waitlist {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; max-width: 360px;
  margin-top: 12px;
}

.landing-btn.ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.25);
}
.landing-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}
.landing-btn:hover { transform: translateY(-1px); }
.landing-btn.google {
  background: #fff; color: #1a1a1a;
}
.landing-btn.github {
  background: #1a1a1a; color: #fff; border-color: rgba(255,255,255,0.2);
}
.landing-btn.primary {
  background: linear-gradient(90deg, #ff00ff, #00ffff);
  color: #000;
}

.landing-logged {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  width: 100%; max-width: 360px;
}
.landing-logged p { margin: 0; font-size: 0.95rem; }

.landing-rabisco-card {
  margin-top: 28px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.08), rgba(0, 255, 255, 0.08));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  text-align: left;
}
@media (max-width: 540px) {
  .landing-rabisco-card { grid-template-columns: 1fr; }
}
.rabisco-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 6px;
}
.rabisco-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.rabisco-text p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.45;
  margin: 0 0 12px;
}
.rabisco-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 120ms ease;
}
.rabisco-cta:hover { background: rgba(255,255,255,0.22); }
.rabisco-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.rabisco-strip img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ════════════════════════════════════════
   Auth bar (login social)
   ════════════════════════════════════════ */
.auth-bar {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: white;
}
.auth-bar .auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 120ms ease;
}
.auth-bar .auth-btn:hover { background: rgba(255, 255, 255, 0.16); }
.auth-bar .auth-btn.google { background: rgba(255, 255, 255, 0.95); color: #1a1a1a; }
.auth-bar .auth-btn.github { background: #1a1a1a; color: white; border: 1px solid rgba(255,255,255,0.2); }
.auth-bar .auth-btn.logout { padding: 4px; }
.auth-bar .auth-avatar {
  width: 24px; height: 24px; border-radius: 50%;
}
.auth-bar .auth-username { opacity: 0.85; }
.auth-bar .auth-vault { opacity: 0.7; font-size: 0.9rem; }

:root {
  --bg-primary: #050505;
  --bg-glass: rgba(15, 15, 15, 0.7);
  --accent: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* ════════════════════════════════════════
   Welcome Screen
   ════════════════════════════════════════ */
.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
}

.welcome-static-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  animation: bg-slow-pulse 20s infinite alternate ease-in-out;
}

@keyframes bg-slow-pulse {
  from { transform: scale(1.0); }
  to   { transform: scale(1.1); }
}

.welcome-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.8) 100%),
              linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.welcome-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 500px;
}

.welcome-logo-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.welcome-brand {
  font-size: clamp(3.2rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: white;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.1));
}

.welcome-domain {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 300;
  color: rgba(255,255,255,0.4);
}

.welcome-divider {
  width: 40px;
  height: 2px;
  background: white;
  opacity: 0.3;
  border-radius: 2px;
}

.welcome-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  font-weight: 300;
}

.welcome-tagline span {
  opacity: 0.5;
  font-size: 0.9em;
}

.welcome-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.welcome-badge {
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
}

.welcome-hint {
  margin-top: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: rgba(255,255,255,0.3);
}

/* ════════════════════════════════════════
   Error Modal
   ════════════════════════════════════════ */
.error-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.error-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 501;
  width: min(420px, 90vw);
  background: rgba(14, 14, 18, 0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}

.error-icon-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.error-icon-ring.selfie {
  background: rgba(255, 50, 80, 0.12);
  border: 1.5px solid rgba(255, 50, 80, 0.3);
  color: #ff3250;
}

.error-icon-ring.generic {
  background: rgba(255, 180, 0, 0.1);
  border: 1.5px solid rgba(255, 180, 0, 0.25);
  color: #ffb400;
}

.error-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.error-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.error-message {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.error-tips {
  margin-top: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: left;
}

.error-tips-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.error-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.error-tips li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.error-close-btn {
  width: 100%;
  padding: 14px;
  background: white;
  color: #050505;
  border: none;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.15s;
}

.error-close-btn:hover { opacity: 0.85; }

/* Success Toast */
.success-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  border: 1px solid rgba(100, 220, 130, 0.3);
  color: #6ddc8b;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  z-index: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: toast-in 0.3s ease;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-primary);
  color: white;
  overflow: hidden; 
}

#root {
  height: 100vh;
  width: 100vw;
}

.app-viewport {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* ════════════════════════════════════════
   Horizontal Scroll Container
   ════════════════════════════════════════ */
.app-container {
  height: 100vh;
  width: 100vw;
  display: flex; /* Horizontal! */
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.app-container::-webkit-scrollbar {
  display: none;
}

.moment-card {
  position: relative;
  flex: 0 0 100vw; /* Cada card ocupa 100% da largura */
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Forçando 16:9 no Mobile tbm */
.moment-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Desktop Nav Arrows */
.desktop-nav {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 400; /* Acima de tudo! */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-btn {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(0) scale(0.9);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.nav-btn.prev { transform: translateX(-10px) scale(0.9); }
.nav-btn.next { transform: translateX(10px) scale(0.9); }

.app-viewport:hover .nav-btn {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.1) !important;
}

/* Aviso de Orientação Portrait */
.portrait-notice {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #050505;
  display: none; /* Escondido por padrão */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  padding: 40px;
}

@media (orientation: portrait) and (max-width: 900px) {
  .portrait-notice {
    display: flex;
  }
}

.portrait-notice svg {
  animation: rotate-anim 3s infinite ease-in-out;
  color: #fff;
}

@keyframes rotate-anim {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(90deg); }
  75%  { transform: rotate(90deg); }
  100% { transform: rotate(0deg); }
}

.portrait-notice p {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.handle {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.blockchain-id {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: fit-content;
}

.badge-mint {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  color: #ffd700; /* Gold */
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 1px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.1em;
  width: fit-content;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge-rabisco {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  background: linear-gradient(90deg, #ff00ff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}
.badge-rabisco.is-unverified {
  background: linear-gradient(90deg, #888, #bbb);
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.15));
  opacity: 0.75;
}
.badge-rabisco svg {
  color: rgba(255,255,255,0.9);
  -webkit-text-fill-color: initial;
  filter: none;
}

.badge-github-sync {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(74, 222, 128, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 2px;
}

.interaction-btn.github:hover {
  background: #24292e;
  color: white;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.interaction-bar {
  position: absolute;
  right: 24px;
  bottom: 40px; /* Baixei para não bater na seta */
  display: flex;
  flex-direction: column;
  gap: 20px;
  pointer-events: auto;
  z-index: 100;
}

.interaction-btn {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.interaction-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.interaction-btn:active {
  transform: scale(0.9);
}

/* Animations */
@keyframes heart-beat {
  0% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1.1); }
  45% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.like-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  pointer-events: none;
  opacity: 0;
}

.like-animation.active {
  animation: heart-beat 0.8s ease-out forwards;
  opacity: 1;
}

/* Uploader Styles */
.uploader-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.upload-controls {
  display: flex;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.github-input {
  background: transparent;
  border: none;
  border-right: 1px solid var(--glass-border);
  padding: 12px 20px;
  color: white;
  font-size: 0.85rem;
  width: 140px; /* Reduzi para caber o toggle */
  outline: none;
}

.privacy-toggle {
  background: transparent;
  border: none;
  border-right: 1px solid var(--glass-border);
  color: rgba(255,255,255,0.4);
  padding: 0 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.privacy-toggle:hover {
  color: white;
}

.privacy-toggle.is-private {
  color: #fbbf24; /* Amber */
  background: rgba(251, 191, 36, 0.1);
}

.interaction-btn.github {
  position: relative;
}

.lock-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fbbf24;
  filter: drop-shadow(0 0 5px rgba(0,0,0,1));
}

.github-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.upload-trigger {
  background: none;
  backdrop-filter: none;
  border: none;
  padding: 12px 24px;
/* ... */

.upload-trigger:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.upload-trigger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* MomentMenu Dropdown */
.moment-menu-wrapper {
  position: relative;
}

.moment-menu {
  position: absolute;
  bottom: 56px;
  right: 0;
  width: 260px;
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  z-index: 200;
  animation: menu-pop 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes menu-pop {
  from { opacity: 0; transform: scale(0.85) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.moment-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--glass-border);
}

.menu-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: color 0.2s;
}
.menu-close:hover { color: white; }

.menu-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 180, 0, 0.08);
  border-bottom: 1px solid rgba(255, 180, 0, 0.15);
  font-size: 0.78rem;
  color: rgba(255, 200, 80, 0.9);
  line-height: 1.4;
}

.menu-notice svg { flex-shrink: 0; margin-top: 2px; }

.menu-notice a {
  color: #f0c040;
  font-weight: 700;
  text-decoration: underline;
}

.menu-notice.success {
  background: rgba(0, 220, 130, 0.08);
  border-bottom-color: rgba(0, 220, 130, 0.15);
  color: rgba(80, 220, 150, 0.9);
}

.menu-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 4px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background 0.15s;
}

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

.menu-item.danger { color: #ff4466; }
.menu-item.danger:hover { background: rgba(255, 50, 80, 0.1); }

/* Feed States */
.loading-state, .empty-state {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-dim);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 24px;
}

/* Share Toast */
.share-toast {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: white;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  pointer-events: none;
  z-index: 300;
}

.toast-hint {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Category Toggle Wrapper */
.category-toggle-wrap {
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
}

.category-toggle {
  position: relative;
  display: flex;
  background: rgba(15, 15, 20, 0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
  border-radius: 40px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}

.toggle-btn {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  padding: 10px 24px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.3s ease;
  min-width: 120px;
}

.toggle-btn.active {
  color: white;
}

.toggle-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.6;
  margin-top: 2px;
}

.toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 36px;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-train-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a78bfa; /* Violeta claro */
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.ai-train-btn:hover {
  transform: rotate(20deg) scale(1.2);
  background: #a78bfa;
  color: black;
}

/* Modal de Feedback */
.feedback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-modal {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 320px;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #a78bfa;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.modal-step p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.options {
  display: flex;
  gap: 12px;
}

.options button {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.options button:hover {
  background: white;
  color: black;
}

.modal-step.success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.modal-loader {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 16px;
}

.error-backdrop {
  display: none; /* Desativado agora */
}
