/* ================= RESET ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:IRANYekan !important;
}

html{
    width:100%;
    min-height:100%;
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-text-size-adjust:100%;
}

/* ================= BODY ================= */

body{

    width:100%;
    min-height:100dvh;

    overflow-x:hidden;
    overflow-y:auto;

    padding:14px;

    color:#fff;

    background-image:url('/05.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    background-attachment:fixed;

    -webkit-tap-highlight-color:transparent;

    position:relative;
}

.page{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%, -50%);

    width:100%;
    max-width:520px;

    display:flex;
    flex-direction:column;

    align-items:center;

    gap:18px;

    padding:0 14px 40px;
}

/* ================= GLASS ================= */
.glass
{

    width:100%;

    border-radius:28px;

    background:rgba(3,36,87,.08);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:
            0 10px 40px rgba(0,0,0,.35),
            inset 0 1px 0 rgba(255,255,255,.04);

    overflow:hidden;
}


.glass-ads{

    width:100%;

    /*border-radius:28px;*/

    /*background:rgba(3,36,87,.08);*/

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    /*border:1px solid rgba(255,255,255,.12);*/

    box-shadow:
            0 10px 40px rgba(0,0,0,.35),
            inset 0 1px 0 rgba(255,255,255,.04);

    overflow:hidden;
}


/* ================= MAIN CARD ================= */

.glass{

    padding:28px 22px;
}

/* ================= ADS CARD ================= */

.glass-ads{
 height:180px;
    padding:0;
}

/* ================= TITLE ================= */

.title{

    text-align:center;

    font-size:1.9rem;
    font-weight:800;

    margin-bottom:24px;

    user-select:none;
}

/* ================= TABS ================= */

.tabs{

    width:100%;

    display:flex;

    overflow:hidden;

    border-radius:18px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    margin-bottom:22px;
}

.tab-btn{

    flex:1;

    padding:14px 10px;

    text-align:center;

    cursor:pointer;

    font-weight:700;

    transition:.25s ease;

    user-select:none;
}

.tab-btn.active{

    background:linear-gradient(
            135deg,
            #6d5efc,
            #00d4ff
    );

    box-shadow:
            0 0 25px rgba(0,212,255,.18);
}

.tab-btn:hover{

    opacity:.92;
}

/* ================= TAB CONTENT ================= */

.tab-wrapper{

    width:100%;
}

.tab-content{

    width:100%;

    display:none;
}

.tab-content.active{

    display:block;
}

/* ================= FORM ================= */

.form{

    width:100%;
}

/* ================= INPUTS ================= */

input[type="text"],
input[type="file"],
textarea,
select{

    width:100%;

    padding:14px 16px;

    border:none;
    outline:none;

    border-radius:18px;

    background:rgba(0,0,0,.28);

    color:#fff;

    font-size:16px !important;

    transition:.25s ease;

    appearance:none;
    -webkit-appearance:none;
}

input[type="text"]::placeholder,
textarea::placeholder{

    color:rgba(255,255,255,.55);
}

input[readonly]{

    cursor:pointer;
}

/* ================= REMOVE FOCUS ================= */

input:focus,
textarea:focus,
select:focus,
button:focus{

    outline:none !important;
    box-shadow:none !important;
}

/* ================= FILE WRAPPER ================= */

.file-upload-wrapper{

    width:100%;

    margin-top:14px;
}

/* ================= BUTTONS ================= */

.btn{

    width:100%;

    border:none;
    outline:none;

    border-radius:18px;

    padding:14px 18px;

    margin-top:14px;

    cursor:pointer;

    font-size:16px !important;
    font-weight:700;

    transition:.25s ease;

    color:#fff;

    user-select:none;

    -webkit-tap-highlight-color:transparent;
}

.btn:hover{

    transform:translateY(-1px);
}

.btn:active{

    transform:scale(.985);
}

/* ================= PRIMARY ================= */

.primary{

    background:linear-gradient(
            135deg,
            #6d5efc,
            #00d4ff
    );

    box-shadow:
            0 0 25px rgba(0,212,255,.22);
}

/* ================= SECONDARY ================= */

.secondary{

    background:rgba(255,255,255,.07);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(10px);
}

/* ================= DANGER ================= */

.danger{

    background:linear-gradient(
            135deg,
            #ff4d4d,
            #ff1f1f
    );

    box-shadow:
            0 0 25px rgba(255,77,77,.18);
}

/* ================= FILE BOX ================= */

.file-box{

    width:100%;

    margin-top:15px;

    padding:18px;

    border-radius:22px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.06);

    backdrop-filter:blur(14px);

    display:flex;
    flex-direction:column;

    gap:12px;
}

/* ================= FILE SUCCESS ================= */

