*{box-sizing:border-box}

body{
    margin:0;
    font-family:Arial,sans-serif;
    color:#111;
    background:linear-gradient(300deg,#fead08,#8affb8,#b2b2ff);
    background-size:180% 180%;
    animation:gradient-animation 18s ease infinite;
}

 
@keyframes gradient-animation{
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

.wrap{
    max-width:1400px;
    margin:auto;
    padding:20px;
}

.logo{
    height:65px;
}

.header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:22px;
}

.box,
.hero,
.new-files{
    background:rgba(255,255,255,.90);
    backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,.60);
    box-shadow:0 14px 35px rgba(0,0,0,.10);
}

.box{
    padding:22px;
    border-radius:26px;
}

.hero{
    padding:18px;
    border-radius:26px;
    margin-bottom:20px;
}

.hero h1{
    margin:0 0 15px;
    font-size:42px;
    text-align:center;
}

.hero-carousel{
    height:240px;
    border-radius:18px;
    overflow:hidden;
    background:#f8faff;
}

.hero-carousel img{
    width:100%;
    height:240px;
    object-fit:cover;
}

/* Search */

.search-wrap{
    position:relative;
    width:100%;
    max-width:560px;
    z-index:50;
}

.search-row{
    display:flex;
    gap:10px;
    width:100%;
}

.search-row .search{
    flex:1;
}

.search{
    width:100%;
    padding:14px 18px;
    border:2px solid #e5e9ff;
    border-radius:14px;
    background:#fff;
    color:#171717;
    font-size:15px;
    font-weight:500;
    outline:none;
    transition:.3s;
    box-shadow:0 8px 24px rgba(123,44,255,.06);
}

