/* ============================================================================
   HABITICA THEME & PIXEL ART UI - SERVIDORVF.COM.BR
   ============================================================================ */

:root {
  --primary-purple: #432874;
  --primary-dark: #2c1a4d;
  --primary-light: #5f3e9e;
  --accent-gold: #ffbe5d;
  --accent-gold-dark: #d88918;
  --accent-gem: #00d2d3;
  --accent-red: #f74e52;
  --accent-green: #2ecc71;
  --accent-blue: #3498db;
  --bg-page: #edecee;
  --bg-card: #ffffff;
  --bg-column: #e0dfdf;
  --text-main: #343a40;
  --text-muted: #6c757d;
  --border-color: #d1d0d4;
  --radius: 8px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 1. Header Superior */
.top-header {
  background-color: var(--primary-purple);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.dragon-logo {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.domain-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #ffde7a;
}

.nav-tabs-menu {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav-tab-btn {
  background: none;
  border: none;
  color: #dcd0f0;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-tab-btn.active {
  background: #251642;
  color: #fff;
  border-bottom: 3px solid var(--accent-gold);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px) 0 0/8px 8px;
  padding: 4px 8px;
  border-radius: 6px;
}

/* 1. Widgets de Gemas e Ouro */
.header-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.28);
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.header-stat-item:hover {
  background: rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

.header-svg-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.stat-count {
  color: #fff;
  font-size: 0.95rem;
}

/* 2. Botões de Ícones do Topo (Sync, Chat, Perfil) */
.header-btn-icon {
  background: none;
  border: none;
  color: #e2d9f3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  position: relative;
}

.header-btn-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: scale(1.05);
}

.header-btn-icon:active {
  transform: scale(0.95);
}

/* Animação de Rotação do Botão Sync */
@keyframes syncSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.icon-refresh.spinning {
  animation: syncSpin 0.7s linear infinite;
}

/* Notificação com Badge Star */
.header-badge-star {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.65rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 1px solid #fff;
}

/* Wrapper para dropdowns relativos */
.header-dropdown-wrap {
  position: relative;
}

/* Popovers e Menus Flutuantes */
.header-popover {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  color: var(--text-main);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 1px solid var(--border-color);
  z-index: 1000;
  animation: popoverFadeIn 0.15s ease-out;
}

@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.header-popover.open {
  display: block;
}

/* Popover de Notificações */
.dropdown-notifications {
  width: 320px;
}

.popover-header {
  padding: 12px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-color);
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popover-header h4 {
  font-size: 0.95rem;
  color: var(--primary-purple);
}

.popover-clear {
  font-size: 0.75rem;
  color: #888;
  cursor: pointer;
}

.popover-clear:hover {
  color: var(--accent-red);
}

.popover-body {
  max-height: 280px;
  overflow-y: auto;
  padding: 8px 0;
}

.notif-item {
  padding: 10px 16px;
  border-bottom: 1px solid #f1f2f6;
  font-size: 0.85rem;
  transition: background 0.15s;
}

.notif-item:hover {
  background: #f8f9fa;
}

.notif-title {
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 2px;
}

.notif-text {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.3;
}

.notif-time {
  font-size: 0.7rem;
  color: #999;
  margin-top: 4px;
}

/* Popover do Menu de Perfil */
.dropdown-profile-menu {
  width: 240px;
}

.profile-menu-userinfo {
  padding: 14px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-color);
  border-radius: 8px 8px 0 0;
}

.profile-menu-userinfo strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-purple);
}

.profile-menu-userinfo span {
  font-size: 0.75rem;
  color: #666;
}

.profile-menu-list {
  list-style: none;
  padding: 6px 0;
  margin: 0;
}

.profile-menu-list li {
  padding: 9px 16px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}

.profile-menu-list li:hover {
  background: #f1f2f6;
  color: var(--primary-purple);
}

