:root {
    --primary-purple: #4B0082;
    --accent-purple: #9370DB;
    --primary-green: #2ECC71;
    --accent-green: #00C896;
    --bg-dark: #0a0a0a;
    --text-light: #f5f5f5;
    --font-main: 'Cormorant Garamond', serif;
    --font-accent: 'Dancing Script', cursive;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: var(--font-main);
}

.script-font {
    font-family: var(--font-accent);
}

/* Partículas de fondo */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Estilos de Login */
.login-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(147, 112, 219, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    animation: fadeIn 1.5s ease-out;
}

.login-card h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-card p {
    margin-bottom: 30px;
    font-style: italic;
    opacity: 0.8;
}

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

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(147, 112, 219, 0.3);
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-green));
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.error-msg {
    color: #ff4d4d;
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
}

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

/* Notitas flotantes */
.floating-note {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 15px;
    border-radius: 10px;
    font-family: var(--font-accent);
    font-size: 1.1rem;
    max-width: 200px;
    z-index: 10;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}
