/* ==================================================
   TEMA GLOBAL - ANIVERSÁRIO AUGUSTO
   Padrão visual único: card da confirmação em todo site
   ================================================== */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow-x: hidden;
    background: #050a14;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;

    background:
        linear-gradient(rgba(5,10,20,.78), rgba(5,10,20,.92)),
        url('../img/bg-konoha.png') center top / 100% auto no-repeat;
}


body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            circle at top,
            rgba(255,122,0,.15),
            transparent 45%
        );
}

.container {
    width: min(1280px, 92%);
    margin: auto;
}

/* ==================================================
   COMPONENTES PADRÃO
   ================================================== */

.card-ninja,
.hero-card,
.festa-card,
.local-card,
.confirmacao-card,
.admin-card,
.admin-progress-card,
.admin-table-card,
.convite-resumo-card,
.galeria-card {
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(250,204,21,.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px rgba(0,0,0,.36);
}

.btn-ninja {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 17px 24px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff7a00, #ff4b1f);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(255,100,0,.36);
    transition: .25s;
}

.btn-ninja:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(255,100,0,.48);
}

.section-title,
.admin-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-title span,
.admin-header span {
    color: #facc15;
    font-weight: 900;
}

.section-title h2,
.admin-header h1 {
    color: #ff7a00;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 900;
    margin: 12px 0;
    text-shadow: 0 10px 28px rgba(255,120,0,.28);
}

.section-title p,
.admin-header p {
    color: #fff;
    font-size: 20px;
    max-width: 760px;
    margin: auto;
}

/* ==================================================
   MENU
   ================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;

    background: rgba(10, 12, 24, .75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 170, 0, .15);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);

    padding: 15px 0;
}

.logo,
.navbar-brand {
    color: #fff !important;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
    transition: .25s;
}

.logo:hover,
.navbar-brand:hover {
    color: #facc15 !important;
    transform: scale(1.04);
}

.nav-link {
    position: relative;
    color: #fff !important;
    font-weight: 800;
    margin-left: 18px;
    transition: .25s;
}

.nav-link:hover {
    color: #facc15 !important;
}

.btn-confirmar {
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    padding: 10px 22px !important;
}

/* ==================================================
   HERO
   ================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    padding-top: 100px;
    width: min(760px, 92%);
}

.hero-card {
    width: 100%;
    padding: 55px;
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,150,0,.12), transparent 55%);
    pointer-events: none;
}

.hero-card > * {
    position: relative;
    z-index: 2;
}

.mission-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff7a00, #facc15);
    color: #111827;
    padding: 9px 20px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 18px;
}

.hero-card h1 {
    color: #ff7a00;
    font-size: clamp(54px, 7vw, 82px);
    font-weight: 900;
    line-height: .9;
    text-transform: uppercase;
    text-shadow: 0 10px 28px rgba(255,120,0,.48);
}

.hero-card h2 {
    color: #facc15;
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 900;
    margin: 12px 0 22px;
    text-transform: uppercase;
}

.hero-text {
    font-size: 20px;
    color: #fff;
    margin-bottom: 24px;
}

.mini-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.mini-tags span {
    background: rgba(255,255,255,.10);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

/* CONTADOR PADRÃO */
.countdown {
    display: flex;
    gap: 15px;
    margin-top: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown div {
    width: 112px;
    padding: 18px 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(250,204,21,.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,.36);
    transition: .25s;
}

.countdown div:hover {
    transform: translateY(-4px);
    border-color: rgba(250,204,21,.38);
}

.countdown strong {
    display: block;
    color: #facc15;
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
}

.countdown span {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

/* ==================================================
   MISSÃO / FESTA / LOCAL
   ================================================== */

.section-missao {
    position: relative;
    background: transparent;
}

.section-missao::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,122,0,.08), transparent 35%);
    pointer-events: none;
}

.section-missao > section {
    position: relative;
    z-index: 2;
}

.section-festa {
    padding: 120px 0 55px;
    background: transparent;
}

.festa-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.festa-card {
    min-height: 230px;
    padding: 34px 28px;
    border-radius: 24px;
    transition: .25s;
}

.festa-card:hover {
    transform: translateY(-6px);
    border-color: rgba(250,204,21,.45);
}