.search::placeholder{color:#8a8fa3}

.search:focus{
    border-color:#7b2cff;
    box-shadow:0 0 0 4px rgba(123,44,255,.10),0 12px 30px rgba(123,44,255,.12);
}

.search-btn{
    background:#7b2cff;
    white-space:nowrap;
}

.suggestions{
    position:absolute;
    top:58px;
    left:0;
    right:0;
    background:#fff;
    border:1px solid #e5e9ff;
    border-radius:16px;
    box-shadow:0 16px 40px rgba(0,0,0,.16);
    z-index:9999;
    overflow:hidden;
    display:none;
}

.suggestion-item{
    padding:13px 15px;
    cursor:pointer;
    border-bottom:1px solid #f0f2ff;
}

.suggestion-item:hover{background:#f4f7ff}

.suggestion-item strong{
    display:block;
    font-size:14px;
}

.suggestion-item small{
    display:block;
    margin-top:4px;
    color:#666;
    font-size:12px;
}

/* Main Layout */

.grid{
    display:grid;
    grid-template-columns:220px minmax(0,1fr) 220px;
    gap:18px;
    align-items:start;
}

.path{
    background:#f8faff;
    padding:14px;
    border-radius:18px;
    min-height:350px;
}

.path div{
    padding:12px;
    border-radius:12px;
    margin-bottom:8px;
    cursor:pointer;
    transition:.25s;
}

.path div:hover{background:#eef3ff}

.path div.active{
    background:linear-gradient(90deg,#7b2cff,#f58220,#8cc63f);
    color:#fff;
    font-weight:bold;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:18px;
}

.card{
    background:linear-gradient(300deg,#85f369,#e0eda4,#a3deff);
    background-size:180% 180%;
    animation:gradient1-animation 9s ease infinite;
    border:4px solid #dde6ff;
    padding:18px;
    border-radius:18px;
    cursor:pointer;
    transition:.25s;
}

@keyframes gradient1-animation{
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

.card:hover{
    transform:translateY(-4px);
    border-color:#f58220;
}

.file-type-card{min-height:150px}

.file-card{
    grid-column:1/-1;
}

.btn,
button{
    display:inline-block;
    padding:13px 18px;
    background:#f58220;
    color:#fff;
    border:none;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
    cursor:pointer;
    transition:.25s;
}

.btn:hover,
button:hover{
    transform:translateY(-2px);
}

.back-btn{
    background:#7b2cff;
    margin-bottom:15px;
}

/* Sidebar Ad */

.ad-box{
    background:#fff;
    border-radius:22px;
    padding:14px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    min-height:350px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    position:sticky;
    top:20px;
    color:#777;
    text-align:center;
}

.ad-box img{
    width:100%;
    border-radius:18px;
    object-fit:cover;
    transition:.3s;
}

.ad-box img:hover{
    transform:scale(1.03);
}

/* Newly Added Files */

.new-files{
    margin-top:25px;
    padding:22px;
    border-radius:26px;
}

.section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:16px;
}

.section-head h2{
    margin:0;
    font-size:26px;
}

.section-head p{
    margin:5px 0 0;
    color:#666;
}

.new-files-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:14px;
}

.new-file-card{
    display:block;
    background:linear-gradient(300deg,#cbffb3,#f2acff,#acc6ff,#ff57b0);
    background-size:240% 240%;
    animation:gradient-animation 24s ease infinite;
    border:1px solid #e3e9ff;
    border-radius:18px;
    padding:14px;
    min-height:155px;
    text-decoration:none;
    color:#111;
    box-shadow:0 8px 22px rgba(123,44,255,.07);
    transition:.25s ease;
}

.new-file-card:hover{
    transform:translateY(-4px);
    border-color:#f58220;
    box-shadow:0 14px 30px rgba(245,130,32,.14);
}

.new-file-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:8px;
    margin-bottom:12px;
}

.file-badge{
    max-width:105px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    padding:5px 8px;
    border-radius:999px;
    background:#f4f7ff;
    color:#7b2cff;
    font-size:11px;
    font-weight:bold;
}

.price-badge,
.free-badge{
    padding:5px 8px;
    border-radius:999px;
    font-size:11px;
    font-weight:bold;
    white-space:nowrap;
}

.price-badge{
    background:#fff1df;
    color:#f58220;
}

.free-badge{
    background:#eaffef;
    color:#1c8c42;
}

.new-file-card h3{
    margin:0 0 8px;
    font-size:15px;
    line-height:1.35;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.new-file-card p{
    margin:0;
    color:#666;
    font-size:12px;
    line-height:1.4;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.card-action{
    margin-top:12px;
    color:#7b2cff;
    font-size:13px;
    font-weight:bold;
}

.price{color:#f58220;font-weight:bold}
.free{color:#1c8c42;font-weight:bold}

.site-footer{
    margin-top:30px;
    background:rgba(255,255,255,.90);
    backdrop-filter:blur(14px);
    border-radius:26px 26px 0 0;
    padding:24px;
    box-shadow:0 -10px 30px rgba(0,0,0,.08);
}

.footer-inner{
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
}

.footer-inner h3{
    margin:0 0 8px;
}

.footer-inner p{
    margin:0;
    color:#666;
}

.footer-links{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.footer-links a{
    color:#7b2cff;
    text-decoration:none;
    font-weight:bold;
}

.footer-bottom{
    max-width:1400px;
    margin:18px auto 0;
    padding-top:15px;
    border-top:1px solid #e5e9ff;
    color:#666;
    font-size:14px;
}

@media(max-width:700px){
    .footer-inner{
        flex-direction:column;
    }
}
/* Responsive */

@media(max-width:1100px){
    .grid{grid-template-columns:1fr}
    .path{min-height:auto}
    .ad-box{min-height:auto;position:relative;top:0}
    .new-files-grid{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:900px){
    .cards{grid-template-columns:1fr}
    .header{flex-direction:column;align-items:flex-start}
    .search-wrap{max-width:100%}
}

@media(max-width:700px){
    .new-files-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:600px){
    .search-row{flex-direction:column}
    .search-btn{width:100%}
    .suggestions{top:112px}
}

@media(max-width:480px){
    .wrap{padding:16px}
    .new-files-grid{grid-template-columns:1fr}
    .hero h1{font-size:34px}
}

/* Premium Particle Network Background */

#particles-bg{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    z-index:0;
    pointer-events:none;
}

.wrap,
.site-footer{
    position:relative;
    z-index:1;
}

body{
    overflow-x:hidden;
}