/* ======================================
   RESET GERAL
   ====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
    background: #001a14;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ======================================
   🔹 CONTAINER PRINCIPAL
   ====================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ======================================
   BARRA SUPERIOR
   ====================================== */
.barra-topo {
    background: #00120e;
    padding: 8px 0;
    font-size: 13px;
    color: #b2f5ea;
    width: 100%;
}
.barra-topo-conteudo {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.barra-topo span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.redes-sociais {
    margin-left: auto;
    display: flex;
    gap: 16px;
}

.redes-sociais a {
    color: #b2f5ea;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.redes-sociais a:hover {
    color: #00ffb5;
}

/* ======================================
   CABEÇALHO UNIFICADO
   ====================================== */
header {
    background: #001a14;
    border-bottom: 1px solid #00382b;
    padding: 12px 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

.nav-menu a {
    color: #e6fffa;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #00ffb5;
}

.area-acao {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.busca {
    background: #002b20;
    border: 1px solid #004d3b;
    border-radius: 4px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.busca input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    width: 160px;
}

.busca input::placeholder {
    color: #6b9086;
}

.btn-entrar {
    color: #e6fffa;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
    white-space: nowrap;
}

.btn-entrar:hover {
    color: #00ffb5;
}

.btn-carrinho {
    position: relative;
    color: #e6fffa;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-carrinho:hover {
    color: #00ffb5;
}

.badge-carrinho {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======================================
   🎠 CARROSSEL PRINCIPAL
   ====================================== */
.banner-principal {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 32px;
    overflow: hidden;
    aspect-ratio: 16 / 5;
    max-height: 420px;
    background: #001a14;
    border-radius: 8px;
}

.carrossel-painel {
    display: flex;
    width: 600%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    align-items: center;
}

.banner-slide {
    min-width: 16.666%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.seta-banner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seta-banner:hover {
    background: rgba(0,185,129,0.8);
}

.seta-esq { left: 12px; }
.seta-dir { right: 12px; }

.indicadores {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ind {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.2s ease;
}

.ind.ativo {
    background: #00ffb5;
}

/* ======================================
   📢 FAIXA DE OFERTAS
   ====================================== */
.faixa-ofertas {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 32px;
    overflow: hidden;
    position: relative;
}

.ofertas-painel {
    display: flex;
    width: 200%;
    transition: transform 0.5s ease-in-out;
    align-items: center;
}

.bloco-3-oferta {
    min-width: 50%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    flex-shrink: 0;
}

.oferta-item {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    background: #002b20;
}

.oferta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.oferta-item:hover {
    transform: scale(1.015);
}

.seta-oferta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seta-oferta:hover {
    background: rgba(0,185,129,0.8);
}

.seta-oferta-esq { left: 0; }
.seta-oferta-dir { right: 0; }

/* ======================================
   🖼️ ANÚNCIOS DO MEIO
   ====================================== */
.anuncios-meio {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 32px;
    border-radius: 8px;
    overflow: hidden;
}

.bloco-3, .anuncio-item {
    width: 100%;
}

.anuncio-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ======================================
   🎁 BANNER GANHE R$35
   ====================================== */
.banner-promocao-gift {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 32px;
    padding: 40px 24px;
    background: linear-gradient(rgba(0, 40, 30, 0.85), rgba(0, 40, 30, 0.85)),
                url('https://assets.sistemawbuy.com.br/arquivos/c30f3cdb5ede193830560f4c44f96b28/produtos/665fb29c203c0/gift-card-digital-xbox-minecraft-dungeons-main-665fb29cbe952.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid #00ff9d;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.35);
}

.conteudo-banner-gift {
    position: relative;
    z-index: 2;
    max-width: 700px;
    width: 100%;
}

.conteudo-banner-gift h2 {
    font-size: 32px;
    color: #00ff9d;
    margin-bottom: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.conteudo-banner-gift p {
    font-size: 16px;
    color: #e6fffa;
    margin-bottom: 18px;
    line-height: 1.6;
}

.btn-ganhe {
    background: #00ff9d;
    color: #001a14;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.btn-ganhe:hover {
    background: #00cc7a;
    transform: translateY(-2px);
}

/* ======================================
   📊 BARRA DE PROGRESSO COM LISTRAS ANIMADAS
   ====================================== */
.barra-container {
    width: 100%;
    height: 12px;
    background: #232736;
    border-radius: 6px;
    overflow: hidden;
    margin: 8px 0;
}

#progresso {
    height: 100%;
    width: 0%;
    background-color: #22c55e;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.2) 10px,
        rgba(255,255,255,0.2) 20px
    );
    border-radius: 6px;
    animation: movimentoListras 2s linear infinite;
}

@keyframes movimentoListras {
    0% { background-position: 0 0; }
    100% { background-position: 40px 0; }
}

#texto-progresso {
    font-size: 14px;
    color: #e2e8f0;
    margin: 6px 0 16px;
}

/* ======================================
   ✅ AVISO CARRINHO
   ====================================== */
.aviso-carrinho {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #002b20;
    border: 1px solid #00ffb5;
    border-radius: 8px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    z-index: 9999;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.aviso-carrinho.mostrar {
    opacity: 1;
    visibility: visible;
}

.cabecalho-aviso {
    font-size: 18px;
    font-weight: bold;
    color: #00ffb5;
    margin-bottom: 8px;
}

.aviso-carrinho p {
    color: #e6fffa;
    margin-bottom: 20px;
    font-size: 14px;
}

.botoes-aviso {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-aviso {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
}

.btn-aviso.verde {
    background: #00e08e;
    color: #001a14;
}

.btn-aviso.verde:hover {
    background: #00c07a;
}

.btn-aviso.cinza {
    background: #374151;
    color: #fff;
}

.btn-aviso.cinza:hover {
    background: #4b5563;
}

/* ======================================
   TÍTULOS E CARDS DE PRODUTOS
   ====================================== */
.titulo-secao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
}

.titulo-secao.centro {
    text-align: center;
    margin-bottom: 32px;
    flex-direction: column;
    gap: 8px;
}

.titulo-secao h2 {
    font-size: 22px;
    color: #fff;
    font-weight: 600;
}

.titulo-secao.centro h2 {
    font-size: 26px;
    font-weight: 700;
}

.titulo-secao.centro p {
    font-size: 15px;
    color: #b2f5ea;
}

.btn-ver {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00b981;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-ver:hover {
    background: #059669;
}

.grade-gifts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    width: 100%;
    align-items: stretch;
}

.card-gift {
    background: #002b20;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #00382b;
    min-height: 340px;
}

.card-gift:hover {
    transform: translateY(-4px);
    border-color: #00ffb5;
}

.img-card-fundo {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: #002b20;
    flex-shrink: 0;
}

.img-card-fundo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.selo-cupom {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff7a2f;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}

.card-gift h3 {
    font-size: 13px;
    color: #e6fffa;
    margin: 10px 10px 8px;
    line-height: 1.4;
    flex-grow: 1;
}

.precos {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 10px 8px;
    flex-wrap: wrap;
}

.desconto {
    display: inline-block;
    background: #ff5522;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.preco-antigo {
    text-decoration: line-through;
    color: #6b9086;
    font-size: 12px;
}

.preco {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    margin: 0 10px 10px;
}

.card-gift button {
    width: calc(100% - 20px);
    margin: 0 10px 10px;
    background: #00e08e;
    border: none;
    padding: 10px;
    color: #001a14;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.card-gift button:hover {
    background: #00c07a;
}

/* ======================================
   🗣️ PROVA SOCIAL / DEPOIMENTOS
   ====================================== */
.secao-prova-social {
    width: 100%;
    margin: 0 auto 40px;
    padding: 20px 0;
}

.grade-depoimentos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.card-depoimento {
    background: #002b20;
    border: 1px solid #00382b;
    border-radius: 8px;
    padding: 20px;
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-depoimento:hover {
    transform: translateY(-4px);
    border-color: #00ffb5;
}

.estrelas {
    font-size: 18px;
    color: #ffd700;
    letter-spacing: 2px;
}

.card-depoimento p {
    color: #e6fffa;
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
}

.perfil {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.inicial {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #00b981;
    color: #001a14;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.inicial.verde { background: #00e08e; color: #001a14; }
.inicial.vermelho { background: #ef4444; color: #fff; }
.inicial.roxo { background: #8b5cf6; color: #fff; }
.inicial.laranja { background: #f97316; color: #fff; }
.inicial.rosa { background: #ec4899; color: #fff; }
.inicial.azul { background: #3b82f6; color: #fff; }
.inicial.verde-claro { background: #10b981; color: #fff; }

.nome {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.verificado {
    font-size: 12px;
    color: #00ffb5;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.verificado::before {
    content: "✓";
    font-weight: bold;
}

/* ======================================
   🚨 TELA DE INDICAÇÃO (PARA CASO QUEIRA VOLTAR COMO JANELA SOBREPOSTA)
   ====================================== */
.tela-indicacao-oculta { display: none !important; }
.tela-indicacao-visivel {
    display: flex !important;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.conteudo-indicacao {
    background: #1e293b;
    padding: 24px;
    border-radius: 12px;
    max-width: 420px;
    width: 100%;
    color: white;
}

.sucesso-cadastro {
    text-align: center;
    margin-bottom: 16px;
}

.icone-sucesso {
    color: #00ff9d;
    font-size: 24px;
}

.caixa-link {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.caixa-link input {
    flex: 1;
    padding: 8px;
    border-radius: 4px;
    border: none;
    background: #334155;
    color: white;
}

.btn-copiar {
    padding: 8px 16px;
    background: #ff7a30;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.btn-voltar {
    width: 100%;
    padding: 12px;
    background: #ff7a30;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    margin-top: 16px;
    cursor: pointer;
}

/* ======================================
   🔔 NOTIFICAÇÃO FLUTUANTE
   ====================================== */
.notif-gift-oculta { display: none !important; }
.notif-gift-visivel {
    display: block !important;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #002b20;
    border: 1px solid #00ffb5;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    z-index: 10000;
}

/* ======================================
   📱 AJUSTES PARA CELULAR
   ====================================== */
@media (max-width: 768px) {
    .nav-menu { gap: 12px; font-size: 12px; }
    .conteudo-banner-gift h2 { font-size: 24px; }
    .bloco-3-oferta { grid-template-columns: 1fr; }
    .grade-gifts { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .grade-depoimentos { grid-template-columns: 1fr; }
    .seta-banner, .seta-oferta { width: 36px; height: 36px; font-size: 20px; }
}