* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #0f1115;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 50px 20px 20px;
}

header h1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
}

header p {
    color: #b0b3c0;
}

/* ROOM LIST (like lbxRoomList) */
.room-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px;
    max-width: 900px;
    width: 100%;
}

.room {
    min-width: 140px;
    background: #1a1d24;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    opacity: 0.8;
}

.room:hover {
    transform: translateY(-4px);
    opacity: 1;
}

.room.active {
    border: 2px solid #4da3ff;
    opacity: 1;
    transform: scale(1.05);
}

/* ROOM INFO PANEL */
.room-info {
    margin-top: 20px;
    background: #1a1d24;
    border-radius: 14px;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    text-align: left;
}

.room-info h2 {
    margin-bottom: 10px;
}

.room-info p {
    color: #b0b3c0;
    margin-bottom: 5px;
}

/* BUTTONS */
.actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.back {

    color: inherit;
    /* blue colors for links too */
    text-decoration: inherit;
    font-size: 0.8rem;
}

.back,
button {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.fight {
    background: #2563eb;
    color: white;
}

.fight:hover {
    background: #1d4ed8;
}

.fight:disabled {
    background: #374151;
    cursor: not-allowed;
}

.back {
    background: #374151;
    color: white;
}

.back:hover {
    background: #4b5563;
}

footer {
    margin-top: auto;
    padding: 20px;
    color: #6c7280;
    font-size: 0.85rem;
}