/* Modal Styles */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Withdraw Steps Styles */
.withdraw-step {
    display: none;
    position: relative;
    z-index: 1300;
}

.withdraw-step.active {
    display: block;
    position: relative;
    z-index: 1300;
}

.confirmation-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.payment-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .payment-card {
        max-height: 75vh;
        padding: 15px;
    }
}

/* Confirmation Header with Logos */
.confirmation-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logos-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-left, .logo-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo, .pix-logo {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(1.1);
}

.site-name {
    font-size: 18px;
    font-weight: 700;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pix-logo {
    opacity: 0.9;
}

@media (max-width: 480px) {
    .logos-container {
        gap: 15px;
    }
    
    .site-logo, .pix-logo {
        max-height: 35px;
        max-width: 100px;
    }
    
    .site-name {
        font-size: 16px;
    }
}

/* Estilos para seção de dados do CPF */
.cpf-data-section {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.cpf-data-title {
    color: #22c55e;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cpf-data-title i {
    font-size: 1.1rem;
}

.cpf-data-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cpf-data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.cpf-data-label {
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
}

.cpf-data-value {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
}

@media (max-width: 768px) {
    .cpf-data-section {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .cpf-data-title {
        font-size: 0.9rem;
    }
    
    .cpf-data-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .cpf-data-value {
        text-align: left;
        font-weight: 700;
    }
}

/* Estilos para formulário manual de dados do CPF */
.cpf-form-section {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.cpf-form-title {
    color: #22c55e;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cpf-form-title i {
    font-size: 1.1rem;
}

.cpf-form-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cpf-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cpf-form-label {
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 500;
}

.cpf-form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
    color: #ffffff;
    font-size: 0.85rem;
    height: 40px;
    transition: all 0.3s ease;
}

.cpf-form-input:focus {
    outline: none;
    border-color: #22c55e;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.cpf-form-input::placeholder {
    color: #6b7280;
}

.cpf-form-input option {
    background: #1f2937;
    color: #ffffff;
}

@media (max-width: 768px) {
    .cpf-form-section {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .cpf-form-title {
        font-size: 0.9rem;
    }
    
    .cpf-form-fields {
        gap: 0.5rem;
    }
}

.confirmation-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 16px;
}

.confirmation-details {
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #9ca3af;
}

.detail-value {
    font-weight: 600;
    color: #ffffff;
}

.fee-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 12px;
}

.fee-icon {
    color: #f59e0b;
    font-size: 20px;
    flex-shrink: 0;
}

.fee-content h4 {
    color: #f59e0b;
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
}

.fee-content p {
    color: #d1d5db;
    margin: 0 0 12px 0;
    font-size: 13px;
    line-height: 1.4;
}

.fee-calculation {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 12px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 13px;
}

.fee-row span:first-child {
    color: #9ca3af;
}

.fee-row span:last-child {
    color: #ffffff;
    font-weight: 600;
}

.fee-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
    margin-top: 8px;
    font-weight: 600;
}

.fee-row.total span {
    color: #22c55e;
    font-weight: 700;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.payment-header {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1301;
}

.payment-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 8px;
}

.payment-subtitle {
    color: #28a745;
    font-size: 16px;
    font-weight: 500;
    margin: 8px 0;
}

.payment-description {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* Timer Styles */
.timer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(108, 117, 125, 0.05);
    border: 1px solid rgba(108, 117, 125, 0.15);
    border-radius: 6px;
    position: relative;
    z-index: 1301;
}

.timer-icon {
    color: #6c757d;
    font-size: 14px;
    opacity: 0.8;
}

.timer-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.timer-label {
    color: #6c757d;
    font-size: 13px;
    opacity: 0.9;
}

.timer-countdown {
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.timer-countdown.warning {
    color: #dc3545;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.payment-status {
    text-align: center;
    margin: 16px 0;
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1301;
}

.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-top: 2px solid #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para tela de loading */
.confirmation-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
    padding: 40px 20px;
    background: transparent;
    position: relative;
}

.loading-logo {
    margin-bottom: 20px;
    animation: logoFadeIn 0.8s ease-out;
}

.pix-logo-loading {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.custom-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(34, 197, 94, 0.2);
    border-top: 4px solid #22c55e;
    border-radius: 50%;
    animation: customSpin 1.5s linear infinite;
    margin-bottom: 25px;
}

.confirmation-loading .loading-text {
    font-size: 16px;
    color: #22c55e;
    font-weight: 500;
    margin: 0;
    animation: textPulse 2s ease-in-out infinite;
}

/* Margem superior para a segunda etapa */
#withdrawStep2 {
    margin-top: 20px;
}

