:root {
    --primary: #0088cc;
    --primary-hover: #006699;
    --dark: #151517;
    --light-bg: #f5f5f5;
    --success: #00CB49;
    --gray: #4b4b55;
}

body {
    background-color: var(--light-bg);
    color: var(--gray);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 1rem;
}

.main-card {
    border: 1px solid var(--primary);
    border-radius: 35px;
    background: white;
    padding: 0;
    margin: 1rem auto;
    max-width: 50%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.banner-container {
    width: 100%;
    margin: 0;
}

.banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    margin-bottom: -150px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-aggressive {
    padding: 10px 24px;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-aggressive:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 136, 204, 0.3);
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.plan-card {
    border: 2px solid var(--primary);
    border-radius: 15px;
    background: white;
    transition: all 0.3s;
}

.plan-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.25);
}

.benefit-card {
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.video-preview {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.video-preview video {
    width: 100%;
    height: auto;
    transition: all 0.4s;
}

.video-preview:hover video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none; /* inicia escondido */
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.video-overlay.show {
    display: flex !important; /* força exibição */
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    border-radius: 12px;
    max-width: 90%;
}

.overlay-content .btn {
    min-width: 160px;
    font-size: 0.95rem;
    padding: 10px 20px;
    margin: 8px 0;
    border-radius: 50px;
}

.mobile-play-btn {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none; /* inicia escondido */
    align-items: center;
    justify-content: center;
    z-index: 15;
    cursor: pointer;
}

.mobile-play-btn.show {
    display: flex !important; /* força exibição no mobile */
}

.mobile-play-btn i {
    font-size: 4rem;
    color: white;
    filter: drop-shadow(0 0 10px black);
}

/* Toast personalizado PIX */
#pix-copied-toast {
    background: linear-gradient(135deg, #28a745, #218838);
}

/* Alert estilizado */
#alert-container {
    z-index: 2000 !important;
    max-width: 90%;
    width: 350px;
}

#alert-container .alert {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

#alert-container .alert-danger {
    background: linear-gradient(135deg, #ff3b30, #d32f2f);
    color: white;
    border: none;
}

#alert-container .alert i {
    font-size: 1.5rem;
}

#alert-container .btn-close {
    filter: brightness(0) invert(1);
}


.row.g-2.mb-4 {
    --bs-gutter-x: 1rem !important; /* espaço lateral */
    --bs-gutter-y: 1rem !important; /* espaço vertical */
}


/* Footer alinhado e responsivo */
.payment-icons img {
    height: 28px !important;
    width: auto !important;
    margin: 0 10px !important;
    object-fit: contain !important;
}

.payment-icons {
    flex-wrap: wrap !important;
    margin-bottom: 10px !important;
}

    .text-md-end {
        text-align: center !important;
        margin-bottom: 10px !important;
    }


.toast-subscriber {
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35) !important;
    opacity: 0.98;
    width: 100% !important;
    max-width: 300px !important;
}

/* Toasts finos, pequenos e rápidos */
.toast-container-subscriber .toast-subscriber {
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;     /* bem mais fino */
    font-size: 0.85rem !important;    /* fonte menor */
    margin-bottom: 6px !important;    /* espaço entre toasts */
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
    min-height: auto !important;
    width: 100% !important;
    max-width: 300px !important;
}

.toast-container#subscriber-toasts {
    z-index: 1055 !important;
}


.toast-container-subscriber {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1050;
}


.toast-subscriber .toast-body {
    padding: 0 !important;
    line-height: 1.3;
}

.toast-subscriber strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.toast-subscriber .status {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.2;
}

/* Posição no canto inferior esquerdo */
.toast-container-subscriber {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1050;
}

input:disabled {
    background-color: #f8f9fa;
    color: #495057;
    opacity: 1;
    cursor: not-allowed;
}

/* Responsividade */
@media (max-width: 576px) {
    .main-card {
        padding: 0;
        margin: 0.1rem;
        max-width: 100%;
        width: 100%;
    }

    .banner {
        height: 200px;
        margin-top: -40px;
    }

    .profile-pic {
        width: 80px;
        height: 80px;
    }

    h1.display-5 {
        font-size: 2rem;
    }

    .lead.fs-5 {
        font-size: 1rem;
    }

    .btn-aggressive {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .plan-card {
        padding: 1rem !important;
    }

    .benefit-card {
        padding: 0.5rem !important;
    }

    .qr-placeholder {
        width: 120px;
        height: 120px;
    }

    .payment-icons img {
        height: 25px;
        margin: 0 5px;
    }

        .payment-icons {
        justify-content: center !important;
        margin-bottom: 1rem !important;
    }

        .text-md-end {
        text-align: center !important;
        margin-bottom: 10px !important;
    }

    .overlay-content {
        padding: 5px !important;
    }

    .overlay-content .btn {
            min-width: 90px;
            font-size: 9px;
            padding: 5px 10px;
        }

    .mobile-play-btn i {
        font-size: 3.5rem;
    }

    .row.g-2.mb-4 {
        --bs-gutter-x: 1.5rem !important; /* mais espaço no mobile */
        --bs-gutter-y: 1.5rem !important;
    }
    
}