@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
    --mc-green: #3cff3c;
    --mc-grey: #2f2f2f;
    font-family: 'Press Start 2P', cursive;
    --mc-dark: #111111;
    --mc-gold: #ffdd00;
    --mc-blue: #00ccff;
    --mc-red: #ff5555;
}

body {
    background-color: #1a1a1a;
    background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
    color: white;
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background-color: var(--mc-grey);
    border: 4px solid #000;
    max-width: 900px;
    width: 100%;
    padding: 25px;
    box-shadow: 0 0 30px var(--mc-green), 10px 10px 0px var(--mc-dark);
    transition: 0.3s;
}

h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    text-align: center;
    color: var(--mc-green);
    text-shadow: 2px 2px #000, 0 0 10px var(--mc-green);
    margin-bottom: 30px;
}

.menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: #3d3d3d;
    border: 2px solid #000;
    padding: 25px;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 5px solid #222;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.card:hover {
    background: var(--mc-green);
    transform: translateY(-5px) scale(1.05);
    border-bottom-color: var(--mc-dark-green);
    box-shadow: 0 0 25px var(--mc-green), 0 5px 15px rgba(0,0,0,0.5);
}

.card h3 {
    margin: 0 0 12px 0;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: #fff;
    text-shadow: 1px 1px #000;
}

.card p {
    margin: 0;
    font-size: 0.95em;
    opacity: 0.95;
}

.screen {
    display: none;
}

.active {
    display: block;
}

.question {
    background: #252525;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 7px solid var(--mc-blue);
    border-bottom: 2px solid #111;
    box-shadow: inset 0 0 10px rgba(0,255,255,0.2);
    transition: 0.2s;
}

.question p {
    margin-top: 0;
    font-weight: bold;
    font-size: 1.2em;
}

label {
    display: block;
    margin: 12px 0;
    padding: 15px;
    background: #444;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.2s;
    border-radius: 6px;
}

label:hover {
    background: var(--mc-blue);
    border-color: #fff;
    transform: scale(1.02);
}

input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.3);
}

.btn {
    width: 100%;
    padding: 20px;
    font-family: 'Press Start 2P', cursive;
    font-size: 11px;
    cursor: pointer;
    border: none;
    color: white;
    text-transform: uppercase;
    box-shadow: 0 5px 0 #000;
    transition: 0.2s;
}

.btn-submit {
    background: var(--mc-green);
    border-bottom: 5px solid var(--mc-dark-green);
}

.btn-submit:hover {
    background: #00ff00;
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #111;
}

.btn-back {
    background: var(--mc-red);
    border-bottom: 5px solid #7a1a1a;
    margin-bottom: 20px;
    width: auto;
    padding: 12px 25px;
}

#result-box {
    text-align: center;
    padding: 50px 0;
}

.score-display {
    font-family: 'Press Start 2P', cursive;
    font-size: 38px;
    color: var(--mc-gold);
    margin: 25px 0;
    text-shadow: 3px 3px #000, 0 0 15px var(--mc-gold);
}

.external-link {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

button.secondary {
    background: #555;
    border-bottom: 4px solid #222;
    color: white;
    font-family: 'Press Start 2P', cursive;
    cursor: pointer;
}

button.secondary:hover {
    background: #777;
}