* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background:
        radial-gradient(circle at top, rgba(35, 35, 50, 0.55), transparent 45%),
        linear-gradient(180deg, #050505 0%, #000000 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.scoreboard {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #f5f7ff;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.scoreboard p + p {
    margin-top: 4px;
}

.stars {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: auto;
}

.star {
    position: absolute;
    border-radius: 999px;
    background: #ffffff;
    opacity: 0.75;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.star--shy {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    appearance: none;
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.95),
        0 0 22px rgba(180, 210, 255, 0.75);
    animation: twinkle 1.8s ease-in-out infinite;
    transition:
        top 0.36s ease-out,
        left 0.36s ease-out,
        transform 0.2s ease-out;
}

.star--shy::before,
.star--shy::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.star--shy::before {
    width: 2px;
    height: 22px;
}

.star--shy::after {
    width: 22px;
    height: 2px;
}

.star--shy:hover {
    transform: scale(1.15);
}

@keyframes twinkle {
    0%,
    100% {
        transform: scale(0.85);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.quote-box {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    text-align: center;
    backdrop-filter: blur(8px);
}

blockquote {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#quote-text {
    font-size: 24px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

#quote-author {
    font-size: 16px;
    color: #764ba2;
    font-style: italic;
    margin-top: 10px;
}

#quote-author::before {
    content: "— ";
}

@media (max-width: 600px) {
    .scoreboard {
        top: 14px;
        left: 14px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .quote-box {
        padding: 30px;
    }

    #quote-text {
        font-size: 20px;
    }

    #quote-author {
        font-size: 14px;
    }
}