@keyframes customSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes textPulse {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animação de saída da tela de loading */
.confirmation-loading.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Estilos para verificação manual de pagamento */
.manual-check-container {
    margin-top: 20px;
    padding: 15px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    text-align: center;
}

.manual-check-text {
    margin: 0 0 12px 0;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

.manual-check-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.manual-check-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.manual-check-btn:active {
    transform: translateY(0);
}

.manual-check-btn i {
    font-size: 16px;
}

.manual-check-compact {
    margin-top: 15px;
    text-align: center;
}

.manual-check-question {
    margin: 0 0 8px 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

.manual-check-container-compact {
    margin-top: 15px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.manual-check-btn-compact {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
    text-align: center;
    min-width: 120px;
}

.manual-check-btn-compact:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.manual-check-btn-compact:active {
    transform: translateY(0);
}

.manual-check-btn-compact:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.manual-check-btn-compact i {
    font-size: 14px;
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Animação de entrada do conteúdo */
.confirmation-content {
    animation: contentEntrance 0.6s ease-out;
}

@keyframes contentEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-text {
    font-size: 14px;
    font-weight: 500;
    color: #22c55e;
    margin: 0;
}

@media (max-width: 768px) {
    .confirmation-actions {
        flex-direction: column;
    }
    
    .fee-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .fee-row {
        font-size: 13px;
    }
    
    .payment-title {
        font-size: 18px;
    }
    
    .confirmation-title {
        font-size: 16px;
    }
}



/* Mobile backdrop - only top portion visible */
@media (max-width: 768px) {
    .modal-backdrop {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
        backdrop-filter: blur(4px);
    }
}

/* Desktop Modal Styles */
.modal-container {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1250;
    overflow-y: auto;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-container.active {
    opacity: 1;
    visibility: visible;
}

.modal-wrapper {
    width: 100%;
    max-width: 500px;
}

.modal-card {
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 8% 6%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
    /* Layout vertical padrão */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-sizing: border-box;
}

/* Espaçamento dos elementos do modal */
.modal-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.modal-form {
    margin-bottom: 1rem;
    padding: 0 5%;
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 5px;
}

.submit-btn {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

/* Desktop Modal Styles - Layout 16:9 */
@media (min-width: 769px) {
    .modal-container {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
    }
    
    .modal-wrapper {
        max-width: 900px;
        width: 90%;
        margin: 0 auto;
    }
    
    .modal-card {
        width: 100%;
        max-width: none;
        height: auto;
        max-height: none;
        border-radius: 12px;
        margin: 0;
        position: relative;
        transform: scale(0.9);
        opacity: 0;
        transition: all 0.3s ease;
        overflow: hidden;
        padding: 2rem;
        /* Layout horizontal para desktop */
        display: flex;
        flex-direction: row;
        align-items: stretch;
        text-align: left;
        min-height: 500px;
        aspect-ratio: 16/9;
    }
    
    /* Configuração específica para o modal de saque no desktop */
    #withdrawModal .modal-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: auto;
        aspect-ratio: auto;
        max-width: 500px;
        width: 90%;
        margin: 0 auto;
    }
    
    /* Ajustar header de saque para desktop */
    #withdrawModal .withdraw-header {
        margin: 0 0 1rem 0;
        width: 100%;
        height: 120px;
        border-radius: 12px;
    }
    
    .modal-container.active .modal-card {
        transform: scale(1);
        opacity: 1;
    }
    
    /* Layout de duas colunas para desktop */
    #depositModal .modal-card {
        gap: 2rem;
    }
    
    /* Estilos para as etapas do depósito */
    .deposit-step {
        display: none;
        width: 100%;
        height: 100%;
        flex-direction: row;
        gap: 2rem;
    }
    
    .deposit-step.active {
        display: flex;
    }
    
    /* Etapa 1: Formulário de Depósito */
    #depositStep1 {
        align-items: stretch;
    }
    
    .deposit-bonus-column {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        padding: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .deposit-form-column {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Etapa 2: PIX Gerado */
    #depositStep2 {
        align-items: stretch;
    }
    
    .qr-column {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        padding: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
        overflow: hidden;
        min-width: 0;
    }
    
    .tutorial-column {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        padding: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
        overflow: hidden;
        min-width: 0;
    }
    
    /* Ajustar elementos do formulário para desktop */
    #depositModal .deposit-header {
        margin: 0 0 1rem 0;
        width: 100%;
        height: 200px;
        border-radius: 12px;
    }
    
    #depositModal .deposit-title-section {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    #depositModal .modal-form {
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    /* Estilos para QR Code */
    .qr-content {
        width: 100%;
        text-align: center;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .qr-title {
        color: #22c55e;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .qr-description {
        color: #9ca3af;
        margin-bottom: 1.5rem;
    }
    
    .qr-image {
        width: 250px;
        height: 250px;
        border-radius: 12px;
        margin-bottom: 1rem;
        background: white;
        padding: 0.5rem;
    }
    
    .qr-code-container {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1.5rem;
    }
    
    .qr-input {
        width: 100%;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        color: white;
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .copy-btn {
        width: 100%;
        padding: 0.75rem;
        background: linear-gradient(135deg, #22c55e, #16a34a);
        border: none;
        border-radius: 8px;
        color: white;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .copy-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    }
}

/* Mobile Modal Styles - Bottom Sheet */
@media (max-width: 768px) {
    .modal-container {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }
    
    .modal-wrapper {
        width: 100%;
        max-width: none;
    }
    
    .modal-card {
        background: rgba(8, 8, 8, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px 24px 0 0;
        margin: 0;
        padding: 1.5rem 1.2rem;
        min-height: 70vh;
        max-height: 90vh;
        overflow-y: auto;
        /* Layout vertical para mobile */
        display: flex;
        flex-direction: column;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .modal-card::before {
        content: '';
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .modal-container.active .modal-card {
        transform: translateY(0);
    }
    
    /* Mobile backdrop adjustment */
    .modal-backdrop {
        background: rgba(0, 0, 0, 0.6);
    }
    
    /* Animação de entrada suave no mobile */
    .modal-container {
        transition: opacity 0.3s ease;
    }
    
    .modal-container.active {
        opacity: 1;
    }
    
    /* Ajustes das seções no mobile */
    .modal-visual-section {
        margin-bottom: 2rem;
    }
    
    .modal-form-section {
        flex: 1;
    }
    
    /* Ajustes específicos do QR Area no mobile */
    #depositModal .qr-area {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    #depositModal .qr-header {
        margin-bottom: 1rem;
    }
    
    #depositModal .qr-display {
        margin-bottom: 1rem;
        gap: 0.75rem;
    }
    
    #depositModal .qr-image {
        width: 200px;
        height: 200px;
        padding: 0.75rem;
    }
    
    #depositModal .qr-code-container {
        max-width: 100%;
    }
    
    /* Visibilidade responsiva no mobile */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Controle de visibilidade da área QR no mobile */
    #depositModal .qr-area {
        display: none;
    }
    
    #depositModal .qr-area.show {
        display: block !important;
    }
    
    /* Ajustes específicos para mobile */
    .modal-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-card {
        padding: 1rem;
    }
    
    .social-proof {
        margin-bottom: 1.5rem;
    }
    
    .urgency-banner {
        margin-bottom: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Ajustes dos inputs e botões no mobile */
    .form-input {
        padding: 0.5rem 0.75rem 0.5rem 2.2rem;
        font-size: 16px; /* Prevent zoom on mobile */
        height: 36px; /* h-9 equivalente */
    }
    
    .submit-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        height: 32px; /* menor que o input */
    }
    
    .input-icon {
        left: 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Ajustes do botão fechar no mobile */
    .modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
        background: rgba(8, 8, 8, 0.95);
        border: 2px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
        opacity: 1;
        z-index: 9999;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        pointer-events: auto;
        position: absolute;
    }
    
    .modal-close:hover {
        transform: none;
        background: transparent;
        color: #6b7280;
        opacity: 0.8;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(8, 8, 8, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    z-index: 9999;
    pointer-events: auto;
}

.modal-close:hover {
    background: transparent;
    color: #6b7280;
    opacity: 1;
    transform: scale(1.1);
}



.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.modal-icon.deposit-special {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.6);
    }
}

.modal-title.deposit-welcome {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: #a3a3a3;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-banner {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: #22c55e;
    font-size: 0.75rem;
    font-weight: 600;
}

.benefit-item i {
    font-size: 1.2rem;
    animation: bounce 2s ease-in-out infinite;
}

.benefit-item:nth-child(2) i {
    animation-delay: 0.3s;
}

.benefit-item:nth-child(3) i {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .benefits-banner {
        gap: 1.5rem;
        padding: 0.8rem;
    }
    
    .benefit-item {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }
}

.submit-btn.deposit-cta {
    background: linear-gradient(135deg, #22c55e, #16a34a, #15803d);
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn.deposit-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a, #15803d, #166534);
}

.submit-btn.deposit-cta:active {
    transform: translateY(0);
}

.submit-btn.deposit-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn.deposit-cta:hover::before {
    left: 100%;
}

.submit-btn.deposit-cta .qr-icon {
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
}
 
.modal-icon.withdraw {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.modal-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.balance-card {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.balance-card.compact {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-label {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.balance-amount {
    color: #22c55e;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.withdraw-header {
    position: relative;
    margin: -1.5rem -1.5rem 0 -1.5rem;
    height: 120px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    width: calc(100% + 3rem);
}

.withdraw-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.withdraw-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 40%, rgba(15,15,15,1) 100%);
}

.withdraw-title-section {
    padding: 1rem 0;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.withdraw-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.withdraw-title-section .modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.6rem 0.75rem 0.6rem 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: white;
    font-size: 0.85rem;
    height: 40px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #22c55e;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input::placeholder {
    color: #6b7280;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.form-group:focus-within .input-icon {
    color: #22c55e;
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.75rem 0;
}

.deposit-header {
    position: relative;
    margin: -1.5rem -1.5rem 0 -1.5rem;
    height: 250px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    width: calc(100% + 3rem);
}

.deposit-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.deposit-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 40%, rgba(15,15,15,1) 100%);
}

.deposit-title-section {
    padding: 1rem 0;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deposit-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.deposit-title-section .modal-title {
    color: white;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
}

.quick-amount,
.quick-withdraw {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid transparent;
    color: #22c55e;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.quick-amount:hover,
.quick-withdraw:hover {
    background: rgba(34, 197, 94, 0.2);
    transform: none;
}

.quick-amount.hot-value {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid #eab308;
    color: #22c55e;
    font-weight: 600;
    position: relative;
    overflow: visible;
}

.quick-amount.hot-value:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: #eab308;
    transform: none;
    box-shadow: none;
}

.hot-label {
    position: absolute;
    top: -0.125rem;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #eab308;
    color: #000;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0.25rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

@keyframes hotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

@keyframes hotLabelBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-2px);
    }
}

.submit-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    height: 36px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

.withdraw-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.withdraw-btn:hover {
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.qr-area {
    text-align: center;
    display: none;
    position: relative;
    z-index: 1301;
}

.qr-area.active {
    display: block;
    position: relative;
    z-index: 1301;
}

.qr-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.qr-description {
    color: #9ca3af;
    margin-bottom: 2rem;
}

.qr-image {
    width: 250px;
    height: 250px;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    margin: 0 auto 2rem;
}

.qr-code-container {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.qr-input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Botão de valor máximo */
.form-group {
    position: relative;
}

.max-amount-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #22c55e;
    border: none;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.max-amount-btn:hover {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

/* Ajustar padding do input quando tem botão máximo */
#withdrawAmount {
    padding-right: 50px;
}

/* Layout em linha para saldo e input */
.withdraw-input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.balance-info {
    min-width: 120px;
    flex-shrink: 0;
}

.balance-info .balance-label {
    color: #9ca3af;
    font-size: 0.65rem;
    margin-bottom: 0.15rem;
    font-weight: 500;
}

.balance-info .balance-amount {
    color: #22c55e;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
}

/* Grupo de campos PIX */
.pix-fields-group {
    margin-top: 1rem;
}

.pix-fields-group .form-group {
    margin-bottom: 0.75rem;
}

.pix-fields-group .form-group:last-child {
    margin-bottom: 0;
}

/* Estilos para o select de tipo de chave PIX */
select.form-input {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

select.form-input option {
    background: rgba(15, 15, 15, 0.95);
    color: white;
    padding: 0.5rem;
}

select.form-input option:hover,
select.form-input option:focus,
select.form-input option:checked {
    background: rgba(34, 197, 94, 0.2);
    color: white;
}

select.form-input:focus {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.copy-btn {
    background: #22c55e;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #16a34a;
}

.features-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.feature-card i {
    font-size: 2rem;
    color: #22c55e;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Mobile Responsive - Bottom Sheet Style */
@media (max-width: 768px) {
    .modal-container {
        align-items: flex-end;
        justify-content: center;
        padding: 0 !important;
        margin: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
    }
    
    .modal-wrapper {
        max-width: none;
        width: 100vw;
        margin: 0;
        padding: 0;
        left: 0;
        right: 0;
        position: relative;
    }
    
    .modal-card {
        background: rgba(15, 15, 15, 0.92);
        border-radius: 20px 20px 0 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
        border-left: none;
        border-right: none;
        padding: 1.5rem 1.25rem 2rem;
        margin: 0 !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
        position: fixed;
        bottom: 0;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        max-height: 85vh;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-sizing: border-box;
    }
    
    .modal-container.active .modal-card {
        transform: translateY(0);
    }
    
    /* Handle bar for mobile */
    .modal-card::before {
        content: '';
        position: absolute;
        top: 0.75rem;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .quick-amounts {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.75rem 0;
    }
    
    .quick-amount,
    .quick-withdraw {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .deposit-header {
        margin: -1.5rem -1.25rem 0 -1.25rem;
        height: 120px;
        width: calc(100% + 2.5rem);
    }
    
    .deposit-title-section {
        padding: 1rem 0;
    }
    
    .deposit-title-section .modal-title {
        font-size: 1.5rem;
    }
    
    .withdraw-header {
        margin: -1.5rem -1.25rem 0 -1.25rem;
        height: 120px;
        width: calc(100% + 2.5rem);
    }
    
    .withdraw-title-section {
        padding: 1rem 0;
    }
    
    .withdraw-title-section .modal-title {
        font-size: 1.5rem;
    }
    
    .balance-card.compact {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .balance-label {
        font-size: 0.7rem;
    }
    
    .balance-amount {
        font-size: 0.9rem;
    }
    
    .deposit-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .qr-image {
        width: 200px;
        height: 200px;
    }
    
    /* Smaller text and spacing for mobile */
    .form-input {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 0.875rem 1rem 0.875rem 2.5rem;
    }
    
    /* Estilos específicos para select no mobile */
    select.form-input {
        font-size: 16px;
        padding: 0.875rem 1rem 0.875rem 2.5rem;
        height: auto;
        min-height: 3rem;
        line-height: 1.2;
        background-position: right 0.75rem center;
        background-size: 16px;
    }
    
    select.form-input option {
        font-size: 16px;
        padding: 0.75rem;
        line-height: 1.4;
    }
    
    /* Prevenir zoom em todos os inputs no mobile */
    input, textarea, select {
        font-size: 16px !important;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    /* Layout responsivo para saldo e input - manter em linha */
    .withdraw-input-row {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .balance-info {
        min-width: 80px;
        flex-shrink: 0;
    }
    
    .balance-info .balance-label {
        font-size: 0.6rem;
    }
    
    .balance-info .balance-amount {
        font-size: 0.75rem;
    }
    
    /* Ajustar padding do input no mobile */
    #withdrawAmount {
        padding-right: 40px;
        font-size: 14px;
    }
    
    .max-amount-btn {
        font-size: 0.7rem;
        padding: 0.25rem 0.4rem;
        right: 8px;
    }
}

/* Modal Header Styles */
.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0;
}

.modal-title-wrapper {
    text-align: center;
}

.modal-title {
    margin-top: 5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-title svg {
    color: #22c55e;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}



.modal-subtitle {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .modal-header {
        margin-bottom: 1rem;
    }
    
    .modal-subtitle {
        font-size: 0.8rem;
    }
    
    .modal-form {
        padding: 0 1rem;
        width: 100%;
    }
    
    .modal-card {
        padding: 1.5rem 1rem 2rem;
        width: 100%;
        margin: 0;
    }
}

/* Modal Footer Styles */
.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.modal-footer p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.link-btn {
    background: none;
    border: none;
    color: #22c55e;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
}

.link-btn:hover {
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-1px);
    text-decoration: none;
    color: #16a34a;
}

@media (max-width: 768px) {
    .modal-footer {
        margin-top: 1rem;
    }
    
    .modal-footer p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .link-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
}

@media (min-width: 768px) {
    .features-grid {
        display: grid;
    }
}

/* Estilos para Bônus de Primeiro Depósito */
.first-deposit-bonus-qr {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin: 0 15px 20px 15px;
    color: white;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.first-deposit-bonus-qr::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.bonus-animate {
    animation: bonusAppear 0.6s ease-out;
}

@keyframes bonusAppear {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bonus-header {
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.bonus-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.bonus-icon i {
    font-size: 24px;
    color: white;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
    }
}

.bonus-title-qr {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.bonus-description-qr {
    margin: 0 0 15px 0;
    font-size: 14px;
    opacity: 0.9;
    text-align: center;
}

.bonus-calculation {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.bonus-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.bonus-row:last-child {
    margin-bottom: 0;
}

.bonus-highlight {
    color: #fbbf24;
    font-weight: 600;
}

.bonus-total {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 8px;
    margin-top: 8px;
    font-size: 16px;
}

.bonus-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
}

.bonus-urgency i {
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@media (max-width: 768px) {
    /* Reorganizar estrutura: banner no topo, depois título, form e por último o bônus */
    #depositModal .deposit-content {
        display: flex;
        flex-direction: column;
    }
    
    #depositModal .deposit-header {
        order: 1;
        margin-bottom: 15px;
        height: 180px;
        margin: -1.25rem -1.25rem 15px -1.25rem;
        width: calc(100% + 2.5rem);
        overflow: hidden;
        border-radius: 12px 12px 0 0;
        position: relative;
    }
    
    #depositModal .deposit-title-section {
        order: 2;
    }
    
    #depositModal .modal-form {
        order: 3;
    }
    
    #depositModal .modal-wrapper {
        display: flex;
        flex-direction: column;
    }
    
    #depositModal #qrArea {
        order: 2;
    }
    
    #depositModal .deposit-content {
        order: 1;
    }
    
    /* Bônus aparece após o formulário (depois do botão Gerar QR Code) */
    #depositModal .first-deposit-bonus-qr {
        padding: 12px 10px;
        margin: 15px 5px 0 5px;
        border-radius: 8px;
        font-size: 12px;
    }
    
    #depositModal .bonus-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 10px;
        position: relative;
        z-index: 10;
    }
    
    #depositModal .bonus-icon i {
        font-size: 18px;
    }
    
    #depositModal .bonus-header {
        margin-bottom: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .bonus-title-qr {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .bonus-description-qr {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .bonus-calculation {
        padding: 8px;
        margin-bottom: 8px;
        border-radius: 6px;
    }
    
    .bonus-row {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .bonus-total {
        font-size: 13px;
        padding-top: 6px;
        margin-top: 6px;
    }
    
    .bonus-urgency {
        padding: 6px;
        font-size: 10px;
        border-radius: 4px;
    }
    
    .bonus-urgency i {
        margin-right: 4px;
    }
}
/* New Modal Layout Styles */
        .desktop-modal-layout {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .modal-form-side {
            width: 100%;
        }

        .modal-prizes-side {
            display: none;
        }

        /* Desktop Layout for Login/Register Modals */
        @media (min-width: 769px) {
            #loginModal .modal-wrapper,
            #registerModal .modal-wrapper {
                max-width: 900px;
            }

            #loginModal .modal-card,
            #registerModal .modal-card {
                padding: 0;
                display: block;
                min-height: 600px;
                border-radius: 20px;
                overflow: hidden;
            }

            .desktop-modal-layout {
                display: grid;
                grid-template-columns: 1fr 1fr;
                min-height: 600px;
            }

            .modal-form-side {
                background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
                border-right: 2px solid #00ff88;
                padding: 40px;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

            .modal-prizes-side {
                background: linear-gradient(135deg, #0a2a1a 0%, #1a3a2a 100%);
                border-left: 3px solid #00ff88;
                padding: 40px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                color: white;
                position: relative;
            }

            .modal-prizes-side::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: radial-gradient(circle at 30% 20%, rgba(0, 255, 136, 0.15) 0%, transparent 50%),
                           radial-gradient(circle at 70% 80%, rgba(0, 255, 136, 0.08) 0%, transparent 50%);
                pointer-events: none;
            }

            .desktop-only {
                display: block !important;
            }
        }

        /* Prizes Carousel Styles */
        .prizes-header {
            text-align: center;
            margin-bottom: 30px;
            z-index: 2;
            position: relative;
        }

        .prizes-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            color: #ffffff;
        }

        .prizes-title i {
            font-size: 28px;
            color: #00ff88;
        }

        .prizes-subtitle {
            font-size: 16px;
            opacity: 0.9;
            color: #ffffff;
        }

        .prizes-carousel {
            position: relative;
            height: 140px;
            margin-bottom: 20px;
            padding: 10px;
            border-radius: 20px;
            overflow: hidden;
            background: rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(10px);
        }

        .prize-item {
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            height: 120px;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
            border-radius: 20px;
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 20px;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid rgba(0, 255, 136, 0.3);
            backdrop-filter: blur(15px);
            opacity: 0;
            transform: translateY(30px) scale(0.95);
            box-sizing: border-box;
        }

        .prize-item.active {
            background: linear-gradient(135deg, rgba(0, 50, 25, 0.9) 0%, rgba(0, 80, 40, 0.8) 100%);
            border: 2px solid #00ff88;
            transform: translateY(0) scale(1);
            box-shadow: 
                0 15px 40px rgba(0, 255, 136, 0.3),
                0 5px 20px rgba(0, 255, 136, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            opacity: 1;
        }

        .prize-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #00ff88 0%, #00cc66 50%, #00aa55 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 
                0 8px 25px rgba(0, 255, 136, 0.4),
                0 2px 10px rgba(0, 255, 136, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            transition: all 0.4s ease;
            border: 3px solid rgba(255, 255, 255, 0.1);
        }

        .prize-icon i {
            font-size: 28px;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .prize-icon-img {
            width: 40px;
            height: 40px;
            object-fit: contain;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        }
        
        .prize-item.active .prize-icon {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 
                0 12px 35px rgba(0, 255, 136, 0.6),
                0 4px 15px rgba(0, 255, 136, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .prize-info {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
        }

        .prize-info h4 {
            font-size: 22px;
            font-weight: 800;
            margin: 0;
            color: #00ff88;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            letter-spacing: 0.5px;
            line-height: 1.2;
        }

        .prize-info p {
            font-size: 15px;
            opacity: 0.9;
            margin: 0;
            color: #ffffff;
            font-weight: 500;
            line-height: 1.3;
        }

        .total-prizes {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .total-amount {
            margin-bottom: 15px;
        }

        .amount-label {
            font-size: 14px;
            opacity: 0.8;
            display: block;
            margin-bottom: 5px;
        }

        .amount-value {
            font-size: 28px;
            font-weight: 700;
            color: #00ff88;
            text-shadow: 0 0 15px rgba(0, 255, 136, 0.6), 0 0 5px rgba(0, 255, 136, 0.3);
        }

        .signup-bonus {
            background: linear-gradient(135deg, #00ff88, #00aa55);
            border: 2px solid #00ff88;
            border-radius: 15px;
            padding: 12px 20px;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            color: white;
            font-weight: 600;
            box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4), 0 0 15px rgba(0, 255, 136, 0.2);
            transition: all 0.3s ease;
        }
        
        .signup-bonus:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5), 0 0 20px rgba(0, 255, 136, 0.3);
        }

        .signup-bonus i {
            color: white;
            font-size: 16px;
        }

        /* Mobile adjustments */
        @media (max-width: 768px) {
            .desktop-modal-layout {
                display: block;
            }

            .modal-form-side {
                padding: 30px;
            }

            .desktop-only {
                display: none !important;
            }
        } 
/* Mobile - Layout específico para depositModal */
@media (max-width: 768px) {
    #depositModal .modal-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Ajustar etapas para mobile */
    .deposit-step {
        display: none;
        flex-direction: column;
        gap: 1rem;
    }
    
    .deposit-step.active {
        display: flex;
    }
    
    /* Etapa 1 - Mobile */
    #depositStep1 {
        flex-direction: column;
    }
    
    .deposit-bonus-column {
        order: 1;
        padding: 1rem;
    }
    
    .deposit-form-column {
        order: 2;
    }
    
    /* Etapa 2 - Mobile */
    #depositStep2 {
        flex-direction: column;
    }
    
    .qr-column {
        order: 1;
        padding: 1rem;
    }
    
    .tutorial-column {
        order: 2;
        padding: 1rem;
    }
    
    /* Ajustar elementos para mobile */
    #depositModal .deposit-title-section {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    #depositModal .modal-form {
        margin-bottom: 1rem;
    }
    
    /* Ajustar QR Code para mobile */
    .qr-image {
        width: 200px;
        height: 200px;
    }
    
    .qr-title {
        font-size: 1.25rem;
    }
}

/* Tutorial Styles */
.tutorial-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.tutorial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tutorial-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.tutorial-logo i {
    font-size: 1.5rem;
    color: white;
}

.tutorial-title {
    color: #22c55e;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    text-align: left;
}

.tutorial-subtitle {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0.25rem 0 0 0;
    font-weight: 400;
}

.tutorial-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tutorial-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tutorial-step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h5 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.step-content p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.tutorial-bonus {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-top: auto;
}

.bonus-reminder {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.bonus-reminder i {
    color: #22c55e;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.bonus-reminder strong {
    color: #22c55e;
    font-size: 1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.bonus-reminder p {
    color: #d1d5db;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.bonus-reminder span {
    color: #22c55e;
    font-weight: 700;
}

/* Mobile Tutorial Styles */
@media (max-width: 768px) {
    .tutorial-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .tutorial-logo {
        width: 50px;
        height: 50px;
        margin-right: 0.75rem;
    }
    
    .tutorial-logo i {
        font-size: 1.25rem;
    }
    
    .tutorial-title {
        font-size: 1.125rem;
    }
    
    .tutorial-subtitle {
        font-size: 0.8rem;
    }
    
    .tutorial-steps {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .tutorial-step {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .step-content h5 {
        font-size: 0.9rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
    
    .tutorial-bonus {
        padding: 0.75rem;
    }
    
    .bonus-reminder {
        gap: 0.5rem;
    }
    
    .bonus-reminder i {
        font-size: 1.125rem;
    }
    
    .bonus-reminder strong {
        font-size: 0.9rem;
    }
    
    .bonus-reminder p {
        font-size: 0.8rem;
    }
}