/* --- Full-Page Info Screen Layout --- */
#info-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--display-bg);
    z-index: 99999;

    /* Change from centered flex to block display with independent scrolling */
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS devices */

    padding: 80px 24px 40px 24px; /* Generous top padding so content clears the absolute 'X' button */
    box-sizing: border-box;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#info-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.info-content {
    max-width: 450px;
    width: 100%;
    margin: 0 auto; /* Centers the content block horizontally on wider screens */
    text-align: left;
    user-select: none;
}
.info-content h2 {
    font-family: "Special Elite", -apple-system, sans-serif;
    text-align: center;
    font-size: 36px;
    color: var(--title-text);
    margin-bottom: 24px;
}
.info-content p {
    font-size: 17px;
    line-height: 1.5;
    color: #2c2c2e;
}
#close-info-btn {
    position: absolute;
    top: 24px; /* Matches the splash screen padding */
    right: 24px;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--title-text);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
#close-info-btn:active {
    transform: scale(0.9);
    background-color: rgba(0, 0, 0, 0.15);
}
#info-facebook-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
    font-size: 15px;
    font-weight: 600;
    color: #1877f2;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid rgba(24, 119, 242, 0.25);
    border-radius: 24px;
    padding: 10px 24px;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
#info-facebook-link:hover {
    background: rgba(24, 119, 242, 0.08);
    color: #166fe5;
}
#info-facebook-link:active {
    transform: scale(0.96);
}
.playlin-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px auto 0;
    width: fit-content;
    line-height: 0;
    border-radius: 28px;
    overflow: hidden;
    transition: opacity 0.2s ease, transform 0.1s ease;
}
.playlin-pill:hover {
    opacity: 0.85;
}
.playlin-pill:active {
    transform: scale(0.97);
}
