/* ==========================================================================
   DDTank Nacional — auth.css
   Login, cadastro, recuperar senha e nova senha (hero + card de formulário),
   passos, destaques, chamada final e comunidade.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.dn-hero {
    position: relative;
    overflow: hidden;
    padding: 24px 0 0;
    background: #2B0F05;
    background: linear-gradient(180deg, #3A1407 0%, #2B0F05 60%, #1A0904 100%);
}
.dn-hero__glow {
    position: absolute;
    top: -220px;
    left: 50%;
    width: 900px;
    height: 620px;
    margin-left: -450px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 176, 32, .38) 0%, rgba(255, 122, 26, .16) 38%, rgba(43, 15, 5, 0) 70%);
    pointer-events: none;
}
.dn-hero__inner { position: relative; z-index: 2; }
.dn-hero__copy { text-align: center; }

/* Logo com halo, faíscas e "espia" da mascote no mobile */
.dn-hero__logo { position: relative; display: block; max-width: 240px; margin: 0 auto 14px; }
.dn-hero__logo picture, .dn-hero__logo img { position: relative; display: block; width: 100%; height: auto; }
.dn-hero__logo > picture:last-child img { filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .45)); }
.dn-hero__logo .dn-hero__peek { position: absolute; right: -54px; top: -6px; width: 96px; pointer-events: none; }
.dn-hero__logo .dn-hero__peek img { width: 100%; height: auto; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); }
@media (max-width: 359px) { .dn-hero__logo .dn-hero__peek { display: none; } }
/* Chips de plataforma: no mobile aparecem DEPOIS do card (bloco duplicado, um por faixa) */
.dn-hero__platforms--after { margin-top: 20px; }
@media (min-width: 768px) { .dn-hero .dn-hero__platforms--after { display: none; } }
@media (max-width: 767px) { .dn-hero .dn-hero__copy > .dn-hero__platforms { display: none; } }

.dn-hero .dn-kicker { display: block; margin-bottom: 8px; }
.dn-hero .dn-display { margin: 0 0 12px; }
.dn-hero__ribbon { margin: 0 0 14px; font-size: 16px; padding: 6px 14px 7px; }
.dn-hero__comet { margin: 4px auto 16px; max-width: 200px; }
.dn-hero .dn-lead { max-width: 560px; margin: 0 auto 22px; }
.dn-hero__platforms { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -5px 8px; }
.dn-hero__platforms > * { margin: 5px; }
@media (max-width: 479px) {
    .dn-hero__platforms > .dn-platform { display: flex; width: 100%; margin: 4px 0; }
}
.dn-hero__side { position: relative; margin-top: 26px; }

