/* ==========================================
   YOMIDAs CAVE - QUIZ ZONE FIXED STYLES
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

/* --- Base Page (Pitch Black & Stars) --- */
body {
    background-color: #000000; 
    background-image: 
        radial-gradient(#ffffff 1px, transparent 1px),
        radial-gradient(#ffff00 1px, transparent 1px),
        radial-gradient(#00ffff 1px, transparent 1px);

    background-size: 50px 50px, 35px 35px, 60px 60px;
    background-position: 0 0, 15px 15px, 25px 25px;
    background-attachment: fixed;
    
    color: #ffffff; 
    font-family: 'Verdana', 'Tahoma', sans-serif;

    margin: 0;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Container Alignment --- */
.everything {
    width: 100%;
    max-width: 1000px; 
    display: flex;
    flex-direction: column;
}

/* --- Static Rainbow Header (NO ANIMATION / NO SPINNING) --- */
.logo {
    text-align: center;
    font-size: 4.8rem;
    font-weight: 900;
    font-family: "Impact", sans-serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 25px;
    
    /* Straight rainbow color fill across a single string */
    background: linear-gradient(
        to right,
        #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Pure white shadow outline matching homepage frames */
    filter: drop-shadow(3px 3px 0px #ffffff);
}

/* --- Back Button --- */
.home-button {
    align-self: flex-start;
    color: #ffff00;
    text-decoration: none;
    border: 1px dashed #00ff00;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: #000000;
}

.home-button:hover {
    color: #ff00ff;
    border-color: #ffff00;
}

/* --- Quiz Box Container --- */
.quizbox, #result {
    background-color: #111111; 
    border: 4px solid;
    border-image: linear-gradient(
        to bottom right,
        red, orange, yellow, green, cyan, blue, violet
    ) 1;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    width: 100%; 
}

/* --- Question Bar --- */
#question {
    margin: 0;
    background: linear-gradient(
        to right,
        red, orange, yellow, lime, cyan, blue, purple
    );
    color: #ffffff;
    padding: 12px 15px;
    font-size: 1.3rem;
    font-family: 'VT323', monospace;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#question::after {
    content: ':(';
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #ffffff;
    text-shadow: 1px 1px 0px #000000;
}

/* --- Options Wrapper --- */
#answers {
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    gap: 15px; 
}

/* --- Answer Buttons --- */
.answerbtn {
    display: block;
    background: #000000;
    color: #ffffff;
    padding: 12px;
    font-family: 'VT323', monospace;
    font-size: 16px;
    border: 2px dashed #00ff00;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    box-sizing: border-box;
}

.answerbtn:hover {
    background: #00ff00;
    color: #000000;
    font-weight: bold;
}

/* --- Results Block --- */
#result {
    font-family: 'VT323', monospace;
    font-size: 16px;
    text-align: center;
    padding: 20px;
    line-height: 1.6;
}