/* ============================================================
   PoinBot — Landing Page
   Tema: Lontra Fofa 🦦 (cachecol laranja + pelagem quente)
   ============================================================ */
:root {
  --bg: #120b08;
  --bg-1: #160e0a;
  --bg-2: #1a110c;
  --card: #221710;
  --card-2: #2c1e15;
  --border: #3d2a1d;
  --text: #f7ede0;
  --muted: #a89684;
  --primary: #f08742;
  --primary-hover: #e07228;
  --primary-soft: rgba(240, 135, 66, .14);
  --primary-border: rgba(240, 135, 66, .38);
  --primary-glow: rgba(240, 135, 66, .25);
  --accent: #34d399;
  --accent-soft: rgba(52, 211, 153, .12);
  --accent-glow: rgba(52, 211, 153, .18);
  --honey: #fbbf24;
  --honey-soft: rgba(251, 191, 36, .14);
  --heart: #f5a3a3;
  --heart-soft: rgba(245, 163, 163, .14);
  --danger: #f87171;
  --warning: #fbbf24;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 5, 3, .55);
}

/* ============================================================
   Base & Reset
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
main {
  flex: 1;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: var(--primary-soft); color: #ffcf9e; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
pre { background: #0c0703; border: 1px solid var(--border); border-radius: 10px; padding: 14px; overflow-x: auto; }
pre code { background: none; padding: 0; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.center { text-align: center; }

/* ============================================================
   Lucide Icons (Configuração Global)
   ============================================================ */
svg.lucide {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2.2;
  display: inline-block;
  vertical-align: middle;
}

/* ============================================================
   Navbar (CORRIGIDA PARA FICAR FIXA NO TOPO)
   ============================================================ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  height: 70px;
  background: rgba(18, 11, 8, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  /* Correção para manter a navbar fixa no topo */
  position: sticky;
  top: 0;
}

.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo-emoji { font-size: 1.5rem; filter: drop-shadow(0 0 8px var(--primary-glow)); }

