:root {
  --bg: #0f0f11;
  --card: #151517;
  --muted: #bfbfbf;
  --accent: #8e44ad;
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #eaeaea;

  -webkit-font-smoothing: antialiased;
  padding-top: 90px;
}

a {
  color: inherit;
  text-decoration: none;
}
/* --- Tema Claro "Branco Arroxado" --- */
body.light {
  --bg: #f8f6ff;
  --card: #ffffff;
  --muted: #555;
  --accent: #9b59b6;
  --glass: rgba(0, 0, 0, 0.05);
  color: #222;
  background: linear-gradient(180deg, #f4efff 0%, #f8f6ff 100%);
}

body.light .navbar {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(155, 89, 182, 0.15);
}

body.light .nav-links a {
  color: #555;
}

body.light .nav-links a:hover {
  background: rgba(155, 89, 182, 0.1);
  color: var(--accent);
}

body.light .clear-dm {
  text-shadow:
     0 0 3px #9b59b6,
     0 0 6px #b47ed8,
     0 0 9px #caa8ea;
}

body.light .star-badge {
  text-shadow:
     0 0 3px #fff,
     0 0 6px #ffdd00,
     0 0 10px #caa8ea;
}

/* --- Botão de tema --- */
#themeToggle {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

#themeToggle:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.navbar {
  position: sticky;
  top: 10px;
  z-index: 100;
}
.navbar button,
.navbar input,
.navbar a {
  width: auto;
}

.navbar button {
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.navbar button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
/* === Navbar com botão de tema === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 20px;
}

#themeToggle {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

#themeToggle:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}


.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1100px;
  background: rgba(50, 30, 70, 0.85); /* roxo escuro branquiado */
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
  z-index: 1000;
}


.navbar.scrolled {
  top: 8px;
  background: rgba(21, 21, 23, 0.9);
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.brand a {
  font-weight: 800;
  color: white;
  font-size: 20px;
  letter-spacing: 0.4px;
}

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

.nav-links a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  transition: all .18s;
}

.nav-links a:hover {
  background: var(--glass);
  color: var(--accent);
  transform: translateY(-2px);
}

.container {
  max-width: 1100px;
  margin: 36px auto;
  padding: 20px;
}

.header {
  background: linear-gradient(90deg, rgba(142,68,173,0.06), rgba(0,0,0,0.0));
  padding: 28px;
  border-radius: 14px;
  margin: 12px 0 24px 0;
}

.header h1 {
  margin: 0;
  font-size: 28px;
}

.header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  padding: 18px;
  border-radius: var(--radius);
  color: inherit;
  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  transition: transform .18s, box-shadow .18s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 10px;
  object-fit: cover;
}

.footer {
  margin-top: 28px;
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.col {
  flex: 1;
  min-width: 260px;
}

.kv {
  font-size: 12px;
  color: var(--muted);
}

input, textarea, button {
  width: 100%;
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--card);
  color: #fff;
  font-size: 14px;
  transition: all .18s;
}

input:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
}

button {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.preview {
  background: var(--card);
  padding: 12px;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.invite-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.invite-result img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.invite-info h3 {
  margin: 0;
  font-size: 15px;
}

.invite-info p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.call-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  padding: 14px;
  border-radius: var(--radius);
  margin-top: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.call-info img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--glass);
}

.server-details {
  flex: 1;
  overflow: hidden;
}

