/* =========================
   LIVE STATS HUB - AAA STYLE
========================= */

.live-container {
    padding: 30px;
    max-width: 1200px;
    margin: auto;
    color: #eaf6ff;
    font-family: "Segoe UI", sans-serif;
}

/* =========================
   HEADER
========================= */

.live-header {
    text-align: center;
    margin-bottom: 25px;
}

.live-header h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #eaf6ff;
    text-shadow: 0 0 20px rgba(0,180,255,0.35);
}

.live-header p {
    font-size: 14px;
    opacity: 0.65;
    margin-top: 5px;
}

/* =========================
   GRID LAYOUT
========================= */

.live-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* FULL WIDTH BLOCK */
.live-card.wide {
    grid-column: span 2;
}

/* =========================
   CARDS
========================= */

.live-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,180,255,0.15);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(0,0,0,0.35);
    transition: 0.25s ease;
}

.live-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0,180,255,0.35);
    box-shadow: 0 0 25px rgba(0,180,255,0.08);
}

.live-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #bfe6ff;
    letter-spacing: 1px;
}

/* =========================
   BOX CONTENT
========================= */

.live-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* =========================
   INSTANCE ROW (GLOBAL STYLE)
========================= */

.instance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 10px;

    background: rgba(255,255,255,0.03);
    border-left: 3px solid rgba(0,180,255,0.7);

    transition: 0.2s ease;
}

.instance-row:hover {
    background: rgba(0,180,255,0.06);
    transform: scale(1.01);
}

/* LEFT / RIGHT */
.instance-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.instance-right {
    display: flex;
    align-items: center;
}

/* TEXT */
.instance-name {
    font-size: 15px;
    font-weight: 700;
    color: #eaf6ff;
}

.instance-sub {
    font-size: 13px;
    opacity: 0.75;
}

/* =========================
   STATUS BADGES
========================= */

.instance-players {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.instance-players.open {
    background: rgba(0,255,150,0.1);
    color: #00ff9d;
    box-shadow: 0 0 10px rgba(0,255,150,0.15);
}

.instance-players.close {
    background: rgba(255,80,80,0.1);
    color: #ff5a5a;
    box-shadow: 0 0 10px rgba(255,80,80,0.12);
}

/* =========================
   LOADING EFFECT (OPTION)
========================= */

.live-box.loading {
    opacity: 0.5;
    filter: blur(1px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .live-grid {
        grid-template-columns: 1fr;
    }

    .live-card.wide {
        grid-column: span 1;
    }
}