/* VaiDeLP Site - Estilos adicionais */

/* ============================================
   NAVBAR LOGO
   ============================================ */
.navbar-brand img {
    height: 19vh;
    width: auto;
    margin-top: -65px;
    margin-bottom: -65px;
    position: relative;
    z-index: 1050;
}
#mainNav .navbar-nav .nav-item .nav-link {
    color: #212529;
    font-size: x-large;
    font-weight: bold;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}
#mainNav .navbar-nav .nav-item .nav-link:hover {
    background-color: #000;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}
#mainNav .navbar-nav .nav-item .nav-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ============================================
   HERO / MASTHEAD - Background + Artista
   ============================================ */
.masthead {
    position: relative;
    background: url('/img/bg-hero.png') center center / cover no-repeat;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.masthead::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 0;
}
.masthead > .container { position: relative; z-index: 1; }
.masthead h1,
.masthead .lead { color: #fff !important; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.masthead .lead { color: rgba(255,255,255,0.85) !important; }

/* Hero duo - celular + artista lado a lado */
.hero-duo {
    position: relative;
}
.hero-phone {
    flex-shrink: 0;
    text-align: center;
}
.hero-phone img {
    max-height: 60vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}
.hero-artist {
    position: relative;
    text-align: center;
}
.hero-artist img {
    max-height: 75vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
    animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   ASIDE / DESTAQUE - Background Pattern
   ============================================ */
.section-pattern {
    background: url('/img/bg-pattern.png') center center / cover no-repeat !important;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.section-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 0;
}
.section-pattern > .container { position: relative; z-index: 1; }

/* ============================================
   FEATURES - com imagem de canto
   ============================================ */
#features, #como-funciona {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.corner-artist {
    position: relative;
    text-align: center;
}
.corner-artist img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.3));
}

/* ============================================
   SOBRE - com items visuais
   ============================================ */
.about-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.about-item-img {
    max-height: 200px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
    transition: transform 0.3s;
}
.about-item-img:hover { transform: scale(1.05); }

/* ============================================
   CTA - Background verde + artista canto
   ============================================ */
section.cta {
    background: url('/img/bg-green.png') center center / cover no-repeat !important;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
section.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}
section.cta > .container { position: relative; z-index: 1; }
.cta-artist {
    position: relative;
    text-align: center;
}
.cta-artist img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 20px rgba(0,0,0,0.5));
}

/* ============================================
   GANHADORES - Background pattern
   ============================================ */
.winners-header {
    background: url('/img/bg-pattern.png') center center / cover no-repeat;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    padding: 3rem 2rem;
}
.winners-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 0;
}
.winners-header > * { position: relative; z-index: 1; }

/* ============================================
   CAMPANHA - Header com imagem
   ============================================ */
.campanha-header {
    background: url('/img/bg-hero.png') center center / cover no-repeat;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    padding: 3rem 2rem;
}
.campanha-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: 0;
}
.campanha-header > * { position: relative; z-index: 1; }

/* ============================================
   PLANOS - Header com background verde
   ============================================ */
.planos-header {
    background: url('/img/bg-green.png') center center / cover no-repeat;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    padding: 3rem 2rem;
}
.planos-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 0;
}
.planos-header > * { position: relative; z-index: 1; }

/* ============================================
   MEUS NÚMEROS - Header
   ============================================ */
.meus-numeros-header {
    background: url('/img/bg-pattern.png') center center / cover no-repeat;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    padding: 3rem 2rem;
}
.meus-numeros-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 0;
}
.meus-numeros-header > * { position: relative; z-index: 1; }

/* ============================================
   #VAIDELP 3D Logo
   ============================================ */
