.upgrade-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.upgrade-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.upgrade-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 10, 21, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.upgrade-modal__content {
    position: relative;
    z-index: 2;
    background: #253D0A;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
    padding: 32px 24px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #FFFFFF;
}

.upgrade-modal.is-open .upgrade-modal__content {
    transform: scale(1) translateY(0);
}

.upgrade-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94A3B8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.upgrade-modal__close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #FFFFFF;
    border-color: rgba(239, 68, 68, 0.4);
}

.upgrade-modal__icon {
    width: 54px;
    height: 54px;
    background: rgba(101, 163, 13, 0.15);
    border: 1px solid rgba(163, 230, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #84CC16;
}

.upgrade-modal__icon svg {
    width: 26px;
    height: 26px;
}

.upgrade-modal__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 8px;
}

.upgrade-modal__subtitle {
    font-size: 0.925rem;
    color: #CBD5E1 !important;
    line-height: 1.5;
    margin-bottom: 24px;
}

.upgrade-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-modal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.3;
}

.btn-modal-yes {
    background: linear-gradient(135deg, #65A30D 0%, #84CC16 50%, #A3E635 100%);
    color: #253D0A !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(101, 163, 13, 0.25);
}

.btn-modal-yes:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 6px 20px rgba(101, 163, 13, 0.35);
}

.btn-modal-no {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-modal-no:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}