/* ==========================================================
   1. RESET
   ========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ==========================================================
   2. ROOT VARIABLES
   ========================================================== */

:root{

    --bg:#0b1120;
    --bg-secondary:#111827;
    --bg-card:#172033;

    --border:rgba(255,255,255,.08);

    --text:#ffffff;
    --text-muted:#94a3b8;

    --success:#22c55e;
    --primary:#3b82f6;

    --shadow:
        0 15px 40px rgba(0,0,0,.25);

    --glass:
        rgba(255,255,255,.04);

    --radius:18px;
}

/* ==========================================================
   3. BODY & LAYOUT
   ========================================================== */

body{

    background:var(--bg);

    color:var(--text);

    font-family:
        Inter,
        Segoe UI,
        sans-serif;

    min-height:100vh;

    overflow-x:hidden;

    position:relative;
}

.container{

    width:100%;

    max-width:1280px;

    margin:0 auto;

    padding:40px 24px;

    position:relative;

    z-index:2;
}

/* ==========================================================
   4. BACKGROUND EFFECTS
   ========================================================== */

.bg-orb{

    position:fixed;

    border-radius:50%;

    filter:blur(100px);

    opacity:.18;

    z-index:0;

    pointer-events:none;
}

.orb-1{

    width:400px;
    height:400px;

    background:#2563eb;

    top:-120px;
    left:-120px;
}

.orb-2{

    width:350px;
    height:350px;

    background:#22c55e;

    right:-100px;
    bottom:-100px;
}

/* ==========================================================
   5. HERO SECTION
   ========================================================== */

.hero{

    position:relative;

    background:
        linear-gradient(
            135deg,
            rgba(17,24,39,.88),
            rgba(30,41,59,.72)
        );

    border:1px solid var(--border);

    border-radius:28px;

    padding:32px;

    backdrop-filter:blur(20px);

    overflow:hidden;

    box-shadow:var(--shadow);

    margin-top:20px;

    margin-bottom:28px;
}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        radial-gradient(
            circle at top right,
            rgba(59,130,246,.15),
            transparent 40%
        );

    pointer-events:none;
}

.hero-top{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:20px;

    margin-bottom:28px;
}

.hero-banner{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;
}

.hero-left{

    max-width:720px;
}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 14px;

    border-radius:999px;

    background:
        rgba(59,130,246,.12);

    border:
        1px solid rgba(59,130,246,.20);

    color:#93c5fd;

    font-size:12px;

    font-weight:700;

    margin-bottom:18px;
}

.hero-left h2{

    font-size:42px;

    line-height:1.1;

    margin-bottom:12px;
}

.hero-left p{

    color:var(--text-muted);

    font-size:16px;

    line-height:1.7;
}

/* ==========================================================
   6. BRAND & LOGO
   ========================================================== */

.brand{

    display:flex;

    align-items:center;

    gap:20px;
}

.brand-content h1{

    display:flex;

    align-items:center;

    gap:10px;

    margin:0;

    font-size:28px;

    font-weight:800;

    letter-spacing:.5px;
}

.brand-content p{

    color:var(--text-muted);
}

.logo-wrapper{

    position:relative;

    width:190px;

    height:54px;

    flex-shrink:0;

    overflow:hidden;
}

.logo{

    position:absolute;

    top:0;
    left:0;

    width:100%;

    height:100%;

    object-fit:contain;

    transition:
        opacity .25s ease;

    pointer-events:none;
}

/* Default (Dark Theme) */

.logo-dark{

    opacity:1;

    z-index:2;
}

.logo-light{

    opacity:0;

    z-index:1;
}

/* Light Theme */

body.light .logo-dark{

    opacity:0;

    z-index:1;
}

body.light .logo-light{

    opacity:1;

    z-index:2;
}

/* Brand Text */

.brand-orfi{

    color:var(--text);
}

.brand-network{

    color:var(--text);
}

.brand-mirror{

    background:
        linear-gradient(
            90deg,
            #60a5fa,
            #3b82f6,
            #22c55e,
            #60a5fa
        );

    background-size:
        300% 100%;

    -webkit-background-clip:text;
    background-clip:text;

    -webkit-text-fill-color:transparent;

    animation:
        mirrorFlow 6s linear infinite;

    filter:
        drop-shadow(
            0 0 10px rgba(96,165,250,.35)
        );
}

