/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #00ffea;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

/* Flip Card */
.flip-card {
    background-color: transparent;
    width: 300px;
    height: 200px;
    perspective: 1000px;
    margin: 20px auto;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 1px solid #00ffea;
    border-radius: 15px;
    overflow: hidden;
}

.flip-card-front {
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-front img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.flip-card-back {
    background: #0d0d0d;
    color: #00ffea;
    transform: rotateY(180deg);
    padding: 20px;
}

/* Split Image Card */
.split-image-card {
    position: relative;
    width: 300px;
    height: 200px;
    display: flex;
    margin: 30px auto;
    overflow: hidden;
    cursor: pointer;
}

.image-half {
    width: 50%;
    background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?fit=crop&w=600&q=80');
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.split-image-card:hover .image-half.left {
    transform: translateX(-10px);
}

.split-image-card:hover .image-half.right {
    transform: translateX(10px);
}

.text {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: bold;
    color: #00ffea;
    text-shadow: 0 0 10px #00ffea;
}

/* Glitch Hover Effect */
.glitch-hover:hover {
    animation: glitch 0.5s infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(2px, -2px);
    }
    60% {
        transform: translate(-2px, -2px);
    }
    80% {
        transform: translate(2px, 2px);
    }
    100% {
        transform: translate(0);
    }
}

/* Login Form */
.login-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
}

.login-form input {
    padding: 10px;
    border: 1px solid #00ffea;
    background: #1a1a1a;
    color: #00ffea;
    border-radius: 5px;
    font-size: 1em;
}

.login-form button {
    padding: 10px;
    background: #00ffea;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    color: #1a1a1a;
    transition: background 0.3s;
}

.login-form button:hover {
    background: #00b3a6;
}
