* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    height: 100vh;
    overflow: hidden;
    transition: 0.3s;
}

/* CANVAS */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* THEMES */
body.dark {
    background: #0b0b0b;
    color: rgb(232, 8, 8);
}

body.light {
    background: #50030398;
    color: black;
}

/* CONTAINER */
.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

/* TITLE */
.title {
    font-size: 28px;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* INPUT */
input {
    padding: 10px;
    border: none;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
    width: 140px;
    outline: none;
}

/* DISPLAY */
.display {
    font-size: 60px;
    font-weight: bold;
    background: linear-gradient(90deg, #d4af37, #fcfbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BUTTONS */
.controls {
    display: flex;
    gap: 20px;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: black;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    transform: scale(1.1);
}

/* OPTIONS */
.options {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

label {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* MOBILE */
@media (max-width: 600px) {
    .display {
        font-size: 40px;
    }

    input {
        width: 100px;
    }
}