/* =====================
   LOBBY STYLES
   ===================== */
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
}

.room-box {
    aspect-ratio: 1;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #444;
}

#go-live-btn {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: var(--primary-red, red);
    color: white;
    border: none;
    font-weight: bold;
    font-size: 1.2rem;
}

/* =====================
   TALK ROOM STYLES
   ===================== */
#video-grid {
    display: flex;
    flex-direction: column;
    height: 90vh;
}

#local-video, #remote-video {
    width: 100%;
    background: #000;
}

footer {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This stops the black bars/gray space */
    background: #000;
}   



    /* This flips the first thumb to point inward */
    .dislike-icon{
        display: inline-block;
        transform: scaleX(-1);
    }


  /* ==============================================
   X-PONG GAME STYLES
   ============================================== */
#x-pong-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 70px); /* Leaves room for your bottom buttons */
    z-index: 0; /* Keeps it behind everything */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faded-lobby-text {
    position: absolute;
    font-family: 'Oswald', sans-serif;
    font-size: 15vw; /* Scales perfectly on mobile and desktop */
    color: rgba(255, 255, 255, 0.02); /* Barely visible ghost text */
    letter-spacing: 15px;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

#pongCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}  