@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    min-height:100vh;
    background: linear-gradient(-45deg, #0f172a, #1e293b, #2563eb, #0ea5e9);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
    overflow-x:hidden;
}

/* animasi background */
@keyframes gradientMove {
    0% {background-position:0% 50%;}
    50% {background-position:100% 50%;}
    100% {background-position:0% 50%;}
}

/* efek bulatan blur futuristik */
body::before,
body::after{
    content:'';
    position:fixed;
    width:300px;
    height:300px;
    border-radius:50%;
    filter:blur(100px);
    z-index:-1;
}

body::before{
    background:#38bdf8;
    top:10%;
    left:10%;
}

body::after{
    background:#8b5cf6;
    bottom:10%;
    right:10%;
}

.container{
    width:100%;
    max-width:520px;
    text-align:center;
    padding:35px 30px;
    border-radius:28px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border:1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    animation: fadeIn 1s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.profile img{
    width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid rgba(255,255,255,0.4);
    margin-bottom:18px;
    animation: swingLogo 4s ease-in-out infinite, pulseGlow 2s ease-in-out infinite;
    transform-style: preserve-3d;
}
@keyframes swingLogo {
    0% {
        transform: rotateY(-35deg);
    }
    50% {
        transform: rotateY(35deg);
    }
    100% {
        transform: rotateY(-35deg);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(255,255,255,0.2);
    }
    50% {
        box-shadow: 0 0 35px rgba(56,189,248,0.8);
    }
    100% {
        box-shadow: 0 0 15px rgba(255,255,255,0.2);
    }
}

.profile h3{
    color:white;
    font-size:24px;
    font-weight:600;
    margin-bottom:8px;
}

.profile p{
    color:rgba(255,255,255,0.85);
    font-size:14px;
    margin-bottom:25px;
}

.profile{
    perspective: 1000px;
}

/* tombol link */
.link-btn{
    display:block;
    padding:16px 20px;
    margin:14px 0;
    border-radius:16px;
    text-decoration:none;
    font-size:16px;
    font-weight:500;
    color:white;
    background: rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition:all 0.35s ease;
    box-shadow:0 4px 20px rgba(0,0,0,0.15);
}

.link-btn:hover{
    transform:translateY(-4px) scale(1.02);
    background: rgba(255,255,255,0.22);
    box-shadow:0 8px 25px rgba(0,0,0,0.25);
}

/* admin area */
.login-box,
.dashboard{
    width:400px;
    margin:50px auto;
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(15px);
    padding:30px;
    border-radius:20px;
    color:white;
}

input{
    width:100%;
    padding:12px;
    margin-top:10px;
    border:none;
    border-radius:10px;
    outline:none;
}

button{
    margin-top:15px;
    padding:12px 20px;
    border:none;
    border-radius:10px;
    background:linear-gradient(45deg,#3b82f6,#06b6d4);
    color:white;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

button:hover{
    transform:scale(1.05);
    box-shadow:0 5px 15px rgba(59,130,246,0.4);
}

table{
    width:100%;
    margin-top:20px;
    color:white;
}

table td{
    padding:10px;
}

#sortable-list{
    list-style:none;
    padding:0;
}

.item{
    background:rgba(255,255,255,0.15);
    padding:15px;
    margin:10px 0;
    border-radius:14px;
    cursor:move;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:white;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

/* DASHBOARD ADMIN */
.dashboard{
    width:100%;
    max-width:650px;
    margin:auto;
    padding:35px;
    border-radius:25px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border:1px solid rgba(255,255,255,0.18);
    box-shadow:0 8px 32px rgba(0,0,0,0.35);
    color:white;
    animation: fadeIn 0.8s ease;
}

.dashboard h2{
    text-align:center;
    margin-bottom:25px;
    font-size:28px;
    font-weight:600;
}

/* form */
.dashboard form{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-bottom:30px;
}

.dashboard input{
    width:100%;
    padding:14px 16px;
    border:none;
    border-radius:14px;
    outline:none;
    font-size:15px;
    background:rgba(255,255,255,0.15);
    color:white;
    border:1px solid rgba(255,255,255,0.15);
}

.dashboard input::placeholder{
    color:rgba(255,255,255,0.7);
}

.dashboard button{
    padding:14px;
    border:none;
    border-radius:14px;
    background:linear-gradient(45deg,#3b82f6,#06b6d4);
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.dashboard button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(59,130,246,0.4);
}

/* sortable list */
#sortable-list{
    list-style:none;
    padding:0;
    margin:0;
}

.item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 18px;
    margin-bottom:14px;
    border-radius:16px;
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.12);
    color:white;
    cursor:grab;
    transition:0.3s;
    box-shadow:0 4px 15px rgba(0,0,0,0.15);
}

.item:hover{
    transform:scale(1.02);
    background:rgba(255,255,255,0.18);
}

.item span{
    font-weight:500;
    font-size:15px;
}

/* tombol hapus */
.item a{
    text-decoration:none;
    background:#ef4444;
    color:white;
    padding:8px 14px;
    border-radius:10px;
    font-size:13px;
    font-weight:500;
    transition:0.3s;
}

.item a:hover{
    background:#dc2626;
    transform:scale(1.05);
}