/* Light Theme Mirror */

body.light .brand-mirror{

    background:
        linear-gradient(
            90deg,
            #1d4ed8,
            #2563eb,
            #0891b2,
            #1d4ed8
        );

    background-size:
        300% 100%;

    -webkit-background-clip:text;
    background-clip:text;

    -webkit-text-fill-color:transparent;

    filter:
        drop-shadow(
            0 0 4px rgba(37,99,235,.15)
        );
}

@keyframes mirrorFlow{

    0%{
        background-position:0% 50%;
    }

    100%{
        background-position:300% 50%;
    }

}

/* ==========================================================
   7. HEADER ACTIONS
   ========================================================== */

.header-actions{

    display:flex;

    align-items:center;

    gap:16px;

    margin-left:auto;

    flex-wrap:wrap;
}

.ad-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

    margin:24px 0;
}

.ad-banner{

    height:90px;

    padding:6px;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    position:relative;

    border-radius:24px;

    background:
        rgba(255,255,255,.04);

    border:
        1px solid rgba(255,255,255,.08);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    box-shadow:
        0 8px 30px rgba(0,0,0,.12);

    transition:
        all .25s ease;
}

.ad-banner:hover{

    transform:
        translateY(-2px);

    border-color:
        rgba(96,165,250,.20);

    box-shadow:
        0 12px 40px rgba(37,99,235,.12);
}

.ad-banner img{

    width:100%;

    height:100%;

    display:block;

    object-fit:contain;

    border-radius:18px;
}

/* ==========================================================
   8. THEME SWITCH
   ========================================================== */

.theme-switch{

    display:flex;

    align-items:center;

    gap:10px;

    cursor:pointer;

    user-select:none;
}

.sun,
.moon{

    font-size:18px;
}

.switch-track{

    width:64px;
    height:34px;

    border-radius:999px;

    position:relative;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );

    transition:.3s ease;
}

.switch-thumb{

    position:absolute;

    top:3px;
    left:3px;

    width:28px;
    height:28px;

    border-radius:50%;

    background:#ffffff;

    box-shadow:
        0 4px 12px rgba(0,0,0,.25);

    transition:.3s ease;
}

.theme-switch:hover .switch-track{

    transform:scale(1.05);
}

/* ==========================================================
   9. SORT SELECT
   ========================================================== */

#sortSelect{

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    min-width:180px;
    height:46px;

    padding:0 42px 0 16px;

    border-radius:14px;

    border:1px solid rgba(255,255,255,.08);

    background:
        rgba(255,255,255,.06);

    backdrop-filter:blur(16px);

    color:#fff;

    font-size:13px;
    font-weight:700;

    cursor:pointer;

    transition:.25s ease;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 1 1 .708.708L8.354 10.354a.5.5 0 0 1-.708 0L4.646 7.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:
        right 14px center;
}

#sortSelect:hover{

    transform:
        translateY(-2px);

    border-color:
        rgba(59,130,246,.35);

    box-shadow:
        0 12px 30px rgba(59,130,246,.12);
}

#sortSelect:focus{

    outline:none;

    border-color:#3b82f6;

    box-shadow:
        0 0 0 4px rgba(59,130,246,.15);
}

#sortSelect option{

    background:#111827;

    color:#ffffff;
}

/* ==========================================================
   10. STATS CARDS
   ========================================================== */

.stats{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px,1fr)
        );

    gap:16px;
}

.stat-card{

    background:
        rgba(255,255,255,.04);

    border:1px solid var(--border);

    backdrop-filter:blur(16px);

    border-radius:20px;

    padding:22px;

    transition:.25s ease;
}

.stat-card:hover{

    transform:
        translateY(-4px);

    border-color:
        rgba(59,130,246,.25);

    box-shadow:
        0 18px 40px rgba(0,0,0,.18);
}

.stat-label{

    display:block;

    color:var(--text-muted);

    font-size:13px;

    margin-bottom:10px;
}

.stat-card strong{

    font-size:22px;

    font-weight:800;
}

.online{

    color:#22c55e;
}

/* ==========================================================
   11. REPOSITORY SECTION
   ========================================================== */

.repository-section{

    position:relative;
}

.section-header{

    margin-bottom:20px;
}

