.jtech-reward-page{
    max-width:1200px;
    margin:40px auto;
    padding:20px;
}

.jtech-reward-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.jtech-box{
    background:#fff;
    border-radius:18px;
    padding:22px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;

    opacity:0;
    transform:translateY(35px);
    cursor:pointer;
}

.jtech-box:hover{
    transform:translateY(-6px) scale(1.02);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

/* Rès CSS ou a kontinye anba la... */

.jtech-header{
    text-align:center;
    margin-bottom:30px;
}

.jtech-header h2{
    margin-bottom:8px;
}

.jtech-header p{
    color:#666;
}

.jtech-card-top{
    display:flex;
    justify-content:flex-end;
    margin-bottom:10px;
}

.status-unlocked{
    background:#28a745;
    color:#fff;
    padding:6px 12px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    box-shadow:0 0 12px rgba(40,167,69,.5);
}

.status-locked{
    background:#dc3545;
    color:#fff;
    padding:6px 12px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    box-shadow:0 0 12px rgba(220,53,69,.5);
}

.jtech-product-image{
    text-align:center;
    margin-bottom:15px;
}

.jtech-product-image img{
    max-width:120px;
    border-radius:12px;
}

.jtech-product-title{
    text-align:center;
    margin-bottom:6px;
}

.jtech-variation-name{
    text-align:center;
    color:#666;
    margin-bottom:18px;
}

.jtech-mission{
    background:#f7f7f7;
    padding:12px;
    border-radius:10px;
    margin-bottom:15px;
}

.mission-title{
    font-size:12px;
    color:#777;
    text-transform:uppercase;
}

.mission-value{
    font-size:18px;
    font-weight:bold;
}

.jtech-reward-label{
    color:#777;
    font-size:12px;
    text-transform:uppercase;
}

.jtech-reward-value{
    font-size:18px;
    font-weight:bold;
    margin-bottom:15px;
}

.jtech-progress{
    width:100%;
    height:18px;
    background:#ececec;
    border-radius:30px;
    overflow:hidden;
    margin:15px 0;
}

.jtech-progress-bar{
    height:100%;
    background:#28a745;
    border-radius:30px;
    transition:width .5s;
}

.jtech-pin-code{
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#111,#222,#111);
    color:#00ff7f;
    font-size:22px;
    font-weight:700;
    padding:18px;
    border-radius:14px;
    text-align:center;
    letter-spacing:3px;
    margin-top:15px;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:
        0 0 15px rgba(0,255,127,.25),
        inset 0 0 15px rgba(255,255,255,.03);
}

.jtech-reward-success{
    background:#eafaf0;
    border-left:5px solid #28a745;
    padding:15px;
    margin-top:15px;
}

.jtech-reward-empty{
    background:#ffeaea;
    border-left:5px solid #dc3545;
    padding:15px;
    margin-top:15px;
    color:#dc3545;
    font-weight:bold;
}

.jtech-reward-login{
    max-width:500px;
    margin:40px auto;
    text-align:center;
}

@media(max-width:768px){

.jtech-reward-page{
    padding:15px;
}

.jtech-box{
    padding:18px;
}

.jtech-pin-code{
    font-size:18px;
}

}
.jtech-copy-pin{
    margin-top:15px;
    background:#0073aa;
    color:#fff;
    border:none;
    border-radius:8px;
    padding:10px 18px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.jtech-copy-pin:hover{
    background:#005177;
}

.jtech-copy-success{
    margin-top:10px;
    color:#28a745;
    font-weight:bold;
}

.jtech-pin-wrapper{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.jtech-toggle-pin{
    background:#444;
    color:#fff;
    border:none;
    border-radius:8px;
    padding:10px 15px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.jtech-toggle-pin:hover{
    background:#222;
}

.jtech-pin-hidden{
    filter:blur(8px);
    user-select:none;
    transition:.3s;
}

.jtech-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin:30px 0;
}

.jtech-stat-card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.jtech-stat-card:hover{
    transform:translateY(-4px);
}

.stat-number{
    display:block;
    font-size:34px;
    font-weight:700;
    color:#222;
}

.stat-label{
    display:block;
    margin-top:8px;
    color:#666;
    font-size:15px;
}

.jtech-stat-card.success{
    border-top:5px solid #28a745;
}

.jtech-stat-card.danger{
    border-top:5px solid #dc3545;
}

@media(max-width:768px){

.jtech-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.jtech-stat-card{
    padding:15px 8px;
}

.stat-number{
    font-size:24px;
}

.stat-label{
    font-size:12px;
}

}

@media(max-width:768px){

.jtech-reward-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}

.jtech-box{
    padding:15px;
}

.jtech-product-title{
    font-size:20px;
}

.jtech-product-image img{
    max-width:90px;
}

}

@media(max-width:380px){

.jtech-reward-grid{
    grid-template-columns:repeat(2,1fr);
    gap:8px;
}

.jtech-box{
    padding:10px;
}

.stat-number{
    font-size:20px;
}

.stat-label{
    font-size:11px;
}

}

.jtech-progress-circle{
    position:relative;
    width:120px;
    height:120px;
    margin:20px auto;
}

.jtech-progress-circle svg{
    transform:rotate(-90deg);
}

.progress-bg{
    fill:none;
    stroke:#ececec;
    stroke-width:8;
}

.progress-fill{
    fill:none;
    stroke:#28a745;
    stroke-width:8;
    stroke-linecap:round;
    stroke-dasharray:327;
    transition:stroke-dashoffset .8s ease;
}

.progress-text{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:700;
    color:#222;
}

/* ===========================
   J-Tech Premium Animations
=========================== */

.jtech-box:nth-child(1){animation-delay:.05s;}
.jtech-box:nth-child(2){animation-delay:.15s;}
.jtech-box:nth-child(3){animation-delay:.25s;}
.jtech-box:nth-child(4){animation-delay:.35s;}
.jtech-box:nth-child(5){animation-delay:.45s;}
.jtech-box:nth-child(6){animation-delay:.55s;}

@keyframes jtechFadeUp{

    from{
        opacity:0;
        transform:translateY(35px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.status-unlocked,
.status-locked{

    animation:jtechPulse 2s infinite;

}

@keyframes jtechPulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.08);
    }

    100%{
        transform:scale(1);
    }

}

/* ===========================
   Scroll Reveal
=========================== */

.jtech-box{
    opacity:0;
    transform:translateY(40px);
}

.jtech-box.jtech-show{
    opacity:1;
    transform:translateY(0);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

@keyframes jtechGlowGreen{

    from{
        box-shadow:0 0 6px rgba(40,167,69,.4);
    }

    to{
        box-shadow:
            0 0 20px rgba(40,167,69,.9),
            0 0 35px rgba(40,167,69,.6);
    }

}

@keyframes jtechGlowRed{

    from{
        box-shadow:0 0 6px rgba(220,53,69,.4);
    }

    to{
        box-shadow:
            0 0 20px rgba(220,53,69,.9),
            0 0 35px rgba(220,53,69,.6);
    }

}

.jtech-pin-code::before{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:60%;
    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transform:skewX(-25deg);

    animation:jtechShine 3s infinite;

}

@keyframes jtechShine{

    0%{
        left:-120%;
    }

    100%{
        left:170%;
    }

}

/* ===========================
   Toast Notification
=========================== */

#jtech-toast{

    position:fixed;

    top:25px;
    right:25px;

    background:#28a745;
    color:#fff;

    padding:15px 22px;

    border-radius:12px;

    font-size:15px;
    font-weight:600;

    box-shadow:0 12px 35px rgba(0,0,0,.18);

    opacity:0;
    visibility:hidden;

    transform:translateY(-25px);

    transition:all .35s ease;

    z-index:999999;

}

#jtech-toast.show{

    opacity:1;
    visibility:visible;
    transform:translateY(0);

}

/* ==========================
   Top 5 Users Slider
========================== */

.jtech-top-users{
    display:flex;
    gap:15px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding:15px 0 25px;
    margin-bottom:30px;
}

.jtech-top-users::-webkit-scrollbar{
    display:none;
}

.jtech-top-card{
    min-width:240px;
    background:#fff;
    border-radius:16px;
    padding:18px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    flex-shrink:0;
}

.jtech-top-name{
    font-size:18px;
    font-weight:700;
    margin-bottom:8px;
}

.jtech-top-pack{
    color:#666;
    margin-bottom:10px;
}

.jtech-top-progress{
    font-weight:bold;
    margin-bottom:10px;
}

.jtech-top-bar{
    width:100%;
    height:10px;
    background:#ececec;
    border-radius:30px;
    overflow:hidden;
}

.jtech-top-fill{
    height:100%;
    background:#28a745;
    border-radius:30px;
    transition:width .6s;
}