.file-success{

    width:100%;

    background:rgba(0,255,100,.12);

    border:1px solid rgba(0,255,100,.18);

    padding:14px;

    border-radius:16px;

    text-align:center;

    font-weight:700;
}

/* ================= FILE NAME ================= */

.file-name{

    word-break:break-word;

    line-height:1.8;
}

/* ================= RESULT ================= */

.result{

    width:100%;

    margin-top:18px;

    padding:18px;

    border-radius:24px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(16px);

    box-shadow:
            0 8px 30px rgba(0,0,0,.22);

    overflow:hidden;
}

.result p{

    margin-bottom:12px;
}

.result label{

    display:block;

    margin-bottom:8px;

    font-weight:700;
}

/* ================= SHARE ROW ================= */

.share-row{

    width:100%;

    display:flex;

    margin-top:10px;

    overflow:hidden;

    border-radius:18px;
}

.share-row input{

    flex:1;

    border-radius:0;
}

.share-row button{

    width:auto;

    margin:0;

    border-radius:0;

    white-space:nowrap;
}

/* ================= PROGRESS ================= */

.progress-wrap{

    width:100%;

    margin-top:18px;

    text-align:center;
}

.progress-bar{

    width:100%;

    height:7px;

    border-radius:999px;

    overflow:hidden;

    background:rgba(255,255,255,.12);
}

.progress-fill{

    width:0%;

    height:100%;

    border-radius:999px;

    background:linear-gradient(
            90deg,
            #00c6ff,
            #0072ff
    );

    transition:width .25s ease;
}

.progress-text{

    margin-top:10px;

    font-size:14px;
}

/* ================= ALERT ================= */

.alert{

    width:100%;

    padding:14px;

    border-radius:18px;

    margin-bottom:16px;

    text-align:center;

    font-weight:700;
}

.alert.success{

    background:rgba(0,255,120,.12);

    border:1px solid rgba(0,255,120,.18);

    color:#8dffb1;
}

.alert.error{

    background:rgba(255,0,0,.12);

    border:1px solid rgba(255,0,0,.18);

    color:#ff9c9c;
}

/* ================= ERROR ================= */

.error{

    margin-top:8px;

    color:#ff9090;

    font-size:13px;
}

/* ================= RESULTS ================= */

.results{

    width:100%;

    margin-top:18px;

    display:flex;
    flex-direction:column;

    gap:16px;
}

/* ================= RESULT CARD ================= */

.results .card{

    width:100%;

    padding:18px;

    border-radius:24px;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(16px);

    box-shadow:
            0 10px 35px rgba(0,0,0,.25);

    transition:.25s ease;

    overflow:hidden;
}

.results .card:hover{

    transform:translateY(-2px);

    box-shadow:
            0 14px 45px rgba(0,0,0,.35);
}

/* ================= META ================= */

.results .meta{

    width:100%;

    display:flex;
    flex-direction:column;

    gap:10px;

    margin-bottom:16px;
}

.results .meta span{

    width:100%;

    padding:12px 14px;

    border-radius:16px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.06);

    font-size:14px;

    word-break:break-word;
}

/* ================= DOWNLOAD LINK ================= */

.results .link{

    width:100%;

    display:flex;
    justify-content:center;
    align-items:center;

    text-decoration:none;

    padding:14px;

    border-radius:18px;

    margin-bottom:12px;

    color:#fff;

    font-weight:700;

    background:linear-gradient(
            135deg,
            #3498db,
            #2179b5
    );

    box-shadow:
            0 0 25px rgba(52,152,219,.18);

    transition:.25s ease;
}

.results .link:hover{

    transform:translateY(-1px);
}

/* ================= SLIDER ================= */

/*.slider{*/

/*    position: relative;*/

/*    width: 100%;*/
/*    height: 100%;*/

/*    overflow: hidden;*/

/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

.slide{

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center center;

    margin: auto;

    opacity: 0;

    transition: opacity .5s ease;
}

.slide.active{
    opacity: 1;
}
/* ================= MOBILE ================= */

@media (max-width:768px){

    body{
height:140px;
        padding:10px;
    }

    .page{

        gap:14px;
    }

    .glass{

        padding:20px 15px;
margin-top: 100px;
        border-radius:24px;
    }

    .title{

        font-size:1.55rem;
    }

    .slider{

        height:220px;
    }

    .share-row{

        flex-direction:column;

        gap:10px;

        border-radius:0;
    }

    .share-row input,
    .share-row button{

        width:100%;

        border-radius:16px;
    }
}

/* ================= SMALL MOBILE ================= */

@media (max-width:420px){

    .glass{

        padding:18px 13px;
    }

    .results .card{

        padding:15px;
    }

    .btn{

        padding:13px 14px;
    }

    .title{

        font-size:1.4rem;
    }
}