.section-header h3{

    font-size:24px;

    margin-bottom:8px;
}

.section-header p{

    color:var(--text-muted);
}

/* ==========================================================
   12. ACCORDION
   ========================================================== */

.accordion{

    display:flex;

    flex-direction:column;

    gap:16px;
}

.accordion-item{

    background:
        rgba(255,255,255,.04);

    border:1px solid var(--border);

    border-radius:22px;

    overflow:hidden;

    backdrop-filter:blur(18px);

    transition:.25s ease;
}

.accordion-item:hover{

    border-color:
        rgba(59,130,246,.25);
}

.accordion-header{

    width:100%;

    background:none;

    border:none;

    color:#fff;

    cursor:pointer;

    padding:22px 24px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    text-align:left;
}

.category-title{

    display:flex;

    align-items:center;

    gap:14px;
}

.category-title span{

    display:flex;

    flex-direction:column;
}

.category-title small{

    color:var(--text-muted);

    margin-top:4px;
}

.category-icon{

    width:28px;
    height:28px;

    object-fit:contain;

    flex-shrink:0;
}

.arrow{

    font-size:26px;

    transition:.3s ease;
}

.accordion-content{

    display:none;

    border-top:
        1px solid rgba(255,255,255,.05);
}

.accordion-item.active .accordion-content{

    display:block;
}

.accordion-item.active .arrow{

    transform:rotate(45deg);
}

/* ==========================================================
   13. FILE CARDS
   ========================================================== */

.file-card{

    position:relative;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    padding:22px 24px;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

    border-bottom:
        1px solid rgba(255,255,255,.05);

    overflow:hidden;
}

.file-card:last-child{

    border-bottom:none;
}

.file-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:0;

    height:100%;

    background:
        linear-gradient(
            180deg,
            #2563eb,
            #60a5fa
        );

    transition:.25s ease;
}

.file-card:hover{

    background:
        rgba(255,255,255,.03);

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.12);
}

.file-card:hover::before{

    width:4px;
}

/* ==========================================================
   14. FILE INFO
   ========================================================== */

.file-info{

    display:flex;

    flex-direction:column;

    gap:8px;

    flex:1;

    min-width:0;
}

.file-name{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:15px;

    font-weight:700;

    color:#fff;

    word-break:break-word;
}

.file-icon{

    width:18px;

    height:18px;

    flex-shrink:0;
}

.file-meta{

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:10px;

    font-size:13px;

    color:var(--text-muted);
}

.file-meta span{

    opacity:.6;
}

/* ==========================================================
   16. FILE ACTION BUTTONS
   ========================================================== */

.file-actions{

    display:flex;

    align-items:center;

    gap:10px;

    flex-shrink:0;
}

.icon-btn{

    width:42px;
    height:42px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:12px;

    border:1px solid rgba(255,255,255,.08);

    background:
        rgba(255,255,255,.05);

    backdrop-filter:blur(12px);

    color:var(--text);

    cursor:pointer;

    text-decoration:none;

    transition:
        all .25s ease;
}

.icon-btn:hover{

    transform:
        translateY(-2px);

    background:
        rgba(255,255,255,.10);

    box-shadow:
        0 10px 25px rgba(0,0,0,.20);
}

.icon-btn:active{

    transform:
        translateY(0);
}

.icon-btn:disabled{

    opacity:.7;

    cursor:not-allowed;

    transform:none;
}

.icon-btn svg{

    width:18px;
    height:18px;

    fill:none;

    stroke:currentColor;

    stroke-width:2;

    stroke-linecap:round;

    stroke-linejoin:round;

    display:block;
}

.icon-btn.cooldown{

    pointer-events:none;

    opacity:.8;

    overflow:hidden;

    position:relative;
}

.icon-btn.cooldown::after{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:100%;

    background:
        linear-gradient(
            90deg,
            rgba(59,130,246,.35),
            rgba(96,165,250,.55)
        );

    transform-origin:left center;

    animation:
        cooldownBar 5s linear forwards;
}

@keyframes cooldownBar{

    from{
        transform:scaleX(1);
    }

    to{
        transform:scaleX(0);
    }
}

/* ==========================================================
   17. DOWNLOAD BUTTON
   ========================================================== */

.download-btn:hover{

    color:#22c55e;

    border-color:
        rgba(34,197,94,.35);

    box-shadow:
        0 10px 25px rgba(34,197,94,.15);
}

