
<style>
/* ============================================
   Content Wrapper & Body
   ============================================ */
.lesson-content-wrapper {
    position: relative;
}

.lesson-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

.lesson-body h2, .lesson-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.lesson-body img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.lesson-body code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.lesson-body pre {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

.lesson-body pre code {
    background: transparent;
    padding: 0;
}

/* ============================================
   Content Gate
   ============================================ */
.content-gate {
    position: relative;
    margin-top: -100px;
}



.gradient-overlay {
    position: absolute;
    top: -150px;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.6) 40%,
        rgba(255, 255, 255, 0.9) 70%,
        rgba(255, 255, 255, 1) 100%
    );
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    pointer-events: none;
}


.login-prompt-box {
    position: relative;
    z-index: 10;
}

/* ============================================
   Gate Card Styling
   ============================================ */
.login-prompt-box .card {
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.login-prompt-box .card {
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 15px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}


.login-prompt-box .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* ============================================
   Gate Icon
   ============================================ */
.gate-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.gate-icon i {
    color: white !important;
}

/* ============================================
   Typography
   ============================================ */
.login-prompt-box h3 {
    font-size: 1.75rem;
    color: #212529;
}

.login-prompt-box p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   Buttons
   ============================================ */
.login-prompt-box .btn {
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.login-prompt-box .btn:hover {
    transform: translateY(-2px);
}

.login-prompt-box .btn i {
    font-size: 0.9rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .content-gate {
        margin-top: -80px;
    }
    
    .gradient-overlay {
        top: -120px;
        height: 120px;
    }
    .login-prompt-box {
        padding: 0rem ;
        margin: -1.5rem;
    }

    
    .login-prompt-box .card-body {
        padding: 2rem 1.5rem !important;
    }
    
    .login-prompt-box h3 {
        font-size: 1.5rem;
    }
    
    .gate-icon {
        width: 64px;
        height: 64px;
    }
    
    .gate-icon i {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .login-prompt-box .d-md-flex {
        flex-direction: column;
    }
    
    .login-prompt-box .btn {
        width: 100%;
    }
}
</style>

