* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#vanta-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

body {
    font-family: 'Orbitron', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 30px;
}

body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 51, 102, 0.02) 25%, rgba(0, 51, 102, 0.02) 26%, transparent 27%, transparent 74%, rgba(0, 51, 102, 0.02) 75%, rgba(0, 51, 102, 0.02) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 51, 102, 0.02) 25%, rgba(0, 51, 102, 0.02) 26%, transparent 27%, transparent 74%, rgba(0, 51, 102, 0.02) 75%, rgba(0, 51, 102, 0.02) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    pointer-events: none;
}

.container {
    background: rgba(0, 0, 0, 0.85);
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow:
        0 0 60px rgba(82, 44, 82, 0.4),
        0 0 100px rgba(60, 37, 74, 0.3),
        inset 0 0 60px rgba(22, 53, 80, 0.1);
    width: 90%;
    max-width: 520px;
    border: 3px solid rgba(82, 44, 82, 0.5);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #3c254a, #522c52, #3c254a);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(15px);
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
    font-size: 1.92em;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow:
        0 0 15px rgba(82, 44, 82, 0.9),
        0 0 30px rgba(82, 44, 82, 0.6),
        0 0 45px rgba(82, 44, 82, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.glow {
    color: #9b5db6;
    text-shadow: 
        0 0 15px rgba(155, 93, 182, 1),
        0 0 30px rgba(155, 93, 182, 0.8),
        0 0 45px rgba(155, 93, 182, 0.6),
        0 0 60px rgba(82, 44, 82, 0.4);
}

.input-group {
    margin-bottom: 28px;
}

.output-group {
}

label {
    display: block;
    margin-bottom: 12px;
    color: #9b5db6;
    font-weight: 700;
    font-size: 0.76em;
    letter-spacing: 3px;
    text-shadow:
        0 0 10px rgba(155, 93, 182, 0.8),
        0 0 20px rgba(155, 93, 182, 0.4);
}

input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(82, 44, 82, 0.5);
    border-radius: 12px;
    font-size: 16px;
    font-family: sans-serif;
    color: #fff;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(82, 44, 82, 0.2);
}

input[type="text"]:focus {
    outline: none;
    border-color: #9b5db6;
    box-shadow: 
        0 0 25px rgba(155, 93, 182, 0.6),
        inset 0 0 30px rgba(82, 44, 82, 0.2);
}

input[type="text"]::placeholder {
    color: rgba(82, 44, 82, 0.4);
}

#output {
    background: rgba(20, 10, 30, 0.8);
    border-color: rgba(155, 93, 182, 0.6);
    color: #c56dd6;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1.5px;
    text-shadow:
        0 0 8px rgba(197, 109, 214, 0.6),
        0 0 15px rgba(155, 93, 182, 0.3);
}

button {
    width: 100%;
    padding: 16px;
    margin-top: 12px;
    background: linear-gradient(135deg, #3c254a 0%, #9b5db6 50%, #3c254a 100%);
    color: #fff;
    border: 2px solid rgba(155, 93, 182, 0.6);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow:
        0 5px 25px rgba(82, 44, 82, 0.5),
        0 0 30px rgba(155, 93, 182, 0.3),
        inset 0 0 20px rgba(155, 93, 182, 0.1);
    position: relative;
    overflow: hidden;
}

button:hover {
    background: linear-gradient(135deg, #522c52 0%, #b56ec6 50%, #522c52 100%);
    box-shadow: 
        0 5px 25px rgba(82, 44, 82, 0.7),
        0 0 40px rgba(155, 93, 182, 0.5),
        inset 0 0 20px rgba(155, 93, 182, 0.2);
}

.decoration {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(82, 44, 82, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.4;
}

.by-line {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8em;
    letter-spacing: 2px;
}

.by-line a {
    color: #9b5db6;
    text-decoration: none;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.by-line a:hover {
    opacity: 1;
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        text-shadow:
            0 0 5px rgba(155, 93, 182, 0.5),
            0 0 10px rgba(155, 93, 182, 0.3);
    }
    50% {
        opacity: 0.9;
        text-shadow:
            0 0 10px rgba(155, 93, 182, 0.8),
            0 0 20px rgba(155, 93, 182, 0.5),
            0 0 30px rgba(155, 93, 182, 0.3);
    }
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
