:root {
    --bg-color: #050505;
    --text-main: #f0f0f0;
    --accent-gold: #d4af37;
    --dark-gold: #aa8929;
    --input-bg: #111;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-color); color: var(--text-main); font-family: 'Lato', sans-serif; overflow: hidden; }

/* Loader Styles */
#loading-screen {
    position: fixed; width: 100vw; height: 100vh;
    background: radial-gradient(circle, #1a1a1a 0%, #000000 100%);
    display: flex; flex-direction: column; justify-content: space-between;
    align-items: center; z-index: 9999; transition: opacity 1.5s ease-in-out;
}
.loader-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.brand-logo { max-width: 300px; margin-bottom: 20px; animation: glow 3s infinite alternate; }
.elegant-line { width: 0px; height: 2px; background: var(--accent-gold); animation: expandLine 2.5s forwards; margin: 10px 0; }
.loading-text { font-family: 'Playfair Display', serif; color: var(--accent-gold); letter-spacing: 2px; font-size: 14px; opacity: 0; animation: fadeInText 1s 1.5s forwards; }
.footer-branding { padding-bottom: 30px; text-align: center; }
.footer-branding p { color: #888; font-size: 12px; letter-spacing: 1px; }
.footer-branding .copyright { font-size: 10px; color: #555; margin-top: 5px; }

@keyframes glow { 0% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2)); } 100% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8)); } }
@keyframes expandLine { to { width: 150px; } }
@keyframes fadeInText { to { opacity: 1; } }

.hidden { display: none !important; }

/* Login Form Styles */
#app { height: 100vh; display: flex; justify-content: center; align-items: center; background: url('bg-texture.jpg') center/cover; }
.login-container { background: rgba(10, 10, 10, 0.85); padding: 40px; border-radius: 10px; border: 1px solid rgba(212, 175, 55, 0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.8); text-align: center; width: 100%; max-width: 400px; backdrop-filter: blur(10px); }
.login-container h2 { font-family: 'Playfair Display', serif; color: var(--accent-gold); margin-bottom: 30px; font-size: 24px; }
.tab-buttons { display: flex; margin-bottom: 20px; border-bottom: 1px solid #333; }
.tab-btn { flex: 1; background: none; border: none; color: #777; padding: 10px; cursor: pointer; transition: 0.3s; font-size: 16px; font-family: 'Playfair Display', serif; }
.tab-btn.active { color: var(--accent-gold); border-bottom: 2px solid var(--accent-gold); }
.auth-form { display: flex; flex-direction: column; gap: 15px; }
input, select { padding: 12px; background: var(--input-bg); border: 1px solid #333; color: white; border-radius: 5px; font-family: 'Lato', sans-serif; outline: none; transition: 0.3s; }
input:focus, select:focus { border-color: var(--accent-gold); }
.gold-btn { padding: 12px; background: linear-gradient(45deg, var(--dark-gold), var(--accent-gold)); color: black; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.gold-btn:hover { box-shadow: 0 0 15px rgba(212, 175, 55, 0.5); transform: scale(1.02); }
.error-msg { color: #ff4d4d; font-size: 13px; margin-top: 10px; }