/* Variables de color Pro */
:root {
    --bg-main: #0f172a;
    --card-bg: #1e293b;
    --accent: #f35a33;
    --accent-hover: #ff7e5f;
    --text-white: #f8fafc;
    --text-dim: #94a3b8;
    --success: #22c55e;
    --error: #ef4444;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.main-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.validator-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #f35a33, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-header p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Input estilizado */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

input[type="text"] {
    width: 100%;
    padding: 15px;
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid #334155;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-align: center;
    transition: all 0.3s ease;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(243, 90, 51, 0.2);
}

/* Botón llamativo */
.check-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--accent), #ff7e5f);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(243, 90, 51, 0.3);
}

/* Resultados */
.result-container {
    margin-top: 30px;
}

.result {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success { background: rgba(34, 197, 94, 0.1); border: 1px solid var(--success); color: var(--success); }
.error { background: rgba(239, 68, 68, 0.1); border: 1px solid var(--error); color: var(--error); }

.icon {
    font-size: 1.5rem;
    margin-right: 15px;
}