
:root {
    --purple-main: #6d14d0;
    --purple-dark: #461a93;
    --white: #ffffff;
    --correct: #26890c;
    --wrong: #d1193e;
    --bg-light: #f2f2f2;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--purple-main);
    background-image:  radial-gradient(#560bad 2px, transparent 2px);
    background-size: 35px 35px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}


.container {
    background: var(--white);
    width: 90%;
    max-width: 700px;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 0px rgba(0,0,0,0.2); 
    text-align: center;
    position: relative;
}

h1 {
    color: var(--purple-dark);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.question-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
}


.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 0px rgba(0,0,0,0.1);
}


.btn:nth-child(1) { background-color: #2d9da6; box-shadow: 0 6px 0px #1a6d74; }
.btn:nth-child(2) { background-color: #d5546d; box-shadow: 0 6px 0px #9a3b4e; }
.btn:nth-child(3) { background-color: #ffa42b; box-shadow: 0 6px 0px #c57a1a; }
.btn:nth-child(4) { background-color: #111111; box-shadow: 0 6px 0px #000000; }

.btn:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0px rgba(0,0,0,0.1);
}

.btn:active {
    transform: translateY(6px);
    box-shadow: none;
}


.error-count {
    margin-top: 25px;
    font-weight: bold;
    color: #666;
    background: #eee;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
}

#fails {
    color: var(--wrong);
}


.bg-portada {
    background: linear-gradient(135deg, #6d14d0 0%, #a239ca 100%);
}

.card-inicio h1 {
    font-size: 3rem;
    color: var(--purple-main);
}

.btn-inicio {
    background: var(--purple-main);
    color: white;
    padding: 20px 40px;
    border-radius: 15px;
    font-size: 1.5rem;
    box-shadow: 0 8px 0 #461a93;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

.btn-inicio:hover {
    transform: scale(1.05);
}


.eliminado-card {
    border: 8px solid var(--wrong);
}

.fin-texto {
    font-size: 4rem;
    color: var(--wrong);
    font-weight: 900;
}