.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #0b0c10;
    border: 1px solid #333;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    /* overflow-y: auto; REMOVED */
    padding: 0;
    /* REMOVED padding if any */
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    color: #ccc;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Clips children/scrollbar */
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #333 #151515;
}

/* Custom Scrollbar for Webkit */
.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-track {
    background: #151515;
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 5px;
    border: 3px solid #151515;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 20;
}

.modal-close:hover {
    opacity: 1;
    color: #ef4444;
}

.modal-body h1 {
    color: #fff;
    margin-top: 0;
    font-family: 'Special Elite', monospace;
    text-transform: uppercase;
    border-bottom: 2px solid #ef4444;
    padding-bottom: 15px;
    margin-bottom: 20px;
    padding-right: 30px;
    /* Avoid clash with close button */
}

.modal-body h3 {
    color: #e9eef6;
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 14px;
}

.modal-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 10px;
    font-size: 14px;
}