*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#0d0018;
    color:white;
    overflow-x:hidden;
}

/* Animated Background */
.background{
    position:fixed;
    width:100%;
    height:100%;
    background:
    radial-gradient(circle at 30% 30%, #6a00ff44, transparent 60%),
    radial-gradient(circle at 70% 70%, #ff00ff33, transparent 60%);
    animation:pulse 6s infinite alternate;
    z-index:-1;
}

@keyframes pulse{
    from{transform:scale(1);}
    to{transform:scale(1.1);}
}

/* HERO */

.hero{
    text-align:center;
    padding:80px 20px 60px;
}

.logo{
    font-size:60px;
    background:linear-gradient(45deg,#ff00ff,#7a00ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    margin-bottom:20px;
}

.nav-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-bottom:25px;
}

.nav-btn{
    padding:12px 30px;
    border:2px solid #a200ff;
    border-radius:30px;
    background:transparent;
    color:white;
    cursor:pointer;
    transition:0.3s;
}

.nav-btn:hover{
    background:#a200ff33;
    box-shadow:0 0 20px #a200ff;
}

/* LOGIN */

.login-box{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-bottom:20px;
}

.login-box input{
    padding:12px 20px;
    width:260px;
    border-radius:30px;
    border:2px solid #a200ff;
    background:transparent;
    color:white;
}

.login-btn{
    padding:12px 30px;
    border:none;
    border-radius:30px;
    background:linear-gradient(45deg,#ff00ff,#7a00ff);
    color:white;
    cursor:pointer;
    transition:0.3s;
}

.login-btn:hover{
    box-shadow:0 0 20px #ff00ff;
}

.discord-text{
    margin-bottom:15px;
    opacity:0.8;
}

.discord-btn{
    padding:12px 40px;
    border:none;
    border-radius:30px;
    background:#5865F2;
    color:white;
    cursor:pointer;
    transition:0.3s;
}

.discord-btn:hover{
    box-shadow:0 0 20px #5865F2;
}

/* SCRIPTS SECTION */

.scripts-section{
    padding:60px 20px 80px;
    text-align:center;
    position:relative;
}

.scripts-section.locked::after{
    content:"🔒 Locked - Login Required";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(8px);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    border-radius:30px;
}

.scripts-title{
    font-size:40px;
    margin-bottom:30px;
    background:linear-gradient(45deg,#ff00ff,#7a00ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* Controls */

.controls{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-bottom:40px;
}

.controls input,
.controls select{
    padding:10px 20px;
    border-radius:30px;
    border:2px solid #a200ff;
    background:transparent;
    color:white;
}

/* Grid */

.scripts-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
    max-width:1200px;
    margin:0 auto 40px;
}

.script-card{
    background:rgba(255,255,255,0.05);
    border-radius:20px;
    padding:20px;
    backdrop-filter:blur(12px);
    transition:0.3s;
}

.script-card:hover{
    transform:translateY(-5px);
    box-shadow:0 0 30px #a200ff55;
}

.script-image{
    height:160px;
    border-radius:15px;
    margin-bottom:15px;
    background:linear-gradient(45deg,#ff00ff55,#7a00ff55);
}

.copies{
    opacity:0.7;
}

/* Pagination */

.pagination{
    display:flex;
    justify-content:center;
    gap:10px;
}

.pagination button{
    padding:8px 15px;
    border:none;
    border-radius:10px;
    background:#333;
    color:white;
    cursor:pointer;
}

.pagination button:hover{
    background:#a200ff;
}

/* Responsive */

@media(max-width:900px){
    .scripts-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .scripts-grid{
        grid-template-columns:1fr;
    }
}

.description{
    margin:15px 0;
    padding:15px;
    background:rgba(255,255,255,0.05);
    border-radius:15px;
    backdrop-filter:blur(10px);
    text-align:left;
    line-height:1.6;
}

.code-box{
    margin:15px 0;
    padding:15px;
    background:#0a0015;
    border-radius:15px;
    font-family:monospace;
    overflow-x:auto;
    white-space:pre;
    opacity:0.8;
}

.copy-btn{
    padding:10px 25px;
    border:none;
    border-radius:25px;
    background:linear-gradient(45deg,#ff00ff,#7a00ff);
    color:white;
    cursor:pointer;
    transition:0.3s;
}

.copy-btn:hover{
    box-shadow:0 0 20px #ff00ff;
}

.copy-btn:disabled{
    opacity:0.4;
    cursor:not-allowed;
}

.scripts-wrapper{
    max-width:1200px;
    margin:0 auto;
    padding:40px;
    border-radius:30px;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(20px);
}

.description{
    margin:15px 0;
    padding:15px;
    background:rgba(255,255,255,0.05);
    border-radius:15px;
    backdrop-filter:blur(10px);
    white-space:pre-line;
    text-align:left;
}

.code-box{
    margin:15px 0;
    padding:15px;
    background:#0a0015;
    border-radius:15px;
    font-family:monospace;
    overflow-x:auto;
    white-space:pre;
}

.copy-btn{
    padding:10px 25px;
    border:none;
    border-radius:25px;
    background:linear-gradient(45deg,#ff00ff,#7a00ff);
    color:white;
    cursor:pointer;
    transition:0.3s;
}

.copy-btn:hover{
    box-shadow:0 0 20px #ff00ff;
}

.copy-btn:disabled{
    opacity:0.4;
    cursor:not-allowed;
}

.script-image{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:15px;
    margin-bottom:15px;
}

.description-box{
    background:rgba(255,255,255,0.07);
    padding:15px;
    border-radius:15px;
    margin-bottom:15px;
    backdrop-filter:blur(10px);
}

.script-code-box{
    background:#000;
    padding:12px;
    border-radius:12px;
    margin-bottom:15px;
    font-family:monospace;
    overflow-x:auto;
}

.script-card button{
    padding:10px 30px;
    border:none;
    border-radius:30px;
    background:linear-gradient(45deg,#ff00ff,#7a00ff);
    color:white;
    cursor:pointer;
    transition:0.3s;
}

.script-card button:hover{
    box-shadow:0 0 20px #ff00ff;
}


.script-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.copy-btn {
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(45deg,#ff00ff,#7a00ff);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.copy-btn:hover {
    box-shadow: 0 0 20px #a200ff;
}

.scripts-grid{
    transition: all 0.3s ease;
}

.script-card{
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn{
    from{opacity:0; transform:translateY(15px);}
    to{opacity:1; transform:translateY(0);}
}


/* ===== CUSTOM DROPDOWN ===== */

.custom-select {
    position: relative;
    width: 160px;
    cursor: pointer;
}

.select-selected {
    background: rgba(20,0,40,0.6);
    border: 2px solid #a200ff;
    padding: 12px 20px;
    border-radius: 30px;
    color: white;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.select-selected:hover {
    box-shadow: 0 0 20px #a200ff;
}

.select-items {
    position: absolute;
    background: rgba(20,0,40,0.95);
    border-radius: 20px;
    margin-top: 10px;
    width: 100%;
    backdrop-filter: blur(15px);
    overflow: hidden;
    animation: dropdownFade 0.25s ease;
    box-shadow: 0 0 25px #a200ff55;
    z-index: 999;
}

.select-items div {
    padding: 12px;
    color: white;
    transition: 0.2s;
}

.select-items div:hover {
    background: #a200ff33;
}

.select-hide {
    display: none;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ===== CUSTOM SELECT FIX ===== */

.controls select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: rgba(30, 0, 60, 0.8);
    color: #ffffff;
    border: 2px solid #a200ff;
    border-radius: 30px;
    padding: 10px 40px 10px 20px;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(162, 0, 255, 0.4);
}

/* Dropdown hover */
.controls select:hover {
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.6);
}

/* Options Styling */
.controls select option {
    background: #1a0033;
    color: #ffffff;
}

/* Remove ugly default arrow */
.controls select::-ms-expand {
    display: none;
}

/* Custom arrow */
.controls {
    position: relative;
}

.controls select {
    background-image: linear-gradient(45deg, transparent 50%, #ff00ff 50%),
                      linear-gradient(135deg, #ff00ff 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 3px),
                         calc(100% - 15px) calc(50% - 3px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}


.executor-img{
    width:100%;
    height:160px;
    object-fit:cover;
    border-radius:15px;
    margin-bottom:15px;
}

.download-btn{
    margin-top:10px;
    padding:10px 20px;
    border:none;
    border-radius:20px;
    background:linear-gradient(45deg,#00eaff,#7a00ff);
    color:white;
    cursor:pointer;
    transition:0.3s;
}

.download-btn:hover{
    box-shadow:0 0 20px #00eaff;
}

