:root {
    --primary: #4f8cff;
    --accent: #00e6a8;
    --news: #077805;
    --error: #ff4f4f;
    --bg: #f7fafd;
    --card-bg: #fff;
    --text: #222;
    --radius: 18px;
    --shadow: 0 4px 24px rgba(0,0,0,0.07);
}

body {
    background: var(--bg);
    font-family: 'Quicksand','Segoe UI', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
    justify-content: center;
}

#container {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    width: 100%;
    padding: 2.5em 2em 2em 2em;
    text-align: center;
    transition: 400ms;
}
#item {
    font-size: 2.2em;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5em;
    letter-spacing: 0.02em;
}
#progress-bar-bg {
    width: 100%;
    height: 18px;
    background: #e3eaf5;
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 1em;
    box-shadow: 0 1px 4px rgba(79,140,255,0.08);
    display: none;
}
#progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 1s linear;
}
#counter,#score {
    font-size: 1.1em;
    color: #555;
    font-weight: 600;
    margin-bottom: 0.8em;
    letter-spacing: 0.01em;
}
#message {
    font-size: 2em;
    font-weight: 700;
    margin: 1.2em 0 0.5em 0;
    color: var(--news);
    /* min-height: 2em; */
    transition: color 0.2s;
}
details {
    font-size: 1.1em;
    color: #555;
    font-weight: 600;
    margin-bottom: 0.8em;
    letter-spacing: 0.01em;
}
summary {
    cursor: pointer;
    user-select: none;
    outline: none;
    padding: 0.5em 1em;
    background: var(--card-bg);
    border: 1px solid #ddd;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: .5em;
}
details ul {
    padding: 0.5em 1em;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6em;
}
details li {
    list-style: none;
    margin: 0.4em 0;
}
details a {
    background: var(--primary);
    text-decoration: none;
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0.8em 1.2em;
    font-size: 1em;
    cursor: pointer;
}
#message.false {
    color: var(--error);
}
@media (max-width: 500px) {
    #container {
        padding: 1.2em 0.5em 1em 0.5em;
        max-width: 300px;
    }
    #item { font-size: 1.3em; }
    #message { font-size: 1.3em; }
}
.buttons button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0.8em 1.2em;
    font-size: 1em;
    cursor: pointer;
}
#playbuttons {
    display: flex;
    justify-content: center;
    gap: 3em;
    display: none;
}
#skip-button, #next-button {
    display: none;
}
#fake-button {
    background: var(--error);
}
#news-button {
    background: var(--news);
}
