/* ===== 321Loto Frontend UI ===== */

.l321-dashboard {
    max-width: 900px;
    margin: 30px auto;
    padding: 25px;
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.l321-dashboard h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #38bdf8;
}

.l321-dashboard p {
    font-size: 18px;
    margin-bottom: 20px;
}

.l321-dashboard ul {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.l321-dashboard ul li a {
    display: block;
    padding: 15px;
    background: #1e293b;
    color: #f8fafc;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.l321-dashboard ul li a:hover {
    background: #38bdf8;
    color: #020617;
}

/* ===== Tables ===== */

.l321-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #020617;
    color: #e5e7eb;
}

.l321-table th,
.l321-table td {
    padding: 12px;
    border-bottom: 1px solid #1e293b;
    text-align: center;
}

.l321-table th {
    background: #1e293b;
    color: #38bdf8;
}

.l321-table tr:nth-child(even) {
    background: #020617;
}

/* ===== Status colors ===== */

.l321-win {
    color: #22c55e;
    font-weight: bold;
}

.l321-loss {
    color: #ef4444;
    font-weight: bold;
}

.l321-pending {
    color: #facc15;
    font-weight: bold;
}

/* ===== Mobile ===== */

@media (max-width: 768px) {
    .l321-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