.festa-card i {
    color: #facc15;
    font-size: 42px;
    margin-bottom: 20px;
}

.festa-card h3 {
    font-size: 27px;
    font-weight: 900;
    margin-bottom: 12px;
}

.festa-card p {
    color: #e5e7eb;
    font-size: 16px;
}

/* LOCAL */
.section-local {
    padding: 80px 0 120px;
    background: transparent;
}

.local-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 50px;
    align-items: center;
}

.local-card {
    border-radius: 32px;
    padding: 42px;
}

.local-badge {
    display: inline-block;
    color: #FFD54A;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 20px;
}

.local-card h2 {
    color: #ff7a00;
    font-size: 48px;
    line-height: 1.05;
    margin-bottom: 30px;
}

.local-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.local-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 20px;
    color: #f4f4f4;
}

.local-list i {
    color: #FFD54A;
    width: 26px;
    font-size: 22px;
}

.local-card .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 35px;
    padding: 18px 24px;
    color: #fff !important;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff7a00, #ff4b1f);
    box-shadow: 0 15px 35px rgba(255,110,0,.35);
    transition: .3s;
}

.local-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255,110,0,.45);
}

.local-map {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.36);
    border: 1px solid rgba(250,204,21,.18);
}

.local-map iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

/* =======================
   GALERIA
======================= */

.galeria-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:28px;
    margin-top:60px;
}

.galeria-grid a{
    display:block;
    overflow:hidden;
    border-radius:22px;
    border:1px solid rgba(255,170,0,.18);
    background:#111522;
    transition:.35s;
    box-shadow:0 15px 35px rgba(0,0,0,.35);
}

.galeria-grid a:hover{
    transform:translateY(-8px);
    border-color:#ff8c00;
    box-shadow:0 20px 45px rgba(255,120,0,.25);
}

.galeria-grid img{
    width:100%;
    height:340px;
    object-fit:cover;
    display:block;
    transition:.45s;
}

.galeria-grid a:hover img{
    transform:scale(1.08);
}
/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(12px);
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 65%;
    max-height: 82vh;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.lightbox-close {
    position: absolute;
    top: 28px;
    right: 36px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: #ff4b1f;
    color: #fff;
    font-size: 42px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 10000;
}

.lightbox-prev { left: 35px; }
.lightbox-next { right: 35px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #ff7a00;
}

/* ==================================================
   CONFIRMAÇÃO
   ================================================== */

.section-confirmacao {
    padding: 130px 0 100px;
    background: transparent;
}

.confirmacao-card {
    max-width: 920px;
    margin: auto;
    padding: 48px;
    border-radius: 32px;
}

.form-confirmacao {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-weight: 800;
    margin-bottom: 8px;
    color: #facc15;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    padding: 16px 18px;
    background: rgba(0,0,0,.32);
    color: #fff;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,.45);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff7a00;
    box-shadow: 0 0 0 3px rgba(255,122,0,.18);
}

.form-confirmacao button {
    grid-column: span 2;
}

/* BOTÕES CONFIRMAÇÃO */
.confirmacao-escolha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-resposta {
    cursor: pointer;
    padding: 22px;
    border-radius: 18px;
    border: 2px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    transition: .30s;
}

.btn-resposta:hover {
    transform: translateY(-4px);
}

.btn-resposta.sim:hover {
    border-color: #00d26a;
    box-shadow: 0 0 25px rgba(0,210,106,.35);
}

.btn-resposta.nao:hover {
    border-color: #ff4d4d;
    box-shadow: 0 0 25px rgba(255,77,77,.35);
}

input[type=radio]:checked + .btn-resposta.sim {
    background: #00b75d;
    border-color: #00ff88;
    color: #fff;
}

input[type=radio]:checked + .btn-resposta.nao {
    background: #d63031;
    border-color: #ff6b6b;
    color: #fff;
}

.mensagem-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}

.mensagem-resposta {
    display: none;
    max-width: 600px;
    width: 100%;
    padding: 18px 24px;
    border-radius: 16px;
    text-align: center;
    font-weight: 800;
}

.mensagem-resposta.ativo {
    display: block;
}

.mensagem-resposta.sim {
    background: rgba(0, 210, 106, .14);
    border: 1px solid rgba(0, 210, 106, .45);
    color: #7dffb2;
}

