/* =====================================================
   DMGC PLAYER PROFILE
   Professional Dark Esports Style
   ===================================================== */

.single-players {
    background: #0b0f17 !important;
}

/* Main profile container */
.dmgc-player-profile,
.dmgc-player-details {
    width: 100%;
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: #e8edf5;
}

/* Profile sections / cards */
.dmgc-player-profile > div,
.dmgc-player-details > div {
    background: #121824;
    border: 1px solid #263044;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,.35);
}

/* Main heading */
.dmgc-player-profile h1,
.dmgc-player-details h1 {
    margin: 0 0 28px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
}

/* Section heading */
.dmgc-player-profile h2,
.dmgc-player-details h2 {
    margin: 28px 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #293347;
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
}

/* Tables */
.dmgc-player-profile table,
.dmgc-player-details table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: #151c29;
    border: 1px solid #293347;
    border-radius: 12px;
}

/* Table cells */
.dmgc-player-profile td,
.dmgc-player-profile th,
.dmgc-player-details td,
.dmgc-player-details th {
    padding: 15px 17px;
    text-align: left;
    border-bottom: 1px solid #293347;
    font-size: 15px;
}

/* Last row */
.dmgc-player-profile tr:last-child td,
.dmgc-player-profile tr:last-child th,
.dmgc-player-details tr:last-child td,
.dmgc-player-details tr:last-child th {
    border-bottom: none;
}

/* Left column */
.dmgc-player-profile td:first-child,
.dmgc-player-profile th:first-child,
.dmgc-player-details td:first-child,
.dmgc-player-details th:first-child {
    width: 35%;
    background: #101722;
    color: #9da9ba;
    font-weight: 700;
}

/* Right column */
.dmgc-player-profile td:last-child,
.dmgc-player-details td:last-child {
    color: #ffffff;
    font-weight: 500;
}

/* Profile images */
.dmgc-player-profile img,
.dmgc-player-details img {
    display: block;
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid #34415a;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Links */
.dmgc-player-profile a,
.dmgc-player-details a {
    color: #38bdf8;
    text-decoration: none;
    transition: .2s ease;
}

.dmgc-player-profile a:hover,
.dmgc-player-details a:hover {
    color: #ffffff;
}

/* Buttons */
.dmgc-player-profile button,
.dmgc-player-details button {
    border: 0;
    border-radius: 10px;
    padding: 12px 20px;
    background: #1e88e5;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.dmgc-player-profile button:hover,
.dmgc-player-details button:hover {
    transform: translateY(-1px);
    opacity: .9;
}

/* Empty information */
.dmgc-player-profile .dmgc-empty,
.dmgc-player-details .dmgc-empty {
    color: #7f8da3;
    font-style: italic;
}

/* Mobile */
@media (max-width: 700px) {

    .dmgc-player-profile,
    .dmgc-player-details {
        margin: 25px auto;
        padding: 0 12px;
    }

    .dmgc-player-profile > div,
    .dmgc-player-details > div {
        padding: 18px;
        border-radius: 14px;
    }

    .dmgc-player-profile h1,
    .dmgc-player-details h1 {
        font-size: 26px;
    }

    .dmgc-player-profile h2,
    .dmgc-player-details h2 {
        font-size: 18px;
    }

    .dmgc-player-profile td,
    .dmgc-player-profile th,
    .dmgc-player-details td,
    .dmgc-player-details th {
        padding: 11px 10px;
        font-size: 13px;
    }

    .dmgc-player-profile td:first-child,
    .dmgc-player-details td:first-child {
        width: 40%;
    }

    .dmgc-player-profile img,
    .dmgc-player-details img {
        max-width: 110px;
        max-height: 110px;
    }
}