/* ==========================================================
   18. COPY BUTTON
   ========================================================== */

.copy-btn:hover{

    color:#60a5fa;

    border-color:
        rgba(96,165,250,.35);

    box-shadow:
        0 10px 25px rgba(96,165,250,.15);
}

.copy-btn.copied{

    color:#22c55e;

    border-color:
        rgba(34,197,94,.35);

    box-shadow:
        0 10px 25px rgba(34,197,94,.15);

    animation:
        copySuccess .35s ease;
}

/* ==========================================================
   19. COPY SUCCESS ANIMATION
   ========================================================== */

@keyframes copySuccess{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.15);
    }

    100%{
        transform:scale(1);
    }
}

/* ==========================================================
   20. BADGES
   ========================================================== */

.iso-badge{

    display:inline-flex;

    align-items:center;

    gap:6px;

    margin-left:10px;

    padding:6px 12px;

    border-radius:999px;

    font-size:11px;

    font-weight:700;

    line-height:1;

    white-space:nowrap;
}

.badge-gold{

    color:#f5b700;

    background:
        linear-gradient(
            135deg,
            rgba(245,183,0,.10),
            rgba(255,215,0,.18)
        );

    border:
        1px solid rgba(245,183,0,.25);

    box-shadow:
        0 0 14px rgba(245,183,0,.10);
}

.badge-gold:hover{

    transform:
        translateY(-1px);
}

/* ==========================================================
   21. TOAST
   ========================================================== */

#toast{

    position:fixed;

    top:24px;
    right:24px;

    min-width:280px;

    padding:16px 20px;

    border-radius:16px;

    background:
        rgba(34,197,94,.95);

    color:#fff;

    font-size:14px;
    font-weight:600;

    backdrop-filter:blur(18px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.25);

    opacity:0;

    transform:
        translateY(-20px);

    transition:
        opacity .25s ease,
        transform .25s ease;

    z-index:99999;
}

#toast.show{

    opacity:1;

    transform:
        translateY(0);
}

/* ==========================================================
   22. FLOATING CONTACT
   ========================================================== */

.floating-contact{

    position:fixed;

    right:24px;
    bottom:24px;

    height:56px;

    padding:0 22px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:999px;

    text-decoration:none;

    color:#fff;

    font-size:14px;
    font-weight:700;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );

    box-shadow:
        0 18px 40px rgba(59,130,246,.30);

    z-index:999;

    transition:.25s ease;
}

.floating-contact:hover{

    transform:
        translateY(-4px);

    box-shadow:
        0 25px 50px rgba(59,130,246,.40);
}

/* ==========================================================
   23. FOOTER
   ========================================================== */

.footer{

    position:relative;

    overflow:hidden;

    margin-top:40px;

    border-radius:28px;

    background:
        linear-gradient(
            135deg,
            #07112f 0%,
            #0a163d 50%,
            #07112f 100%
        );

    border:
        1px solid rgba(255,255,255,.06);

    box-shadow:
        0 20px 60px rgba(0,0,0,.30);
}

/* Glow Effects */

.footer::before{

    content:"";

    position:absolute;

    top:-200px;
    left:-200px;

    width:500px;
    height:500px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(59,130,246,.18),
            transparent 70%
        );

    pointer-events:none;
}

.footer::after{

    content:"";

    position:absolute;

    right:-180px;
    top:-120px;

    width:420px;
    height:420px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(34,197,94,.10),
            transparent 70%
        );

    pointer-events:none;
}

.footer-grid{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr;

    gap:60px;

    padding:48px;
}

/* Logo */

.footer-brand{

    display:flex;

    align-items:center;

    gap:20px;

    margin-bottom:24px;
}

.footer-logo-wrapper{

    position:relative;

    width:180px;

    height:60px;

    flex-shrink:0;
}