.mensagem-resposta.nao {
    background: rgba(255, 77, 77, .14);
    border: 1px solid rgba(255, 77, 77, .45);
    color: #ff9b9b;
}

/* CARD DO CONVITE */
.convite-resumo-card {
    margin: 45px 0;
    padding: 35px;
    border-radius: 24px;
}

.convite-resumo-card h3 {
    color: #facc15;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.convite-resumo-card h3 i {
    color: #ff7a00;
}

.convite-linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.convite-linha:last-child {
    border-bottom: none;
}

.convite-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 18px;
    font-weight: 800;
}

.convite-label i {
    color: #ff8c00;
    font-size: 22px;
}

.convite-valor {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    text-align: right;
}

/* ALERTAS */
.alerta {
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-weight: 800;
    text-align: center;
}

.alerta.erro {
    background: rgba(255, 77, 77, .16);
    border: 1px solid rgba(255, 77, 77, .45);
    color: #ff9b9b;
}

.alerta.sucesso {
    background: rgba(0, 210, 106, .16);
    border: 1px solid rgba(0, 210, 106, .45);
    color: #7dffb2;
}

/* ==================================================
   OBRIGADO - PERGAMINHO
   ================================================== */

.section-obrigado {
    position: relative;
    min-height: 100vh;
    padding: 130px 0 80px;
    overflow: hidden;
    background: transparent;
}

.pergaminho-missao {
    max-width: 780px;
    margin: auto;
    position: relative;
    animation: pergaminhoEntrada .8s ease forwards;
}

