/* ============================================
   Lawvendor Disclaimer — disclaimer.css
   Refined legal aesthetic: dark navy + gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Jost:wght@300;400;500&display=swap');

/* Overlay */
#lw-disclaimer-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(5, 10, 20, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: lw-fade-in 0.5s ease forwards;
}

@keyframes lw-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Modal container */
#lw-disclaimer-modal {
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0b1120;
    border: 1px solid rgba(180, 145, 70, 0.35);
    box-shadow:
        0 0 0 1px rgba(180,145,70,0.08),
        0 30px 80px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(180,145,70,0.15);
    animation: lw-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    scrollbar-width: thin;
    scrollbar-color: rgba(180,145,70,0.3) transparent;
}

#lw-disclaimer-modal::-webkit-scrollbar {
    width: 4px;
}
#lw-disclaimer-modal::-webkit-scrollbar-track {
    background: transparent;
}
#lw-disclaimer-modal::-webkit-scrollbar-thumb {
    background: rgba(180,145,70,0.3);
    border-radius: 2px;
}

@keyframes lw-slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

#lw-disclaimer-inner {
    display: flex;
    flex-direction: column;
}

/* Header */
#lw-disclaimer-header {
    padding: 32px 40px 24px;
    border-bottom: 1px solid rgba(180,145,70,0.15);
    text-align: center;
    position: relative;
}

#lw-disclaimer-header::before {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b49146, transparent);
    margin: 0 auto 16px;
}

#lw-disclaimer-firm {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #b49146;
    text-transform: uppercase;
}

/* Body */
#lw-disclaimer-body {
    padding: 32px 40px;
}

.lw-section {
    margin-bottom: 0;
}

.lw-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d4b876;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lw-title-bar {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: #b49146;
    flex-shrink: 0;
}

.lw-section-text {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(210, 220, 235, 0.78);
    margin: 0;
}

.lw-section-text strong {
    color: rgba(210, 220, 235, 0.95);
    font-weight: 500;
}

.lw-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180,145,70,0.2), transparent);
    margin: 28px 0;
}

/* Footer */
#lw-disclaimer-footer {
    padding: 24px 40px 32px;
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    border-top: 1px solid rgba(180,145,70,0.15);
}

#lw-disclaimer-footer button {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    padding: 13px 28px;
    transition: all 0.25s ease;
}

#lw-btn-decline {
    background: transparent;
    color: rgba(210,220,235,0.5);
    border: 1px solid rgba(210,220,235,0.15) !important;
}

#lw-btn-decline:hover {
    background: rgba(255,255,255,0.05);
    color: rgba(210,220,235,0.8);
    border-color: rgba(210,220,235,0.3) !important;
}

#lw-btn-agree {
    background: linear-gradient(135deg, #b49146 0%, #d4b876 50%, #b49146 100%);
    background-size: 200% 200%;
    color: #0b1120;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(180,145,70,0.25);
}

#lw-btn-agree:hover {
    background-position: right center;
    box-shadow: 0 6px 28px rgba(180,145,70,0.4);
    transform: translateY(-1px);
}

#lw-btn-agree:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 520px) {
    #lw-disclaimer-header,
    #lw-disclaimer-body,
    #lw-disclaimer-footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    #lw-disclaimer-footer {
        flex-direction: column-reverse;
    }

    #lw-disclaimer-footer button {
        width: 100%;
        text-align: center;
    }
}