.footer-logo{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:contain;

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.footer-logo-dark{
    opacity:1;
}

.footer-logo-light{
    opacity:0;
}

.footer-company h4{

    color:#fff;

    font-size:26px;

    margin-bottom:10px;
}

.footer-company p{

    color:rgba(255,255,255,.70);

    line-height:1.7;

    font-size:14px;
}

/* Contact */

.footer-contact{

    display:flex;

    flex-direction:column;

    gap:12px;
}

.footer-contact a,
.footer-contact span{

    color:rgba(255,255,255,.75);

    text-decoration:none;

    transition:.25s ease;
}

.footer-contact a:hover{

    color:#60a5fa;
}

/* Columns */

.footer-column h5{

    color:#fff;

    font-size:20px;

    margin-bottom:24px;

    position:relative;
}

.footer-column h5::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-10px;

    width:50px;
    height:3px;

    border-radius:999px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #60a5fa
        );
}

.footer-column ul{

    list-style:none;
}

.footer-column li{

    margin-bottom:14px;
}

.footer-column a{

    color:rgba(255,255,255,.75);

    text-decoration:none;

    transition:.25s ease;
}

.footer-column a:hover{

    color:#93c5fd;

    padding-left:6px;
}

/* Bottom */

.footer-bottom{

    position:relative;

    z-index:2;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 48px;

    border-top:
        1px solid rgba(255,255,255,.06);

    color:
        rgba(255,255,255,.65);

    font-size:13px;
}

/* ==========================================================
   24. LIGHT THEME OVERRIDES
   ========================================================== */

body.light{

    --text:#111827;

    --text-muted:#6b7280;

    background:#f3f4f6;

    color:var(--text);
}

body.light .hero,
body.light .accordion-item,
body.light .footer,
body.light .stat-card{

    background:
        rgba(255,255,255,.85);

    border-color:
        rgba(0,0,0,.08);
}

body.light .brand-content p,
body.light .file-meta,
body.light .footer p,
body.light .section-header p,
body.light .stat-label{

    color:#6b7280;
}

body.light .accordion-header,
body.light .file-name,
body.light .section-header h3,
body.light .brand-content h1{

    color:#111827;
}

body.light .logo-dark,
body.light .footer-logo-dark{

    opacity:0;
}

body.light .logo-light,
body.light .footer-logo-light{

    opacity:1;
}

body.light .switch-track{

    background:
        linear-gradient(
            135deg,
            #f59e0b,
            #fbbf24
        );
}

body.light .switch-thumb{

    left:33px;
}

body.light #sortSelect{

    color:#111827;

    background:
        rgba(255,255,255,.95);

    border-color:
        rgba(0,0,0,.08);

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23111827' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 1 1 .708.708L8.354 10.354a.5.5 0 0 1-.708 0L4.646 7.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:
        right 14px center;

    background-size:18px;
}

body.light #sortSelect option{

    background:#ffffff;

    color:#111827;
}

body.light .file-card:hover{

    background:
        rgba(0,0,0,.025);
}

body.light .sticky-header{

    background:
        rgba(255,255,255,.82);

    border-bottom:
        1px solid rgba(0,0,0,.08);
}

body.light .contact-content{

    background:
        rgba(255,255,255,.96);

    border-color:
        rgba(0,0,0,.08);
}

body.light .contact-content h4,
body.light .contact-content a{

    color:#111827;
}

body.light .contact-handle{

    background:
        linear-gradient(
            180deg,
            #2563eb,
            #60a5fa
        );
}

body.light .contact-card{

    background:
        rgba(255,255,255,.96);

    border-color:
        rgba(0,0,0,.08);
}

body.light .contact-links a{

    color:#111827;
}

body.light .icon-btn{

    color:#111827;

    background:
        rgba(255,255,255,.95);

    border-color:
        rgba(0,0,0,.08);
}

body.light .footer{

    background-image:

        radial-gradient(
            rgba(37,99,235,.04) 1px,
            transparent 1px
        ),

        linear-gradient(
            135deg,
            #ffffff,
            #f8fafc
        );

    background-size:
        24px 24px,
        100% 100%;
}

body.light .footer::before{

    content:"";

    position:absolute;

    top:-150px;
    left:-150px;

    width:450px;
    height:450px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(37,99,235,.10),
            transparent 70%
        );

    opacity:1;
}

body.light .footer::after{

    content:"";

    position:absolute;

    top:-120px;
    right:-120px;

    width:400px;
    height:400px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(96,165,250,.08),
            transparent 70%
        );

    opacity:1;
}

body.light .footer-logo-dark{
    opacity:0;
}

body.light .footer-logo-light{
    opacity:1;
}

body.light .footer-company h4,
body.light .footer-column h5{

    color:#111827;
}

