/* Base */
body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container (centered content, max height to prevent overlap) */
.container {
    background: #111;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: calc(100vh - 80px); /* leave room for "More" button */
    overflow: auto; /* scroll if content exceeds container */
}

/* Title */
h1 {
    margin-bottom: 25px;
    color: #ff3c3c;
    font-size: 28px;
    text-shadow: 0 0 8px #ff3c3c;
}

/* Input */
input[type=text] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 6px;
    background: #222;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 0 5px rgba(255,0,0,0.2);
}

input[type=text]:focus {
    outline: none;
    box-shadow: 0 0 12px #ff3c3c;
}

input::placeholder {
    color: #aaa;
}

/* Generate Button */
button {
    padding: 12px 25px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    background: #ff3c3c;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
    box-shadow: 0 0 5px rgba(255,0,0,0.4);
}

button:hover {
    background: #e63636;
    box-shadow: 0 0 15px #ff3c3c, 0 0 30px #ff3c3c;
}

/* Result link */
#result {
    margin-top: 20px;
    word-break: break-word;
}

#result a {
    color: #ff6b6b;
    text-decoration: underline;
    text-shadow: 0 0 5px #ff6b6b, 0 0 10px #ff3c3c;
    animation: neonPulse 1.5s infinite alternate;
}

/* Neon Pulse Animation */
@keyframes neonPulse {
    0% { text-shadow: 0 0 5px #ff6b6b, 0 0 10px #ff3c3c; }
    50% { text-shadow: 0 0 10px #ff6b6b, 0 0 20px #ff3c3c; }
    100% { text-shadow: 0 0 5px #ff6b6b, 0 0 10px #ff3c3c; }
}

/* Bottom More Button (fixed at viewport bottom) */
.bottom-btn {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.bottom-btn a {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 6px;
    background: #ff3c3c;
    color: #000;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none;
    box-shadow: 0 0 5px rgba(255,0,0,0.4);
    animation: neonPulse 1.5s infinite alternate;
    transition: 0.3s;
}

.bottom-btn a:hover {
    background: #e63636;
    box-shadow: 0 0 15px #ff3c3c, 0 0 30px #ff3c3c;
}

/* Mobile friendly */
@media (max-width: 500px) {
    .container { padding: 20px 15px; max-height: calc(100vh - 70px); }
    h1 { font-size: 24px; }
    button { width: 100%; padding: 12px 0; }
    .bottom-btn a { padding: 8px 20px; font-size: 12px; }
}
