.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    overflow-y: auto;
    padding: 40px 16px;
}

.modal.is-open {
    display: block;
}

.modal-content {
    max-width: 760px;
    margin: 0 auto;
    background: #15110d;
    color: #e5e5e5;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 40px 48px;
    position: relative;
    font-family: Arial, sans-serif;
    line-height: 1.65;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.modal-content h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.modal-content h3 {
    margin: 28px 0 10px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.modal-content p {
    margin: 0 0 14px;
    font-size: 15px;
    color: #b8b8b8;
}

.modal-content p strong {
    color: #ffffff;
}

.modal-content a {
    color: #ff6a1f;
    text-decoration: none;
}

.modal-content a:hover {
    text-decoration: underline;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: transparent;
    color: #e5e5e5;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.modal-close:hover {
    background: rgba(255, 106, 31, 0.1);
    border-color: #ff6a1f;
    color: #ff6a1f;
}

.modal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 0;
    background: #ff6a1f;
    color: #030707;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.15s ease;
}

.modal-button:hover {
    background: #e85a12;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}