* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    height: 100vh;
    background: #000;
    overflow: hidden;
    color: white;
}

.bg {
    position: fixed;
    inset: 0;
    background: url("random.png") center / cover no-repeat;
    filter: blur(10px) brightness(0.35);
    z-index: -1;
}


.box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,255,200,.3);
    width: 300px;
}

h1 {
    color: #7f8cff;
    margin-bottom: 5px;
}

.sub {
    color: #00ffd5;
    font-size: 14px;
}

.inputs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

input {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #00ffd5;
    border-radius: 8px;
    color: #00ffd5;
    text-align: center;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 12px;
    background: rgba(0,255,200,0.2);
    border: none;
    color: #00ffd5;
    font-size: 18px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,255,200,.5);
    transition: 0.2s;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0,255,200,1);
}

.result {
    margin-top: 25px;
    font-size: 40px;
    color: #00ffc8;
    text-shadow: 0 0 15px rgba(0,255,200,.9);
}

.back-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0, 255, 200, 0.15);
    border: 1px solid rgba(0, 255, 200, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 18px rgba(0,255,200,.7);
    transition: 0.25s ease;
    z-index: 999;
}

.back-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 35px rgba(0,255,200,1);
}


