
/* SOLD PAGE ONLY - final premium design.
   Loaded only by sold.php, so next.php/index.php/complete.php styles are not changed. */

body[data-page="sold"]{
    background:
        radial-gradient(circle at 16% 18%, rgba(255,47,125,.18), transparent 24%),
        radial-gradient(circle at 86% 18%, rgba(57,213,255,.16), transparent 24%),
        radial-gradient(circle at 50% 92%, rgba(165,87,255,.20), transparent 34%),
        linear-gradient(180deg,#01030a 0%,#070a14 50%,#02030a 100%);
}

body[data-page="sold"] .hamb{
    display:flex !important;
    align-items:center;
    justify-content:center;
}

.sold-new-stage{
    min-height:100dvh;
    height:100dvh;
    overflow:hidden;
    padding:8px 12px 12px;
    position:relative;
    display:flex;
    flex-direction:column;
    background:
        radial-gradient(circle at 50% 15%, rgba(255,216,90,.16), transparent 24%),
        radial-gradient(circle at 15% 21%, rgba(255,47,125,.16), transparent 25%),
        radial-gradient(circle at 88% 24%, rgba(57,213,255,.15), transparent 27%),
        radial-gradient(circle at 50% 83%, rgba(165,87,255,.16), transparent 35%),
        linear-gradient(180deg,#02030a,#070916 54%,#02030a);
}

.sold-new-stage::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background-image:
        radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size:28px 28px, 42px 42px, 42px 42px;
    opacity:.24;
    mask-image:linear-gradient(#000,transparent 84%);
}

.sold-gloss-clouds{
    position:fixed;
    inset:0;
    overflow:hidden;
    pointer-events:none;
    z-index:1;
}

.sold-gloss-clouds::before,
.sold-gloss-clouds::after{
    content:"";
    position:absolute;
    width:70vw;
    height:70vw;
    border-radius:50%;
    filter:blur(72px);
    opacity:.16;
    animation:soldCloudFloat 9s ease-in-out infinite;
}

.sold-gloss-clouds::before{
    left:-30vw;
    top:3vh;
    background:radial-gradient(circle,#ff2f7d,transparent 68%);
}

.sold-gloss-clouds::after{
    right:-30vw;
    bottom:1vh;
    background:radial-gradient(circle,#39d5ff,transparent 68%);
    animation-delay:-4.5s;
}

body[data-page="sold"] .sparkle-rain,
body[data-page="sold"] .screen-burst,
body[data-page="sold"] .celebration-ribbons{
    z-index:36;
}

body[data-page="sold"] .sparkle-rain i{
    width:calc(var(--size) * .45) !important;
    height:calc(var(--size) * .45) !important;
    box-shadow:0 0 9px currentColor,0 0 16px currentColor !important;
}

body[data-page="sold"] .screen-burst i{
    width:4px !important;
    height:4px !important;
    box-shadow:0 0 10px currentColor !important;
}

body[data-page="sold"] .celebration-ribbons i{
    width:5px !important;
    height:22px !important;
    opacity:.58;
}

.sold-new-card{
    width:100%;
    position:relative;
    z-index:5;
    flex:1;
    min-height:0;
    overflow:hidden;
    border-radius:26px;
    border:1px solid rgba(255,216,90,.48);
    background:
        radial-gradient(circle at 50% 16%, rgba(255,255,255,.08), transparent 24%),
        radial-gradient(circle at 50% 34%, rgba(255,216,90,.16), transparent 28%),
        linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.025) 42%,rgba(0,0,0,.62));
    box-shadow:
        0 20px 65px rgba(0,0,0,.62),
        0 0 42px rgba(255,216,90,.14),
        0 0 54px rgba(255,47,125,.10),
        inset 0 0 30px rgba(255,255,255,.04);
    padding:13px 14px 14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.sold-new-card::before{
    content:"";
    position:absolute;
    inset:-44%;
    background:conic-gradient(
        transparent,
        rgba(255,216,90,.15),
        transparent,
        rgba(255,47,125,.15),
        transparent,
        rgba(57,213,255,.14),
        transparent,
        rgba(80,255,120,.09),
        transparent
    );
    animation:auctionSpin 7.5s linear infinite;
}

.sold-card-shine{
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:
        linear-gradient(115deg,transparent 0 36%,rgba(255,255,255,.20) 44%,transparent 52% 100%),
        linear-gradient(180deg,rgba(255,255,255,.08),transparent 34%);
    animation:soldSweep 3.8s linear infinite;
}

.sold-kicker{
    position:relative;
    z-index:4;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    padding:6px 18px;
    border-radius:999px;
    border:1px solid rgba(255,216,90,.52);
    background:linear-gradient(90deg,rgba(255,216,90,.17),rgba(255,47,125,.13),rgba(57,213,255,.13));
    color:#fff1a6;
    font-size:12px;
    font-weight:900;
    letter-spacing:2.5px;
    box-shadow:0 0 25px rgba(255,216,90,.18);
}

.sold-congrats-main{
    position:relative;
    z-index:4;
    margin-top:8px;
    font-size:39px;
    line-height:.92;
    font-weight:900;
    letter-spacing:1.8px;
    background:linear-gradient(
        90deg,
        #ffffff,
        #ffe47a,
        #ff8a00,
        #ff2f7d,
        #8f5cff,
        #39d5ff,
        #50ff78,
        #ffffff
    );
    background-size:360% 100%;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    animation:soldTextGloss 4.6s linear infinite, soldTitlePulse 1.6s ease-in-out infinite;
    text-shadow:0 0 42px rgba(255,216,90,.20);
}

.sold-player-name-top{
    position:relative;
    z-index:4;
    margin-top:4px;
    font-size:23px;
    line-height:1;
    font-weight:900;
    color:#FFEB3B;
    text-shadow:0 0 20px rgba(255,255,255,.22),0 3px 14px rgba(0,0,0,.55);
}

.sold-orbit-wrap{
    position:relative;
    z-index:4;
    width:240px;
    height:240px;
    margin:14px auto 10px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.sold-ring{
    position:absolute;
    left:50%;
    top:50%;
    border-radius:50%;
    pointer-events:none;
}

.sold-ring-a{
    width:202px;
    height:202px;
    margin-left:-101px;
    margin-top:-101px;
    border:3px solid rgba(255,216,90,.88);
    box-shadow:0 0 34px rgba(255,216,90,.72), inset 0 0 24px rgba(255,216,90,.12);
    animation:soldRingPulse 1.55s ease-in-out infinite;
}

.sold-ring-b{
    width:238px;
    height:238px;
    margin-left:-119px;
    margin-top:-119px;
    border:1px dashed rgba(57,213,255,.58);
    box-shadow:0 0 25px rgba(57,213,255,.20);
    animation:soldOrbitSpin 10s linear infinite;
}

.sold-ring-c{
    width:222px;
    height:222px;
    margin-left:-111px;
    margin-top:-111px;
    border:1px solid rgba(255,47,125,.58);
    box-shadow:0 0 25px rgba(255,47,125,.24);
    animation:soldOrbitSpinReverse 14s linear infinite;
}

.sold-player-circle{
    position:relative;
    z-index:6;
    width:178px;
    height:178px;
    padding:5px;
    border-radius:50%;
    background:linear-gradient(135deg,#fff2a8,#f7c45c,#ff2f7d,#39d5ff,#ffffff);
    background-size:270% 270%;
    animation:soldPhotoGloss 4.4s linear infinite;
    box-shadow:
        0 0 28px rgba(255,216,90,.56),
        0 0 48px rgba(255,47,125,.26),
        0 0 68px rgba(57,213,255,.22);
}

.sold-player-circle img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center top;
    border-radius:50%;
    border:4px solid rgba(5,6,14,.96);
    background:#0c0e18;
}

.sold-team-box{
	margin-top:10px;
	text-transform:uppercase;
    position:relative;
    z-index:4;
    width:88%;
    max-width:320px;
    border-radius:16px;
    padding:12px 12px 14px;
    border:1px solid rgba(255,216,90,.60);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 47, 125, .25), transparent 35%), linear-gradient(135deg, rgba(104, 0, 0, .72), rgba(28, 5, 15, .76), rgb(88 15 24));
    box-shadow:
        inset 0 0 24px rgba(255,216,90,.08),
        0 0 30px rgba(255,47,125,.14);
}

.sold-team-box span{
    display:block;
    font-size:15px;
    line-height:1;
    letter-spacing:1.6px;
    color:#fff;
    font-weight:900;
}

.sold-team-box strong{
    display:block;
    margin-top:8px;
    font-size:31px;
    line-height:1.02;
    letter-spacing:1px;
    background:linear-gradient(90deg,#fff6b7,#ffd85a,#ff8a00,#fff6b7);
    background-size:240% 100%;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    animation:soldTextGloss 5.2s linear infinite;
    text-shadow:0 0 24px rgba(255,216,90,.18);
}

.sold-price-final{
    position:relative;
    z-index:4;
    width:88%;
    max-width:320px;
    margin-top:14px;
    border-radius:16px;
    padding:11px 12px 14px;
    border:1px solid rgba(255,216,90,.58);
    background:
        radial-gradient(circle at 50% 0%,rgba(255,216,90,.12),transparent 36%),
        linear-gradient(135deg,rgba(0,0,0,.78),rgba(7,10,20,.85));
    box-shadow:
        inset 0 0 22px rgba(255,216,90,.08),
        0 0 30px rgba(57,213,255,.08);
}

.sold-price-final span{
    display:block;
    color:#fff1a6;
    font-size:15px;
    line-height:1;
    letter-spacing:1.4px;
    font-weight:900;
}

.sold-price-final strong{
    display:block;
    margin-top:8px;
    color:#ffd85a;
    font-size:43px;
    line-height:1;
    font-weight:900;
    letter-spacing:1px;
    text-shadow:
        0 0 18px rgba(255,216,90,.36),
        0 4px 16px rgba(0,0,0,.65);
}

@keyframes soldCloudFloat{
    0%,100%{transform:translateY(0) scale(1)}
    50%{transform:translateY(-18px) scale(1.06)}
}

@keyframes soldSweep{
    0%{transform:translateX(-120%)}
    100%{transform:translateX(120%)}
}

@keyframes soldTextGloss{
    0%{background-position:0% 50%}
    100%{background-position:360% 50%}
}

@keyframes soldTitlePulse{
    0%,100%{transform:scale(1)}
    50%{transform:scale(1.025)}
}

@keyframes soldRingPulse{
    0%,100%{transform:scale(.95);opacity:.72}
    50%{transform:scale(1.05);opacity:1}
}

@keyframes soldOrbitSpin{
    from{transform:rotate(0deg)}
    to{transform:rotate(360deg)}
}

@keyframes soldOrbitSpinReverse{
    from{transform:rotate(360deg)}
    to{transform:rotate(0deg)}
}

@keyframes soldPhotoGloss{
    0%{background-position:0% 50%}
    100%{background-position:270% 50%}
}

@media(max-height:720px){

    .sold-new-stage{
        padding:7px 10px 8px;
    }

    .sold-new-card{
        padding:4% 12px 11px;
        border-radius:24px;
    }

    .sold-kicker{
        min-height:27px;
        padding:5px 14px;
        font-size:11px;
    }

    .sold-congrats-main{
        font-size:33px;
        margin-top:6px;
    }

    .sold-player-name-top{
        font-size:24px;
        margin-top:15px;
		margin-bottom:10px;
		text-transform:uppercase;
    }

    .sold-orbit-wrap{
        width:196px;
        height:196px;
        margin:9px auto 8px;
    }

    .sold-player-circle{
        width:144px;
        height:144px;
    }

    .sold-ring-a{
        width:166px;
        height:166px;
        margin-left:-83px;
        margin-top:-83px;
    }

    .sold-ring-b{
        width:196px;
        height:196px;
        margin-left:-98px;
        margin-top:-98px;
    }

    .sold-ring-c{
        width:182px;
        height:182px;
        margin-left:-91px;
        margin-top:-91px;
    }

    .sold-team-box{
        padding:20px 10px 20px;
    }

    .sold-team-box span{
        font-size:16px;
    }

    .sold-team-box strong{
        font-size:27px;
        margin-top:6px;
    }

    .sold-price-final{
        margin-top:15px;
        padding:15px 10px 15px;
    }

    .sold-price-final span{
        font-size:13px;
    }

    .sold-price-final strong{
        font-size:35px;
        margin-top:6px;
    }
}

@media(max-width:370px){

    .sold-congrats-main{
        font-size:30px;
    }

    .sold-player-name-top{
        font-size:19px;
    }

    .sold-team-box strong{
        font-size:25px;
    }

    .sold-price-final strong{
        font-size:32px;
    }
}