body.light .footer-company p,
body.light .footer-contact span,
body.light .footer-contact a,
body.light .footer-bottom{

    color:#6b7280;
}

body.light .footer-column a{

    color:#4b5563;
}

body.light .footer-column a:hover{

    color:#2563eb;
}

body.light .footer-bottom{

    border-top:
        1px solid rgba(0,0,0,.08);
}

body.light .brand-mirror{

    background:
        linear-gradient(
            90deg,
            #1d4ed8,
            #2563eb,
            #0891b2,
            #1d4ed8
        );

    background-size:
        300% 100%;

    -webkit-background-clip:text;
    background-clip:text;

    -webkit-text-fill-color:transparent;

    filter:
        drop-shadow(
            0 0 4px rgba(37,99,235,.15)
        );
}

@keyframes mirrorFlow{

    0%{
        background-position:0% 50%;
    }

    100%{
        background-position:300% 50%;
    }

}

/* ==========================================================
   25. RESPONSIVE
   ========================================================== */

@media(max-width:992px){

    .hero-top{

        flex-direction:column;

        align-items:flex-start;
    }

    .header-actions{

        width:100%;

        justify-content:space-between;
    }

    .hero-left h2{

        font-size:34px;
    }
}

@media(max-width:768px){

    .container{

        padding:20px 16px;
    }

    .hero{

        padding:24px;
    }

    .stats{

        grid-template-columns:1fr;
    }

    .file-card{

        flex-direction:column;

        align-items:flex-start;
    }

    .file-actions{

        width:100%;

        margin-top:12px;
    }

    .btn{

        flex:1;
    }

    .accordion-header{

        padding:18px;
    }

    .hero-left h2{

        font-size:28px;
    }

    .brand-content h1{

        font-size:26px;
    }
}

@media(max-width:576px){

    .header-actions{

        flex-direction:row;

        align-items:center;

        justify-content:flex-end;

        gap:10px;
    }

    #sortSelect{

        min-width:140px;
    }

    .theme-switch{

        justify-content:center;
    }

    .floating-contact{

        right:16px;
        bottom:16px;
    }

    #toast{

        left:16px;
        right:16px;

        min-width:auto;
    }
}
.sticky-header{

    padding:12px 16px;
}

.sticky-inner{

    flex-wrap:wrap;
}

.contact-menu{

    width:220px;
}


@media(max-width:768px){

    .ad-row{

        grid-template-columns:1fr;
    }

}

@media(max-width:992px){

    .footer-grid{

        grid-template-columns:1fr;

        gap:40px;
    }

    .footer-brand{

        flex-direction:column;

        align-items:flex-start;
    }

    .footer-bottom{

        flex-direction:column;

        gap:10px;

        text-align:center;
    }
}

/* ==========================================================
   26. CUSTOM SCROLLBAR
   ========================================================== */

::-webkit-scrollbar{

    width:12px;
    height:12px;
}

::-webkit-scrollbar-track{

    background:
        rgba(255,255,255,.03);

    border-radius:999px;
}

::-webkit-scrollbar-thumb{

    border-radius:999px;

    border:2px solid transparent;

    background:
        linear-gradient(
            180deg,
            #2563eb,
            #3b82f6,
            #22c55e,
            #3b82f6,
            #2563eb
        );

    background-size:
        300% 300%;

    background-clip:padding-box;

    animation:
        orfiScrollbar 5s ease infinite;

    box-shadow:
        0 0 10px rgba(59,130,246,.35),
        0 0 20px rgba(34,197,94,.15);
}

::-webkit-scrollbar-thumb:hover{

    box-shadow:
        0 0 15px rgba(59,130,246,.55),
        0 0 30px rgba(34,197,94,.25);
}

::-webkit-scrollbar-corner{

    background:transparent;
}

body.light ::-webkit-scrollbar-track{

    background:
        rgba(0,0,0,.05);
}

body.light ::-webkit-scrollbar-thumb{

    background:
        linear-gradient(
            180deg,
            #2563eb,
            #60a5fa,
            #22c55e,
            #60a5fa,
            #2563eb
        );

    background-size:
        300% 300%;

    animation:
        orfiScrollbar 5s ease infinite;
}

html{

    scrollbar-width:thin;

    scrollbar-color:
        #3b82f6
        transparent;
}

