#card {
   width: 1080px;
   height: 1440px;
   position: relative;
   overflow: hidden;
   background: #112948;
   background-size: cover;
   background-position: center;
   box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
   font-family: 'Montserrat', Poppins, Arial, sans-serif;
}

#card::before {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(to bottom,
         rgba(0, 0, 0, 0.45),
         rgba(0, 0, 0, 0.75));
   z-index: 1;
}

#card .cardBG {
   position: absolute;
   inset: 0;
   z-index: 1;
   opacity: 0.7;
}

#card .content {
   position: relative;
   z-index: 2;
   height: 100%;
   padding: 48px;
   display: flex;
   flex-direction: column;
   color: white;
}

#card .logo {
   height: 80px;
   width: 160px;
   margin: 0 auto;
   margin-bottom: 10px;
}

#card .header {
   width: 100%;
   height: auto;
   display: block;
   margin: 0 0 16px;
}

#card .year {
   font-size: 40px;
   font-weight: 800;
   letter-spacing: 3px;
   line-height: 1.4;
   text-align: center;
   color: #ffffff;
   text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}
span#weekof_date,
#card .category {
   display: inline-block;
   text-align: center;
   margin-bottom: 0;
   font-size: 32px;
   text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}




#card .week-of {
   position: relative;
   z-index: 5;
   width: fit-content;
   margin: 18px auto 0;
   font-size: 24px;
   font-weight: 800;
   letter-spacing: 2px;
   color: #ffffff;
   background: linear-gradient(90deg, #064393, #03C3A9);
   padding: 10px 26px;
   border-radius: 999px;
   text-align: center;
   text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

#card .photo-area {
   position: relative;
   display: flex;
   justify-content: center;
   align-items: center;
   margin-top: 46px;
   pointer-events: none;
}

#card .gold-band {
   position: absolute;
   left: 0;
   width: 100%;
   background: linear-gradient(90deg, #064393, #4a98ff, #03C3A9);
   border-radius: 0 0 100% 100%;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
   top: 0;
   z-index: -10;
   overflow: hidden;
   height: 400px;
}

#card .gold-band:after {
   content: "";
   display: block;
   height: 100%;
   width: 100%;
   background: url(../pattern.png) center/cover no-repeat;
   opacity: 0.1;
   background-position: center top;
}

#card .portrait-ring {
    position: absolute;
    width: 310px;
    height: 310px;
    left: 50%;
    transform: translateX(-50%);
    top: -30px;
    z-index: 1;
    object-fit: contain;
    display: block;
}

#card .portrait {
   position: relative;
   width: 240px;
   height: 240px;
   border-radius: 999px;
   overflow: hidden;
   box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
   z-index: 3;
   background: #222;
}

#card .portrait img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

#card .country-label {
   position: absolute;
   bottom: -14px;
   left: 50%;
   transform: translateX(-50%);
   background: rgba(17, 17, 17, 0.9);
   color: #fff;
   padding: 6px 14px;
   border-radius: 16px;
   font-weight: 700;
   font-size: 14px;
   z-index: 4;
}

#card .badge {
   position: absolute;
   width: 90px;
   height: 90px;
   border-radius: 12px;
   background: rgba(255, 255, 255, 0.06);
   display: flex;
   align-items: center;
   justify-content: center;
   backdrop-filter: blur(4px);
   border: 1px solid rgba(255, 255, 255, 0.08);
   z-index: 3;
}

#card .badge.left {
   left: 20px;
   top: 20px;
}

#card .badge.right {
   right: 20px;
   top: 20px;
}

#card .badge img {
   width: 56px;
   height: auto;
}

#card #bigRankNumber {
   color: #03C3A9;
}

#card .rank {
   margin-top: 50px;
   font-size: 96px;
   font-weight: 900;
   color: #03C3A9;
   text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), -2px 0 0 #000, 2px 0 0 #000;
   text-align: center;
   line-height: 40px;
}

#card .big-rank-num {
    font-size: 78px;
    font-weight: 900;
    color: #ffffff;
    margin-top: 45px;
    margin-bottom: 20px;
}

#card .big-rank-num span {
   font-size: 72px;
   display: inline-block;
   margin-left: 8px;
}

#card .player-name {
   text-align: center;
   margin-top: 20px;
   margin-bottom: 20px;
   width: 100%;
   font-size: clamp(28px, 4.2vw, 42px);
   line-height: 1.02;
   font-weight: 900;
   text-transform: uppercase;
   letter-spacing: 1px;
   word-break: break-word;
   text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

#card .stats {
   margin-top: 30px;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 12px;
   padding: 0 40px;
   text-align: center;
}

#card .stat {
   position: relative;
   display: flex;
   gap: 12px;
   background: rgba(0, 0, 0, 0.3);
   backdrop-filter: blur(6px);
   border-radius: 18px;
   padding: 12px 14px;
   justify-content: center;
   align-items: flex-start;
}

#card .stat-title {
   font-size: 15px;
   font-weight: 700;
   opacity: 0.95;
}

#card .stat-value {
   font-size: 22px;
   font-weight: 900;
   color: #03C3A9;
}

#card .stat-circle {
   width: 74px;
   height: 74px;
   display: flex;
   align-items: center;
   justify-content: center;
}

#card .progress-ring {
   width: 74px;
   height: 74px;
}

#card .ring-bg {
   stroke: rgba(255, 255, 255, 0.06);
}

#card .ring-fg {
   stroke: #03C3A9;
   transition: stroke-dashoffset 400ms ease;
}

#card .ring-text {
   font-family: inherit;
   font-weight: 900;
   font-size: 6px;
   fill: #fff;
}

#card .footer {
   margin-top: auto;
}

#card .congrats {
    font-size: 130px;
    line-height: 1.05;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 14%;
    left: 0%;
    font-family: 'Passions Conflict', cursive;
    color: #ffd;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    rotate: -15deg;
}

#card .powered {
   margin-top: 10px;
   font-size: 12px;
   line-height: 1.4;
   opacity: 0.85;
   text-align: center;
}

#card .year,
#card .category,
#card .big-rank-num,
#card .player-name,
#card .stat-title,
#card .stat-value,
#card .powered {
   font-family: inherit;
}

#card img.header {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   z-index: -1;
}

.thumb-fallback {
   width: 100%;
   height: 100%;
   display: none;
   align-items: center;
   justify-content: center;
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
   color: #fff;
   font-size: 22px;
   font-weight: 800;
   letter-spacing: 0.5px;
}



@media (max-width: 980px) {
}

@media (max-width: 640px) {
}