
body {
    background: linear-gradient(135deg, #2c1a4d 0%, #1a1a2e 50%, #000000 100%);
    background-attachment: fixed;
    color: #f0e6ff;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.border.p-3 {
    background: rgba(26, 13, 46, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(108, 64, 164, 0.3) !important;
    color: #f0e6ff;
}


.fixed-left {
    position: fixed;
    top: 100px;
    height: calc(100vh - 100px);
    overflow-y: auto;
    z-index: 1;
}

#list-ex.list-group {
    background: rgba(26, 13, 46, 0.7);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(108, 64, 164, 0.3);
}

#list-ex .list-group-item {
    background-color: rgba(42, 21, 74, 0.5);
    border: 1px solid #4a2574;
    color: #e6d9ff;
    margin-bottom: 12px;
    border-radius: 10px;
    transition: all 0.4s ease;
    font-weight: 500;
}

#list-ex .list-group-item:hover, 
#list-ex .list-group-item:focus {
    background: linear-gradient(90deg, #5a2e90 0%, #4a2574 100%);
    color: #ffffff;
    border-color: #7c4cc0;
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(108, 64, 164, 0.4);
}

#list-ex .list-group-item.active {
    background: linear-gradient(90deg, #6c40a4 0%, #5a2e90 100%);
    border-color: #8d66c5;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(108, 64, 164, 0.6);
}


.border.p-3 h2 {
    color: #e6d9ff;
    border-bottom: 2px solid #8d66c5;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.border.p-3 h4 {
    color: #d8b6ff;
    margin-top: 35px;
    padding: 10px 0 10px 20px;
    border-left: 5px solid #8d66c5;
    background: rgba(108, 64, 164, 0.15);
    border-radius: 0 8px 8px 0;
    font-weight: 600;
}


.border.p-3 p {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.05rem;
}


.btn {
    background: linear-gradient(90deg, #6c40a4 0%, #8d66c5 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 64, 164, 0.3);
}

.btn:hover {
    background: linear-gradient(90deg, #8d66c5 0%, #6c40a4 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 64, 164, 0.5);
    color: white;
}


.border.p-3 :target {
    animation: target-fade 3s 1;
    background: rgba(108, 64, 164, 0.2);
    border-radius: 8px;
    padding: 10px;
}

@keyframes target-fade {
    0% { background-color: rgba(108, 64, 164, 0.4); }
    100% { background-color: rgba(108, 64, 164, 0.2); }
}


@media (max-width: 992px) {
    .fixed-left {
        position: relative;
        top: auto;
        height: auto;
        margin-bottom: 20px;
    }
    
    .offset-lg-3 {
        margin-top: 0;
    }
}