html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #BBD691;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

#game {
    display: block;
    width: 100%;
    height: 100%;
}

#score {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.5em;
    font-weight: 900;
    color: #1e293b;
    z-index: 10;
    user-select: none;
}

#introduction {
    position: absolute;
    bottom: 24%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 1.1em;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    color: #1e293b;
    transition: opacity 1.5s;
    z-index: 10;
    user-select: none;
    pointer-events: none;
}

#restart {
    width: 110px;
    height: 110px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: white;
    background-color: #e63946;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    font-weight: 800;
    font-size: 1.2em;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: none;
    cursor: pointer;
    z-index: 20;
    transition: transform 0.2s, background-color 0.2s;
}

#restart:hover {
    background-color: #d62828;
    transform: translate(-50%, -50%) scale(1.08);
}

#perfect {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.4em;
    font-weight: 900;
    color: #e63946;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 10;
    user-select: none;
    pointer-events: none;
}

#youtube,
#youtube-card {
    display: none !important;
}