.pergaminho-topo,
.pergaminho-base {
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b4513, #d39b42, #8b4513);
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

.pergaminho-corpo {
    margin: -4px 28px;
    padding: 48px;
    text-align: center;
    color: #2b1607;
    background:
        radial-gradient(circle at top, rgba(255,255,255,.45), transparent 35%),
        linear-gradient(135deg, #f2d19a, #c98b3b);
    border-left: 8px solid #8b4513;
    border-right: 8px solid #8b4513;
    box-shadow: 0 35px 80px rgba(0,0,0,.45);
    transform-origin: top;
    animation: desenrolarPergaminho .9s ease forwards;
}

.missao-tag {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(90, 44, 10, .16);
    color: #5a2c0a;
    font-weight: 900;
    margin-bottom: 18px;
}

.missao-tag.negativo {
    background: rgba(120, 20, 20, .14);
}

.pergaminho-corpo h1 {
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 900;
    color: #5a2c0a;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pergaminho-corpo h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    color: #8b2f00;
    margin-bottom: 24px;
}

.pergaminho-corpo p {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 28px;
}

.missao-detalhes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.missao-detalhes div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(90, 44, 10, .12);
    border: 1px solid rgba(90, 44, 10, .18);
}

.missao-detalhes strong {
    display: block;
    font-size: 15px;
    margin-bottom: 8px;
}

.missao-detalhes span {
    display: block;
    font-weight: 900;
}

.selo-konoha {
    width: 110px;
    height: 110px;
    margin: 24px auto;
    border: 6px solid rgba(139, 47, 0, .75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b2f00;
    font-size: 24px;
    font-weight: 900;
    transform: rotate(-12deg);
    animation: seloEntrada .7s ease .8s both;
}

.btn-voltar {
    max-width: 360px;
    margin: 20px auto 0;
}

/* ==================================================
   ADMIN
   ================================================== */

.section-admin {
    padding: 130px 0 100px;
    background: transparent;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.admin-card {
    padding: 26px 20px;
    border-radius: 22px;
    text-align: center;
}

.admin-card span {
    display: block;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.admin-card strong {
    color: #facc15;
    font-size: 40px;
    font-weight: 900;
}

.admin-card.success strong { color: #7dffb2; }
.admin-card.danger strong { color: #ff9b9b; }
.admin-card.warning strong { color: #facc15; }
.admin-card.people strong { color: #ff7a00; }

.admin-progress-card {
    padding: 24px;
    border-radius: 24px;
    margin-bottom: 32px;
}

.progress-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.progress-info strong {
    color: #ff7a00;
    font-size: 34px;
    font-weight: 900;
}

.progress-info span {
    color: #fff;
    font-weight: 800;
}

.progress-bar {
    width: 100%;
    height: 18px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.10);
}

.progress-bar div {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a00, #facc15);
}

.admin-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.admin-actions input {
    flex: 1;
    min-width: 280px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    padding: 16px 18px;
    background: rgba(0,0,0,.32);
    color: #fff;
    outline: none;
}

.admin-filtros {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filtro-btn {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    padding: 12px 18px;
    background: rgba(255,255,255,.055);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.filtro-btn.ativo,
.filtro-btn:hover {
    background: linear-gradient(135deg, #ff7a00, #ff4b1f);
    border-color: transparent;
}

.admin-table-card {
    padding: 30px;
    border-radius: 28px;
}

.admin-table-card h2 {
    color: #ff7a00;
    font-size: 30px;
    margin-bottom: 22px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #facc15;
    font-weight: 900;
}

.admin-table td {
    color: #fff;
}

.status-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.status-badge.sim {
    background: rgba(0,210,106,.16);
    color: #7dffb2;
}

.status-badge.nao {
    background: rgba(255,77,77,.16);
    color: #ff9b9b;
}

.status-badge.pendente {
    background: rgba(250,204,21,.16);
    color: #facc15;
}

/* ==================================================
   FOLHAS / ANIMAÇÕES
   ================================================== */

.leaf {
    position: absolute;
    top: -60px;
    z-index: 4;
    font-size: 26px;
    opacity: .75;
    animation: leafFall 12s linear infinite;
    pointer-events: none;
}

.leaf-1 { left: 5%; animation-delay: 0s; }
.leaf-2 { left: 22%; animation-delay: 2s; }
.leaf-3 { left: 50%; animation-delay: 4s; }
.leaf-4 { left: 72%; animation-delay: 6s; }
.leaf-5 { left: 90%; animation-delay: 8s; }

@keyframes leafFall {
    0% { transform: translateY(-80px) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(360deg); }
}

@keyframes pergaminhoEntrada {
    from { opacity: 0; transform: translateY(35px) scale(.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes desenrolarPergaminho {
    from { transform: scaleY(.2); opacity: .2; }
    to { transform: scaleY(1); opacity: 1; }
}

@keyframes seloEntrada {
    from { opacity: 0; transform: scale(1.8) rotate(-24deg); }
    to { opacity: 1; transform: scale(1) rotate(-12deg); }
}

/* FOOTER */
footer {
    display: none;
}

/* ==================================================
   RESPONSIVO
   ================================================== */

@media (max-width: 1100px) {
    .admin-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .festa-grid,
    .galeria-grid,
    .galeria-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .local-grid {
        grid-template-columns: 1fr;
    }

    .navbar-collapse {
        background: rgba(10,15,30,.95);
        padding: 20px;
        border-radius: 18px;
        margin-top: 14px;
    }

    .local-map iframe {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding-top: 105px;
    }

    .hero-card,
    .confirmacao-card,
    .local-card,
    .admin-table-card {
        padding: 30px 22px;
        border-radius: 26px;
    }

    .mini-tags {
        display: none;
    }

    .countdown div {
        width: 78px;
        padding: 13px 8px;
    }

    .countdown strong {
        font-size: 28px;
    }

    .festa-grid,
    .galeria-grid,
    .galeria-mosaic {
        grid-template-columns: 1fr;
    }

    .section-festa {
        padding: 75px 0 55px;
    }

    .section-local {
        padding: 55px 0 85px;
    }

    .form-confirmacao {
        grid-template-columns: 1fr;
    }

    .form-group.full,
    .form-confirmacao button {
        grid-column: span 1;
    }

    .confirmacao-escolha {
        grid-template-columns: 1fr;
    }

    .convite-resumo-card {
        padding: 26px 22px;
    }

    .convite-linha {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .convite-valor {
        text-align: left;
        font-size: 18px;
    }

    .missao-detalhes {
        grid-template-columns: 1fr;
    }

    .pergaminho-corpo {
        margin: -4px 14px;
        padding: 34px 22px;
    }

    .lightbox img {
        max-width: 92%;
        max-height: 78vh;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 46px;
        height: 46px;
        font-size: 28px;
    }
}

@media (max-width: 560px) {
    .admin-cards {
        grid-template-columns: 1fr;
    }

    .admin-actions {
        flex-direction: column;
    }

    .admin-filtros {
        flex-direction: column;
    }

    .galeria-mosaic {
        grid-auto-rows: 280px;
    }
}


/* ==================================================
   NAVBAR PREMIUM - GLASS + EFEITO CHAKRA
   ================================================== */

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7a00, #facc15);
    transition: .3s;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #facc15 !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-confirmar {
    background: linear-gradient(90deg, #ff7a00, #ff4b2b);
    border: none !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 10px 24px !important;
    box-shadow: 0 10px 30px rgba(255,120,0,.35);
    transition: .3s;
}

.btn-confirmar::after {
    display: none;
}

.btn-confirmar:hover {
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(255,120,0,.55);
}

@media (max-width: 992px) {
    .navbar-collapse {
        background: rgba(10, 12, 24, .92);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(255,170,0,.15);
        box-shadow: 0 20px 50px rgba(0,0,0,.35);
        padding: 20px;
        border-radius: 18px;
        margin-top: 14px;
    }

    .nav-link {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .nav-link::after {
        bottom: 2px;
    }

    .btn-confirmar {
        margin-top: 8px;
        text-align: center;
    }
}

/* AJUSTE FINAL DA NAVBAR */

.navbar {
    background: linear-gradient(
        90deg,
        rgba(8, 10, 20, .58),
        rgba(18, 20, 34, .72),
        rgba(8, 10, 20, .58)
    ) !important;

    backdrop-filter: blur(22px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%) !important;

    border-bottom: 1px solid rgba(255, 170, 0, .28) !important;

    box-shadow:
        0 10px 35px rgba(0,0,0,.45),
        0 1px 0 rgba(255,255,255,.05) inset,
        0 0 35px rgba(255,122,0,.10) !important;
}

.navbar::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: -1px;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,122,0,.75),
        transparent
    );
}

.navbar-brand {
    text-shadow: 0 0 18px rgba(255,255,255,.22);
}

.nav-link {
    text-shadow: 0 0 14px rgba(255,255,255,.18);
}

/* ==================================================
   CORREÇÃO DO BACKGROUND NO CELULAR
   Evita problema com background-attachment: fixed
   ================================================== */

@media (max-width: 768px) {
    body {
        background: #050a14;
        min-height: 100vh;
    }

    body::before {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background:
            linear-gradient(rgba(5,10,20,.80), rgba(5,10,20,.94)),
            url('../img/bg-konoha.png') center top / cover no-repeat;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    body::after {
        position: fixed;
        inset: 0;
        background:
            radial-gradient(
                circle at top,
                rgba(255,122,0,.14),
                transparent 45%
            );
    }
}

/*galeria carrosel*/
.galeria-slider {
    width: 100%;
    overflow: hidden;
    margin-top: 55px;
}

.galeria-track {
    display: flex;
    gap: 26px;
    width: max-content;
    animation: galeriaScroll 35s linear infinite;
}

.galeria-slider:hover .galeria-track {
    animation-play-state: paused;
}

.galeria-slide {
    width: 260px;
    height: 320px;
    flex: 0 0 auto;
    border: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(250,204,21,.18);
    box-shadow: 0 30px 80px rgba(0,0,0,.36);
    cursor: pointer;
}

.galeria-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .35s;
}

.galeria-slide:hover img {
    transform: scale(1.08);
}

@keyframes galeriaScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .galeria-slide {
        width: 210px;
        height: 270px;
    }

    .galeria-track {
        gap: 18px;
        animation-duration: 28s;
    }
}

.btn-exportar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 50px;
    padding: 13px 20px;

    border: 1px solid rgba(0, 210, 106, .35);
    border-radius: 16px;

    background: rgba(0, 180, 90, .14);
    color: #7dffb2;

    font-size: 15px;
    font-weight: 900;
    text-decoration: none;

    cursor: pointer;
    transition: .25s;
}

.btn-exportar i {
    font-size: 20px;
}

.btn-exportar:hover {
    color: #fff;
    background: linear-gradient(
        135deg,
        #00a854,
        #00c96b
    );

    border-color: transparent;

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0, 200, 100, .28);
}

@media (max-width: 768px) {
    .btn-exportar {
        width: 100%;
    }
}