:root {
    --primary: #d63384;
    --bg: #1a1a2e;
    --accent: #ff69b4;
    --glass: rgba(255, 255, 255, 0.1);
    --hover-bg: #e94e9d;
    --shadow-color: rgba(255, 105, 180, 0.3);
    --font-family: 'Segoe UI', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background: var(--bg);
    color: white;
}

header {
    text-align: center;
    padding: 20px 20px;
    background: linear-gradient(135deg, #ff69b4, #d63384);
    box-shadow: 0 4px 8px var(--shadow-color);
}

header h1 {
    font-size: 3.5em;
    margin: 0;
    text-transform: uppercase;
}

header p {
    font-size: 1.2em;
    margin-top: 10px;
    font-weight: 300;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px;
    background: #2e2e3a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

nav a {
    color: #ff69b4;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d63384;
}

.hero {
    /* height: 200px; */
    padding: 20px;
    background: radial-gradient(circle, #d63384 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: white;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    padding: 40px 20px;
}

h2 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 30px;
    font-size: 2em;
}

.face-auth-form {
    max-width: 450px;
    margin: auto;
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 0 15px var(--shadow-color);
}

.face-auth-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 1em;
    transition: all 0.3s;
}

.face-auth-form input:focus {
    border: 2px solid var(--primary);
}

.face-upload {
    margin-top: 30px;
    text-align: center;
}

.success-message {
    display: none;
    margin-top: 20px;
    color: #90ee90;
    font-weight: bold;
}

.success-message.active {
    display: block;
}

video,
canvas {
    margin-top: 20px;
    border-radius: 12px;
    max-width: 100%;
    border: 3px solid var(--accent);
}

#imagePreview {
    /* display: none; */
    max-width: 100%;
    border-radius: 50%;
    border: 3px solid var(--accent);
    aspect-ratio: 1;
    object-fit: cover;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

footer .social-media {
    margin-top: 10px;
}

footer .social-media a {
    color: #ff69b4;
    margin: 0 15px;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .social-media a:hover {
    color: #d63384;
}

.camera-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.camera-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.hidden {
    display: none;
}