/* -------- Global Styles -------- */
body {
    background-color: #0F0F0F; /* matte black */
    color: #EAEAEA;           /* soft white */
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    padding: 20px;
}

/* Titles */
h1, h2 {
    color: #EAEAEA;
    text-align: center;
}

.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #1A73E8,
        transparent
    );
    width: 60%;
    margin: 20px auto 40px auto;
}

.subtitle {
    text-align: center;
    font-weight: 500;
    color: rgba(26, 115, 232, 0.6);  /* same blue, 80% opacity */
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 20px;
}

/*fix alignment of buttons on landing page*/
.landing-container {
    max-width: 480px;     /* still caps it on small screens */
    width: 90%;           /* <-- NEW: uses up to 90% of screen */
    margin: 60px auto;
    text-align: center;
}


/* Links */
a {
    color: #1A73E8; /* muted electric blue */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Generic Button Style */
button, .btn {
    background-color: #1A73E8;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
}

button:hover, .btn:hover {
    background-color: #1558B0;
    box-shadow: 0 0 6px #00E5FF55; /* subtle neon blue */
}

button:active, .btn:active {
    transform: scale(0.97);
}

/* Category Buttons (landing page) */
.category-btn {
    display: block;
    width: 100%;          /* <-- instead of 220px */
    max-width: 320px;     /* cap it so it doesn’t get absurdly wide */
    margin: 15px auto;
    background-color: #1A1A1A;
    border: 2px solid #1A73E8;
}

.category-btn:hover {
    background-color: #1A73E8;
}

/* Quiz Content Box */
#content {
    background-color: #1A1A1A;
    padding: 25px;
    border-radius: 10px;
    max-width: 800px;     /* was 600 – give desktop more room */
    width: 90%;           /* responsive on mobile */
    margin: 40px auto 20px auto;
}

/* Quiz Answers */
ol li {
    background-color: #1A1A1A;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #333;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

ol li:hover {
    background-color: #2A2A2A;
    border: 1px solid #00E5FF;   /* neon accent */
    box-shadow: 0 0 6px #00E5FF55;
}

/* Score Display */
#score {
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

/* Correct / Wrong Answer Effects */
.correct {
    border: 2px solid #39FF14; /* neon green */
    box-shadow: 0 0 8px #39FF1455;
}

.wrong {
    color: #FF4081; /* neon red/pink */
}

/* Small screens (phones) */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 26px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    #content {
        margin-top: 20px;
        padding: 18px;
    }

    ol li {
        font-size: 14px;
        padding: 8px;
    }
}

/* Large screens (bigger desktops) */
@media (min-width: 1200px) {
    .landing-container {
        max-width: 600px;
    }

    h1 {
        font-size: 40px;
    }

    #content {
        max-width: 900px;
        padding: 30px;
    }

    ol li {
        font-size: 16px;
    }
}
