/* ============================================================
   1. CORE BRANDING & ROOT VARIABLES
   ============================================================ */
:root {
    --navy-dark: #0F172A;
    --vibrant-gold: #FFD700;
    --gold: #F9C846;
    --beige-scroller: #F5F5DC;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }
body { background: #0F172A; color: white; min-height: 100vh; overflow-x: hidden; }

/* Animated Background */
.animated-mesh {
    background: linear-gradient(-45deg, #0F172A, #1E293B, #111827, #0F172A) !important;
    background-size: 400% 400% !important;
    animation: gradientMove 15s ease infinite !important;
}
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ============================================================
   2. UNIFIED LUXURY LAYOUT
   ============================================================ */
.login-main-panel {
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; gap: 30px;
}

.luxury-login-container {
    display: flex !important;
    max-width: 1000px;
    width: 100%;
    height: 550px;
    background: rgba(15, 23, 42, 0.95);
    border: 2px solid var(--vibrant-gold);
    border-radius: 30px;
    overflow: hidden;
}

/* Left Section */
.login-side {
    flex: 0 0 400px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 215, 0, 0.1);
}

.center-logo { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.form-logo { height: 150px; width: auto; object-fit: contain; }

.login-header { text-align: center; margin-bottom: 2rem; }
.login-header h2 { font-size: 1.8rem; color: var(--vibrant-gold); font-weight: 300; }
.login-header p { color: #94a3b8; font-size: 0.85rem; }

.input-group { margin-bottom: 1.2rem; }
.input-group label { display: block; font-size: 0.7rem; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; letter-spacing: 1px; }

.soft-input {
    width: 100% !important; background: rgba(255, 255, 255, 0.05) !important; border: 1px solid rgba(255, 215, 0, 0.2) !important;
    border-radius: 8px !important; height: 45px !important; color: white !important; padding: 0 15px;
}

.btn-vibrant-gold.block-btn {
    width: 100% !important; height: 50px; background: var(--vibrant-gold); border: none; border-radius: 8px;
    color: #000; font-weight: 700; letter-spacing: 1px; cursor: pointer;
}

/* Right Section - Slider */
.slider-side { flex: 1; position: relative; background: #000; }
.announcement-slider, .slide { width: 100%; height: 100%; }
.slide { position: absolute; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slide-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.slide-overlay h3 { color: var(--vibrant-gold); margin-bottom: 5px; }
.slide-overlay p { font-size: 0.9rem; color: #cbd5e1; }

/* ============================================================
   3. PRODUCT SCROLLER (ALIGNED & BEIGE)
   ============================================================ */
.scrolling-product-bar-aligned {
    width: 100%; max-width: 1000px; height: 160px; background: var(--beige-scroller);
    border-radius: 20px; border: 2px solid var(--vibrant-gold); display: flex; align-items: center; overflow: hidden;
}
.scroller-inner { display: flex; animation: productScroll 30s linear infinite; }
.scroller-item { width: 200px; text-align: center; flex-shrink: 0; color: #334155; }
.scroller-item img { height: 80px; margin-bottom: 5px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); }
.scroller-item p { font-size: 0.75rem; font-weight: 700; }

@keyframes productScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-180px * 6)); } }

/* ============================================================
   4. MOBILE RESPONSIVENESS
   ============================================================ */
@media (max-width: 1024px) {
    .luxury-login-container { flex-direction: column; height: auto; max-width: 450px; }
    .login-side { flex: 0 0 auto; width: 100%; border-right: none; }
    .slider-side { display: none; } /* Hide slider on mobile to stay classy */
    .scrolling-product-bar-aligned { max-width: 450px; }
}

/* Global Navbar Fixes */
.navbar { background: var(--navy-dark); padding: 0.8rem 5%; border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 2000; }