body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: #2d3436;
    min-height: 100vh;
}
.text-gradient {
    background: linear-gradient(to right, #ff4757, #ff6b81);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-gradient {
    background: linear-gradient(to right, #ff4757, #ff6b81);
    border: none;
    color: white;
}
.btn-gradient:hover {
    opacity: 0.9; color: white;
}
/* Estilos especiales para el layout del PDF de impresión */
#pdf-template {
    width: 140mm;
    min-height: 200mm;
    padding: 20mm;
    text-align: center;
    background: #ffffff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
/* Estilos normales en pantalla para la vista previa de la tarjeta */
#print-template-card {
    display: none; /* En la pantalla normal no se ve */
}

/* REGLAS MAESTRAS DE IMPRESIÓN / GUARDADO PDF NATIVO */
@media print {
    /* Escondemos TODO lo que no sea el área de impresión */
    body > *:not(#print-template-card) {
        display: none !important;
    }

    /* Aseguramos que el área de impresión esté visible y sea impresa */
    #print-template-card {
        display: block !important;
        visibility: visible !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
    }
}

/* VER MENSAJE */
.text-gradient {
    background: linear-gradient(to right, #ff4757, #ff6b81);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-discover {
    background: linear-gradient(to right, #ff4757, #ff6b81);
    color: white;
    border: none;
    padding: 20px;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-discover:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3);
    color: white;
}
/* Bloque reservado para simular o colocar AdSense */
.adsense-placeholder {
    background-color: #f8f9fa;
    border: 2px dashed #ced4da;
    color: #6c757d;
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}
.message-box {
    background-color: #fff5f6;
    border-left: 5px solid #ff4757;
    font-size: 1.2rem;
    line-height: 1.6;
    white-space: pre-wrap;
}
