/* ==========================================================================
   DDTank Nacional — base.css
   Tokens, reset, tipografia, layout, componentes compartilhados.
   Compatibilidade alvo: Chromium 60+, Firefox 60+, Safari 10+, Edge 16+.
   Regras: toda cor com var() tem fallback hex antes; sem gap em flex;
   grids feitos com flex + margens negativas; sem clamp()/aspect-ratio/inset.
   NUNCA incluir este arquivo em layouts/app.blade.php ou layouts/auth.blade.php
   (o reset e as regras de .alert só valem sob body.dn-body dos layouts novos).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    --dn-gold-100: #FFF1B8;
    --dn-gold-300: #FFD84D;
    --dn-gold-500: #FFB020;
    --dn-orange-500: #FF7A1A;
    --dn-orange-700: #E2500F;
    --dn-rust-800: #8A2E0C;
    --dn-brown-900: #4A1A08;
    --dn-brown-950: #2B0F05;
    --dn-ink: #1A0904;
    --dn-cream: #FFF7E6;
    --dn-sand: #E9CBA7;
    --dn-red-500: #E3232B;
    --dn-red-700: #B8151C;
    --dn-red-300: #FF9A93;
    --dn-blue-500: #1E63E9;
    --dn-blue-700: #0D3FA6;
    --dn-blue-300: #8FB8FF;
    --dn-green-500: #2FB344;
    --dn-green-300: #5FD873;
    /* derivados */
    --dn-surface-2: #5C2410;
    --dn-field: #1F0B03;
    --dn-line: rgba(255, 216, 77, .22);
    --dn-line-strong: rgba(255, 216, 77, .45);
    /* tipografia */
    --dn-font-display: "Lilita One", "Trebuchet MS", Arial, sans-serif;
    --dn-font-body: "Nunito", "Trebuchet MS", Arial, sans-serif;
    /* raios e sombras */
    --dn-radius-sm: 10px;
    --dn-radius: 14px;
    --dn-radius-lg: 20px;
    --dn-shadow-card: 0 18px 40px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 241, 184, .12);
    --dn-shadow-pop: 0 22px 50px rgba(0, 0, 0, .5);
    /* z-index */
    --dn-z-header: 100;
    --dn-z-dropdown: 110;
    --dn-z-toast: 1000;
    --dn-z-modal: 900;
    /* novos (direção final) */
    --dn-paper: #FFF7E6;
    --dn-paper-ink: #2B0F05;
    --dn-radius-xs: 6px;
    --dn-radius-xl: 24px;
    --dn-glow-gold: 0 0 0 1px rgba(255, 216, 77, .35), 0 0 24px rgba(255, 176, 32, .25);
    --dn-glow-blue: 0 0 0 1px rgba(143, 184, 255, .5), 0 0 20px rgba(30, 99, 233, .35);
}

/* --------------------------------------------------------------------------
   2. Reset leve
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
    margin: 0;
    min-width: 320px;
    background: #2B0F05;
    background-color: var(--dn-brown-950);
    color: #FFF7E6;
    color: var(--dn-cream);
    font-family: "Nunito", "Trebuchet MS", Arial, sans-serif;
    font-family: var(--dn-font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.1; color: #FFF7E6; color: var(--dn-cream); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
img, svg, video { max-width: 100%; height: auto; }
img { border: 0; vertical-align: middle; }
a { color: #8FB8FF; color: var(--dn-blue-300); text-decoration: none; transition: color .15s; }
a:hover { color: #FFD84D; color: var(--dn-gold-300); }
strong, b { font-weight: 800; }
small { font-size: 87.5%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, [type="submit"] { -webkit-appearance: none; appearance: none; }
hr { border: 0; height: 1px; background: #6B3A14; background: var(--dn-line); margin: 24px 0; }
[hidden] { display: none !important; }
::-moz-selection { background: #FFB020; color: #1A0904; }
::selection { background: #FFB020; color: #1A0904; }

/* Foco visível (anel creme). Em navegadores sem :focus-visible o anel aparece sempre — aceitável. */
a:focus, button:focus, input:focus, select:focus, textarea:focus, [tabindex]:focus, label:focus, summary:focus {
    outline: 3px solid #FFF1B8;
    outline-color: var(--dn-gold-100);
    outline-offset: 2px;
}
html.js a:focus:not(:focus-visible), html.js button:focus:not(:focus-visible), html.js label:focus:not(:focus-visible), html.js summary:focus:not(:focus-visible) { outline: none; }

/* --------------------------------------------------------------------------
   3. Tipografia
   -------------------------------------------------------------------------- */
