/* =========================
   BANNER / TITLE
========================= */

.title_bar {
    margin: auto;
}

.title_bar td {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* =========================
   SECTION DIVIDER
========================= */
.line {
    display: block;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, #1f4037, #99f2c8);
    margin: 20px auto;
}

/* =========================
   TIER SECTIONS
========================= */
.section-padding {
    padding: 30px 0;
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
}

/* =========================
   PLAYER GRID (TABLE FIX)
========================= */
.player_row {
    width: 95%;
    margin: auto;
    border-collapse: separate;
    border-spacing: 20px;
}

/* Make table behave like responsive grid */
.player_row tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.player_row td {
    flex: 1 1 250px;
    max-width: 300px;
}

/* =========================
   PLAYER CARD
========================= */
.player_card {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.player_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Player Image */
.player_card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* =========================
   NAMEPLATE / INFO
========================= */
.nameplate {
    padding: 10px;
    vertical-align: middle;
}

/* Player Name */
.nameplate span:first-child {
    display: block;
    font-weight: 600;
    font-size: 18px;
    color: #2c3e50;
}

/* Player SP */
.nameplate span:last-child {
    display: block;
    font-style: italic;
    font-size: 16px;
    color: #7f8c8d;
}

/* Rank Icon */
.nameplate img {
    height: 60px;
    float: right;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 768px) {

    .title_bar td {
        font-size: 24px;
    }

    .player_card img {
        height: 160px;
    }

    .nameplate span:first-child {
        font-size: 16px;
    }

    .nameplate span:last-child {
        font-size: 14px;
    }

    .player_row td {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {

    .banner {
        padding: 50px 0;
    }

    .line {
        width: 80%;
    }

    .section-padding {
        padding: 20px 10px;
    }
}