.groups-page {
    width: 100%;
    min-height: 100vh;
    padding: 30px 20px 80px;

    background:
        linear-gradient(rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.94)),
        url('../../img/background.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    color: white;
}

.groups-header {
    text-align: center;
    margin-bottom: 55px;
}

.groups-header h1 {
    font-size: 48px;
    margin-bottom: 14px;
}

.groups-header p {
    color: #cbd5e1;
}

.groups-grid {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.groups-page .group-card,
.groups-page .best-thirds {
    background: rgba(15, 23, 42, 0.88);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;

    padding: 24px;

    backdrop-filter: blur(12px);

    overflow: hidden;
}

.group-card h2,
.best-thirds h2 {
    color: #A3E635;
    font-size: 26px;
    margin-bottom: 22px;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

th,
td {
    padding: 12px 10px;
    text-align: center;
    font-size: 14px;
}

th {
    color: #94a3b8;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr.qualified {
    background: rgba(163, 230, 53, 0.08);
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 10px;

    text-align: left;
    font-weight: 600;
}

.team-cell img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.points {
    color: #A3E635;
    font-weight: 800;
}

.best-thirds {
    max-width: 850px;
    margin: 45px auto 0;
}

.best-thirds h2 {
    text-align: center;
}