:root{
--bg-dark:#0d0620;
--bg-dark2:#160a30;
--purple:#a855f7;       /* ungu pink */
--purple-dark:#7e22ce;
--pink:#ff4fd8;         /* pink neon */
--cyan:#7dd3fc;         /* biru muda */
--yellow:#ffd700;
--white:#ffffff;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
background:linear-gradient(180deg,#0d0620,#1b0d3d);
color:var(--white);
}

body::before{
content:"";
position:fixed;
top:-200px;
left:-200px;
width:500px;
height:500px;
background:radial-gradient(circle,var(--pink),transparent);
opacity:.18;
filter:blur(120px);
z-index:-1;
}

/* ===== HEADER ===== */
.header{
    top:0;
    left:0;
    width:100%;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(22,10,48,.9);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--purple);
    box-shadow:0 0 15px rgba(255,79,216,.4);
    position:relative;
    z-index:1000;

}


.header-title{
color:var(--yellow);
letter-spacing:1px;
}

.page{
padding-top:80px;
}

.menu-btn{
    position:absolute;
    left:20px;
    cursor:pointer;
    width:30px;
    
}
.menu-btn span{
    display:block;
    height:3px;
    background:var(--pink);
    box-shadow:0 0 6px var(--cyan);
    margin:6px 0;
    border-radius:3px;
}

.header-title{
    font-weight:600;
    letter-spacing:1px;
    color:gold;
}


.login-btn{
position:absolute;
right:20px;
top:36%;
transform:translateY(-20%);
padding:6px 14px;
border-radius:20px;
text-decoration:none;
font-size:14px;
background:linear-gradient(90deg,#a855f7,#ff4fd8);
color:white;
box-shadow:0 0 10px rgba(255,79,216,.6);
transition:.3s;
}

.login-btn:hover{

box-shadow:
0 0 15px #ff4fd8,
0 0 25px #7dd3fc;

}

/* ===== SIDEBAR ===== */
.sidebar{
    position:fixed;
    left:-260px;
    top:0;
    width:260px;
    height:100%;
    background:#160a30;
    padding:80px 20px;
    transition:.4s;
    border-right:1px solid var(--purple);
    box-shadow:0 0 15px rgba(255,79,216,.3);
}
.sidebar.active{
    left:0;
}
.sidebar ul{
    list-style:none;
    padding:20px;
    margin:0;
}
.sidebar li{
color:white;
margin-bottom:15px;
}

.sidebar a{
color:white;
text-decoration:none;
display:block;
padding:10px;
border-radius:8px;
transition:0.2s;
}

.sidebar a:hover{
background:rgba(255,79,216,.2);
color:#ffd700;
}

.sidebar li:hover{
background:rgba(255,79,216,.2);
color:var(--yellow);
}

/* ===== CONTENT ===== */
.content{
    padding-top:120px;
    padding-bottom:40px;
    width:90%;
    max-width:450px;
    margin:auto;
    animation:fadeIn .5s ease;
}

/* ===== BUTTON CARD ===== */
.card-btn{
    display:block;
    padding:18px;
    margin-bottom:20px;
    text-align:center;
    text-decoration:none;
    color:rgb(224, 145, 255);
    border-radius:15px;
    background:linear-gradient(145deg,#111,#1c1c1c);
    border:1px solid rgba(255,215,0,0.3);
    transition:.3s;
    box-shadow:0 0 10px rgba(255,215,0,0.1);
}

.card-btn:hover{
    transform:translateY(-5px);
    box-shadow:0 0 20px gold;
}


/* ===== PAGE TRANSITION ===== */
.fade-out{
    animation:fadeOut .3s forwards;
}

@keyframes fadeIn{
    from{opacity:0;transform:translateY(10px);}
    to{opacity:1;transform:translateY(0);}
}

@keyframes fadeOut{
    to{opacity:0;transform:translateY(-10px);}
}

/* ===== BACK BUTTON ===== */
.back-link{
    display:inline-block;
    margin-top:30px;
    color:gold;
    text-decoration:none;
}


/* ===== BBFS GENERATOR ===== */

.generator-box{
    background:linear-gradient(145deg,#111,#1c1c1c);
    border:1px solid rgba(255,215,0,0.3);
    padding:25px;
    border-radius:15px;
    box-shadow:0 0 15px rgba(255,215,0,0.1);
    margin-bottom:30px;
}

.generator-box label{
    display:block;
    margin-bottom:10px;
    color:gold;
    font-size:14px;
}

.generator-box input{
    width:100%;
    padding:12px;
    border-radius:10px;
    border:1px solid rgba(255,215,0,0.3);
    background:#000;
    color:gold;
    margin-bottom:15px;
    outline:none;
}

.generate-btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    background:gold;
    color:black;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.generate-btn:hover{
    box-shadow:0 0 15px gold;
    transform:translateY(-3px);
}

.result-box{
    margin-top:25px;
    padding:20px;
    border-radius:12px;
    background:#0f0f0f;
    border:1px solid rgba(255,215,0,0.2);
    text-align:center;
    font-size:22px;
    letter-spacing:3px;
    color:gold;
    min-height:50px;
}


/* background glow */

body{
background:
radial-gradient(circle at 20% 20%, rgba(255,79,216,.15), transparent 40%),
radial-gradient(circle at 80% 80%, rgba(125,211,252,.15), transparent 40%),
#0b0320;
}

a{

transition:0.3s;

}

a:hover{

transform:translateY(-3px);

box-shadow:
0 0 10px #ff4fd8,
0 0 20px #7dd3fc;

}

body::before{

content:"";

position:fixed;
top:0;
left:0;

width:100%;
height:100%;

background-image:
linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

background-size:40px 40px;

z-index:-1;

}

.header-title{
font-family:'Orbitron', sans-serif;
font-size:19px;
letter-spacing:3px;
font-weight:700;
color:#ffd700;
text-transform:uppercase;
text-shadow:
0 0 5px rgba(255,215,0,.5),
0 0 10px rgba(168,85,247,.5);
}