@keyframes orfiScrollbar{

    0%{
        background-position:
            0% 50%;
    }

    50%{
        background-position:
            100% 50%;
    }

    100%{
        background-position:
            0% 50%;
    }
}
/* ==========================================================
   27. STICKY HEADER
   ========================================================== */

.sticky-header{

    position:sticky;

    top:0;

    z-index:9999;

    padding:14px 24px;

    backdrop-filter:blur(20px);

    background:
        rgba(11,17,32,.72);

    border-bottom:
        1px solid rgba(255,255,255,.06);

    transition:
        background .25s ease,
        border-color .25s ease;
}

.sticky-inner{

    max-width:1280px;

    margin:0 auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;
}
/* ==========================================================
   28. CONTACT PANEL
   ========================================================== */

.support-widget{

    position:fixed;

    left:24px;
    bottom:24px;

    z-index:9999;
}

/* Toggle */

.support-toggle{

    width:64px;
    height:64px;

    border:none;

    cursor:pointer;

    border-radius:50%;

    color:#fff;

    font-size:28px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #60a5fa
        );

    box-shadow:
        0 15px 40px rgba(37,99,235,.35);

    transition:
        all .25s ease;

    animation:
        supportPulse 3s infinite;
}

.support-toggle:hover{

    transform:
        translateY(-3px)
        scale(1.05);
}

/* Pulse */

@keyframes supportPulse{

    0%{

        box-shadow:
            0 0 0 0 rgba(59,130,246,.45);

    }

    70%{

        box-shadow:
            0 0 0 18px rgba(59,130,246,0);

    }

    100%{

        box-shadow:
            0 0 0 0 rgba(59,130,246,0);

    }

}

/* Menu */

.support-menu{

    position:absolute;

    bottom:80px;

    left:0;

    width:240px;

    opacity:0;

    visibility:hidden;

    transform:
        translateY(15px);

    transition:
        all .25s ease;

    padding:10px;

    border-radius:20px;

    background:
        rgba(15,23,42,.85);

    border:
        1px solid rgba(255,255,255,.08);

    backdrop-filter:
        blur(20px);

    box-shadow:
        0 20px 60px rgba(0,0,0,.30);
}

.support-widget.active .support-menu{

    opacity:1;

    visibility:visible;

    transform:
        translateY(0);
}

/* Items */

.support-item{

    display:flex;

    align-items:center;

    gap:12px;

    padding:14px 16px;

    border-radius:14px;

    color:#fff;

    text-decoration:none;

    transition:
        all .2s ease;
}

.support-item:hover{

    background:
        rgba(255,255,255,.08);

    transform:
        translateX(5px);
}

/* Light Theme */

body.light .support-menu{

    background:
        rgba(255,255,255,.92);

    border:
        1px solid rgba(0,0,0,.08);
}

body.light .support-item{

    color:#111827;
}

/* ==========================================================
   28. STAT CARDS
   ========================================================== */
   
.stat-card{

    position:relative;

    overflow:hidden;

    padding:24px;

    border-radius:24px;

    background:
        rgba(255,255,255,.04);

    border:
        1px solid rgba(255,255,255,.08);

    backdrop-filter:
        blur(18px);

    transition:
        all .25s ease;
}

.stat-card:hover{

    transform:
        translateY(-4px);

    border-color:
        rgba(96,165,250,.25);

    box-shadow:
        0 12px 40px rgba(37,99,235,.12);
}

.stat-card::before{

    content:"";

    position:absolute;

    top:-40px;
    right:-40px;

    width:120px;
    height:120px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(96,165,250,.08),
            transparent 70%
        );
}

.stat-icon{

    width:52px;
    height:52px;

    display:flex;

    align-items:center;
    justify-content:center;

    margin-bottom:14px;

    border-radius:16px;

    font-size:22px;

    background:
        rgba(59,130,246,.12);

    border:
        1px solid rgba(96,165,250,.15);
}

.stat-label{

    display:block;

    margin-bottom:8px;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:1px;

    color:var(--text-muted);
}

.stat-card strong{

    display:block;

    font-size:32px;

    font-weight:800;

    color:var(--text);
}

.online{

    color:#22c55e !important;

    text-shadow:
        0 0 12px rgba(34,197,94,.35);
}

