/* Base */
html, body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden; /* Un-scrollable */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container */
.container {
    background: #111;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,0,0,0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Title */
h1 {
    margin-bottom: 10px;
    color: #ff3c3c;
    font-size: 28px;
}

/* Input */
input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background: #222;
    color: #fff;
    font-size: 16px;
    text-align: center; /* center align text */
}

/* Buttons */
button {
    padding: 12px 25px;
    border-radius: 6px;
    border: none;
    background: #ff3c3c;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
}

/* Result */
#result {
    margin-top: 15px;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#result a {
    color: #ff6b6b;
    text-decoration: underline;
    word-break: break-all;
}

#result button {
    padding: 8px 15px;
    font-size: 14px;
}

/* Bottom */
.bottom-btn {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}
.bottom-btn a {
    background: #ff3c3c;
    padding: 6px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
}

/* Copy alert */
.copy-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff3c3c;
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    z-index: 9999;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }
    h1 {
        font-size: 24px;
    }
    input {
        font-size: 14px;
    }
    button {
        font-size: 14px;
        padding: 10px 20px;
    }
}