/* Faixa inferior: mascote + diferenciais sobre as ruínas */
.dn-hero__band { position: relative; z-index: 2; display: flex; align-items: flex-end; margin-top: 24px; padding-bottom: 24px; }
.dn-hero__mascot { display: none; flex: 0 0 auto; pointer-events: none; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.dn-hero__mascot img { display: block; width: 100%; height: auto; }
.dn-hero__proof { display: none; list-style: none; margin: 0; padding: 14px 16px; width: 100%; flex-wrap: wrap; background: rgba(26, 9, 4, .78); border: 1px solid rgba(255, 216, 77, .28); border-radius: 16px; }
.dn-hero__proof li { display: flex; align-items: center; width: 50%; padding: 6px 4px; color: #E9CBA7; }
.dn-hero__proof svg { flex: 0 0 auto; width: 24px; height: 24px; margin-right: 10px; fill: #FFD84D; }
.dn-hero__proof span { display: flex; flex-direction: column; font-size: 12px; line-height: 1.3; }
.dn-hero__proof strong { color: #FFF7E6; font-size: 13px; }

@media (min-width: 768px) {
    .dn-hero { padding-top: 40px; }
    .dn-hero__logo { max-width: 380px; }
    .dn-hero__logo .dn-hero__peek { display: none; }
    .dn-hero__ribbon { font-size: 22px; padding: 8px 22px 9px; }
    .dn-hero__side { max-width: 520px; margin: 32px auto 0; }
    .dn-hero__band { margin-top: 36px; padding-bottom: 32px; }
    .dn-hero__proof { display: flex; }
    .dn-hero__proof li { width: 25%; flex-direction: column; text-align: center; padding: 8px 6px; }
    .dn-hero__proof svg { margin: 0 0 6px; width: 28px; height: 28px; }
    .dn-hero__proof span { align-items: center; }
}
@media (min-width: 1024px) {
    .dn-hero { padding-top: 48px; }
    .dn-hero__inner { display: flex; align-items: flex-start; }
    .dn-hero__copy { flex: 1 1 55%; min-width: 0; text-align: left; padding-right: 40px; padding-top: 6px; }
    .dn-hero__logo { margin: 0 0 18px; max-width: 420px; }
    .dn-hero__comet { margin: 4px 0 18px; }
    .dn-hero .dn-lead { margin: 0 0 24px; }
    .dn-hero__platforms { justify-content: flex-start; }
    .dn-hero__side { flex: 0 0 45%; max-width: 480px; margin: 0; }
    .dn-hero__band { margin-top: 8px; padding-bottom: 0; align-items: flex-end; }
    .dn-hero__mascot { display: block; width: 240px; margin: -6px 10px 0 -16px; }
    .dn-hero__proof { width: auto; flex: 1 1 auto; margin: 0 0 36px; padding: 12px 10px; }
    .dn-hero__proof li { width: 25%; flex-direction: row; text-align: left; padding: 6px 10px; }
    .dn-hero__proof svg { margin: 0 10px 0 0; width: 26px; height: 26px; }
    .dn-hero__proof span { align-items: flex-start; }
}
@media (min-width: 1200px) {
    .dn-hero { padding-top: 56px; }
    .dn-hero__logo { max-width: 460px; }
    .dn-hero__mascot { width: 290px; margin-top: -14px; }
    .dn-hero__proof { margin-bottom: 44px; padding: 14px 12px; }
    .dn-hero__proof span { font-size: 13px; }
    .dn-hero__proof strong { font-size: 14px; }
}

/* Cadastro: colunas invertidas no desktop, selo sob os benefícios */
.dn-hero--signup .dn-hero__logo { max-width: 220px; }
.dn-hero--signup .dn-hero__stamp { display: none; }
@media (min-width: 768px) { .dn-hero--signup .dn-hero__logo { max-width: 320px; } }
@media (min-width: 1024px) {
    .dn-hero--signup .dn-hero__inner { flex-direction: row-reverse; }
    .dn-hero--signup .dn-hero__copy { flex-basis: 52%; padding-right: 0; padding-left: 40px; }
    .dn-hero--signup .dn-hero__side { flex-basis: 48%; max-width: 540px; }
    .dn-hero--signup .dn-hero__logo { max-width: 360px; }
    .dn-hero--signup .dn-hero__stamp { display: block; width: 150px; margin-top: 18px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); }
    .dn-hero--signup .dn-hero__stamp img { width: 100%; height: auto; }
}

/* Recuperar / nova senha: casca curta centrada, sem ruínas */
.dn-hero--single { padding: 32px 0 56px; }
.dn-auth-single { position: relative; z-index: 2; max-width: 520px; margin: 0 auto; text-align: center; }
.dn-auth-single__stamp { display: block; width: 96px; margin: 0 auto 14px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
.dn-auth-single__stamp img { width: 100%; height: auto; display: block; }
.dn-auth-single .dn-h1 { margin-bottom: 6px; }
.dn-auth-single .dn-comet { margin: 14px auto 16px; max-width: 160px; }
.dn-auth-single .dn-lead { margin: 0 0 24px; font-size: 16px; }
.dn-auth-single .dn-frame { text-align: left; }
.dn-auth-single .dn-auth-card { padding-top: 24px; }
.dn-auth-note { display: flex; align-items: flex-start; margin-top: 16px; padding: 12px 14px; font-size: 13px; color: #E9CBA7; text-align: left; }
.dn-auth-note svg { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 10px 0 0; fill: #8FB8FF; }
.dn-auth-note strong { color: #FFF7E6; }
.dn-auth-single__back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0 12px; font-weight: 800; }
.dn-auth-single__back svg { width: 18px; height: 18px; margin-right: 6px; fill: currentColor; transform: rotate(180deg); }
@media (min-width: 768px) {
    .dn-hero--single { padding: 48px 0 80px; }
    .dn-auth-single__stamp { width: 120px; }
}

/* --------------------------------------------------------------------------
   Card de autenticação
   -------------------------------------------------------------------------- */
.dn-auth-card {
    position: relative;
    padding: 34px 18px 22px;
    background: #4A1A08;
    background: linear-gradient(180deg, #572209 0%, #3A1406 100%);
    border: 1px solid rgba(255, 216, 77, .42);
    border-radius: 22px;
}
.dn-auth-card__ribbon { position: absolute; top: -20px; left: 0; right: 0; text-align: center; }
.dn-auth-card__ribbon .dn-ribbon { font-size: 16px; padding: 7px 18px 8px; }
.dn-auth-card__title { margin: 6px 0 4px; font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif; font-weight: 400; font-size: 24px; line-height: 1.15; text-align: center; color: #FFD84D; }
.dn-auth-card__sub { margin: 0 0 20px; text-align: center; font-size: 14px; color: #E9CBA7; }
.dn-auth-card__divider { position: relative; margin: 18px 0 14px; text-align: center; }
.dn-auth-card__divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 216, 77, .22); }
.dn-auth-card__divider span { position: relative; padding: 0 12px; background: #431707; color: #E9CBA7; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dn-auth-card .dn-form__footer { margin-top: 14px; }
.dn-auth-card .dn-details { margin: 0 0 16px; }
.dn-auth-card .dn-details__body { padding-bottom: 4px; }
.dn-auth-card .dn-details .dn-field { margin-bottom: 8px; }
.dn-auth-card .dn-notice { margin-bottom: 18px; }
.dn-auth-card .dn-btn--lg { margin-top: 6px; }
@media (min-width: 480px) { .dn-auth-card { padding: 38px 28px 26px; } }
@media (min-width: 768px) { .dn-auth-card__title { font-size: 26px; } .dn-auth-card__ribbon .dn-ribbon { font-size: 17px; } }

/* Benefícios (cadastro) */
.dn-benefits { list-style: none; margin: 0; padding: 0; text-align: left; }
.dn-benefit { display: flex; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(255, 216, 77, .16); }
.dn-benefit:last-child { border-bottom: 0; }
.dn-benefit__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: 14px; border-radius: 14px; background: rgba(255, 216, 77, .12); border: 1px solid rgba(255, 216, 77, .35); }
.dn-benefit__icon svg { width: 22px; height: 22px; fill: #FFD84D; }
.dn-benefit strong { display: block; font-size: 16px; color: #FFF7E6; }
.dn-benefit span { display: block; font-size: 14px; color: #E9CBA7; }
@media (min-width: 1024px) { .dn-benefits { max-width: 520px; } }

/* --------------------------------------------------------------------------
   Passos
   -------------------------------------------------------------------------- */
.dn-steps { list-style: none; padding: 0; counter-reset: passo; display: flex; flex-wrap: wrap; margin: -10px; }
.dn-step { position: relative; width: 100%; padding: 10px; }
.dn-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #FFB020;
    background: linear-gradient(180deg, #FFD84D 0%, #FFB020 50%, #FF7A1A 100%);
    color: #1A0904;
    font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif;
    font-size: 22px;
    box-shadow: 0 4px 0 #8A2E0C, 0 10px 20px rgba(0, 0, 0, .35);
}
.dn-step h3 { margin: 0 0 6px; font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif; font-weight: 400; font-size: 21px; line-height: 1.2; }
.dn-step p { margin: 0 0 8px; font-size: 15px; color: #E9CBA7; }
.dn-step .dn-link { display: inline-flex; align-items: center; min-height: 44px; }
.dn-step .dn-link svg { width: 16px; height: 16px; margin-left: 4px; fill: currentColor; }
.dn-steps__cta { width: 100%; padding: 10px; text-align: center; }
@media (min-width: 768px) {
    .dn-step { width: 33.3333%; padding: 10px 18px; }
    .dn-step + .dn-step::before { content: ""; position: absolute; top: 34px; left: -14px; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #FF7A1A, #FFD84D); }
    .dn-steps__cta { margin-top: 8px; }
}

/* --------------------------------------------------------------------------
   Destaques (pôsteres / ícones)
   -------------------------------------------------------------------------- */
.dn-feature {
    position: relative;
    height: 100%;
    background: #4A1A08;
    background: linear-gradient(180deg, #532009 0%, #3D1506 100%);
    border: 1px solid rgba(255, 216, 77, .22);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
}
.dn-feature:hover { border-color: rgba(255, 216, 77, .55); box-shadow: 0 26px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 216, 77, .35), 0 0 24px rgba(255, 176, 32, .25); }
.dn-feature__media { position: relative; height: 0; padding-top: 62%; overflow: hidden; background: #1A0904; }
.dn-feature__media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.dn-feature__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(61, 21, 6, 0) 0%, #3D1506 100%); }
.dn-feature__badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.dn-feature__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 18px 20px 0; border-radius: 50%; background: #FFB020; background: linear-gradient(180deg, #FFF1B8, #FFB020); border: 3px solid #8A2E0C; }
.dn-feature__icon svg { width: 26px; height: 26px; fill: #2B0F05; }
.dn-feature__body { padding: 16px 20px 22px; }
.dn-feature__title { margin: 0 0 8px; font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif; font-weight: 400; font-size: 21px; line-height: 1.2; color: #FFD84D; }
.dn-feature__body p { margin: 0; font-size: 15px; color: #E9CBA7; }
@media (prefers-reduced-motion: no-preference) {
    .dn-feature { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
    .dn-feature:hover { transform: translateY(-4px); }
}

/* Pôsteres 4:5 com legenda (cadastro): carrossel no mobile, grade ≥768 */
.dn-posters { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 4px 16px 14px; }
.dn-poster { flex: 0 0 240px; margin-right: 12px; }
.dn-poster__inner { position: relative; height: 0; padding-top: 125%; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 216, 77, .3); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); background: #1A0904; }
.dn-poster__inner img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.dn-poster__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, rgba(26, 9, 4, 0) 0%, rgba(26, 9, 4, .92) 100%); font-family: "Lilita One", "Trebuchet MS", Arial, sans-serif; font-size: 20px; color: #FFD84D; text-shadow: 0 2px 0 #8A2E0C; }
@media (min-width: 768px) {
    .dn-posters { flex-wrap: wrap; overflow: visible; margin: -8px; padding: 0; }
    .dn-poster { flex: 0 0 auto; width: 33.3333%; margin: 0; padding: 8px; }
}

/* --------------------------------------------------------------------------
   Chamada final (banner de fundo + pôster inclinado)
   -------------------------------------------------------------------------- */
.dn-cta {
    position: relative;
    overflow: hidden;
    padding: 28px 20px;
    border-radius: 24px;
    background: #4A1A08;
    border: 1px solid rgba(255, 216, 77, .4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 241, 184, .15);
    text-align: center;
}
.dn-cta__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.dn-cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dn-cta__bg::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(43, 15, 5, .86); background: linear-gradient(90deg, rgba(43, 15, 5, .96) 0%, rgba(43, 15, 5, .96) 45%, rgba(43, 15, 5, .62) 100%); }
.dn-cta__body { position: relative; }
.dn-cta__body .dn-kicker { display: block; margin-bottom: 10px; }
.dn-cta__body .dn-h1 { margin: 0 0 10px; }
.dn-cta__body .dn-lead { margin-bottom: 20px; }
.dn-cta .dn-cluster { justify-content: center; }
.dn-cta__poster { display: none; }
@media (min-width: 768px) {
    .dn-cta { text-align: left; padding: 36px 40px; }
    .dn-cta .dn-cluster { justify-content: flex-start; }
}
@media (min-width: 1024px) {
    .dn-cta { display: flex; align-items: center; }
    .dn-cta__body { flex: 1 1 auto; min-width: 0; padding-right: 40px; }
    .dn-cta__poster { position: relative; display: block; flex: 0 0 220px; transform: rotate(-3deg); border: 3px solid #FFD84D; border-radius: 14px; overflow: hidden; box-shadow: 0 22px 50px rgba(0, 0, 0, .55); }
    .dn-cta__poster img { display: block; width: 100%; height: auto; }
}
@media (max-width: 767px) {
    .dn-cta .dn-cluster > .dn-btn { display: flex; width: 100%; margin: 5px 0; }
    .dn-cta .dn-kicker::before { display: none; }
}

/* --------------------------------------------------------------------------
   Comunidade
   -------------------------------------------------------------------------- */
.dn-community {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 216, 77, .2);
    color: #FFF7E6;
}
.dn-community:hover { color: #FFF7E6; border-color: rgba(255, 216, 77, .55); background: rgba(255, 216, 77, .06); }
.dn-community__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: 12px; border-radius: 13px; background: #1A0904; }
.dn-community__icon svg { width: 22px; height: 22px; fill: #FFF7E6; }
.dn-community--discord .dn-community__icon { background: #5865F2; }
.dn-community--whatsapp .dn-community__icon { background: #25D366; }
.dn-community--whatsapp .dn-community__icon svg { fill: #06240F; }
.dn-community--instagram .dn-community__icon { background: linear-gradient(135deg, #f09433, #dc2743 55%, #bc1888); }
.dn-community--facebook .dn-community__icon { background: #1877F2; }
.dn-community--youtube .dn-community__icon { background: #FF0000; }
.dn-community--twitch .dn-community__icon { background: #9146FF; }
.dn-community__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.dn-community__text strong { font-size: 16px; }
.dn-community__text small { font-size: 13px; color: #E9CBA7; }
.dn-community__arrow { flex: 0 0 auto; margin-left: 8px; opacity: .6; }
.dn-community__arrow svg { width: 18px; height: 18px; fill: #FFD84D; }
.dn-community:hover .dn-community__arrow { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .dn-community { transition: transform .15s, border-color .15s, background-color .15s; }
    .dn-community:hover { transform: translateY(-2px); }
}