.server-name {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.timestamp {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

#leave-call-btn {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#leave-call-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
* {
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.clear-dm {
  position: relative;
  font-weight: bold;
  font-size: 16px;
  color: white;
  text-decoration: none;
  text-shadow:
     0 0 3px #8e44ad,
     0 0 6px #8e44ad,
     0 0 9px #8e44ad,
     0 0 12px #b27cd6;
  transition: 0.3s;
}

.clear-dm:hover {
  text-shadow:
     0 0 5px #8e44ad,
     0 0 10px #8e44ad,
     0 0 15px #8e44ad,
     0 0 20px #b27cd6;
}

.page-favorite {
  position: fixed;
  top: 140px; 
  left: 50%;
  transform: translateX(-50%);
  background: #8e44ad;
  color: yellow;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 12px;
  text-shadow: 0 0 8px #fff;
  box-shadow: 0 0 15px rgba(142,68,173,0.8);
  z-index: 1000;
  animation: glowBanner 1.5s infinite alternate;
}

@keyframes glowBanner {
  from { box-shadow: 0 0 10px rgba(142,68,173,0.5); }
  to { box-shadow: 0 0 25px rgba(142,68,173,1); }
}

.star-badge {
  position: absolute;
  top: -15px; 
  left: 50%;
  transform: translateX(-50%);
  color: yellow;
  font-size: 18px;
  text-shadow:
     0 0 4px #fff,
     0 0 8px yellow,
     0 0 12px violet;
  pointer-events: none;
  animation: glowStar 1.5s infinite alternate;
}

@keyframes glowStar {
  from { text-shadow: 0 0 2px #fff, 0 0 4px yellow, 0 0 6px violet; }
  to { text-shadow: 0 0 6px #fff, 0 0 12px yellow, 0 0 18px violet; }
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  padding: 4px 8px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.user-profile:hover {
  background: rgba(255, 255, 255, 0.06);
}

.user-profile img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.user-profile span {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

#logoutBtn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  color: #8e44ad;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}

#logoutBtn:hover {
  background: rgba(142,68,173,0.1);
  color: #b27cd6;
}

.logout-icon {
  width: 16px;
  height: 16px;
  filter: invert(46%) sepia(96%) saturate(620%) hue-rotate(266deg) brightness(103%) contrast(102%);
  transition: filter 0.2s ease;
}

#logoutBtn:hover .logout-icon {
  filter: invert(56%) sepia(97%) saturate(1000%) hue-rotate(270deg) brightness(105%) contrast(105%);
}

.user-menu {
  position: relative;
  display: inline-block;
}

.user-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--glass);
  padding: 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.user-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-trigger img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.user-trigger span {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: 110%;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  min-width: 160px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
}

.user-dropdown a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  transition: all 0.2s;
}

.user-dropdown a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--accent);
}

.user-menu.active .user-dropdown {
  display: flex;
}

@media (max-width: 600px) {
  .call-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .call-info img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--muted);
}

a:focus {
  outline: 2px dashed rgba(142,68,173,0.25);
  outline-offset: 3px;
  border-radius: 8px;
}

/* === Transições de página (fade-in / fade-out) === */
.page-transition {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.fade-in {
  opacity: 1;
  transition: opacity 0.4s ease;
}

body.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}

#overlay {
  position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(8,8,8,0.6);backdrop-filter: blur(4px);z-index:50;
}
#confirmModal {
  width:90%;max-width:520px;background:var(--card);padding:18px;border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,0.6);
  transform:translateY(10px);opacity:0;transition:all .25s ease;
}
#overlay.show #confirmModal{ transform:translateY(0); opacity:1; }
.progress { margin-top:12px; font-size:13px; color:var(--muted); }

/* Progress Modal */
#progressOverlay {
  position: fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 100;
}
#progressModal {
  width:90%;
  max-width:380px;
  background: var(--card);
  padding:18px;
  border-radius:12px;
  box-shadow:0 12px 40px rgba(0,0,0,0.6);
  display:flex;
  flex-direction:column;
  gap:12px;
}
#progressModal h4, #progressModal p { margin:0; font-size:14px; }
#progressModal img { width:40px; height:40px; border-radius:50%; }

/* Spinner estilizado */
.spinner {
  width:28px;
  height:28px;
  border:4px solid rgba(255,255,255,0.1);
  border-top-color:#8e44ad;
  border-radius:50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Notificações */
#notifications {
  position: fixed;
  top:20px;
  right:20px;
  display:flex;
  flex-direction:column;
  gap:8px;
  z-index:200;
}