/* Botão Entrar */
.btn-entrar {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.btn-entrar:hover {
    background-color: #222 !important;
    border-color: #222 !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

.vaidelp-3d {
    width: auto;
    filter: drop-shadow(0 3px 10px rgba(255,200,0,0.4));
}

/* ============================================
   Login */
.login-container { max-width: 420px; margin: 8rem auto 4rem; color: #fff; }
.login-container .card { border: 1px solid rgba(255,255,255,0.08) !important; box-shadow: 0 0.5rem 1rem rgba(0,0,0,.3); border-radius: 1rem; overflow: hidden; background-color: rgba(255,255,255,0.05) !important; }
.login-container .card-body { background-color: transparent !important; }
.login-container .form-control { background-color: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #fff; }
.login-container .form-control:focus { background-color: rgba(255,255,255,0.12); color: #fff; border-color: #ffd401; box-shadow: 0 0 0 0.2rem rgba(255,212,1,0.25); }
.login-container .form-floating label { color: rgba(255,255,255,0.5); }
.login-container .text-muted { color: rgba(255,255,255,0.5) !important; }
.login-container .btn-primary { background-color: #000; border-color: #000; box-shadow: 0 4px 10px rgba(0,0,0,0.4); }
.login-container .btn-primary:hover { background-color: #222; border-color: #222; }

/* Planos */
.plan-card { transition: transform 0.2s; border: 2px solid transparent; border-radius: 1rem; overflow: hidden; }
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.15); }
.plan-card.featured { border-color: #FFD700; box-shadow: 0 0 20px rgba(255,215,0,0.3); }
.plan-price { font-size: 2.5rem; font-weight: 700; }
.plan-period { font-size: 0.875rem; color: #6c757d; }

/* Números da sorte */
.lucky-number {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    display: inline-block;
}
.lucky-number.winner {
    color: #198754;
    background: #d1e7dd;
    border-color: #198754;
}

/* Campanha */
.countdown-item { text-align: center; padding: 1rem; }
.countdown-number { font-size: 2.5rem; font-weight: 700; color: #FFD700; }
.countdown-label { font-size: 0.75rem; text-transform: uppercase; color: #6c757d; }

/* Ganhadores */
.position-badge {
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; color: white; font-size: 0.875rem;
}
.position-1 { background: linear-gradient(135deg, #FFD700, #FFA500); }
.position-2 { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); }
.position-3 { background: linear-gradient(135deg, #CD7F32, #8B5A2B); }
.position-other { background: #6c757d; }

/* Stats cards */
.stat-card { text-align: center; padding: 2rem; }
.stat-number { font-size: 2rem; font-weight: 700; }
.stat-label { font-size: 0.875rem; color: #6c757d; }

/* Seções fullscreen na landing page */
.masthead ~ section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.masthead ~ section > .container { width: 100%; }

/* Background tom escuro personalizado */
.bg-dark-custom { background-color: #010c06 !important; }

/* Página interna - espaçamento do navbar fixo */
.page-content {
    padding-top: 6rem;
    background-color: #14190d;
    min-height: 100vh;
    color: #fff;
}

/* Cards escuros nas páginas internas */
.page-content .card {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
}
.page-content .card-header { border-bottom: 1px solid rgba(255,255,255,0.08); }
.page-content .card-footer { background-color: rgba(255,255,255,0.03) !important; border-top: 1px solid rgba(255,255,255,0.08); }
.page-content .card-header.bg-white,
.page-content .card-footer.bg-white { background-color: rgba(255,255,255,0.05) !important; }
.page-content .text-muted { color: rgba(255,255,255,0.5) !important; }
.page-content .text-dark { color: #fff !important; }
.page-content .table { color: #fff; }
.page-content .table-hover tbody tr:hover { color: #fff; background-color: rgba(255,255,255,0.05); }
.page-content .table th { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.page-content .table td { border-color: rgba(255,255,255,0.06); }
.page-content hr { border-color: rgba(255,255,255,0.1); }
.page-content .form-control { background-color: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #fff; }
.page-content .form-control:focus { background-color: rgba(255,255,255,0.12); color: #fff; border-color: #ffd401; box-shadow: 0 0 0 0.2rem rgba(255,212,1,0.25); }
.page-content .form-floating label { color: rgba(255,255,255,0.5); }
.page-content .stat-card { background-color: rgba(255,255,255,0.05) !important; }
.page-content .stat-label { color: rgba(255,255,255,0.5) !important; }
.page-content .lucky-number { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #ffd401; }
.page-content .empty-state i { color: rgba(255,255,255,0.15) !important; }
.page-content .btn-outline-primary { color: #ffd401; border-color: #ffd401; }
.page-content .btn-outline-primary:hover { background-color: #ffd401; color: #000; }
.page-content .btn-primary { background-color: #000; border-color: #000; box-shadow: 0 4px 10px rgba(0,0,0,0.4); }
.page-content .btn-primary:hover { background-color: #222; border-color: #222; }
.page-content .page-link { background-color: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #fff; }
.page-content .page-item.active .page-link { background-color: #ffd401; border-color: #ffd401; color: #000; }
.page-content .plan-price { color: #ffd401; }
.page-content .plan-period { color: rgba(255,255,255,0.4) !important; }
.page-content .plan-card { background-color: rgba(255,255,255,0.05) !important; border-color: rgba(255,255,255,0.08); }
.page-content .plan-card.featured { border-color: #FFD700; }
.page-content .alert { background-color: rgba(220,53,69,0.15); border-color: rgba(220,53,69,0.3); color: #ff6b6b; }

/* Login container no fundo escuro */
.login-container { color: #fff; }

/* Prize card */
.prize-card { border-radius: 1rem; overflow: hidden; transition: transform 0.2s; }
.prize-card:hover { transform: translateY(-3px); }
.prize-card img { height: 200px; object-fit: cover; }

/* Empty state */
.empty-state { padding: 4rem 2rem; text-align: center; }
.empty-state i { font-size: 4rem; color: #dee2e6; }

/* ============================================
   ANIMAÇÕES DE ENTRADA - Header
   ============================================ */
.masthead .hero-anim {
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1s ease forwards;
}
.masthead .hero-anim:nth-child(1) { animation-delay: 0.2s; }
.masthead .hero-anim:nth-child(2) { animation-delay: 0.5s; }
.masthead .hero-anim:nth-child(3) { animation-delay: 0.8s; }

.masthead .hero-anim-right {
    opacity: 0;
    transform: translateX(60px);
    animation: heroSlideLeft 1.2s ease forwards;
    animation-delay: 0.6s;
}

@keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   SCROLL REVEAL - Seções
   ============================================ */
.reveal {
    opacity: 0;
    transition: all 0.8s ease;
}
.reveal.reveal-up {
    transform: translateY(60px);
}
.reveal.reveal-left {
    transform: translateX(-60px);
}
.reveal.reveal-right {
    transform: translateX(60px);
}
.reveal.reveal-scale {
    transform: scale(0.9);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Delays escalonados para elementos filhos */
.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.25s !important; }
.reveal-delay-3 { transition-delay: 0.4s !important; }
.reveal-delay-4 { transition-delay: 0.55s !important; }

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 991.98px) {
    .hero-artist img { max-height: 55vh; }
    .hero-phone img { max-height: 40vh; }
    .hero-duo { margin-bottom: 2rem; }
    .hero-badges .app-badge { max-height: 38px; }
    .corner-artist img { max-height: 50vh; }
    .cta-artist img { max-height: 45vh; }
    .countdown-number { font-size: 1.8rem; }
}

@media (max-width: 767.98px) {
    .hero-artist img { max-height: 50vh; }
    .hero-artist img[style*="margin-left"] { margin-left: -120px !important; }
    .hero-badges .app-badge { max-height: 34px; }
    .corner-artist img { max-height: 35vh; }
    .masthead h1 { font-size: 2.5rem !important; }
    .about-item-img { max-height: 150px; }
    .winners-header, .campanha-header, .planos-header, .meus-numeros-header { padding: 2rem 1rem; }
    .countdown-number { font-size: 1.5rem; }
    .stat-number { font-size: 1.5rem; }
}

@media (max-width: 575.98px) {
    .hero-artist img { max-height: 45vh; }
    .hero-artist img[style*="margin-left"] { margin-left: -80px !important; }
    .hero-badges .app-badge { max-height: 30px; }
    .corner-artist img { max-height: 30vh; }
    .masthead h1 { font-size: 2rem !important; }
    .vaidelp-3d { max-height: 40px; }
}