.dn-display, .dn-h1, .dn-h2, .dn-h3 {
    font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif;
    font-family: var(--dn-font-display);
    font-weight: 400;
    letter-spacing: .01em;
}
.dn-display { font-size: 40px; line-height: 1.05; text-transform: uppercase; }
.dn-h1 { font-size: 30px; line-height: 1.1; text-transform: uppercase; }
.dn-h2 { font-size: 24px; line-height: 1.15; }
.dn-h3 { font-size: 20px; line-height: 1.2; }
.dn-lead { font-size: 17px; line-height: 1.5; font-weight: 700; color: #E9CBA7; color: var(--dn-sand); }
.dn-small { font-size: 14px; line-height: 1.5; }
.dn-num { font-weight: 800; font-variant-numeric: tabular-nums; }
.dn-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #FFD84D;
    color: var(--dn-gold-300);
}
.dn-kicker::before { content: ""; display: inline-block; width: 24px; height: 3px; margin-right: 10px; vertical-align: middle; background: #FF7A1A; border-radius: 2px; }
.dn-kicker--plain::before { display: none; }
.dn-muted { color: #E9CBA7; color: var(--dn-sand); }
.dn-gold { color: #FFD84D; color: var(--dn-gold-300); }
.dn-text-center { text-align: center; }
/* Texto dourado simples (h1/h2 comuns) */
.dn-gold-text {
    color: #FFD84D;
    color: var(--dn-gold-300);
    text-shadow: 0 2px 0 #8A2E0C, 0 4px 14px rgba(0, 0, 0, .45);
}
/* Manchete dourada extrudada (1 por página): fallback sólido + versão com gradiente no texto */
.dn-display {
    color: #FFD84D;
    color: var(--dn-gold-300);
    text-shadow: 0 2px 0 #E2500F, 0 4px 0 #8A2E0C, 0 8px 14px rgba(0, 0, 0, .55);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .dn-display {
        background: linear-gradient(#FFF1B8 0%, #FFD84D 42%, #FFB020 70%, #FF7A1A 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
        filter: drop-shadow(0 3px 0 #8A2E0C) drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
    }
}
@media (min-width: 768px) {
    .dn-display { font-size: 56px; }
    .dn-h1 { font-size: 36px; }
    .dn-h2 { font-size: 28px; }
}
@media (min-width: 1024px) {
    .dn-display { font-size: 72px; }
    .dn-h1 { font-size: 44px; }
    .dn-h2 { font-size: 32px; }
    .dn-h3 { font-size: 22px; }
    .dn-lead { font-size: 19px; }
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.dn-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.dn-container--narrow { max-width: 920px; }
.dn-container--wide { max-width: 1320px; }
@media (min-width: 768px) { .dn-container { padding: 0 24px; } }
@media (min-width: 1024px) { .dn-container { padding: 0 32px; } }

.dn-section { padding: 44px 0; position: relative; }
.dn-section--tight { padding: 28px 0; }
.dn-section--alt { background: rgba(0, 0, 0, .18); border-top: 1px solid #6B3A14; border-top-color: var(--dn-line); border-bottom: 1px solid #6B3A14; border-bottom-color: var(--dn-line); }
@media (min-width: 768px) { .dn-section { padding: 64px 0; } .dn-section--tight { padding: 40px 0; } }
@media (min-width: 1024px) { .dn-section { padding: 80px 0; } }

/* Grid com flex + margens negativas (sem gap). Filhos: .dn-col--1/2 etc. */
.dn-row { display: flex; flex-wrap: wrap; margin: -8px; }
.dn-row > * { padding: 8px; width: 100%; min-width: 0; }
.dn-row--loose { margin: -12px; }
.dn-row--loose > * { padding: 12px; }
.dn-row--center { justify-content: center; }
.dn-row--middle { align-items: center; }
.dn-col--auto { width: auto; }
@media (min-width: 480px) {
    .dn-col-sm--1\/2 { width: 50%; }
}
@media (min-width: 768px) {
    .dn-col-md--1\/2 { width: 50%; }
    .dn-col-md--1\/3 { width: 33.3333%; }
    .dn-col-md--2\/3 { width: 66.6667%; }
    .dn-col-md--1\/4 { width: 25%; }
}
@media (min-width: 1024px) {
    .dn-col-lg--1\/2 { width: 50%; }
    .dn-col-lg--1\/3 { width: 33.3333%; }
    .dn-col-lg--2\/3 { width: 66.6667%; }
    .dn-col-lg--1\/4 { width: 25%; }
    .dn-col-lg--3\/4 { width: 75%; }
    .dn-col-lg--5\/12 { width: 41.6667%; }
    .dn-col-lg--7\/12 { width: 58.3333%; }
}

/* Cluster horizontal (botões/chips lado a lado) sem gap: filhos levam margem */
.dn-cluster { display: flex; flex-wrap: wrap; align-items: center; margin: -6px; }
.dn-cluster > * { margin: 6px; }
.dn-cluster--center { justify-content: center; }
.dn-cluster--between { justify-content: space-between; }

/* Pilha vertical */
.dn-stack > * + * { margin-top: 16px; }
.dn-stack--sm > * + * { margin-top: 8px; }
.dn-stack--lg > * + * { margin-top: 28px; }

/* Utilidades mínimas */
.dn-mt-8 { margin-top: 8px; } .dn-mt-16 { margin-top: 16px; } .dn-mt-24 { margin-top: 24px; } .dn-mt-32 { margin-top: 32px; } .dn-mt-48 { margin-top: 48px; }
.dn-mb-8 { margin-bottom: 8px; } .dn-mb-16 { margin-bottom: 16px; } .dn-mb-24 { margin-bottom: 24px; } .dn-mb-32 { margin-bottom: 32px; }
.dn-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.dn-hide-mobile { display: none !important; }
@media (min-width: 768px) { .dn-hide-mobile { display: block !important; } .dn-hide-mobile--inline { display: inline-block !important; } .dn-hide-mobile--flex { display: flex !important; } .dn-hide-desktop { display: none !important; } }
.dn-skip { position: absolute; top: -100px; left: 12px; z-index: 2000; padding: 10px 14px; background: #FFD84D; color: #1A0904; font-weight: 800; border-radius: 8px; }
.dn-skip:focus { top: 12px; }

/* --------------------------------------------------------------------------
   5. Motivos: fita, cometa, brilho
   -------------------------------------------------------------------------- */
.dn-ribbon {
    position: relative;
    z-index: 0;
    display: inline-block;
    max-width: 100%;
    padding: 8px 20px 9px;
    background: #E3232B;
    background: linear-gradient(180deg, #F0353C 0%, #E3232B 55%, #B8151C 100%);
    color: #FFF1B8;
    color: var(--dn-gold-100);
    font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif;
    font-family: var(--dn-font-display);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
    border-top: 2px solid #FFD84D;
    border-bottom: 2px solid #FFB020;
    border-radius: 6px;
    box-shadow: 0 6px 0 #7A0E13, 0 12px 26px rgba(0, 0, 0, .4);
}
.dn-ribbon::before, .dn-ribbon::after { content: ""; position: absolute; top: 6px; width: 0; height: 0; border-style: solid; }
.dn-ribbon::before { left: -14px; border-width: 20px 14px 20px 0; border-color: #B8151C #B8151C #B8151C transparent; }
.dn-ribbon::after { right: -14px; border-width: 20px 0 20px 14px; border-color: #B8151C transparent #B8151C #B8151C; }
.dn-ribbon--sm { font-size: 16px; padding: 6px 14px 7px; box-shadow: 0 4px 0 #7A0E13, 0 8px 18px rgba(0, 0, 0, .35); }
.dn-ribbon--sm::before, .dn-ribbon--sm::after { top: 5px; border-top-width: 15px; border-bottom-width: 15px; }
h2.dn-ribbon, h1.dn-ribbon, h3.dn-ribbon { margin: 0; }
@media (min-width: 768px) { .dn-ribbon { font-size: 24px; padding: 9px 26px 10px; } .dn-ribbon--sm { font-size: 17px; } }
@media (min-width: 1024px) { .dn-ribbon { font-size: 28px; padding: 10px 30px 12px; } .dn-ribbon--sm { font-size: 17px; padding: 6px 16px 7px; } }

.dn-section-head { text-align: center; margin-bottom: 28px; padding: 0 12px; }
.dn-section-head .dn-ribbon { margin-bottom: 14px; }
.dn-section-head .dn-kicker { display: block; margin-bottom: 14px; }
.dn-section-head .dn-comet { margin: 16px auto 14px; max-width: 220px; }
.dn-section-head--left { text-align: left; padding: 0; }
.dn-section-head.dn-section-head--left p { margin: 0; max-width: none; }
.dn-section-head--left .dn-comet { margin-left: 0; }
.dn-section-head h2 { margin: 10px 0 8px; }
.dn-section-head p { max-width: 640px; margin: 0 auto; color: #E9CBA7; color: var(--dn-sand); }
@media (min-width: 768px) { .dn-section-head { margin-bottom: 40px; } }

/* Risco de cometa: linha com brilho e cabeça */
.dn-comet {
    position: relative;
    height: 4px;
    margin: 24px auto;
    max-width: 520px;
    border-radius: 4px;
    background: #FF7A1A;
    background: linear-gradient(90deg, rgba(255, 122, 26, 0) 0%, #FF7A1A 30%, #FFD84D 52%, #FF7A1A 74%, rgba(255, 122, 26, 0) 100%);
}
.dn-comet::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: #FFF1B8;
    box-shadow: 0 0 0 4px rgba(255, 216, 77, .35), 0 0 18px 6px rgba(255, 176, 32, .55);
}
.dn-comet--left { margin-left: 0; background: linear-gradient(90deg, #FFD84D 0%, #FF7A1A 45%, rgba(255, 122, 26, 0) 100%); }
.dn-comet--left::after { left: 0; }
.dn-comet--full { max-width: none; }
.dn-comet--under { height: 2px; max-width: 64px; margin: 8px 0 14px; border-radius: 2px; background: #FF7A1A; background: linear-gradient(90deg, #FF7A1A, #FFD84D); }
.dn-comet--under::after { width: 8px; height: 8px; left: 100%; margin: -4px 0 0 -4px; box-shadow: 0 0 0 2px rgba(255, 216, 77, .35), 0 0 10px 3px rgba(255, 176, 32, .5); }

/* --------------------------------------------------------------------------
   6. Botões
   -------------------------------------------------------------------------- */
.dn-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 2px solid transparent;
    border-radius: 14px;
    border-radius: var(--dn-radius);
    font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif;
    font-family: var(--dn-font-display);
    font-size: 17px;
    line-height: 1;
    letter-spacing: .03em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: transform .12s ease, box-shadow .12s ease, background-color .15s, border-color .15s, color .15s, filter .15s;
}
.dn-btn > svg { flex: 0 0 auto; width: 20px; height: 20px; margin-right: 8px; fill: currentColor; }
.dn-btn > svg:last-child:not(:first-child) { margin-right: 0; margin-left: 8px; }
/* Ícone dentro do rótulo (botões com .dn-btn__label/.dn-btn__busy, ex.: checkout) */
.dn-btn__label { display: inline-flex; align-items: center; justify-content: center; }
.dn-btn__label > svg { flex: 0 0 auto; width: 20px; height: 20px; margin-right: 8px; fill: currentColor; }
.dn-btn:hover { text-decoration: none; }
.dn-btn.is-busy { cursor: wait; opacity: .85; }
.dn-btn[disabled], .dn-btn.is-disabled, .dn-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: 0 2px 0 #8A2E0C; }
.dn-btn--primary:focus { outline-color: #FFF7E6; }

.dn-btn--primary {
    background: #FFB020;
    background: linear-gradient(180deg, #FFD84D 0%, #FFB020 45%, #FF7A1A 100%);
    color: #1A0904;
    color: var(--dn-ink);
    border-color: rgba(255, 241, 184, .55);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
    box-shadow: 0 4px 0 #8A2E0C, 0 10px 24px rgba(226, 80, 15, .35), inset 0 2px 0 rgba(255, 255, 255, .45);
}
.dn-btn--primary:hover { color: #1A0904; filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 5px 0 #8A2E0C, 0 14px 28px rgba(226, 80, 15, .45), inset 0 2px 0 rgba(255, 255, 255, .45); }
.dn-btn--primary:active, .dn-btn--primary.is-busy { transform: translateY(3px); box-shadow: 0 1px 0 #8A2E0C, 0 4px 10px rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .3); }

.dn-btn--blue {
    background: #1E63E9;
    background: linear-gradient(180deg, #4C8CFF 0%, #1E63E9 50%, #0D3FA6 100%);
    color: #FFFFFF;
    border-color: rgba(200, 222, 255, .55);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    box-shadow: 0 4px 0 #082A70, 0 10px 24px rgba(13, 63, 166, .4), inset 0 2px 0 rgba(255, 255, 255, .35);
}
.dn-btn--blue:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.dn-btn--blue:active { transform: translateY(3px); box-shadow: 0 1px 0 #082A70, inset 0 2px 0 rgba(255, 255, 255, .25); }

.dn-btn--secondary {
    background: rgba(255, 216, 77, .06);
    color: #FFD84D;
    color: var(--dn-gold-300);
    border-color: #FFD84D;
    border-color: var(--dn-gold-300);
    box-shadow: 0 4px 0 rgba(138, 46, 12, .7);
}
.dn-btn--secondary:hover { background: rgba(255, 216, 77, .16); color: #FFF1B8; transform: translateY(-1px); }
.dn-btn--secondary:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(138, 46, 12, .7); }

.dn-btn--ghost {
    background: rgba(255, 247, 230, .04);
    color: #FFF7E6;
    color: var(--dn-cream);
    border-color: rgba(255, 247, 230, .28);
}
.dn-btn--ghost:hover { background: rgba(255, 247, 230, .1); border-color: rgba(255, 216, 77, .6); color: #FFF7E6; }

.dn-btn--danger {
    background: #E3232B;
    background: linear-gradient(180deg, #F0353C 0%, #E3232B 55%, #B8151C 100%);
    color: #FFF7E6;
    border-color: rgba(255, 200, 200, .45);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    box-shadow: 0 4px 0 #7A0E13, 0 10px 22px rgba(184, 21, 28, .35);
}
.dn-btn--danger:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.dn-btn--danger:active { transform: translateY(3px); box-shadow: 0 1px 0 #7A0E13; }

.dn-btn--sm { min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 10px; }
.dn-btn--sm > svg { width: 16px; height: 16px; margin-right: 6px; }
.dn-btn--lg { min-height: 56px; padding: 0 30px; font-size: 20px; border-radius: 18px; }
.dn-btn--block { display: flex; width: 100%; }
.dn-btn--icon { padding: 0; width: 44px; min-height: 44px; }
.dn-btn--icon > svg { margin: 0; }

/* Estado ocupado: troca o rótulo */
.dn-btn__busy { display: none; align-items: center; }
.dn-btn.is-busy .dn-btn__label { display: none; }
.dn-btn.is-busy .dn-btn__busy { display: inline-flex; }
.dn-btn__busy::before {
    content: "";
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border-radius: 50%;
    border: 3px solid rgba(26, 9, 4, .25);
    border-top-color: currentColor;
}
.dn-btn--secondary .dn-btn__busy::before, .dn-btn--ghost .dn-btn__busy::before { border-color: rgba(255, 247, 230, .25); border-top-color: currentColor; }
@keyframes dn-spin { to { transform: rotate(360deg); } }

/* Link com seta */
.dn-link { font-weight: 800; color: #FFD84D; color: var(--dn-gold-300); }
.dn-link:hover { color: #FFF1B8; text-decoration: underline; }
.dn-link--muted { color: #E9CBA7; color: var(--dn-sand); font-weight: 700; }
.dn-link--muted:hover { color: #FFD84D; }

/* --------------------------------------------------------------------------
   7. Formulários
   -------------------------------------------------------------------------- */
.dn-form { width: 100%; }
.dn-field { margin-bottom: 18px; }
.dn-field__label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #E9CBA7;
    color: var(--dn-sand);
}
.dn-field__label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.dn-field__label-row .dn-field__label { margin-bottom: 0; }
.dn-field__label-row a { font-size: 13px; font-weight: 700; }
.dn-field__control { position: relative; }
.dn-field__control > svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: #E9CBA7; fill: var(--dn-sand); opacity: .8; pointer-events: none; }
.dn-input, .dn-select, .dn-textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    background: #1F0B03;
    background-color: var(--dn-field);
    border: 2px solid #6B3A14;
    border-color: var(--dn-line);
    border-radius: 12px;
    color: #FFF7E6;
    color: var(--dn-cream);
    font-size: 16px; /* evita zoom no iOS */
    line-height: 1.4;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
    -webkit-appearance: none;
    appearance: none;
}
.dn-field__control > svg + .dn-input, .dn-field__control--icon .dn-input { padding-left: 44px; }
.dn-input:focus ~ svg { fill: #FFD84D; opacity: 1; }
html.no-js .dn-field__eye { display: none; }
html.no-js .dn-input--eye { padding-right: 14px; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #1F0B03 inset; -webkit-text-fill-color: #FFF7E6; caret-color: #FFF7E6; border-color: rgba(255, 216, 77, .45); transition: background-color 99999s ease-out 0s; }
.dn-captcha { min-height: 78px; margin: 0 0 16px; }
.dn-field__hint--caps { color: #FFD84D; color: var(--dn-gold-300); }
.dn-field__hint--ok { color: #5FD873; color: var(--dn-green-300); }
.dn-input::placeholder, .dn-textarea::placeholder { color: #E9CBA7; color: var(--dn-sand); opacity: .6; }
.dn-input:hover, .dn-select:hover, .dn-textarea:hover { border-color: rgba(255, 216, 77, .45); }
.dn-input:focus, .dn-select:focus, .dn-textarea:focus {
    outline: none;
    border-color: #FFB020;
    border-color: var(--dn-gold-500);
    box-shadow: 0 0 0 4px rgba(255, 176, 32, .22);
    background-color: #24100A;
}
.dn-input--eye { padding-right: 52px; }
.dn-textarea { min-height: 120px; resize: vertical; }
.dn-select {
    padding-right: 42px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFD84D' d='M2 5l6 6 6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.dn-select option { color: #1A0904; background: #FFF7E6; }
.dn-field__eye {
    position: absolute;
    right: 4px;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #E9CBA7;
    color: var(--dn-sand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.dn-field__eye:hover { color: #FFD84D; background: rgba(255, 216, 77, .1); }
.dn-field__eye svg { width: 22px; height: 22px; fill: currentColor; }
.dn-field__eye .dn-eye-off { display: none; }
.dn-field__eye.is-on .dn-eye-on { display: none; }
.dn-field__eye.is-on .dn-eye-off { display: block; }
.dn-field__hint { display: block; margin-top: 6px; font-size: 13px; color: #E9CBA7; color: var(--dn-sand); opacity: .9; }
.dn-field--error .dn-input { border-color: #E3232B; border-color: var(--dn-red-500); }
.dn-field--error .dn-field__hint { color: #FF9A93; color: var(--dn-red-300); }
.dn-form__alerts:empty { display: none; }
.dn-form__alerts { margin-bottom: 16px; }
.dn-form__footer { margin-top: 18px; text-align: center; font-size: 14px; color: #E9CBA7; color: var(--dn-sand); }
.dn-form__row { display: flex; flex-wrap: wrap; margin: 0 -7px; }
.dn-form__row > .dn-field { width: 100%; padding: 0 7px; }
@media (min-width: 480px) { .dn-form__row > .dn-field { width: 50%; } }

/* Checkbox customizado */
.dn-check { display: flex; align-items: flex-start; cursor: pointer; font-size: 14px; color: #E9CBA7; color: var(--dn-sand); margin: 4px 0 16px; }
.dn-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dn-check__box {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 1px 10px 0 0;
    border: 2px solid #FFD84D;
    border-color: var(--dn-gold-300);
    border-radius: 7px;
    background: #1F0B03;
    background-color: var(--dn-field);
    position: relative;
    transition: background-color .15s, box-shadow .15s;
}
.dn-check__box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #1A0904;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    opacity: 0;
}
.dn-check input:checked + .dn-check__box { background: #FFB020; background-color: var(--dn-gold-500); }
.dn-check input:checked + .dn-check__box::after { opacity: 1; }
.dn-check input:focus + .dn-check__box { box-shadow: 0 0 0 4px rgba(255, 176, 32, .25); }
.dn-check a { font-weight: 800; }

/* Medidor de senha */
.dn-meter { display: flex; align-items: center; margin-top: 8px; }
.dn-meter i { flex: 1 1 auto; height: 6px; margin-right: 4px; border-radius: 3px; background: rgba(255, 247, 230, .12); }
.dn-meter span { flex: 0 0 auto; min-width: 74px; margin-left: 6px; font-size: 12px; font-weight: 800; text-align: right; color: #E9CBA7; color: var(--dn-sand); }
.dn-meter.is-level-0 i:nth-child(1) { background: #E3232B; }
.dn-meter.is-level-1 i:nth-child(-n+2) { background: #FF7A1A; }
.dn-meter.is-level-2 i:nth-child(-n+3) { background: #FFB020; }
.dn-meter.is-level-3 i:nth-child(-n+4) { background: #FFD84D; }
.dn-meter.is-level-4 i:nth-child(-n+4) { background: #2FB344; }

/* --------------------------------------------------------------------------
   8. Cards, chips, badges
   -------------------------------------------------------------------------- */
.dn-card {
    position: relative;
    background: #4A1A08;
    background: linear-gradient(180deg, #532009 0%, #3D1506 100%);
    border: 1px solid #6B3A14;
    border-color: var(--dn-line);
    border-radius: 18px;
    border-radius: var(--dn-radius-lg);
    padding: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 241, 184, .12);
    box-shadow: var(--dn-shadow-card);
}
.dn-card--pad-lg { padding: 24px 20px; }
.dn-card--flat { box-shadow: none; background: rgba(0, 0, 0, .22); }
.dn-card--gold { border-color: rgba(255, 216, 77, .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .38), 0 0 0 4px rgba(255, 176, 32, .08), inset 0 1px 0 rgba(255, 241, 184, .2); }
.dn-card__title { margin: 0 0 6px; font-size: 20px; }
.dn-card__text { margin: 0; color: #E9CBA7; color: var(--dn-sand); font-size: 15px; }
.dn-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #6B3A14; border-bottom-color: var(--dn-line); }
.dn-card__head h2, .dn-card__head h3 { margin: 0; }
@media (min-width: 768px) { .dn-card { padding: 24px; } .dn-card--pad-lg { padding: 32px 28px; } }

/* Chip genérico */
.dn-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 13px;
    border-radius: 999px;
    background: #1A0904;
    background-color: var(--dn-ink);
    border: 1px solid rgba(255, 247, 230, .18);
    color: #FFF7E6;
    color: var(--dn-cream);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}
.dn-chip > svg, .dn-chip > img { width: 18px; height: 18px; margin-right: 8px; fill: currentColor; }
.dn-chip--gold { background: rgba(255, 216, 77, .12); border-color: rgba(255, 216, 77, .5); color: #FFD84D; color: var(--dn-gold-300); }
.dn-chip--blue { background: rgba(30, 99, 233, .18); border-color: rgba(143, 184, 255, .5); color: #8FB8FF; color: var(--dn-blue-300); }
.dn-chip--red { background: rgba(227, 35, 43, .16); border-color: rgba(255, 154, 147, .5); color: #FF9A93; color: var(--dn-red-300); }
.dn-chip--green { background: rgba(47, 179, 68, .16); border-color: rgba(95, 216, 115, .5); color: #5FD873; color: var(--dn-green-300); }

/* Chip de plataforma (como no banner: "JOGUE NO / ANDROID") */
.dn-platform {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 6px 16px 6px 10px;
    border-radius: 14px;
    background: #0E0503;
    border: 2px solid rgba(255, 216, 77, .35);
    color: #FFF7E6;
    color: var(--dn-cream);
    box-shadow: 0 4px 0 rgba(0, 0, 0, .55), 0 10px 22px rgba(0, 0, 0, .35);
    transition: transform .12s, border-color .15s, box-shadow .12s;
}
.dn-platform:hover { color: #FFF7E6; border-color: #FFD84D; transform: translateY(-2px); }
.dn-platform:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, .55); }
.dn-platform > svg { flex: 0 0 auto; width: 26px; height: 26px; margin-right: 10px; fill: currentColor; }
.dn-platform__text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.dn-platform__text small { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #E9CBA7; color: var(--dn-sand); }
.dn-platform__text strong { font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif; font-family: var(--dn-font-display); font-weight: 400; font-size: 17px; letter-spacing: .03em; }
.dn-platform--android > svg { fill: #3DDC84; }
.dn-platform--ios > svg { fill: #FFFFFF; }
.dn-platform--web > svg { fill: #8FB8FF; }

/* Badge de status (servidor, online) */
.dn-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.4;
    background: rgba(255, 247, 230, .1);
    color: #E9CBA7;
    color: var(--dn-sand);
}
.dn-badge::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.dn-badge--online, .dn-badge--ok { background: rgba(47, 179, 68, .18); color: #5FD873; color: var(--dn-green-300); }
.dn-badge--warn { background: rgba(255, 176, 32, .18); color: #FFD84D; color: var(--dn-gold-300); }
.dn-badge--info { background: rgba(30, 99, 233, .2); color: #8FB8FF; color: var(--dn-blue-300); }
.dn-badge--off, .dn-badge--danger { background: rgba(227, 35, 43, .18); color: #FF9A93; color: var(--dn-red-300); }
.dn-badge--new { background: #E3232B; background: linear-gradient(180deg, #F0353C, #B8151C); color: #FFF1B8; }
.dn-badge--new::before { display: none; }
.dn-badge--hidden { background: transparent; border: 1px dashed rgba(233, 203, 167, .5); color: #E9CBA7; color: var(--dn-sand); }

/* Medalhas de ranking */
.dn-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif;
    font-family: var(--dn-font-display);
    font-size: 15px;
    color: #1A0904;
    background: rgba(255, 247, 230, .14);
    color: #FFF7E6;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25);
}
.dn-medal--gold { background: linear-gradient(180deg, #FFE27A, #FFB020); color: #1A0904; box-shadow: 0 0 0 2px rgba(255, 216, 77, .4), inset 0 -2px 0 rgba(0, 0, 0, .25); }
.dn-medal--silver { background: linear-gradient(180deg, #F2F2F2, #B9BDC7); color: #1A0904; }
.dn-medal--bronze { background: linear-gradient(180deg, #E8A66B, #A85A21); color: #1A0904; }
.dn-medal--lg { width: 40px; height: 40px; font-size: 20px; }
.dn-medal--sm { width: 24px; height: 24px; font-size: 12px; }

/* --------------------------------------------------------------------------
   9. Alertas e toasts
   -------------------------------------------------------------------------- */
.dn-body .alert, .dn-alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin: 0 0 16px;
    padding: 12px 40px 12px 14px;
    border: 1px solid rgba(143, 184, 255, .45);
    border-left-width: 5px;
    border-radius: 12px;
    background: rgba(30, 99, 233, .16);
    color: #FFF7E6;
    color: var(--dn-cream);
    font-size: 14px;
    line-height: 1.5;
}
.dn-body .alert .d-flex, .dn-body .alert .flex-column { display: block; }
.dn-body .alert > .d-flex, .dn-alert__body { flex: 1 1 auto; min-width: 0; }
.dn-alert__icon { flex: 0 0 auto; display: inline-flex; margin: 1px 10px 0 0; color: #8FB8FF; }
.dn-alert__icon svg { width: 20px; height: 20px; fill: currentColor; }
.dn-alert__close {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    opacity: .7;
}
.dn-alert__close:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.dn-body .alert-success, .dn-alert--success { background: rgba(47, 179, 68, .16); border-color: rgba(95, 216, 115, .5); }
.dn-body .alert-success .dn-alert__icon, .dn-alert--success .dn-alert__icon { color: #5FD873; }
.dn-body .alert-warning, .dn-alert--warning { background: rgba(255, 176, 32, .16); border-color: rgba(255, 216, 77, .55); }
.dn-body .alert-warning .dn-alert__icon, .dn-alert--warning .dn-alert__icon { color: #FFD84D; }
.dn-body .alert-danger, .dn-alert--error { background: rgba(227, 35, 43, .18); border-color: rgba(255, 154, 147, .55); }
.dn-body .alert-danger .dn-alert__icon, .dn-alert--error .dn-alert__icon { color: #FF9A93; }
.dn-body .alert b, .dn-alert b, .dn-body .alert strong, .dn-alert strong { color: #FFD84D; color: var(--dn-gold-300); }

.dn-toast-stack {
    position: fixed;
    top: auto;
    bottom: 16px;
    right: 16px;
    left: 16px;
    z-index: 1000;
    z-index: var(--dn-z-toast);
    pointer-events: none;
}
.dn-toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 380px;
    margin: 0 0 10px auto;
    padding: 12px 40px 14px 14px;
    background: #5C2410;
    background-color: var(--dn-surface-2);
    border: 1px solid rgba(255, 216, 77, .35);
    border-radius: 14px;
    color: #FFF7E6;
    color: var(--dn-cream);
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .5);
    box-shadow: var(--dn-shadow-pop);
    pointer-events: auto;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease;
}
.dn-toast.is-in { opacity: 1; transform: none; }
.dn-toast.is-leaving { opacity: 0; transform: translateX(20px); }
.dn-toast__icon { flex: 0 0 auto; margin: 1px 10px 0 0; }
.dn-toast__icon svg { fill: currentColor; }
.dn-toast__body { flex: 1 1 auto; min-width: 0; }
.dn-toast__body b, .dn-toast__body strong { color: #FFD84D; }
.dn-toast__close { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; opacity: .7; border-radius: 8px; }
.dn-toast__close:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.dn-toast__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: currentColor; opacity: .7; }
.dn-toast--success { border-color: rgba(95, 216, 115, .55); color: #FFF7E6; }
.dn-toast--success .dn-toast__icon, .dn-toast--success .dn-toast__bar { color: #5FD873; }
.dn-toast--error { border-color: rgba(255, 154, 147, .6); }
.dn-toast--error .dn-toast__icon, .dn-toast--error .dn-toast__bar { color: #FF9A93; }
.dn-toast--warning .dn-toast__icon, .dn-toast--warning .dn-toast__bar { color: #FFD84D; }
.dn-toast--info .dn-toast__icon, .dn-toast--info .dn-toast__bar { color: #8FB8FF; }
@media (min-width: 768px) { .dn-toast-stack { top: 24px; bottom: auto; left: auto; right: 24px; width: 360px; } .dn-toast { margin: 0 0 10px; } }

/* --------------------------------------------------------------------------
   10. Header público / app
   -------------------------------------------------------------------------- */
.dn-header {
    position: relative;
    z-index: 100;
    z-index: var(--dn-z-header);
    background: #1A0904;
    background: rgba(26, 9, 4, .96);
    border-bottom: 1px solid #6B3A14;
    border-bottom-color: var(--dn-line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.dn-header--sticky { position: relative; }
.dn-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; position: relative; }
.dn-brand { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 6px 0; }
.dn-brand img { display: block; width: auto; height: 46px; }
.dn-brand__name { margin-left: 10px; font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif; font-family: var(--dn-font-display); font-size: 18px; color: #FFD84D; color: var(--dn-gold-300); letter-spacing: .02em; }

/* checkbox hack para o menu */
.dn-nav-check { position: absolute; opacity: 0; width: 1px; height: 1px; left: -9999px; }
.dn-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 2px solid rgba(255, 216, 77, .4);
    border-radius: 12px;
    background: rgba(255, 216, 77, .06);
    cursor: pointer;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
}
.dn-nav-toggle span, .dn-nav-toggle span::before, .dn-nav-toggle span::after {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: #FFD84D;
    background-color: var(--dn-gold-300);
    transition: transform .2s ease, opacity .2s ease;
}
.dn-nav-toggle span { position: relative; }
.dn-nav-toggle span::before, .dn-nav-toggle span::after { content: ""; position: absolute; left: 0; }
.dn-nav-toggle span::before { top: -7px; }
.dn-nav-toggle span::after { top: 7px; }
.dn-nav-check:checked ~ .dn-nav-toggle span { background: transparent; }
.dn-nav-check:checked ~ .dn-nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.dn-nav-check:checked ~ .dn-nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
.dn-nav-check:focus ~ .dn-nav-toggle { outline: 3px solid #FFF1B8; outline-offset: 2px; }

.dn-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    background: #1A0904;
    background-color: var(--dn-ink);
    border-bottom: 2px solid #FFB020;
    border-bottom-color: var(--dn-gold-500);
    box-shadow: 0 30px 50px rgba(0, 0, 0, .55);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
}
.dn-nav-check:checked ~ .dn-nav { display: block; }
.dn-nav__list { list-style: none; margin: 0; padding: 0; }
.dn-nav__item { margin: 0; }
.dn-nav__link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 8px 12px;
    border-radius: 10px;
    color: #FFF7E6;
    color: var(--dn-cream);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.dn-nav__link > svg { width: 18px; height: 18px; margin-right: 10px; fill: currentColor; opacity: .85; }
.dn-nav__link:hover { color: #FFD84D; background: rgba(255, 216, 77, .08); }
.dn-nav__link.is-active { color: #FFD84D; color: var(--dn-gold-300); }
.dn-nav__link--accent { color: #FFD84D; color: var(--dn-gold-300); }
.dn-nav__actions { display: flex; flex-wrap: wrap; align-items: center; margin: 12px -5px 0; padding-top: 12px; border-top: 1px solid #6B3A14; border-top-color: var(--dn-line); }
.dn-nav__actions > * { margin: 5px; }
.dn-nav__actions .dn-btn { flex: 1 1 140px; }
.dn-nav__socials { display: flex; flex-wrap: wrap; margin: 6px -4px 0; }
.dn-nav__socials > * { margin: 4px; }
.dn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    color: #FFF7E6;
    background: rgba(255, 247, 230, .06);
    border: 1px solid rgba(255, 247, 230, .14);
    transition: transform .12s, background-color .15s, border-color .15s, color .15s;
}
.dn-social svg { width: 18px; height: 18px; fill: currentColor; }
.dn-social:hover { color: #FFF7E6; transform: translateY(-2px); border-color: rgba(255, 216, 77, .6); }
.dn-social--discord:hover { background: #5865F2; }
.dn-social--whatsapp:hover { background: #25D366; color: #06240F; }
.dn-social--instagram:hover { background: #E4405F; }
.dn-social--facebook:hover { background: #1877F2; }
.dn-social--youtube:hover { background: #FF0000; }
.dn-social--twitch:hover { background: #9146FF; }

@media (min-width: 1024px) {
    .dn-header--sticky { position: -webkit-sticky; position: sticky; top: 0; }
    .dn-header__inner { min-height: 74px; }
    .dn-brand img { height: 54px; }
    .dn-nav-toggle { display: none; }
    .dn-nav {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        position: static;
        padding: 0 0 0 20px;
        background: transparent;
        border: 0;
        box-shadow: none;
        max-height: none;
        overflow: visible;
    }
    .dn-nav__list { display: flex; align-items: center; flex: 1 1 auto; }
    .dn-nav__item { margin: 0 2px; }
    .dn-nav__link { min-height: 44px; padding: 8px 12px; font-size: 13px; }
    .dn-nav__link.is-active { box-shadow: inset 0 -3px 0 #FFB020; border-radius: 10px 10px 4px 4px; }
    .dn-nav__actions { margin: 0 0 0 auto; padding: 0; border: 0; flex-wrap: nowrap; }
    .dn-nav__actions .dn-btn { flex: 0 0 auto; }
    .dn-nav__socials { display: none; margin: 0 6px 0 0; flex-wrap: nowrap; }
    .dn-nav__socials + .dn-btn { margin-left: 10px; }
    .dn-social { width: 38px; height: 38px; }
    .dn-nav__item { margin: 0; }
    .dn-nav__link { padding: 8px 10px; font-size: 12px; }
}
@media (min-width: 1200px) {
    .dn-nav__socials { display: flex; }
    .dn-nav__item { margin: 0 2px; }
    .dn-nav__link { padding: 8px 14px; font-size: 14px; }
}

/* Chips do header do app (moedas, usuário) */
.dn-coins {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 4px 12px 4px 6px;
    border-radius: 999px;
    background: rgba(255, 216, 77, .1);
    border: 1px solid rgba(255, 216, 77, .45);
    color: #FFD84D;
    color: var(--dn-gold-300);
    font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif;
    font-family: var(--dn-font-display);
    font-size: 16px;
    letter-spacing: .03em;
    white-space: nowrap;
}
.dn-coins img { width: 26px; height: 26px; margin-right: 8px; }
.dn-coins:hover { color: #FFF1B8; background: rgba(255, 216, 77, .18); }
.dn-userchip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 46px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    background: rgba(255, 247, 230, .06);
    border: 1px solid rgba(255, 247, 230, .16);
    color: #FFF7E6;
    color: var(--dn-cream);
    text-align: left;
    cursor: pointer;
}
.dn-userchip:hover, .dn-dropdown.is-open .dn-userchip { border-color: rgba(255, 216, 77, .6); background: rgba(255, 216, 77, .1); }
.dn-userchip__avatar { position: relative; flex: 0 0 auto; width: 38px; height: 38px; margin-right: 10px; border-radius: 50%; overflow: hidden; border: 2px solid #FFB020; background: #1F0B03; }
.dn-userchip__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dn-userchip__name { display: block; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: 14px; line-height: 1.15; }
.dn-userchip__role { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #E9CBA7; color: var(--dn-sand); }
.dn-userchip__caret { width: 14px; height: 14px; margin-left: 8px; fill: currentColor; opacity: .7; transition: transform .2s; }
.dn-dropdown.is-open .dn-userchip__caret { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   11. Dropdown e modal
   -------------------------------------------------------------------------- */
.dn-dropdown { position: relative; }
.dn-dropdown__menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 110;
    z-index: var(--dn-z-dropdown);
    min-width: 230px;
    margin-top: 8px;
    padding: 6px;
    background: #5C2410;
    background-color: var(--dn-surface-2);
    border: 1px solid rgba(255, 216, 77, .35);
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .5);
    box-shadow: var(--dn-shadow-pop);
}
.dn-dropdown.is-open > .dn-dropdown__menu { display: block; }
.dn-dropdown__menu--left { right: auto; left: 0; }
.dn-dropdown__head { display: flex; align-items: center; padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 216, 77, .2); }
.dn-dropdown__head img { width: 40px; height: 40px; border-radius: 50%; margin-right: 10px; border: 2px solid #FFB020; object-fit: cover; }
.dn-dropdown__head strong { display: block; font-size: 14px; line-height: 1.2; }
.dn-dropdown__head small { display: block; font-size: 12px; color: #E9CBA7; color: var(--dn-sand); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.dn-dropdown__item, .dn-dropdown__subtoggle {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #FFF7E6;
    color: var(--dn-cream);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}
.dn-dropdown__item > svg, .dn-dropdown__subtoggle > svg { width: 18px; height: 18px; margin-right: 10px; fill: currentColor; opacity: .75; flex: 0 0 auto; }
.dn-dropdown__item:hover, .dn-dropdown__subtoggle:hover { background: rgba(255, 216, 77, .12); color: #FFD84D; }
.dn-dropdown__item--danger { color: #FF9A93; color: var(--dn-red-300); }
.dn-dropdown__item--danger:hover { background: rgba(227, 35, 43, .16); color: #FFB3AE; }
.dn-dropdown__sep { height: 1px; margin: 5px 4px; background: rgba(255, 216, 77, .2); }
.dn-dropdown__sub { position: relative; }
.dn-dropdown__subtoggle::after { content: ""; margin-left: auto; border: 5px solid transparent; border-left-color: currentColor; opacity: .7; }
.dn-dropdown__sub > .dn-dropdown__menu { display: none; position: static; margin: 2px 0 4px 12px; min-width: 0; box-shadow: none; border-color: rgba(255, 216, 77, .2); }
.dn-dropdown__sub.is-open > .dn-dropdown__menu { display: block; }
.dn-dropdown__sub.is-open > .dn-dropdown__subtoggle::after { transform: rotate(90deg); }
@media (min-width: 1024px) {
    .dn-dropdown__sub > .dn-dropdown__menu { position: absolute; top: -6px; left: 100%; margin: 0 0 0 4px; min-width: 220px; box-shadow: 0 22px 50px rgba(0, 0, 0, .5); }
    .dn-dropdown__sub:hover > .dn-dropdown__menu { display: block; }
    .dn-dropdown__menu--wide { min-width: 260px; }
}

.dn-modal {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 900;
    z-index: var(--dn-z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 4, 2, .72);
}
.dn-modal__box {
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow: auto;
    padding: 22px;
    background: #4A1A08;
    background: linear-gradient(180deg, #532009 0%, #3D1506 100%);
    border: 1px solid rgba(255, 216, 77, .4);
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .5);
}
.dn-modal__box h2 { font-size: 22px; margin-bottom: 14px; }
body.dn-modal-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.dn-footer {
    position: relative;
    margin-top: auto;
    padding: 40px 0 24px;
    background: #1A0904;
    background-color: var(--dn-ink);
    border-top: 1px solid #6B3A14;
    border-top-color: var(--dn-line);
    color: #E9CBA7;
    color: var(--dn-sand);
    font-size: 14px;
}
.dn-footer::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 122, 26, 0) 0%, #FF7A1A 25%, #FFD84D 50%, #FF7A1A 75%, rgba(255, 122, 26, 0) 100%);
}
.dn-footer__grid { display: flex; flex-wrap: wrap; margin: -12px; }
.dn-footer__grid > * { padding: 12px; width: 100%; min-width: 0; }
.dn-footer__brand img { height: 56px; width: auto; margin-bottom: 10px; }
.dn-footer__brand p { margin: 0; max-width: 360px; font-size: 13px; line-height: 1.6; }
.dn-footer__title { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #FFD84D; color: var(--dn-gold-300); }
.dn-footer__links { list-style: none; margin: 0; padding: 0; }
.dn-footer__links li { margin: 0 0 4px; }
.dn-footer__links a { display: inline-block; padding: 5px 0; color: #FFF7E6; color: var(--dn-cream); font-weight: 700; }
.dn-footer__links a:hover { color: #FFD84D; }
.dn-footer__socials { display: flex; flex-wrap: wrap; margin: -4px; }
.dn-footer__socials > * { margin: 4px; }
.dn-footer__bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 216, 77, .14); font-size: 12px; line-height: 1.6; }
.dn-footer__bottom p { margin: 0 0 4px; }
@media (min-width: 768px) {
    .dn-footer__grid > * { width: 50%; }
    .dn-footer__grid > .dn-footer__brand { width: 100%; }
}
@media (min-width: 1024px) {
    .dn-footer { padding: 56px 0 28px; }
    .dn-footer__grid > * { width: 20%; }
    .dn-footer__grid > .dn-footer__brand { width: 40%; }
    .dn-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; }
}

/* --------------------------------------------------------------------------
   13. Página: fundo, revelar, detalhes
   -------------------------------------------------------------------------- */
.dn-page { display: flex; flex-direction: column; min-height: 100vh; }
.dn-main { flex: 1 0 auto; }
.dn-body {
    background-color: #2B0F05;
    background-image: radial-gradient(ellipse at 50% -20%, rgba(255, 176, 32, .26) 0%, rgba(255, 176, 32, .08) 35%, rgba(43, 15, 5, 0) 62%), url("../../media/nacional/arena-textura.jpg");
    background-repeat: no-repeat, repeat;
    background-size: auto, 800px auto;
    background-position: 0 0, 0 0;
}
.dn-body--embed { background-image: none; }

@media (prefers-reduced-motion: no-preference) {
    html.js .js-reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
    html.js .js-reveal.is-visible { opacity: 1; transform: none; }
    .js-reveal.dn-delay-1 { transition-delay: .08s; }
    .js-reveal.dn-delay-2 { transition-delay: .16s; }
    .js-reveal.dn-delay-3 { transition-delay: .24s; }
    .dn-btn__busy::before { animation: dn-spin .8s linear infinite; }
    .dn-spinner { animation: dn-spin .8s linear infinite; }
    .dn-skel { background: linear-gradient(90deg, #3D1506 0%, #5A2410 50%, #3D1506 100%); background-size: 200% 100%; animation: dn-shimmer 1.2s linear infinite; }
    .dn-halo { animation: dn-pulse 6s ease-in-out infinite; }
    .dn-spark { animation: dn-float-soft 5s ease-in-out infinite; }
    .dn-spark--2 { animation-delay: 1.2s; animation-duration: 4.2s; }
    .dn-spark--3 { animation-delay: 2.1s; animation-duration: 6s; }
    .dn-feature:hover, .dn-community:hover, .dn-platform:hover { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
}
@keyframes dn-shimmer { to { background-position: -200% 0; } }
@keyframes dn-pulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes dn-float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* details/summary estilizado (accordion sem JS) */
.dn-details { border: 1px solid #6B3A14; border-color: var(--dn-line); border-radius: 14px; background: rgba(0, 0, 0, .18); margin-bottom: 10px; }
.dn-details > summary {
    list-style: none;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 800;
    color: #FFF7E6;
    color: var(--dn-cream);
}
.dn-details > summary::-webkit-details-marker { display: none; }
.dn-details > summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border: solid #FFD84D; border-width: 0 3px 3px 0; transform: rotate(45deg); transition: transform .2s; }
.dn-details[open] > summary::after { transform: rotate(-135deg); }
.dn-details__body { padding: 0 16px 16px; }

/* Loader (bala dourada girando) */
.dn-spinner { display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 216, 77, .25); border-top-color: #FFD84D; vertical-align: middle; }

/* Barra de rolagem discreta (opcional) */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #1A0904; }
::-webkit-scrollbar-thumb { background: #6B3A14; border-radius: 8px; border: 3px solid #1A0904; }
::-webkit-scrollbar-thumb:hover { background: #8A2E0C; }

/* --------------------------------------------------------------------------
   14. Componentes novos (direção final): moldura, vidro, plataforma, aviso,
       esqueleto, pedras/halo/faíscas, cabeçalho de página, ruínas, tagline
   -------------------------------------------------------------------------- */
.dn-frame {
    padding: 2px;
    border-radius: 22px;
    background: #FFB020;
    background: linear-gradient(160deg, #FFD84D 0%, #FF7A1A 60%, #8A2E0C 100%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.dn-frame > .dn-card, .dn-frame > .dn-auth-card { border-radius: 20px; border-color: transparent; box-shadow: none; }
.dn-frame--tight { border-radius: 16px; }
.dn-frame--tight > .dn-card { border-radius: 14px; }

.dn-glass {
    background: rgba(30, 99, 233, .16);
    border: 1px solid rgba(143, 184, 255, .5);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
    color: #FFF7E6;
    color: var(--dn-cream);
    padding: 12px 14px;
}
.dn-glass strong { color: #FFF7E6; }
.dn-glass--inline { display: inline-block; padding: 6px 12px; font-size: 13px; font-weight: 800; }

.dn-card--platform {
    border-bottom: 0;
    box-shadow: 0 6px 0 #8A2E0C, 0 8px 0 #E2500F, 0 18px 30px rgba(0, 0, 0, .45);
}
.dn-card--clickable { transition: border-color .15s, box-shadow .15s; }
.dn-card--clickable:hover { border-color: rgba(255, 216, 77, .6); box-shadow: 0 18px 40px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 216, 77, .35), 0 0 24px rgba(255, 176, 32, .25); }

.dn-notice {
    position: relative;
    margin: 0 0 16px;
    padding: 18px 18px 18px 22px;
    border-radius: 14px;
    border: 2px solid #E3232B;
    border-left: 8px solid #FFB020;
    background: rgba(227, 35, 43, .14);
    color: #FFF7E6;
    color: var(--dn-cream);
    font-size: 15px;
}
.dn-notice__tag {
    position: absolute;
    top: -12px;
    left: 16px;
    padding: 2px 10px;
    border-radius: 6px;
    background: #FFD84D;
    color: #2B0F05;
    font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif;
    font-family: var(--dn-font-display);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.4;
}
.dn-notice__title { display: block; margin: 0 0 6px; font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif; font-family: var(--dn-font-display); font-weight: 400; font-size: 20px; color: #FFF1B8; }
.dn-notice p:last-child, .dn-notice ul:last-child { margin-bottom: 0; }
.dn-notice--warning { border-color: #FFB020; border-left-color: #FFD84D; background: rgba(255, 176, 32, .14); }
.dn-notice--info { border-color: #8FB8FF; border-left-color: #8FB8FF; background: rgba(30, 99, 233, .14); }
.dn-notice--info .dn-notice__tag { background: #8FB8FF; }
noscript.dn-notice { display: block; }

.dn-skel { display: block; background: #3D1506; border-radius: 6px; min-height: 12px; }

/* Pedras, halo e faíscas ao redor da logo do hero (wrapper com position:relative) */
.dn-rocks { position: relative; }
.dn-rocks::before, .dn-rocks::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: #8A2E0C;
    border: 2px solid #E2500F;
    transform: rotate(20deg);
    display: none;
    pointer-events: none;
}
.dn-rocks::before { left: -6%; top: 12%; box-shadow: -18px 30px 0 -2px #8A2E0C, -30px 70px 0 -3px #E2500F; }
.dn-rocks::after { right: -5%; top: 20%; box-shadow: 20px 26px 0 -3px #E2500F, 28px 64px 0 -2px #8A2E0C; }
@media (min-width: 768px) { .dn-rocks::before, .dn-rocks::after { display: block; } }
.dn-halo {
    position: absolute;
    left: -20%;
    top: -20%;
    width: 140%;
    height: 140%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 176, 32, .28) 0%, rgba(255, 176, 32, 0) 65%);
    pointer-events: none;
}
.dn-spark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFD84D;
    box-shadow: 0 0 8px #FFB020;
    pointer-events: none;
}
.dn-spark--1 { width: 6px; height: 6px; left: 4%; top: 18%; }
.dn-spark--2 { width: 8px; height: 8px; right: 6%; top: 10%; }
.dn-spark--3 { width: 10px; height: 10px; right: 12%; bottom: 8%; }

/* Cabeçalho de página (Termos, Links, Recuperar): holofote sem ruínas */
.dn-page-head { position: relative; padding: 36px 0 24px; }
.dn-page-head .dn-kicker { margin-bottom: 12px; }
.dn-page-head .dn-h1 { margin-bottom: 10px; }
.dn-page-head .dn-comet--left { margin-top: 12px; margin-bottom: 16px; max-width: 220px; }
.dn-page-head__meta { font-size: 14px; color: #E9CBA7; color: var(--dn-sand); }
.dn-page-head__meta strong { color: #FFF7E6; }
.dn-page-head__chips { display: flex; flex-wrap: wrap; margin: 12px -4px 0; }
.dn-page-head__chips > * { margin: 4px; }
@media (min-width: 768px) { .dn-page-head { padding: 48px 0 32px; } }

/* Ruínas por <picture> (hero) */
.dn-hero__ruins-pic { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; overflow: hidden; opacity: .55; pointer-events: none; display: none; }
.dn-hero__ruins-pic img { position: absolute; left: 50%; bottom: 0; width: 1400px; max-width: none; height: auto; margin-left: -700px; }
.dn-hero__ruins-pic::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, #2B0F05 0%, rgba(43, 15, 5, .5) 40%, rgba(26, 9, 4, .8) 100%); }
@media (min-width: 768px) { .dn-hero__ruins-pic { display: block; height: 300px; } }

/* Tagline do footer */
.dn-tagline {
    margin: 0 0 28px;
    text-align: center;
    font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif;
    font-family: var(--dn-font-display);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #FFD84D;
    color: var(--dn-gold-300);
}
.dn-tagline::before, .dn-tagline::after { content: ""; display: inline-block; width: 24px; height: 2px; margin: 0 12px; vertical-align: middle; background: #FF7A1A; }

/* Lista de itens com check dourado */
.dn-checklist { list-style: none; margin: 0 0 16px; padding: 0; }
.dn-checklist li { position: relative; padding: 6px 0 6px 32px; color: #E9CBA7; color: var(--dn-sand); }
.dn-checklist li::before { content: ""; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: #FFB020; background: linear-gradient(180deg, #FFE27A, #FFB020); }
.dn-checklist li::after { content: ""; position: absolute; left: 7px; top: 11px; width: 5px; height: 10px; border: solid #1A0904; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.dn-checklist strong { color: #FFF7E6; }

/* Estado "concluído" em cards de formulário */
.dn-auth-done { text-align: center; padding: 8px 0 4px; }
.dn-auth-done__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 12px; border-radius: 50%; background: rgba(47, 179, 68, .2); border: 2px solid #5FD873; }
.dn-auth-done__icon svg { width: 28px; height: 28px; fill: #5FD873; }
.dn-auth-done h2 { font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif; font-weight: 400; font-size: 24px; color: #FFD84D; margin-bottom: 8px; }
.dn-auth-done p { color: #E9CBA7; }