.notification {
  min-width:220px;
  background: #2f2f2f;
  color:#fff;
  padding:12px;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  font-size:13px;
}
.notification.success { border-left:4px solid #2ecc71; }
.notification.error { border-left:4px solid #8e44ad; }
.notification .progress-bar {
  position:absolute;
  bottom:0; left:0;
  height:3px;
  width:100%;
  background-color:#2ecc71;
  transition: width 5s linear;
}
.notification.error .progress-bar { background-color:#8e44ad; }
:root {
  --bg: #0f0f11;
  --card: #151517;
  --muted: #bfbfbf;
  --accent: #9b5cf5;
  --accent-glow: rgba(155, 92, 245, 0.35);
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 14px;
}

/* Tema claro */
:root.light {
  --bg: #f8f6ff;
  --card: #ffffff;
  --muted: #5c5c6b;
  --accent: #8b4df7;
  --accent-glow: rgba(139, 77, 247, 0.2);
  --glass: rgba(0, 0, 0, 0.05);
  color-scheme: light;
}

/* Reset */
* { box-sizing: border-box; }
html, body {
  height:100%;
  margin:0;
  font-family: "Inter", sans-serif;
  color:#eaeaea;

  background-attachment: fixed;
  padding-top:90px;
  transition: background .4s, color .4s;
}
:root.light body {
  background: linear-gradient(180deg, #f9f6ff 0%, #ebe4ff 100%);
}
a { color:inherit; text-decoration:none; }
button,input,textarea { font-family:inherit; }

/* Navbar */
.navbar {
  position: fixed;
  top:16px; left:50%; transform:translateX(-50%);
  width: calc(100% - 40px);
  max-width:1100px;
  background: rgba(21,21,23,0.85);
  backdrop-filter: blur(12px);
  border-radius:18px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.45);
  padding:16px 24px;
  display:flex; align-items:center; justify-content:space-between;
  transition: all 0.25s ease;
  z-index:1000;
}
:root.light .navbar {
  background: rgba(255,255,255,0.75);
  box-shadow:0 4px 18px rgba(0,0,0,0.15);
}
.navbar.scrolled {
  top:8px;
  background: rgba(21,21,23,0.9);
  padding:10px 20px;
  border-radius:12px;
}
:root.light .navbar.scrolled {
  background: rgba(255,255,255,0.85);
}
.brand a {
  font-weight:800;
  font-size:20px;
  color:white;
  letter-spacing:0.5px;
}
:root.light .brand a { color:#000; }

.nav-links {
  display:flex;
  gap:10px;
  align-items:center;
}
.nav-links a {
  padding:8px 14px;
  border-radius:10px;
  color:var(--muted);
  font-weight:600;
  transition: all .2s;
}
.nav-links a:hover {
  background:var(--glass);
  color:var(--accent);
  transform:translateY(-2px);
  box-shadow:0 0 8px var(--accent-glow);
}

/* Botão de tema */
.theme-toggle {
  background:var(--glass);
  border:none;
  border-radius:50%;
  width:34px; height:34px;
  display:flex; align-items:center; justify-content:center;
  color:var(--muted);
  cursor:pointer;
  transition:all .25s ease;
}
.theme-toggle:hover {
  color:var(--accent);
  box-shadow:0 0 10px var(--accent-glow);
}

/* Container */
.container { max-width:1100px; margin:36px auto; padding:20px; }
.header {
  background: linear-gradient(90deg, rgba(155,92,245,0.1), rgba(0,0,0,0));
  padding:32px;
  border-radius:16px;
  margin:12px 0 30px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  transition: background .3s;
}
:root.light .header {
  background: linear-gradient(90deg, rgba(155,92,245,0.1), rgba(255,255,255,0.6));
}
.header h1 { margin:0; font-size:30px; font-weight:700; }
.header p { margin:6px 0 0; color:var(--muted); font-size:15px; }

/* DM Cards */
.dm-list {
  display:flex; flex-direction:column; gap:12px; margin-top:12px;
}
.dm-card {
  display:flex; align-items:center; gap:14px;
  padding:14px 16px;
  border-radius:var(--radius);
  background:linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: all .25s ease;
}
:root.light .dm-card {
  background:rgba(255,255,255,0.8);
  box-shadow:0 3px 10px rgba(0,0,0,0.1);
}
.dm-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 8px 26px rgba(0,0,0,0.45);
}
:root.light .dm-card:hover {
  background:#fff;
  box-shadow:0 6px 14px rgba(0,0,0,0.15);
}
.dm-card img {
  width:44px; height:44px;
  border-radius:50%;
  object-fit:cover;
  border: 2px solid rgba(255,255,255,0.08);
}
.dm-info h4 { margin:0; font-size:16px; }
.dm-info p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.actions { margin-left:auto; display:flex; gap:8px; }

/* Botões */
.small {
  padding:8px 12px;
  font-size:13px;
  border-radius:10px;
  font-weight:600;
  transition: all .2s;
}
.btn-danger {
  background:var(--accent);
  border:none;
  color:#fff;
  cursor:pointer;
  box-shadow:0 0 10px var(--accent-glow);
}
.btn-danger:hover {
  background:#a970f7;
  box-shadow:0 0 14px var(--accent-glow);
}
.btn-ghost {
  background:transparent;
  border:1px solid rgba(255,255,255,0.08);
  color:var(--muted);
  cursor:pointer;
}
.btn-ghost:hover { color:#fff; border-color:rgba(255,255,255,0.15); }
:root.light .btn-ghost { border-color:rgba(0,0,0,0.1); color:#555; }
:root.light .btn-ghost:hover { border-color:rgba(0,0,0,0.2); color:#000; }
#papaiNoel {
  position: fixed;
  bottom: 20px;   /* distância do fundo */
  right: 20px;    /* distância da direita */
  width: 80px;    /* tamanho do GIF */
  height: auto;
  z-index: 1000;  /* garantir que fique acima de tudo */
}

/* Modais */
#progressOverlay,#overlay {
  position:fixed; inset:0;
  display:none; align-items:center; justify-content:center;
  background:rgba(8,8,8,0.6);
  backdrop-filter: blur(6px);
  z-index:2000;
  transition: opacity 0.25s ease;
}
:root.light #progressOverlay,
:root.light #overlay { background:rgba(255,255,255,0.5); }
#confirmModal,#progressModal {
  background:var(--card);
  padding:22px;
  border-radius:16px;
  box-shadow:0 12px 40px rgba(0,0,0,0.6);
  transition: all .25s ease;
}
:root.light #confirmModal,
:root.light #progressModal {
  background:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,0.2);
}
#overlay.show #confirmModal { transform:translateY(0); opacity:1; }

/* Notificações */
#notifications { position: fixed; top:20px; right:20px; display:flex; flex-direction:column; gap:8px; z-index:9999; }
.notification {
  min-width:240px; background:rgba(40,40,42,0.95); color:#fff;
  padding:14px 16px; border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.4); font-size:13px;
  overflow:hidden; transform:translateX(20px); opacity:0;
  animation:slideIn .3s forwards;
}
:root.light .notification { background:#fff; color:#000; }
.notification.success { border-left:4px solid #9b5cf5; }
.notification.error { border-left:4px solid #e74c3c; }
.notification .progress-bar {
  position:absolute; bottom:0; left:0;
  height:3px; width:100%; background-color:#9b5cf5;
  transition: width 5s linear;
}
  /* Banner do contador */
  #updateBanner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #6a0dad;
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    z-index: 9999;
  }

  body {
    background: linear-gradient(#001, #335); /* céu noturno */
    overflow-x: hidden;
    position: relative;
  }

  /* Flocos de neve */
  .snowflake {
    position: fixed;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
    z-index: 10000;
    animation-name: fall;
    animation-iteration-count: infinite;
  }

  @keyframes fall {
    0% { transform: translateY(0) translateX(0); opacity: 0.8; }
    100% { transform: translateY(100vh) translateX(30px); opacity: 0.2; }
  }

  /* Bola de neve fixa na tela */
  #snowball {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #fff, #ccc);
    border-radius: 50%;
    box-shadow: 0 0 15px white;
    z-index: 9999;
    animation: bounce 2s infinite ease-in-out;
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

/* --- Neve em cima da navbar --- */
.navbar-snowflake {
  position: absolute;
  top: 0;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
  width: 6px;
  height: 6px;
  animation-name: fallNavbar;
  animation-iteration-count: infinite;
}

@keyframes fallNavbar {
  0% { transform: translateY(0) translateX(0); opacity: 0.8; }
  100% { transform: translateY(50px) translateX(20px); opacity: 0; }
}

/* --- Papai Noel animado --- */
#papaiNoel {
  position: fixed;
  top: -100px; /* começa fora da tela */
  right: 20px;
  width: 80px;
  height: 80px;
  background: url('assets/img/papainoel.gif') no-repeat center center;
  background-size: contain;
  opacity: 0;
  z-index: 10001;
  transition: all 5s ease-in-out;
}

/* Footer */
.footer { text-align:center; color:var(--muted); margin:50px 0 20px; font-size:13px; opacity:0.8; }
@keyframes slideIn { to { transform:translateX(0); opacity:1; } }
@keyframes spin { to { transform:rotate(360deg); } }