.nav-links { display: flex; align-items: center; gap: 18px; margin: 0 auto; }
.nav-links a { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s; text-decoration: none; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .avatar { width: 24px !important; height: 24px !important; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); margin-right: 4px; vertical-align: middle; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ============================================================
   Botões
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .15s; text-decoration: none; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, #f59a5a 0%, #e07228 100%); color: #fff; box-shadow: 0 6px 18px rgba(224, 114, 40, .3); }
.btn-primary:hover { background: linear-gradient(135deg, #f7a86b 0%, #ea7f34 100%); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(224, 114, 40, .42); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--card-2); border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

/* ============================================================
   Hero & Sections
   ============================================================ */
.hero { position: relative; padding: 80px 28px 60px; overflow: hidden; background: radial-gradient(circle at 18% 12%, var(--primary-glow), transparent 55%), radial-gradient(circle at 82% 22%, var(--heart-soft), transparent 50%), radial-gradient(circle at 50% 100%, var(--honey-soft), transparent 60%); }
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin: 0 0 20px; background: linear-gradient(135deg, #fff5e8 10%, #f08742 60%, #fbbf24 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.hero-sub strong { color: var(--primary); }
.hero-actions { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--honey)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-lbl { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.hero-img { position: absolute; right: 5%; bottom: -20px; width: 350px; opacity: 0.9; pointer-events: none; transform: rotate(5deg); filter: drop-shadow(0 10px 30px rgba(240, 135, 66, 0.3)); }

.section { max-width: 1180px; margin: 0 auto; padding: 60px 28px; width: 100%; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; text-align: center; margin: 0 0 12px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 40px; font-size: 1.05rem; }

/* Títulos das Páginas (Correção do alinhamento do ícone) */
.page-head { text-align: center; padding: 60px 28px 0; max-width: 900px; margin: 0 auto; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 12px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.page-head p { color: var(--muted); font-size: 1.05rem; }

/* ============================================================
   Grid e Cards
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .15s, border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--primary-border); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-icon { font-size: 2rem; margin-bottom: 12px; filter: drop-shadow(0 4px 12px var(--primary-glow)); }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card h4 { margin: 0 0 8px; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); }
.card.mini { padding: 22px; text-align: center; }
.info-card { margin-top: 30px; background: var(--card-2); border-color: rgba(52, 211, 153, .2); }
.info-card h3 { color: var(--accent); display: flex; align-items: center; gap: 8px; }

/* Feature List */
.feature-list { list-style: none; padding: 0; margin: 15px 0 0; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { color: var(--muted); font-size: 0.9rem; position: relative; padding-left: 18px; }
.feature-list li::before { content: "•"; color: var(--primary); position: absolute; left: 0; font-weight: bold; }

.section-cta { padding-top: 0; }
.cta-card { background: radial-gradient(circle at 0% 0%, var(--primary-soft), transparent 60%), radial-gradient(circle at 100% 100%, var(--honey-soft), transparent 60%), var(--card); border: 1px solid var(--primary-border); border-radius: var(--radius); padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.cta-left { display: flex; gap: 18px; align-items: center; }
.cta-emoji { font-size: 3rem; filter: drop-shadow(0 4px 16px var(--primary-glow)); }
.cta-card h3 { margin: 0 0 4px; }
.cta-card p { margin: 0; color: var(--muted); }

/* ============================================================
   Accordion (FAQ)
   ============================================================ */
.accordion { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .15s; }
.accordion-item:hover { border-color: var(--primary-border); }
.accordion-item.open { border-color: var(--primary-border); }
.accordion-head { width: 100%; background: none; border: none; color: var(--text); padding: 18px 22px; display: flex; align-items: center; gap: 14px; cursor: pointer; font-size: 1rem; font-weight: 600; text-align: left; font-family: inherit; }
.accordion-title { flex: 1; }
.accordion-chev { color: var(--primary); transition: transform .2s; }
.accordion-item.open .accordion-chev { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 22px; }
.accordion-item.open .accordion-body { max-height: 3000px; padding: 0 22px 22px; }
.accordion-body p { color: var(--muted); }
.accordion-body ul, .accordion-body ol { color: var(--muted); padding-left: 22px; }

/* ============================================================
   Premium
   ============================================================ */

.check-green { color: var(--accent); }
.check-red { color: var(--danger); }

.faq-item { margin-bottom: 18px; }
.faq-item strong { display: block; color: var(--text); margin-bottom: 4px; }
.faq-item p { margin: 0; }

/* ============================================================
   Calculadora (v2)
   ============================================================ */
.calc-box { max-width: 760px; margin: 0 auto 30px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.calc-input { display: flex; flex-direction: column; gap: 6px; }
.calc-label { font-size: 1rem; font-weight: 700; color: var(--text); }
.calc-hint { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.calc-hint code { font-size: .85em; padding: 1px 6px; background: var(--primary-soft); color: #ffcf9e; border-radius: 4px; }
.calc-input input { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; color: var(--text); font-size: 1.25rem; font-weight: 800; font-family: inherit; transition: border-color .15s, box-shadow .15s; width: 100%; appearance: textfield; -moz-appearance: textfield; }
.calc-input input::-webkit-outer-spin-button, .calc-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.calc-output { padding-top: 24px; border-top: 1px solid var(--border); }
.calc-progress { margin-bottom: 24px; }
.calc-progress-top { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.calc-progress-top strong { color: var(--text); font-weight: 800; }
.calc-progress-bar { height: 16px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.calc-progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary) 0%, var(--honey) 100%); border-radius: 999px; transition: width .4s cubic-bezier(.4, 0, .2, 1); box-shadow: 0 0 12px var(--primary-glow); }
.calc-progress-hint { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.calc-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.calc-stats--mini { margin-top: 16px; }
.calc-stat { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; transition: border-color .15s, transform .15s; }
.calc-stat:hover { border-color: var(--primary-border); transform: translateY(-1px); }
.calc-stat--accent { border-color: var(--primary-border); background: linear-gradient(135deg, var(--primary-soft), transparent 70%), var(--bg-2); }
.calc-stat-icon { font-size: 1.6rem; flex-shrink: 0; filter: drop-shadow(0 2px 6px var(--primary-glow)); }
.calc-stat-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.calc-stat-label { font-size: .78rem; color: var(--muted); font-weight: 500; line-height: 1.3; }
.calc-stat-value { font-size: 1.25rem; font-weight: 800; color: var(--text); line-height: 1.2; word-break: break-word; }
.calc-stat--accent .calc-stat-value { color: var(--accent); }
.calc-details { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.calc-details summary { cursor: pointer; font-weight: 700; color: var(--primary); font-size: .95rem; list-style: none; padding: 6px 0; user-select: none; transition: color .15s; display: flex; align-items: center; gap: 8px; }
.calc-details summary:hover { color: var(--primary-hover); }
.calc-details summary::-webkit-details-marker { display: none; }
.calc-details summary::before { content: "▸"; display: inline-block; transition: transform .2s; }
.calc-details[open] summary::before { transform: rotate(90deg); }
.calc-goal { margin-top: 18px; display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: start; }
.calc-goal-result { min-width: 0; }
.calc-goal-msg { padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 8px; color: var(--text); font-weight: 600; margin: 0; }

/* ============================================================
   Página de Comandos
   ============================================================ */
.cmds-page { 
  max-width: 1280px; 
  margin: 0 auto; 
  padding: 40px 28px 60px; 
  display: grid; 
  grid-template-columns: 260px 1fr; 
  gap: 28px; 
  align-items: start; 
}

.cmds-sidebar { 
  position: sticky; 
  top: 90px; 
  /* A MÁGICA ACONTECE AQUI: */
  height: calc(100vh - 110px); 
  overflow-y: auto; 
  /* ------------------------ */
  display: flex; 
  flex-direction: column; 
  gap: 18px; 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 20px; 
}

/* Estilização da barrinha de rolagem da sidebar (para não ficar feia) */
.cmds-sidebar::-webkit-scrollbar { width: 6px; }
.cmds-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.cmds-search { position: relative; display: flex; align-items: center; }
.cmds-search-icon { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.cmds-search input { width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px 11px 38px; color: var(--text); font-size: .95rem; font-family: inherit; transition: border-color .15s, box-shadow .15s; }
.cmds-search input::placeholder { color: var(--muted); }
.cmds-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.cmds-filters { display: flex; flex-direction: column; gap: 6px; }
.cmds-filter {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  text-align: left;
  font-family: inherit;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cmds-filter:hover { background: var(--card-2); color: var(--primary); }
.cmds-filter.active { background: var(--primary-soft); border-color: var(--primary-border); color: #ffcf9e; }
.cmds-sidebar-footer { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
.cmds-sidebar-footer a { color: var(--muted); font-size: .9rem; transition: color .15s; display: flex; align-items: center; gap: 6px; }
.cmds-sidebar-footer a:hover { color: var(--primary); text-decoration: none; }
.cmds-main { min-width: 0; }
.cmds-head { margin-bottom: 26px; }
.cmds-head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 8px; color: var(--primary); font-weight: 800; display: flex; align-items: center; gap: 12px; }
.cmds-head p { color: var(--muted); font-size: 1rem; margin: 0; max-width: 640px; }
.cmds-head strong { color: var(--primary); }
.cmds-list { display: flex; flex-direction: column; gap: 12px; }
.cmds-empty, .cmds-noresult { margin-top: 20px; }
.cmd-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.cmd-card:hover { border-color: var(--primary-border); }
.cmd-card.open { border-color: var(--primary-border); box-shadow: 0 8px 24px var(--primary-glow); }
.cmd-head { width: 100%; background: none; border: none; color: var(--text); padding: 18px 22px; display: flex; align-items: center; gap: 16px; cursor: pointer; font-family: inherit; text-align: left; transition: background .15s; }
.cmd-head:hover { background: rgba(240, 135, 66, .06); }
.cmd-head-info { flex: 1; min-width: 0; }
.cmd-head-info h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.cmd-head-info p { margin: 0; color: var(--muted); font-size: .92rem; }
.cmd-chev { color: var(--primary); display: flex; transition: transform .25s ease; flex-shrink: 0; }
.cmd-card.open .cmd-chev { transform: rotate(180deg); }
.cmd-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 22px; }
.cmd-card.open .cmd-body { max-height: 4000px; padding: 0 22px 10px; }
.cmd-sub { padding: 20px 0; border-top: 1px solid var(--border); }
.cmd-sub:first-child { border-top: 1px solid var(--border); padding-top: 8px; }
.cmd-sub-desc { margin: 0 0 10px; color: var(--text); font-size: .95rem; font-weight: 700; line-height: 1.4; }
.cmd-syntax { display: inline-block; background: var(--primary-soft); border: 1px solid var(--primary-border); color: #ffcf9e; padding: 8px 14px; border-radius: 8px; font-family: ui-monospace, Atma, Menlo, Consolas, monospace; font-size: .88rem; font-weight: 600; letter-spacing: .01em; }
.cmd-sub-simple { border-top: 1px solid var(--border); padding: 14px 0; }
.cmd-sub-simple .cmd-syntax { margin-top: 0; }
.cmd-sub-explain { margin: 0 0 10px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.cmd-block-title { margin: 0 0 8px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.cmd-args { margin-top: 14px; }
.cmd-args-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.cmd-arg { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 12px; background: rgba(240, 135, 66, .06); border: 1px solid var(--border); border-radius: 8px; font-size: .88rem; }
.cmd-arg-name { background: var(--primary-soft) !important; color: #ffcf9e !important; border: 1px solid var(--primary-border) !important; padding: 2px 8px !important; border-radius: 6px !important; font-weight: 700; font-size: .82rem !important; }
.cmd-arg-type { color: var(--muted); font-size: .8rem; font-style: italic; }
.cmd-arg-req, .cmd-arg-opt { font-size: .7rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.cmd-arg-req { background: var(--heart-soft); color: var(--heart); }
.cmd-arg-opt { background: rgba(168, 150, 132, .15); color: var(--muted); }
.cmd-arg-desc { color: var(--muted); flex: 1 1 100%; font-size: .85rem; margin-top: 2px; }
.cmd-examples { margin-top: 16px; }
.cmd-example { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 6px; margin-bottom: 8px; }
.cmd-example:last-child { margin-bottom: 0; }
.cmd-example-code { background: rgba(12, 7, 3, .7) !important; color: #a7f3d0 !important; border: 1px solid rgba(52, 211, 153, .25) !important; padding: 6px 10px !important; border-radius: 6px !important; font-size: .85rem !important; font-weight: 600; display: inline-block; align-self: flex-start; }
.cmd-example-desc { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.cmd-notes { margin-top: 14px; padding: 10px 14px; background: var(--honey-soft); border-left: 3px solid var(--honey); border-radius: 6px; font-size: .87rem; color: #fde68a; line-height: 1.5; }
.cmd-notes p { margin: 0; display: flex; align-items: center; gap: 6px; }
.cmd-notes strong { color: var(--honey); }

/* ============================================================
   Footer
   ============================================================ */
.footer { margin-top: auto; background: var(--bg-2); border-top: 1px solid var(--border); padding: 48px 28px 22px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), var(--heart), var(--honey), transparent); opacity: .5; }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-brand { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.footer-desc { color: var(--muted); font-size: .9rem; margin: 0; }
.footer-desc strong { color: var(--primary); }
.footer h4 { margin: 0 0 14px; font-size: .95rem; color: var(--text); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { color: var(--muted); font-size: .9rem; transition: color .15s; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom { max-width: 1180px; margin: 32px auto 0; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; text-align: center; }
.footer-desc svg.lucide { display: inline-block; vertical-align: middle; margin-top: -2px; margin-left: 2px; margin-right: 2px; }


/* ============================================================
   Escolha de servidor (OAuth) & Buy Options
   ============================================================ */
.guild-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.guild-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 16px; transition: border-color .15s, transform .15s, box-shadow .15s; margin: 0; }
.guild-card:hover { border-color: var(--primary-border); transform: translateY(-2px); box-shadow: var(--shadow); }
.guild-card-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.guild-icon { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border); }
.guild-icon--placeholder { background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.guild-info { flex: 1; min-width: 0; }
.guild-info h3 { margin: 0 0 6px; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guild-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.guild-tag { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--primary-soft); color: #ffcf9e; border: 1px solid var(--primary-border); text-transform: uppercase; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 4px; }
.guild-tag--premium { background: var(--honey-soft); color: var(--honey); border-color: rgba(251, 191, 36, .35); }
.guild-actions { margin-top: auto; }
.empty-card { max-width: 600px; margin: 0 auto; text-align: center; padding: 46px 32px; }
.empty-emoji { font-size: 4rem; margin-bottom: 12px; filter: drop-shadow(0 6px 20px var(--primary-glow)); }
.empty-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.buy-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-options { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.buy-option { display: block; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; transition: border-color .15s, transform .15s, background .15s; overflow: hidden; }
a.buy-option, .buy-option > summary { display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-decoration: none; color: var(--text); cursor: pointer; list-style: none; font-family: inherit; font-size: inherit; }
.buy-option > summary::-webkit-details-marker { display: none; }
.buy-option:hover { border-color: var(--primary-border); transform: translateY(-1px); background: var(--card); }
a.buy-option:hover { text-decoration: none; }
.buy-option--primary { border-color: var(--primary-border); background: linear-gradient(135deg, rgba(240, 135, 66, .06), transparent 70%), var(--bg-2); }
.buy-option-icon { font-size: 1.8rem; flex-shrink: 0; filter: drop-shadow(0 2px 6px var(--primary-glow)); }
.buy-option-body { flex: 1; min-width: 0; }
.buy-option-body h3 { margin: 0 0 2px; font-size: 1rem; font-weight: 700; color: var(--text); }
.buy-option-body p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.buy-option-arrow { color: var(--primary); font-size: 1.2rem; font-weight: 700; flex-shrink: 0; transition: transform .15s; }
.buy-option:hover .buy-option-arrow { transform: translateX(4px); }
.buy-option--manual[open] { background: var(--card); border-color: var(--primary-border); }
.buy-option--manual[open] .buy-option-arrow { transform: rotate(90deg); }
.buy-option--manual .buy-form { padding: 0 20px 20px; margin: 0; max-width: 100%; }

/* ============================================================
   User Dropdown (Navbar)
   ============================================================ */
.user-dropdown { position: relative !important; display: inline-block !important; }
.user-dropdown summary { list-style: none !important; cursor: pointer !important; display: flex !important; align-items: center !important; }
.user-dropdown summary::-webkit-details-marker { display: none !important; }
.user-dropdown-menu { position: absolute !important; top: calc(100% + 8px) !important; right: 0 !important; background: var(--card-2) !important; border: 1px solid var(--border) !important; border-radius: 10px !important; min-width: 180px !important; box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important; z-index: 1000 !important; display: flex !important; flex-direction: column !important; overflow: hidden !important; }
.user-dropdown-menu a { display: block !important; padding: 12px 16px !important; color: var(--text) !important; font-size: 0.9rem !important; text-decoration: none !important; transition: background 0.15s !important; }
.user-dropdown-menu a:hover { background: var(--primary-soft) !important; color: var(--primary) !important; }
.user-dropdown-menu .text-danger { color: #f87171 !important; border-top: 1px solid var(--border) !important; }
.user-dropdown-menu .text-danger:hover { background: rgba(248, 113, 113, 0.1) !important; color: #f87171 !important; }

/* ============================================================
   Inputs (Forms)
   ============================================================ */
.input-dark { width: 100%; background-color: var(--bg-2) !important; border: 1px solid var(--border) !important; color: var(--text) !important; padding: 14px 16px; border-radius: 10px; font-size: 1rem; font-family: inherit; transition: all 0.2s ease; }
.input-dark::placeholder { color: #5a4b41; }
.input-dark:focus { outline: none !important; border-color: var(--primary) !important; box-shadow: 0 0 0 3px var(--primary-soft) !important; }

/* ============================================================
   Markdown & Editor de Texto
   ============================================================ */
.markdown-body h1, .markdown-body h2, .markdown-body h3 { color: var(--text); margin-top: 1.5em; margin-bottom: 0.5em; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.markdown-body h1 { font-size: 2rem; border: none; }
.markdown-body p { margin-bottom: 1em; line-height: 1.8; color: var(--muted); }
.markdown-body ul, .markdown-body ol { margin-bottom: 1em; padding-left: 20px; color: var(--muted); }
.markdown-body li { margin-bottom: 5px; }
.markdown-body code { background: var(--bg-2); color: var(--primary); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.markdown-body pre { background: var(--bg-2); padding: 15px; border-radius: 8px; overflow-x: auto; border: 1px solid var(--border); }
.markdown-body pre code { background: none; padding: 0; color: var(--text); }
.markdown-body img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
/* ============================================================
   Correção para Emojis Customizados no Blog
   ============================================================ */
.markdown-body img.discord-emoji {
  width: auto !important;
  height: 1.3em !important;
  max-height: 24px !important;
  display: inline-block !important;
  margin: 0 4px !important;
  vertical-align: middle !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.markdown-body a { color: var(--primary); text-decoration: none; }
.markdown-body a:hover { text-decoration: underline; }

/* EasyMDE Dark Mode */
.EasyMDEContainer .CodeMirror { background-color: var(--bg-2) !important; color: var(--text) !important; border: 1px solid var(--border) !important; border-radius: 0 0 10px 10px !important; }
.EasyMDEContainer .CodeMirror-cursor { border-left: 1px solid var(--text) !important; }
.editor-toolbar { background-color: var(--card-2) !important; border: 1px solid var(--border) !important; border-bottom: none !important; border-radius: 10px 10px 0 0 !important; opacity: 1 !important; }
.editor-toolbar button { color: var(--text) !important; }
.editor-toolbar button:hover, .editor-toolbar button.active { background-color: var(--primary-soft) !important; border-color: var(--border) !important; }
.editor-toolbar i.separator { border-left: 1px solid var(--border) !important; border-right: none !important; }

/* ============================================================
   Layout de Post (Blog)
   ============================================================ */
.post-layout { display: grid !important; grid-template-columns: 260px 1fr !important; gap: 30px !important; align-items: start !important; margin-top: 20px; }
.post-sidebar { background: var(--card) !important; border: 1px solid var(--border) !important; border-radius: 12px !important; padding: 25px 20px !important; text-align: center !important; position: static !important; height: fit-content !important; }
.author-avatar img { width: 90px !important; height: 90px !important; border-radius: 50% !important; object-fit: cover !important; border: 3px solid var(--primary) !important; margin-bottom: 15px !important; box-shadow: 0 4px 15px var(--primary-glow) !important; }
.post-sidebar h3 { margin: 0 0 5px !important; font-size: 1.1rem !important; color: var(--text) !important; }
.author-badge { display: inline-block !important; background: var(--primary-soft) !important; color: var(--primary) !important; border: 1px solid var(--primary-border) !important; padding: 3px 10px !important; border-radius: 999px !important; font-size: 0.75rem !important; font-weight: 700 !important; margin-bottom: 20px !important; }
.author-info { text-align: left !important; border-top: 1px solid var(--border) !important; padding-top: 15px !important; margin-top: 15px !important; font-size: 0.85rem !important; display: flex !important; flex-direction: column !important; gap: 12px !important; }
.info-row { display: flex !important; justify-content: space-between !important; align-items: center !important; }
.info-label { color: var(--muted) !important; font-weight: 500 !important; }
.info-value { color: var(--text) !important; background: var(--bg-2) !important; padding: 3px 8px !important; border-radius: 6px !important; font-weight: 700 !important; border: 1px solid var(--border) !important; }
.post-content { background: var(--card) !important; border: 1px solid var(--border) !important; border-radius: 12px !important; padding: 40px !important; min-width: 0 !important; }
.post-header { margin-bottom: 30px !important; border-bottom: 1px solid var(--border) !important; padding-bottom: 20px !important; }
.post-cover { width: 100% !important; max-height: 350px !important; object-fit: cover !important; border-radius: 8px !important; margin-bottom: 20px !important; display: block !important; }
.post-content h1 { margin: 0 0 10px !important; color: var(--primary) !important; font-size: 2.2rem !important; }
.post-meta { color: var(--muted) !important; font-size: 0.85rem !important; }
.markdown-body img { width: 100% !important; border-radius: 8px !important; margin: 20px 0 !important; display: block !important; box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important; }
.author-badges-container { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; justify-content: center !important; margin-bottom: 20px !important; }
.author-badges-container .author-badge { margin-bottom: 0 !important; }
.post-preview { text-decoration: none; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-preview-img { width: 100%; height: 160px; object-fit: cover; border-bottom: 1px solid var(--border); }
.post-preview-body { padding: 20px; }
.post-preview-body h4 { margin: 0 0 10px; color: var(--text); font-size: 1.1rem; line-height: 1.4; }
.post-preview-body p { margin: 0; color: var(--primary); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 4px; }
.post-preview:hover .post-preview-body h4 { color: var(--primary); }

/* ============================================================
   Documentação Premium (GitBook Style)
   ============================================================ */
.docs-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr) 240px; height: calc(100vh - 70px); background: var(--bg); max-width: 1400px; margin: 0 auto; }
.docs-sidebar-left { background: var(--bg-2); border-right: 1px solid var(--border); height: 100%; display: flex; flex-direction: column; }
.docs-nav-container { padding: 24px 16px; overflow-y: auto; flex: 1; }
.docs-nav-container::-webkit-scrollbar { width: 4px; }
.docs-nav-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.docs-nav-group { margin-bottom: 24px; }
.docs-nav-title { font-size: 0.75rem; font-weight: 800; color: var(--text); text-transform: uppercase; margin-bottom: 8px; padding-left: 12px; letter-spacing: 0.5px; }
.docs-nav-link { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: all 0.2s; margin-bottom: 2px; }
.docs-nav-link:hover { background: var(--card); color: var(--text); text-decoration: none; }
.docs-nav-link.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.docs-main { height: 100%; overflow-y: auto; padding: 48px 64px; min-width: 0; }
.docs-main::-webkit-scrollbar { width: 6px; }
.docs-main::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.docs-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.docs-breadcrumb { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.docs-content h1 { font-size: 2.5rem; color: var(--text); margin-bottom: 24px; display: flex; align-items: center; gap: 16px; font-weight: 800; }
.docs-content .markdown-body { line-height: 1.8; font-size: 1.05rem; color: #c9b9a8; max-width: 800px; }
.docs-content .markdown-body h3 { font-size: 1.5rem; margin-top: 48px; margin-bottom: 16px; color: var(--text); font-weight: 700; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.docs-content .markdown-body p { margin-bottom: 16px; }
.docs-content .markdown-body ul, .docs-content .markdown-body ol { padding-left: 24px; margin-bottom: 24px; }
.docs-content .markdown-body li { margin-bottom: 8px; }
.docs-content .markdown-body strong { color: var(--text); }
.docs-content .markdown-body code { background: var(--bg-2); border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px; font-family: "JetBrains Mono", monospace; font-size: 0.85em; color: var(--primary); font-weight: 600; }
.docs-content .markdown-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; background: var(--card); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.docs-content .markdown-body th { background: var(--bg-2); color: var(--text); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.docs-content .markdown-body td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.docs-content .markdown-body tr:last-child td { border-bottom: none; }
.docs-content .markdown-body tr:hover td { background: rgba(240, 135, 66, 0.04); }
.docs-content .markdown-body blockquote { border-left: 4px solid var(--primary); background: var(--primary-soft); margin: 24px 0; padding: 16px 20px; border-radius: 0 8px 8px 0; }
.docs-content .markdown-body blockquote p { margin: 0; color: var(--text); }
.docs-sidebar-right { padding: 48px 24px; height: 100%; overflow-y: auto; }
.docs-sidebar-right::-webkit-scrollbar { width: 4px; }
.docs-sidebar-right::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.docs-toc-title { font-size: 0.75rem; font-weight: 800; color: var(--text); text-transform: uppercase; margin-bottom: 16px; letter-spacing: 0.5px; }
.docs-toc-list { display: flex; flex-direction: column; border-left: 1px solid var(--border); }
.toc-link { color: var(--muted); text-decoration: none; font-size: 0.85rem; padding: 6px 0 6px 16px; transition: all 0.2s; border-left: 2px solid transparent; margin-left: -1px; }
.toc-link:hover { color: var(--primary); text-decoration: none; border-left-color: var(--primary); }
.toc-link.toc-h2 { font-weight: 700; color: var(--text); }
.toc-link.toc-h3 { padding-left: 24px; font-size: 0.8rem; }
.docs-footer-nav { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); }
.docs-nav-btn { display: flex; flex-direction: column; text-decoration: none; color: var(--text); padding: 16px 24px; border: 1px solid var(--border); border-radius: 10px; transition: all 0.2s; min-width: 200px; }
.docs-nav-btn:hover { border-color: var(--primary); background: var(--card); text-decoration: none; }
.docs-nav-btn.next { text-align: right; }
.nav-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; }
.nav-title { font-weight: 700; color: var(--primary); font-size: 0.95rem; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.docs-nav-btn.prev .nav-title { justify-content: flex-start; }

/* ============================================================
   DASHBOARD DO SERVIDOR
   ============================================================ */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.dash-menu { display: flex; flex-direction: column; gap: 8px; background: var(--card); padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); }
.dash-tab { background: transparent; border: none; color: var(--muted); padding: 12px 16px; text-align: left; border-radius: 8px; cursor: pointer; font-weight: 600; font-family: inherit; font-size: 0.95rem; transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.dash-tab:hover { background: var(--bg-2); color: var(--text); }
.dash-tab.active { background: var(--primary-soft); color: var(--primary); }
.dash-content { background: var(--card); border: 1px solid var(--border); padding: 30px; border-radius: var(--radius); }
.dash-pane h2 { margin-top: 0; margin-bottom: 24px; font-size: 1.3rem; border-bottom: 1px solid var(--border); padding-bottom: 12px; color: var(--primary); display: flex; align-items: center; gap: 8px; }
select.input-dark { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a89684' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em; }
.alert-success { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.4); color: var(--accent); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
select[multiple].input-dark { padding: 10px; background-image: none; }
select[multiple].input-dark option { padding: 8px; border-radius: 4px; margin-bottom: 2px; }
select[multiple].input-dark option:checked { background: var(--primary-soft); color: var(--primary); }
.toggle-switch { position: relative; display: inline-block; width: 46px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--border); transition: .3s; border-radius: 24px; }
.toggle-switch .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; }
.toggle-switch input:checked + .slider { background-color: var(--primary); }
.toggle-switch input:checked + .slider:before { transform: translateX(22px); }
.reward-item { display: flex; justify-content: space-between; align-items: center; background: var(--bg-2); padding: 12px 16px; border-radius: 8px; margin-bottom: 8px; border: 1px solid var(--border); color: var(--text); font-size: 0.95rem; }
.reward-item strong { color: var(--primary); }
.btn-remove { background: none; border: none; color: #f87171; cursor: pointer; font-size: 1.2rem; transition: transform 0.2s, color 0.2s; }
.btn-remove:hover { color: #ef4444; transform: scale(1.2); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
select.input-dark option:disabled { color: #5a4b41 !important; font-style: italic; background: #1a110c; }
select.input-dark { cursor: pointer; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1100px) {
  .docs-layout { grid-template-columns: 260px 1fr; }
  .docs-sidebar-right { display: none; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { padding: 10px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 20px 28px; border-bottom: 1px solid var(--border); gap: 16px; height: auto; margin: 0; }
  .nav-actions .btn { font-size: .82rem; padding: 8px 12px; }
  .cmds-page { grid-template-columns: 1fr; padding: 26px 18px 50px; }
  .cmds-sidebar { position: static; top: auto; }
  .cmds-filters { flex-direction: row; flex-wrap: wrap; }
  .cmds-filter { flex: 0 0 auto; padding: 8px 14px; font-size: .85rem; }
  .cmds-sidebar-footer { flex-direction: row; justify-content: space-around; }
  .otter-deco { display: none; }
  .hero-img { display: none; }
}

@media (max-width: 800px) {
  .post-layout { grid-template-columns: 1fr !important; }
  .post-sidebar { display: flex !important; align-items: center !important; text-align: left !important; padding: 15px !important; gap: 15px !important; }
  .author-avatar img { width: 60px !important; height: 60px !important; margin-bottom: 0 !important; }
  .author-info { display: none !important; }
  .post-content { padding: 20px !important; }
}

@media (max-width: 768px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-menu { flex-direction: row; overflow-x: auto; }
  .dash-tab { white-space: nowrap; }
  .docs-layout { grid-template-columns: 1fr; height: auto; }
  .docs-sidebar-left { display: none; }
  .docs-main { padding: 24px; height: auto; overflow-y: visible; }
}

@media (max-width: 640px) {
  .calc-box { padding: 22px; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-stats { grid-template-columns: 1fr; }
  .calc-goal { grid-template-columns: 1fr; }
  .calc-stat-value { font-size: 1.1rem; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 20px 40px; }
  .hero-stats { gap: 30px; }
  .stat-num { font-size: 1.5rem; }
  .section { padding: 40px 20px; }
  .cta-card { flex-direction: column; text-align: center; }
  .cta-left { flex-direction: column; }
}

/* ============================================================
   Language dropdown (navbar)
   ============================================================ */
.lang-dropdown { position: relative; display: inline-block; }
.lang-dropdown > summary { list-style: none; cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: 6px; }
.lang-dropdown > summary::-webkit-details-marker { display: none; }
.lang-dropdown[open] > summary { border-color: var(--primary); color: var(--primary); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; background: var(--card-2); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,.5); z-index: 1000; display: flex; flex-direction: column; overflow: hidden; }
.lang-option { display: flex; align-items: center; gap: 10px; padding: 11px 14px; color: var(--text) !important; font-size: .9rem; text-decoration: none !important; transition: background .15s; }
.lang-option:hover { background: var(--primary-soft); color: var(--primary) !important; }
.lang-option.active { background: var(--primary-soft); color: var(--primary) !important; font-weight: 700; }
.lang-option .lang-name { flex: 1; }
.lang-option svg.lucide { width: 14px; height: 14px; }
@media (max-width: 900px) { .lang-dropdown > summary { padding: 8px 12px; font-size: .82rem; } }

/* ============================================================
   Dashboard shell (Corrigido e Fixo)
   ============================================================ */
.dash-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 28px;
  align-items: start; 
}

/* ── Sidebar (Fica 100% imóvel) ─────────────────────── */
.dash-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  
  /* Fixação */
  position: -webkit-sticky;
  position: sticky;
  top: 90px; 
  height: calc(100vh - 110px); 
  overflow-y: auto; 
  z-index: 10;
  align-self: start; 
  
  /* Esconde a barra de rolagem interna sem tirar a funcionalidade */
  scrollbar-width: none; /* Firefox */
}
.dash-sidebar::-webkit-scrollbar {
  display: none; /* Chrome, Safari e Edge */
}

.dash-sidebar-head { text-align: center; }
.dash-guild-icon {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border);
  margin-bottom: 8px;
}
.dash-guild-icon--fallback {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff; font-weight: 800; font-size: 1.4rem;
}
.dash-guild-name {
  font-weight: 700; font-size: .95rem;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-switch-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .8rem; color: var(--muted); margin-top: 4px;
}
.dash-switch-link:hover { color: var(--primary); }

/* ── Nav ─────────────────────────────────────────── */
.dash-nav {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.dash-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--muted); font-size: .9rem; font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.dash-nav-link:hover { background: var(--bg-2); color: var(--text); }
.dash-nav-link.active {
  background: var(--primary-soft); color: var(--primary);
}
.dash-nav-link svg { width: 16px; height: 16px; }

/* ── Sidebar footer ──────────────────────────────── */
.dash-sidebar-foot {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.dash-badge-premium {
  display: flex; align-items: center; gap: 8px;
  background: var(--honey-soft); border: 1px solid rgba(251,191,36,.35);
  color: var(--honey); padding: 10px 12px; border-radius: 8px;
  font-size: .85rem; font-weight: 700;
}
.dash-upgrade-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 10px 12px; border-radius: 8px;
  font-size: .85rem; font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.dash-upgrade-btn:hover { background: var(--primary-hover); }

/* ── Main ────────────────────────────────────────── */
.dash-main { min-width: 0; }
.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.dash-topbar h1 {
  margin: 0; font-size: 1.6rem;
  display: flex; align-items: center; gap: 12px;
}
.btn-sm { padding: 6px 12px; font-size: .82rem; }

/* ── Responsivo (Para Celular) ───────────────────── */
@media (max-width: 900px) {
  .dash-shell {
    grid-template-columns: 1fr;
    padding: 0 16px;
    margin-top: 16px;
  }
  .dash-sidebar {
    position: static; height: auto; max-height: none;
    flex-direction: row; align-items: center;
    gap: 12px; padding: 12px;
    overflow-y: visible;
  }
  .dash-sidebar-head { text-align: left; display: flex; align-items: center; gap: 12px; }
  .dash-guild-icon { width: 40px; height: 40px; margin: 0; }
  .dash-guild-name { font-size: .85rem; }
  .dash-switch-link { display: none; }
  .dash-nav {
    flex-direction: row; overflow-x: auto;
    border-top: none; padding-top: 0; flex: 1;
    scrollbar-width: none;
  }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav-link { padding: 8px 10px; font-size: .82rem; white-space: nowrap; }
  .dash-nav-link span { display: none; }
  .dash-sidebar-foot { display: none; }
}
/* ============================================================
   Estilização de Markdown & Emojis no Estilo Discord
   ============================================================ */

/* Código in-line estilo Discord (ex: `/daily`) */
code { 
  background: var(--bg-2, #1a110c); 
  color: var(--primary, #f08742); 
  padding: 2px 6px; 
  border-radius: 6px; 
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: .9em; 
  border: 1px solid var(--border, #3d2a1d);
}

/* Blocos de código estilo Discord */
pre { 
  background: #0c0703; 
  border: 1px solid var(--border, #3d2a1d); 
  border-radius: 10px; 
  padding: 14px; 
  overflow-x: auto; 
}

pre code { 
  background: none; 
  border: none;
  padding: 0; 
  color: var(--text, #f7ede0); 
}

/* Emojis customizados do Discord */
.discord-emoji, img.discord-emoji {
  width: auto !important;
  height: 1.3em !important;
  max-height: 24px !important;
  display: inline-block !important;
  margin: 0 3px !important;
  vertical-align: middle !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Formatação adicional de texto dentro do Markdown */
.markdown-body strong {
  color: var(--text, #f7ede0);
  font-weight: 700;
}

.markdown-body blockquote {
  border-left: 4px solid var(--primary, #f08742);
  background: var(--primary-soft, rgba(240, 135, 66, 0.14));
  margin: 12px 0;
  padding: 8px 14px;
  border-radius: 0 8px 8px 0;
}
/* ============================================================
   Estilização de Menções (Canais e Cargos) estilo Discord
   ============================================================ */

.discord-mention {
  background-color: rgba(88, 101, 242, 0.15);
  color: #dee0fc;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-weight: 500;
  display: inline-block;
  line-height: 1.3;
  transition: background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.discord-mention:hover {
  background-color: #5865F2;
  color: #ffffff;
  text-decoration: none;
}

/* Menção de Canal (#canal) */
.discord-mention.channel::before {
  content: "#";
  color: #8ea1e1;
  font-weight: 600;
  margin-right: 1px;
}

.discord-mention.channel:hover::before {
  color: #ffffff;
}

/* Menção de Cargo ou Usuário (@Cargo) */
.discord-mention.role {
  background-color: rgba(235, 69, 158, 0.15);
  color: #f47fff;
}

.discord-mention.role::before {
  content: "@";
  font-weight: 600;
  margin-right: 1px;
}

.discord-mention.role:hover {
  filter: brightness(1.2);
}
/* ============================================================
   DESIGN v2 — tipografia, navegação, home e acessibilidade
   (fica no fim do arquivo para sobrescrever os estilos antigos)
   ============================================================ */
@font-face {
  font-family: "Baloo 2";
  src: url("/fonts/Baloo2-Bold.ttf") format("truetype");
  font-weight: 700 800;
  font-display: swap;
}

:root {
  --font-display: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --surface: rgba(255, 237, 220, .035);
  --surface-2: rgba(255, 237, 220, .06);
  --ring: 0 0 0 3px rgba(240, 135, 66, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --content: 1180px;
}

body { font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .display, .footer-brand, .nav-logo-text { font-family: var(--font-display); letter-spacing: -.01em; }
h1, h2 { line-height: 1.1; }
::selection { background: rgba(240, 135, 66, .35); color: #fff; }

/* Acessibilidade */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; text-decoration: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── Botões ─────────────────────────────────────── */
.btn { border-radius: 12px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s, color .18s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { padding: 8px 14px; font-size: .88rem; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-ghost { background: var(--surface); }
.btn svg.lucide { width: 1.05em; height: 1.05em; }

/* ── Navegação ──────────────────────────────────── */
.nav { height: 68px; padding: 0 clamp(16px, 3vw, 32px); gap: 16px; background: rgba(18, 11, 8, .78); }
.nav-logo { flex-shrink: 0; }
.nav-logo-img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 4px 10px var(--primary-glow)); transition: transform .3s var(--ease); }
.nav-logo:hover .nav-logo-img { transform: rotate(-8deg) scale(1.06); }
.nav-logo-text { font-size: 1.35rem; font-weight: 800; }
.nav-links { gap: 4px; }
.nav-links a, .nav-more > summary { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: .93rem; font-weight: 600; transition: color .15s, background .15s; }
.nav-links a:hover, .nav-more > summary:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active-nav { color: var(--primary); background: var(--primary-soft); }
.nav-more { position: relative; }
.nav-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; user-select: none; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more[open] > summary { color: var(--text); background: var(--surface-2); }
.nav-more-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 230px; background: var(--card-2); border: 1px solid var(--border); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; z-index: 1001; }
.nav-more-menu a { display: flex; gap: 10px; }
.nav-actions { gap: 8px; }
.nav-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.nav-username { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.user-dropdown-menu a { display: flex !important; align-items: center; gap: 10px; }
.user-dropdown-menu .menu-highlight { color: var(--primary) !important; font-weight: 700; border-top: 1px solid var(--border); }
.nav-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border) !important; background: var(--surface) !important; align-items: center; justify-content: center; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; margin: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.open .nav-links a, .nav.open .nav-more > summary { padding: 12px 14px; font-size: 1rem; }
  .nav-more-menu { position: static; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; }
}
@media (max-width: 560px) {
  .nav-hide-sm, .nav-username, .nav-actions .btn-primary span { display: none; }
}

/* ── Cabeçalhos de seção ───────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffcf9e; background: var(--primary-soft); border: 1px solid var(--primary-border); }
.eyebrow--honey { color: var(--honey); background: var(--honey-soft); border-color: rgba(251, 191, 36, .35); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.section-head--row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: left; }
.section-head--row > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: .93rem; }
.link-arrow svg.lucide { transition: transform .2s var(--ease); }
a:hover .link-arrow svg.lucide, .link-arrow:hover svg.lucide { transform: translateX(4px); }

/* ── Home: hero ─────────────────────────────────── */
.home-hero { position: relative; padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 32px) 56px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(240, 135, 66, .16), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(251, 191, 36, .07), transparent 60%);
  border-bottom: 1px solid var(--border); }
.home-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255, 237, 220, .09) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.home-hero-inner { position: relative; max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.display { margin: 0; font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; line-height: 1.02; color: #fff6ec; }
.display .hl { color: var(--primary); position: relative; white-space: nowrap; }
.display .hl::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .16em; height: .12em; border-radius: 99px; background: linear-gradient(90deg, var(--primary), var(--honey)); opacity: .55; z-index: -1; }
.lead { margin: 0; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 540px; line-height: 1.65; }
.home-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .9rem; }
.trust-list li { display: flex; align-items: center; gap: 6px; }
.trust-list svg.lucide { color: var(--accent); width: 16px; height: 16px; }

/* Prévia do Discord */
.home-hero-visual { position: relative; }
.hero-otter { position: absolute; width: clamp(96px, 11vw, 150px); height: auto; top: -62px; right: -10px; z-index: 2; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); animation: otter-bob 5s ease-in-out infinite; }
@keyframes otter-bob { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.dc-window { position: relative; background: #313338; color: #dbdee1; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(240, 135, 66, .08), 0 0 80px -10px rgba(240, 135, 66, .25); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s var(--ease); }
.home-hero-visual:hover .dc-window { transform: perspective(1400px) rotateY(0) rotateX(0); }
.dc-titlebar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #2b2d31; border-bottom: 1px solid rgba(0, 0, 0, .25); font-weight: 700; color: #f2f3f5; font-size: .95rem; }
.dc-hash { color: #80848e; font-size: 1.25rem; font-weight: 500; }
.dc-dots { margin-left: auto; display: flex; gap: 6px; }
.dc-dots i { width: 10px; height: 10px; border-radius: 50%; background: #4e5058; }
.dc-body { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 16px; font-family: var(--font-body); font-size: .92rem; }
.dc-msg { display: flex; gap: 12px; }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; background: #1e1f22; }
.dc-avatar--user, .dc-avatar--user2 { display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #5865f2, #8b5cf6); }
.dc-avatar--user2 { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.dc-content { min-width: 0; flex: 1; }
.dc-content p { margin: 2px 0 0; }
.dc-meta { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: #949ba4; }
.dc-meta strong { color: #f2f3f5; font-size: .93rem; }
.dc-bot { color: var(--primary) !important; }
.dc-tag { background: #5865f2; color: #fff; font-size: .62rem; font-weight: 800; padding: 1px 5px; border-radius: 4px; }
.dc-card { margin-top: 6px; display: flex; gap: 12px; align-items: center; background: #2b2d31; border-radius: 8px; border-left: 4px solid var(--primary); padding: 12px 14px; max-width: 420px; }
.dc-card--green { border-left-color: #57f287; }
.dc-card-text { flex: 1; min-width: 0; }
.dc-card h3 { margin: 0 0 4px; font-family: var(--font-body); font-size: .98rem; color: #f2f3f5; }
.dc-card p { margin: 0; }
.dc-thumb { width: 64px; height: 64px; object-fit: contain; }
.dc-mention { color: #c9cdfb; background: rgba(88, 101, 242, .3); padding: 0 3px; border-radius: 3px; font-weight: 600; }
.dc-xp { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.dc-xp small { color: #949ba4; font-size: .75rem; white-space: nowrap; }
.dc-xp-bar, .lvl-bar { flex: 1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.dc-xp-bar span, .lvl-bar span { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--honey)); }
.dc-reward { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: #b5bac1; }
.dc-reward svg.lucide { color: var(--honey); width: 15px; height: 15px; }
.dc-role { color: var(--honey); font-weight: 700; }
.dc-cmd { color: #c9cdfb; font-weight: 600; }

.stats-strip { position: relative; max-width: 760px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.stats-strip > div { padding: 18px 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.stats-strip > div + div { border-left: 1px solid var(--border); }
.stats-strip strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--text); line-height: 1.1; }
.stats-strip span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

/* ── Home: seções ───────────────────────────────── */
.home-section { max-width: var(--content); margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 32px) 0; width: 100%; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-card { position: relative; background: linear-gradient(160deg, var(--card-2), var(--card) 60%); border: 1px solid var(--border); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; overflow: hidden; }
.bento-card:hover { transform: translateY(-4px); border-color: var(--primary-border); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); }
.bento-card h3 { margin: 4px 0 0; font-size: 1.3rem; }
.bento-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.bento-card--wide { grid-column: span 2; grid-row: span 2; }
.bento-card--accent { background: radial-gradient(400px 200px at 100% 0%, rgba(240, 135, 66, .22), transparent 70%), linear-gradient(160deg, var(--card-2), var(--card)); border-color: var(--primary-border); }
.bento-card--accent .link-arrow { margin-top: auto; padding-top: 6px; }
.bento-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); border: 1px solid var(--primary-border); color: var(--primary); }
.bento-icon svg.lucide { width: 22px; height: 22px; }
.bento-levels { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.lvl-row { display: grid; grid-template-columns: 42px 150px 1fr; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); border: 1px solid var(--border); }
.lvl-badge { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, #f59a5a, #e07228); }
.lvl-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px; position: relative; }
.steps h3 { margin: 14px 0 6px; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); border: 2px solid var(--primary-border); background: var(--primary-soft); }

.premium-band { position: relative; display: flex; align-items: center; gap: 28px; padding: 34px clamp(22px, 4vw, 44px); border-radius: 24px; overflow: hidden;
  background: radial-gradient(600px 300px at 0% 50%, rgba(251, 191, 36, .14), transparent 70%), radial-gradient(500px 300px at 100% 0%, rgba(240, 135, 66, .2), transparent 70%), var(--card);
  border: 1px solid rgba(251, 191, 36, .28); }
.premium-band-otter { width: 120px; height: 120px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .4)); }
.premium-band-text { flex: 1; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.premium-band-text h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.premium-band-text p { margin: 0; color: var(--muted); }
.premium-band-text strong { color: var(--honey); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; color: var(--text); transition: transform .25s var(--ease), border-color .25s; }
.post-card:hover { text-decoration: none; transform: translateY(-4px); border-color: var(--primary-border); }
.post-card > img, .post-card-placeholder { width: 100%; height: 180px; object-fit: cover; }
.post-card-placeholder { display: grid; place-items: center; background: radial-gradient(circle, var(--primary-soft), transparent 70%), var(--card-2); }
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-body h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.post-card-body .link-arrow { margin-top: auto; }

.home-final { text-align: center; padding-bottom: clamp(72px, 10vw, 120px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.home-final h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.home-final p { margin: 0 0 8px; color: var(--muted); font-size: 1.08rem; }

/* ── Rodapé ─────────────────────────────────────── */
.footer { margin-top: 64px; padding-top: 56px; }
.footer-otter { position: absolute; top: -66px; right: clamp(16px, 6vw, 80px); width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .45)); pointer-events: none; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 1.4rem; }
.footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.footer-desc .heart { color: #f87171; width: 15px; height: 15px; }
.footer-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer ul a:hover { text-decoration: none; }

/* ── Responsivo da home ─────────────────────────── */
@media (max-width: 980px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-copy { align-items: center; text-align: center; }
  .home-hero-actions, .trust-list { justify-content: center; }
  .home-hero-visual { max-width: 560px; margin: 40px auto 0; width: 100%; }
  .dc-window { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card--wide { grid-column: span 2; grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: auto; }
  .lvl-row { grid-template-columns: 38px 1fr; }
  .lvl-row .lvl-bar { grid-column: 1 / -1; }
  .premium-band { flex-direction: column; text-align: center; }
  .premium-band-text { align-items: center; }
  .stats-strip { grid-template-columns: 1fr; }
  .stats-strip > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .hero-otter { top: -48px; right: 0; }
  .footer-otter { width: 72px; height: 72px; top: -50px; }
}
.nav-mobile-only { display: none !important; }
@media (max-width: 980px) { .nav.open .nav-links .nav-mobile-only { display: flex !important; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 14px; } }

/* ── Página de comandos: descrição + sintaxe por uso ── */
.cmd-card .cmd-title { color: var(--primary); }
.cmd-card.open { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.cmd-uses { display: flex; flex-direction: column; gap: 18px; padding: 4px 20px 22px; }
.cmd-use-desc { margin: 0 0 8px; color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.45; }
.cmd-use-syntax {
  display: block; width: 100%; box-sizing: border-box;
  background: var(--bg-2); color: var(--primary);
  padding: 11px 14px; border-radius: 10px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88rem;
  white-space: pre-wrap; word-break: break-word;
}
.cmd-use-args { list-style: none; margin: 10px 0 0; padding: 0 0 0 4px; display: flex; flex-direction: column; gap: 6px; }
.cmd-use-args li { display: block; font-size: .84rem; line-height: 1.7; }
.cmd-use-args li > * { margin-right: 6px; }
.cmd-use-args code { color: var(--honey); background: rgba(251,191,36,.1); padding: 1px 7px; border-radius: 5px; font-size: .82rem; }
.cmd-arg-type { color: var(--muted); font-size: .78rem; }
.cmd-arg-desc { color: var(--text); opacity: .85; }
.cmd-arg-desc::before { content: "— "; color: var(--muted); }
.cmd-note { margin: 8px 0 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; }
.cmd-note svg { width: 14px; height: 14px; flex-shrink: 0; }
