* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    height: 100%;
    overflow: hidden;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    max-width: 550px;
    width: 90%;
}

.logo {
    width: 375px;
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

h1 {
    color: #2d3436;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

/* Pasos de instrucciones */
.steps {
    text-align: left;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 0.95rem;
}

.step-number {
    background: #0984e3;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.file-name {
    font-family: monospace;
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    font-weight: bold;
    color: #0984e3;
}

.btn-download {
    display: block;
    background-color: #0984e3;
    color: white;
    padding: 18px 30px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.3);
}

.btn-download:hover {
    background-color: #074b83;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 132, 227, 0.4);
}

/* Aviso de Windows "Bonito" */
.win-alert {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    background: #f0f7ff;
    border: 1px solid #d1e9ff;
    color: #475569;
    text-align: left;
    display: flex;
    gap: 12px;
    align-items: center;
}

.win-alert strong {
    color: #0369a1;
    display: block;
    margin-bottom: 2px;
}

.win-alert i {
    font-style: normal;
    font-size: 1.2rem;
}

.footer-text {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(39, 174, 96, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

/* Ajuste para el Aviso de Windows con SVG */
.win-alert {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    background: #f0f7ff;
    border: 1px solid #d1e9ff;
    color: #475569;
    text-align: left;
    display: flex;
    gap: 12px;
    align-items: center;
}

.win-alert svg {
    flex-shrink: 0;
    color: #0369a1;
}

/* Bloque Anti-Estafa */
.security-notice {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed #e5e7eb;
    text-align: left;
}

.security-notice p {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.security-notice p::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 0;
}

/* ... (mantener lo anterior) ... */

.ticket-link {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.ticket-link a {
    color: #0984e3;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.ticket-link a:hover {
    border-bottom: 1px solid #0984e3;
}

.ticket-box {
    margin-top: 1.5rem;
    padding: 12px;
    background-color: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #475569;
}

.ticket-box svg {
    color: #64748b;
}

/* Reducimos un poco el margen del footer para que quepa todo sin scroll */
.footer-text {
    margin-top: 1.2rem;
    font-size: 0.7rem;
}