:root {
    --bg-color: #120b15;
    --card-bg: #1a121e;
    --eye-white: #f0e8f3;
    --eye-iris: #7b287d;
    --eye-pupil: #000000;
    --accent-color: #e05fe6;
    --accent-glow: rgba(224, 95, 230, 0.4);
    --text-color: #d4def5;
    --text-shadow: rgba(0, 255, 255, 0.5);
    --weird-border: #423049;
    --weird-highlight: #564162;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Space Mono', monospace;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.chaos-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: -2;
}

#eyes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.background-eye {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--eye-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    animation: blink 5s infinite;
}

.background-eye::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--eye-iris);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-eye::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    background: var(--eye-pupil);
    border-radius: 50%;
    animation: look-around 4s infinite;
}

@keyframes blink {
    0%, 45%, 48%, 50%, 100% {
        transform: scaleY(1);
    }
    46%, 49% {
        transform: scaleY(0.1);
    }
}

@keyframes look-around {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(2px, 2px);
    }
    50% {
        transform: translate(-2px, 1px);
    }
    75% {
        transform: translate(1px, -2px);
    }
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.weird-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    position: relative;
    padding: 30px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(224, 95, 230, 0.2);
    overflow: hidden;
}

.weird-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--weird-border);
    border-radius: 8px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 0;
}

.card-eye {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
}

.eye-outer {
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: pulse 3s infinite alternate;
}

.eye-inner {
    width: 70%;
    height: 70%;
    background: var(--eye-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eye-pupil {
    width: 60%;
    height: 60%;
    background: var(--eye-pupil);
    border-radius: 50%;
    position: relative;
    animation: pulse-pupil 6s infinite;
}

.eye-pupil::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes pulse-pupil {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.7);
    }
}

.weird-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

.tentacle-container {
    width: 60px;
    height: 80px;
    position: relative;
    overflow: hidden;
}

.tentacle {
    position: absolute;
    width: 10px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 10px;
    transform-origin: bottom center;
}

.left .tentacle {
    animation: tentacleLeft 8s infinite;
    left: 20px;
}

.right .tentacle {
    animation: tentacleRight 7s infinite;
    right: 20px;
}

@keyframes tentacleLeft {
    0%, 100% {
        transform: rotate(-15deg) translateY(0);
    }
    50% {
        transform: rotate(15deg) translateY(-10px);
    }
}

@keyframes tentacleRight {
    0%, 100% {
        transform: rotate(15deg) translateY(0);
    }
    50% {
        transform: rotate(-15deg) translateY(-10px);
    }
}

.glitch-title {
    font-family: 'Creepster', cursive;
    font-size: 72px;
    color: var(--accent-color);
    text-shadow: 
        2px 2px 0 var(--text-shadow),
        -2px -2px 0 var(--text-shadow);
    position: relative;
    animation: floating 4s ease-in-out infinite;
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-title::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-color);
    animation: glitch-1 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch-title::after {
    left: -2px;
    text-shadow: 2px 0 var(--accent-color);
    animation: glitch-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes glitch-1 {
    0% {
        transform: translateX(0);
    }
    80% {
        transform: translateX(0);
    }
    85% {
        transform: translateX(-2px);
    }
    90% {
        transform: translateX(2px);
    }
    95% {
        transform: translateX(-2px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes glitch-2 {
    0% {
        transform: translateX(0);
    }
    80% {
        transform: translateX(0);
    }
    85% {
        transform: translateX(2px);
    }
    90% {
        transform: translateX(-2px);
    }
    95% {
        transform: translateX(2px);
    }
    100% {
        transform: translateX(0);
    }
}

.ascii-container {
    font-family: 'VT323', monospace;
    font-size: 8px;
    line-height: 8px;
    color: var(--accent-color);
    text-align: center;
    margin: 0 auto 15px;
    position: relative;
    text-shadow: 0 0 5px var(--accent-glow);
}

.weird-message {
    text-align: center;
    font-family: 'VT323', monospace;
    font-size: 16px;
    color: var(--accent-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 5px var(--accent-glow);
    animation: flicker 4s infinite;
}

@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.5;
    }
}

.tv-static {
    position: relative;
    padding: 20px;
    border: 1px solid var(--weird-border);
    margin-bottom: 25px;
    background-color: rgba(26, 18, 30, 0.8);
}

.tv-static::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.login-form-container {
    position: relative;
    z-index: 1;
}

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

.input-group label {
    display: block;
    font-family: 'VT323', monospace;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-color);
    letter-spacing: 1px;
}

.weird-input {
    position: relative;
}

.weird-input input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--weird-border);
    color: var(--text-color);
    padding: 12px 40px 12px 15px;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.weird-input input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.eye-decoration {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.mini-eye {
    width: 100%;
    height: 100%;
    background: var(--eye-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mini-pupil {
    width: 60%;
    height: 60%;
    background: var(--eye-pupil);
    border-radius: 50%;
    position: relative;
    animation: follow-cursor 3s infinite alternate;
}

@keyframes follow-cursor {
    0% {
        transform: translate(-20%, -20%);
    }
    33% {
        transform: translate(20%, 20%);
    }
    66% {
        transform: translate(20%, -20%);
    }
    100% {
        transform: translate(-20%, 20%);
    }
}

.option-group {
    margin-bottom: 20px;
}

.weird-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 14px;
    color: var(--text-color);
}

.weird-checkbox input {
    display: none;
}

.checkbox-eye {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 1px solid var(--weird-border);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-pupil {
    width: 0;
    height: 0;
    background-color: var(--accent-color);
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 0 10px var(--accent-glow);
}

.weird-checkbox input:checked + .checkbox-eye {
    background-color: var(--eye-white);
    border-color: var(--accent-color);
}

.weird-checkbox input:checked + .checkbox-eye .checkbox-pupil {
    width: 12px;
    height: 12px;
}

.weird-btn {
    position: relative;
    width: 100%;
    background-color: var(--weird-border);
    color: var(--text-color);
    border: none;
    padding: 14px;
    font-family: 'Creepster', cursive;
    font-size: 18px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.weird-btn::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, transparent, var(--accent-glow));
    animation: drip 3s infinite;
}

@keyframes drip {
    0% {
        top: -10px;
    }
    100% {
        top: 100%;
    }
}

.weird-btn:hover {
    background-color: var(--weird-highlight);
    box-shadow: 0 0 15px var(--accent-glow);
}

.weird-btn:active {
    transform: scale(0.98);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-eye {
    width: 24px;
    height: 24px;
    background-color: var(--eye-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-pupil {
    width: 12px;
    height: 12px;
    background-color: var(--eye-pupil);
    border-radius: 50%;
}

.weird-footer {
    text-align: center;
    margin-top: 20px;
}

.all-seeing {
    font-family: 'VT323', monospace;
    font-size: 12px;
    color: var(--weird-border);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.eye-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.eye-row .mini-eye {
    width: 12px;
    height: 12px;
    background: var(--eye-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eye-row .mini-pupil {
    width: 6px;
    height: 6px;
    background: var(--eye-pupil);
    border-radius: 50%;
}

.copyright {
    font-size: 10px;
    color: var(--weird-border);
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .weird-card {
        padding: 20px;
    }
    
    .glitch-title {
        font-size: 60px;
    }
}
