:root {
    --primary: #00f2fe;
    --accent: #7000ff;
    --bg: #080a12;
    --card: #121625;
    --text: #ffffff;
    --gray: #94a3b8;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }

body {
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container { width: 100%; max-width: 500px; }

/* Espacios Publicidad */
.ad-slot {
    background: rgba(255,255,255,0.03);
    border: 1px dashed #334155;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 0.8rem;
    border-radius: 8px;
}

header { text-align: center; margin-bottom: 30px; }
header h1 { font-size: 2.5rem; font-weight: 800; }
header h1 span { color: var(--primary); text-shadow: 0 0 15px rgba(0,242,254,0.4); }
header p { color: var(--gray); margin-top: 8px; }

.card {
    background: var(--card);
    padding: 30px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.display-area {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

#password-display {
    flex: 1;
    background: #000;
    border: 1px solid #334155;
    padding: 18px;
    border-radius: 14px;
    color: var(--primary);
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-align: center;
}

#copy-btn {
    padding: 0 20px;
    border-radius: 14px;
    border: none;
    background: #334155;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

#copy-btn:hover { background: var(--primary); color: #000; }

.strength-meter { height: 8px; background: #1e293b; border-radius: 10px; margin-bottom: 12px; }
#strength-bar { height: 100%; width: 0%; border-radius: 10px; transition: 0.5s ease; }

.strength-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 25px;
}

.grid-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.check-box {
    background: rgba(255,255,255,0.03);
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }

#generate-btn {
    padding: 18px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(112,0,255,0.2);
}

.outline-btn {
    padding: 12px;
    background: transparent;
    border: 1px solid #334155;
    color: var(--gray);
    border-radius: 14px;
    cursor: pointer;
}

/* Estilos Historial */
.history-card {
    margin-top: 25px;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    padding: 20px;
}

.history-card h3 { font-size: 1rem; margin-bottom: 15px; color: var(--primary); }

#history-list { list-style: none; }
#history-list li {
    font-family: monospace;
    font-size: 0.9rem;
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    color: var(--gray);
}

footer { text-align: center; margin-top: 40px; font-size: 0.8rem; color: #475569; }