/* =========================================
   DMGC TEAM VIEW
========================================= */

.dmgc-team-view {
    width: 100%;
    max-width: 1050px;
    margin: 45px auto;
    padding: 0 18px;
    box-sizing: border-box;
    color: #e8edf5;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   HEADER
========================================= */

.dmgc-team-header {
    position: relative;
    min-height: 280px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-radius: 22px;
    overflow: hidden;
    background-color: #111827;
    background-size: cover;
    background-position: center;
    border: 1px solid #29354a;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    box-sizing: border-box;
}


.dmgc-team-logo img {
    width: 145px !important;
    height: 145px !important;
    object-fit: cover;
    border-radius: 24px !important;
    border: 2px solid #3b4a63;
    background: #0c111b;
    box-shadow: 0 15px 35px rgba(0,0,0,.45);
}


.dmgc-team-heading {
    flex: 1;
}


.dmgc-team-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #38bdf8;
}


.dmgc-team-heading h1 {
    margin: 0 0 10px !important;
    color: #ffffff !important;
    font-size: 42px !important;
    font-weight: 800;
    line-height: 1.1;
}


.dmgc-team-tag {
    color: #aab5c5;
    font-size: 16px;
    margin-bottom: 15px;
}


.dmgc-team-status {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 50px;
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.35);
    color: #4ade80;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================
   SECTIONS
========================================= */

.dmgc-team-section {
    margin-top: 24px;
    padding: 28px;
    background: #121824;
    border: 1px solid #29354a;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
}


.dmgc-team-section h2 {
    margin: 0 0 20px !important;
    padding-bottom: 15px;
    border-bottom: 1px solid #29354a;
    color: #ffffff !important;
    font-size: 21px !important;
}


/* =========================================
   TABLE
========================================= */

.dmgc-team-section table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: #151c29;
    border: 1px solid #29354a;
    border-radius: 12px;
}


.dmgc-team-section td {
    padding: 15px 17px;
    border-bottom: 1px solid #29354a;
    font-size: 15px;
}


.dmgc-team-section tr:last-child td {
    border-bottom: none;
}


.dmgc-team-section td:first-child {
    width: 35%;
    background: #101722;
    color: #98a6ba;
    font-weight: 700;
}


.dmgc-team-section td:last-child {
    color: #ffffff;
}


/* =========================================
   TEAM BIO
========================================= */

.dmgc-team-bio {
    padding: 18px;
    background: #151c29;
    border: 1px solid #29354a;
    border-radius: 12px;
    color: #b9c3d2;
    line-height: 1.7;
    font-size: 15px;
}


/* =========================================
   ROSTER
========================================= */

.dmgc-team-roster {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}


.dmgc-roster-card {
    padding: 20px;
    background: #151c29;
    border: 1px solid #29354a;
    border-radius: 14px;
    transition: .2s ease;
}


.dmgc-roster-card:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
}


.dmgc-roster-position {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 7px;
    background: #1d293b;
    color: #60a5fa;
    font-size: 12px;
    font-weight: 800;
}


.dmgc-roster-name {
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
}


.dmgc-roster-username {
    margin-top: 4px;
    color: #7f8da3;
    font-size: 13px;
}


.dmgc-roster-ign,
.dmgc-roster-uid {
    margin-top: 12px;
    color: #b7c2d1;
    font-size: 13px;
}


.dmgc-roster-empty {
    color: #6f7d91;
    font-size: 14px;
    font-style: italic;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .dmgc-team-view {
        margin: 25px auto;
        padding: 0 12px;
    }


    .dmgc-team-header {
        min-height: auto;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }


    .dmgc-team-logo img {
        width: 100px !important;
        height: 100px !important;
    }


    .dmgc-team-heading h1 {
        font-size: 29px !important;
    }


    .dmgc-team-section {
        padding: 18px;
        border-radius: 14px;
    }


    .dmgc-team-section td {
        padding: 12px 10px;
        font-size: 13px;
    }


    .dmgc-team-section td:first-child {
        width: 40%;
    }


    .dmgc-team-roster {
        grid-template-columns: 1fr;
    }

}

.dmgc-roster-player-link {
    text-decoration: none !important;
    color: inherit !important;
}

.dmgc-roster-player-link:hover .dmgc-roster-name {
    color: #38bdf8 !important;
}

.dmgc-roster-name {
    transition: .2s ease;
}

.dmgc-roster-view-profile {
    margin-top: 15px;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 700;
}

/* =========================================
   CLICKABLE PLAYER CARD
========================================= */

.dmgc-roster-card-link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    transition: all .25s ease;
}

.dmgc-roster-card-link:hover {
    transform: translateY(-4px);
    border-color: #38bdf8 !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.30);
}

.dmgc-roster-card-link:hover .dmgc-roster-name {
    color: #38bdf8 !important;
}

.dmgc-roster-view-profile {
    margin-top: 15px;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 700;
}

.dmgc-roster-card-link .dmgc-roster-name {
    transition: color .2s ease;
}

/* ==========================================
   PLAYER ROSTER CLICKABLE CARD
========================================== */

.dmgc-roster-card-link {
    display: block;
    width: 100%;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
}

.dmgc-roster-card-link:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.dmgc-roster-card-link:visited {
    color: inherit !important;
}

.dmgc-roster-card-link * {
    text-decoration: none !important;
}

.dmgc-roster-card-link:hover .dmgc-roster-name {
    color: #38bdf8;
}

.dmgc-roster-view-profile {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
}
.dmgc-roster-card-link {
    display: block !important;
    width: 100%;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
}

.dmgc-roster-card-link:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.dmgc-roster-card-link:visited {
    color: inherit !important;
}

.dmgc-roster-card-link .dmgc-roster-name {
    transition: .2s ease;
}

.dmgc-roster-card-link:hover .dmgc-roster-name {
    color: #38bdf8 !important;
}

.dmgc-roster-view-profile {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
}

.dmgc-profile-not-found {
    opacity: .6;
}