/* --- THIẾT LẬP CHUNG --- */
.player-card-template-02 * { box-sizing: border-box; }

.player-card-template-02.player-card-preview.player-card-preview--template {
 
    position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: 
    linear-gradient(180deg, 
      #22407E 0%, 
      #1A1E3F 100%),
    url('../images/template-02-bg.png') !important;
  background-size: cover;
  background-position: center;
  background-blend-mode: lighten;
  font-family: 'Inter', sans-serif;
  container-type: inline-size;
  border-radius: 8px;
}

.player-card-template-02 .player-card-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

/* --- pc-sponsors --- */
.player-card-template-02 .pc-sponsors {
    position: absolute;
    top: 1.6cqw;
    right: 5cqw;
    width: 18.8cqw;
    height: 9.4cqw;
    display: flex;
    gap: 3.5cqw;
    align-items: center;
    justify-content: flex-end;
}
.player-card-template-02 .logo-card { width: 8cqw;}
.player-card-template-02 .pc-sponsors img {
  height: 100%;
  width: auto;
}

/* --- Top Content: Photo & Skills --- */
.player-card-template-02 .pc-top-content {
    display: flex;
    padding: 12cqw 5cqw 0;
    gap: 5cqw;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.player-card-template-02 .pc-player-photo-wrapper {
    position: relative;
    width: 40cqw;
    height: 40cqw;
    border: 0.6cqw solid #F4C849;
    border-radius: 50%;
    padding: 0.5cqw;
}

.player-card-template-02 .pc-player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.player-card-template-02 .pc-flag-badge {
    position: absolute;
    top: 0;
    right: -4cqw;
    width: 6cqw;
    height: 6cqw;
    border-radius: 50%;
    overflow: hidden;

}

.player-card-template-02 .pc-flag-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Skills */
.player-card-template-02 .pc-skills-container {
    display: flex;
    flex-direction: column;
    gap: 2cqw;
}

.player-card-template-02 .pc-skill-item {
    display: flex;
    align-items: center;
    gap: 2cqw;
}

.player-card-template-02 .pc-skill-icon {
    width: 8cqw;
    height: 8cqw;
}

.player-card-template-02 .pc-skill-divider {
    width: 0.4cqw;
    height: 8cqw;
    background: #f4c849;
    opacity: 1;
}

.player-card-template-02 .pc-skill-label {
    font-size: 2.5cqw;
    color: white;
    font-weight: 400;
}

.player-card-template-02 .pc-skill-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5cqw;
    color: #F4C849;
    line-height: 1.1;
}

/* --- Stats Box (Dark Box) --- */
.player-card-template-02 .pc-stats-box {
    position: absolute;
    bottom: 7cqw;
    left: 4cqw;
    right: 4cqw;
   background: #0B1023E5;
    border-radius: 2cqw;
    padding: 14cqw 3cqw 4cqw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-card-template-02 .pc-player-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 9cqw;
    color: white;
    line-height: 1;
    margin-bottom: 2cqw;
    position: absolute;
    bottom: 22cqw;
    z-index: 9;
    width: 100%;
    text-align: center;
    left: 0;
}

.player-card-template-02 .pc-stats-divider {
    width: 100%;
    height: 0.2cqw;
    background: white;
    opacity: 0.2;
    margin-bottom: 4cqw;
}

.player-card-template-02 .pc-stats-grid {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.player-card-template-02 .pc-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.player-card-template-02 .pc-stat-value-wrapper {
    display: flex;
    align-items: flex-start;
}

.player-card-template-02 .pc-stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 8cqw;
    color: #F4C849;
    line-height: 1;
}

.player-card-template-02 .pc-stat-plus {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5cqw;
    color: #F4C849;
    margin-top: -0.5cqw;
    margin-left: 0.5cqw;
}

.player-card-template-02 .pc-stat-label {
    font-size: 1.6cqw;
    color: white;
    font-weight: 500;
    margin-top: 1cqw;
}

/* --- Footer Meta --- */

.player-card-template-02 .pc-footer-meta {
    position: absolute;
    bottom: 2cqw;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 4cqw;
    font-size: 2cqw;
    color: white;
    font-weight: 800;
}

.player-card-template-02 .pc-updated strong {
  font-weight: 500;
}

.player-card-template-02 span.pc-url {
    letter-spacing: 2px;
}