* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: #0b0f1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow-x: hidden;
}

/* ===== FASTER BREATHING BACKGROUND ===== */
body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(56, 43, 98, 0.7) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(138, 105, 54, 0.5) 0%, transparent 45%),
                linear-gradient(145deg, #0a1120 0%, #16213e 50%, #1e2a4a 100%);
    background-size: 200% 200%, 200% 200%, 100%;
    animation: breatheGradient 8s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes breatheGradient {
    0% { background-position: 0% 20%, 0% 30%, 0; }
    50% { background-position: 90% 60%, 70% 50%, 0; }
    100% { background-position: 30% 80%, 30% 20%, 0; }
}

.noise {
    position: fixed;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc0IiBudW1PY3RhdmVzPSIzIiAvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNmKSIgb3BhY2l0eT0iMC4wMjUiIC8+PC9zdmc+');
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* ===== MAIN CARD – fully responsive ===== */
.split-card {
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    width: 100%;
    min-height: 720px;
    background: rgba(18, 25, 45, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(230, 190, 120, 0.2);
    border-radius: 4rem;
    box-shadow: 0 60px 120px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(200, 160, 80, 0.2) inset;
    position: relative;
    z-index: 10;
    transition: box-shadow 0.5s ease;
}

/* ===== LEFT PANEL ===== */
.left-panel {
    flex: 1.2;
    min-width: 340px;
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    border-right: 1px solid rgba(210, 170, 100, 0.15);
}

.quote-wrapper {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
}

.greeting-tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #b89f6e;
    margin-bottom: 1.8rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.greeting-tag i {
    font-size: 1.1rem;
    color: #dbb257;
    animation: softGlow 3s infinite alternate;
}

@keyframes softGlow {
    0% { filter: drop-shadow(0 0 2px #e9c886); }
    100% { filter: drop-shadow(0 0 8px #ffd78c); }
}

.dynamic-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    color: #f2e6d5;
    font-weight: 800;
    margin-bottom: 2.2rem;
    min-height: 8rem;
    text-shadow: 0 6px 18px rgba(0,0,0,0.5);
    white-space: pre-wrap;
    word-break: break-word;
}

.bridge-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #b8934a;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 1rem;
}

.bridge-divider .line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, #dbb257, rgba(200,160,80,0.2));
}

.footnote {
    color: #7f8aa8;
    font-size: 0.8rem;
    margin-top: 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ===== RIGHT PANEL ===== */
.right-panel {
    flex: 0.9;
    min-width: 360px;
    padding: 4rem 3.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(10, 15, 24, 0.2);
    backdrop-filter: blur(4px);
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.8rem;
}

.brand .logo-icon {
    font-size: 3.4rem;
    color: #e9c886;
    filter: drop-shadow(0 6px 14px rgba(200,150,50,0.6));
    transition: filter 0.3s;
}

.brand:hover .logo-icon {
    filter: drop-shadow(0 8px 22px #fbd066);
}

.brand h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    background: linear-gradient(145deg, #f5e2b2, #dbb257);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.input-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(220, 180, 120, 0.3);
    outline: none;
    font-size: 1.05rem;
    padding: 1.3rem 0 0.5rem 0;
    color: #f0e7d8;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    border-bottom-color: #e9c886;
    box-shadow: 0 8px 12px -12px #e9c886;
}

.input-group label {
    position: absolute;
    left: 0;
    top: 1.3rem;
    font-size: 1rem;
    color: #9aa9c9;
    transition: 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    pointer-events: none;
    transform-origin: left;
    font-weight: 400;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -0.4rem;
    transform: scale(0.8);
    color: #e9c886;
    font-weight: 500;
}

.input-group input::placeholder {
    color: transparent;
}

.error-message {
    color: #ff8a8a;
    font-size: 0.9rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    min-height: 1.5rem;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #314066, #1b2544);
    border: 1px solid rgba(233, 200, 134, 0.4);
    padding: 1.1rem;
    border-radius: 60px;
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 2.5rem 0 1.8rem 0;
    box-shadow: 0 18px 28px -14px #04070e, 0 0 0 1px rgba(210,160,80,0.2) inset;
    position: relative;
    overflow: hidden;
}

.login-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(115deg, transparent, rgba(255,235,170,0.15), transparent);
    transform: rotate(25deg);
    transition: left 0.6s ease;
}

.login-btn:hover {
    background: linear-gradient(135deg, #3e5082, #25315a);
    border-color: #e9c886;
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 28px 38px -18px #000, 0 0 0 2px rgba(233,200,134,0.4);
}

.login-btn:hover::after {
    left: 100%;
}

.login-btn:hover i {
    transform: translateX(6px);
}

.login-btn i {
    transition: transform 0.3s ease;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1024px) {
    .split-card {
        border-radius: 3rem;
    }
    .left-panel {
        padding: 3rem 2.5rem;
    }
    .right-panel {
        padding: 3rem 2.5rem;
    }
    .dynamic-quote {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0.8rem;
    }
    .split-card {
        flex-direction: column;
        min-height: auto;
        border-radius: 2.5rem;
    }
    .left-panel {
        border-right: none;
        border-bottom: 1px solid rgba(210,170,100,0.2);
        padding: 2.5rem 2rem;
        min-width: auto;
    }
    .right-panel {
        padding: 2.5rem 2rem;
        min-width: auto;
    }
    .dynamic-quote {
        font-size: 2rem;
        min-height: 6rem;
    }
    .brand h2 {
        font-size: 2rem;
    }
    .brand .logo-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .split-card {
        border-radius: 2rem;
    }
    .left-panel, .right-panel {
        padding: 2rem 1.5rem;
    }
    .greeting-tag {
        font-size: 0.8rem;
        letter-spacing: 4px;
        margin-bottom: 1.2rem;
    }
    .dynamic-quote {
        font-size: 1.8rem;
        line-height: 1.3;
        min-height: 5rem;
    }
    .brand {
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    .brand .logo-icon {
        font-size: 2.6rem;
    }
    .brand h2 {
        font-size: 1.8rem;
    }
    .input-group {
        margin-bottom: 2rem;
    }
    .login-btn {
        padding: 0.9rem;
        font-size: 1rem;
        margin: 2rem 0 1.5rem;
    }
}

@media (max-width: 360px) {
    .left-panel, .right-panel {
        padding: 1.5rem 1rem;
    }
    .dynamic-quote {
        font-size: 1.5rem;
    }
    .brand h2 {
        font-size: 1.5rem;
    }
    .brand .logo-icon {
        font-size: 2.2rem;
    }
}