/* ══════════════════════════════════════════
   PLAYER PROFILE STYLES
   ══════════════════════════════════════════ */

/* Hero Banner */
.player-hero {
  width: 100%;
  /* Locks the height to precisely match the 1920x800 banner proportion anywhere */
  aspect-ratio: 1920 / 800;
  position: relative;
  background-image: url('../img/banner/player_page.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .player-hero {
    /* If it becomes too tiny on iPads/Mobile, we increase the size but 
       allow the sides to be cut organically while keeping center focus */
    aspect-ratio: auto;
    height: 400px;
  }
}

@media (max-width: 500px) {
  .player-hero {
    height: 300px;
    /* To prevent cutting the sides entirely on mobile, we can use contain, 
       but cover + center is standard for mobile hero sections. */
    background-size: cover;
    background-position: center;
  }
}

/* Overview Section */
.player-overview {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    padding: 100px 80px;
}

.po-visual {
    position: relative;
    background: linear-gradient(45deg, rgba(225, 6, 0, 0.05), transparent);
    border-radius: 20px;
    text-align: center;
    line-height: 0;
}

.po-render {
    width: 100%;
    max-width: 420px; /* Scaled down from 500px */
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}


.po-info h2 {
    font-family: var(--fd);
    font-size: 72px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.po-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.pm-item {
    border-left: 2px solid var(--red);
    padding-left: 20px;
}

.pm-label {
    font-family: var(--fa);
    font-size: 9px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.pm-val {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.po-bio {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.po-socials {
    display: flex;
    gap: 20px;
}

.po-soc-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.po-soc-link:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-5px);
}

/* Results Table (Liquipedia Style) */
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.results-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.results-table td {
    padding: 25px 0;
    font-size: 16px;
}

.rt-date {
    width: 120px;
    font-family: var(--fa);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.rt-event {
    color: #fff;
    font-weight: 600;
}

.rt-place {
    text-align: right;
    color: var(--red);
    font-family: var(--fd);
    font-size: 24px;
}

/* Media Section */
.media-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.media-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.media-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.mi-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.mi-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

/* Team Section (ZETA Style) */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 100px; /* Balanced spacing */
    margin-top: 60px;
    flex-wrap: wrap;
}

.tm-card {
    text-align: center;
    /* AGGRESSIVE RESET TO REMOVE BLUE LINES */
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    display: block;
    width: 200px;
}

.tm-card * {
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}

.tm-img-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    /* RESTORING THE COOL RED BACKGROUND */
    background: linear-gradient(135deg, var(--red) 0%, #000 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tm-card:hover .tm-img-wrap {
    transform: scale(1.08);
    box-shadow: 0 0 50px rgba(225, 6, 0, 0.3);
    border-color: var(--red);
}

.tm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.tm-card:hover .tm-img {
    transform: scale(1.1);
}

.tm-name {
    font-family: var(--fd);
    font-size: 28px;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
}

.tm-role {
    font-size: 12px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    display: block; /* Ensures centering works perfectly */
    width: 100%;
    margin-top: 2px;
}

@media (max-width: 1000px) {
    .player-overview {
        grid-template-columns: 1fr;
        padding: 60px 40px;
    }
}

@media (max-width: 600px) {
    .po-meta {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}