.menu-divider {
  height: 1px;
  background: #eee;
  margin: 4px 0 !important;
  padding: 0 !important;
  cursor: default !important;
}

/* 2. Banner de Personagem e Status */
.hero-banner {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
}

.avatar-box {
  width: 90px;
  height: 90px;
  background: #a98be3;
  border: 3px solid #613aa7;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.pixel-character {
  width: 72px;
  height: 72px;
  image-rendering: pixelated;
}

.character-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.char-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.char-name {
  font-size: 1.4rem;
  font-weight: 700;
}

.char-subtitle {
  font-size: 0.85rem;
  color: #cfc2e6;
}

/* Barras de RPG */
.rpg-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 480px;
}

.bar-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.bar-icon {
  width: 20px;
  text-align: center;
}

.bar-track {
  flex: 1;
  height: 12px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.3s ease;
}

.bar-hp { background: linear-gradient(90deg, #ff4d4f, #f72e31); }
.bar-exp { background: linear-gradient(90deg, #ffbe5d, #ffa502); }
.bar-mp { background: linear-gradient(90deg, #1890ff, #096dd9); }

.bar-label {
  min-width: 70px;
  font-size: 0.75rem;
  text-align: right;
  color: #e2d9f3;
}

.hero-promo {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 16px 20px;
  max-width: 380px;
  text-align: center;
}

.hero-promo h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #ffde7a;
}

.hero-promo p {
  font-size: 0.85rem;
  color: #d1c5e8;
  margin-bottom: 12px;
  line-height: 1.3;
}

.btn-promo {
  background: #ffbe5d;
  color: #2b174b;
  border: none;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-promo:hover {
  background: #ffab2e;
  transform: translateY(-1px);
}

/* 3. Barra de Ações e Filtros */
.action-bar {
  background: #fff;
  padding: 10px 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.search-tags {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-input {
  padding: 7px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: 260px;
  font-size: 0.9rem;
}

.btn-cron {
  background: #f1f2f6;
  border: 1px solid #ced6e0;
  padding: 7px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4b6584;
}

.btn-cron:hover {
  background: #dfe4ea;
}

.btn-add-task {
  background: var(--primary-purple);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-add-task:hover {
  background: var(--primary-light);
}

/* 4. Colunas Principais de Tarefas */
.main-content {
  flex: 1;
  padding: 20px 24px;
}

.columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}

.task-column {
  background: var(--bg-column);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.column-header {
  padding: 12px 14px;
  background: #d8d7da;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #c9c7cb;
}

.column-title {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-count {
  background: var(--primary-purple);
  color: white;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 12px;
}

.subtabs {
  display: flex;
  background: #e6e5e8;
  padding: 4px 8px;
  gap: 4px;
  font-size: 0.75rem;
}

.subtab-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  color: #666;
  font-weight: 600;
  border-radius: 3px;
}

.subtab-btn.active {
  background: #fff;
  color: var(--primary-purple);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.quick-add-box {
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #e1e0e3;
}

.quick-add-input {
  width: 100%;
  border: 1px solid #d2d0d5;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 0.85rem;
}

.tasks-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 600px;
  overflow-y: auto;
}

/* Card de Tarefa */
.task-card {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #d2d0d5;
  border-left: 6px solid #f1c40f;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.task-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.task-card.completed {
  opacity: 0.6;
  background: #f8f9fa;
  border-left-color: #2ecc71;
}

.task-card.habit-good { border-left-color: #2ecc71; }
.task-card.habit-neutral { border-left-color: #f39c12; }
.task-card.habit-bad { border-left-color: #e74c3c; }

.task-card-content {
  flex: 1;
}

.task-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.task-card.completed .task-card-title {
  text-decoration: line-through;
}

.task-card-notes {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.task-streak {
  font-size: 0.75rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

/* Botões do Hábito (+ e -) */
.habit-btns {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.btn-score {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
}

.btn-score.plus {
  background: #f39c12;
  color: white;
}
.btn-score.plus:hover { background: #d68910; }

.btn-score.minus {
  background: #e67e22;
  color: white;
}
.btn-score.minus:hover { background: #ba4a00; }

.btn-check {
  width: 24px;
  height: 24px;
  border: 2px solid #bdc3c7;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #2ecc71;
}

.btn-check.checked {
  background: #2ecc71;
  border-color: #2ecc71;
  color: white;
}

.btn-buy-reward {
  background: #ffbe5d;
  color: #2b174b;
  border: 1px solid #d88918;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-buy-reward:hover {
  background: #ffa502;
}

/* 5. SEÇÃO DE GRUPOS & ACOMPANHAMENTO DE PROGRESSO (REQUISITO CHAVE) */
.group-view-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.group-banner {
  background: linear-gradient(135deg, #301b52 0%, #4a287c 100%);
  color: white;
  padding: 24px;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.group-info h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.group-info p {
  color: #d8ccee;
  font-size: 0.95rem;
  max-width: 600px;
}

.group-actions {
  display: flex;
  gap: 12px;
}

.btn-group-action {
  background: #ffbe5d;
  color: #2c1a4d;
  border: none;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}

.btn-group-action:hover {
  background: #ffa502;
  transform: translateY(-2px);
}

.btn-secondary-action {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Box da Missão do Grupo (Boss Raid) */
.quest-boss-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  border-left: 6px solid var(--accent-red);
}

.boss-avatar {
  width: 70px;
  height: 70px;
  background: #2f1d4b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.boss-details h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.boss-hp-bar {
  margin-top: 8px;
  height: 16px;
  background: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  max-width: 500px;
}

.boss-hp-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff4757, #ff6b81);
  transition: width 0.4s ease;
}

.boss-hp-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* Grade de Acompanhamento de Membros */
.members-progress-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header-row h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.members-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.member-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.member-card.status-danger {
  border-left: 6px solid var(--accent-red);
}
.member-card.status-warning {
  border-left: 6px solid #f39c12;
}
.member-card.status-healthy {
  border-left: 6px solid var(--accent-green);
}

.member-header-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.member-avatar-box {
  width: 52px;
  height: 52px;
  background: #a98be3;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.member-name-role {
  flex: 1;
}

.member-display-name {
  font-weight: 700;
  font-size: 1rem;
}

.member-role-badge {
  font-size: 0.7rem;
  background: #ece7f7;
  color: var(--primary-purple);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  margin-top: 2px;
}

/* Progresso em tempo real das diárias */
.member-progress-block {
  background: #f8f9fa;
  padding: 10px 12px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
}

.progress-bar-small {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill-small {
  height: 100%;
  border-radius: 4px;
  background: var(--accent-green);
  transition: width 0.3s;
}

.progress-fill-small.low { background: #e74c3c; }
.progress-fill-small.medium { background: #f39c12; }

.member-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  font-size: 0.75rem;
}

.stat-pill {
  background: #f1f2f6;
  padding: 6px;
  border-radius: 4px;
}

.stat-pill strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}

.btn-switch-user {
  background: none;
  border: 1px dashed var(--primary-purple);
  color: var(--primary-purple);
  padding: 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
}

.btn-switch-user:hover {
  background: var(--primary-purple);
  color: #fff;
}

/* Chat do Grupo */
.group-chat-container {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 320px;
}

.chat-messages-box {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 6px;
}

.chat-message-item {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.chat-message-item strong {
  color: var(--primary-purple);
}

.chat-input-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.chat-input-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.85rem;
}

.chat-input-row button {
  background: var(--primary-purple);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.9rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

/* Toast de Notificação */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #2f1d4b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 2000;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsividade */
@media (max-width: 1200px) {
  .columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .columns-grid {
    grid-template-columns: 1fr;
  }
  .rpg-bars {
    max-width: 100%;
  }
}
