.updates-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.updates-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.updates-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #1e2024;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.updates-modal-overlay.active .updates-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.updates-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 10;
}

.updates-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.updates-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.5);
}

.updates-close-btn:hover svg {
    stroke: #fff;
}

.updates-hero {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
}

.updates-hero-glow {
    display: none;
}

.updates-hero-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: rgba(217, 154, 30, 0.12);
    border: 1px solid rgba(217, 154, 30, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.updates-hero-icon svg {
    width: 32px;
    height: 32px;
    stroke: #d99a1e;
}

.updates-hero h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
}

.updates-version-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #d99a1e;
    background: rgba(217, 154, 30, 0.12);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
}

.updates-content {
    padding: 0 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.update-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.15s ease;
}

.update-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.update-card.highlight {
    background: rgba(217, 154, 30, 0.06);
    border-color: rgba(217, 154, 30, 0.15);
}

.update-card-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.update-card-icon svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.6);
}

.update-card.highlight .update-card-icon {
    background: rgba(217, 154, 30, 0.1);
    border-color: rgba(217, 154, 30, 0.2);
}

.update-card.highlight .update-card-icon svg {
    stroke: #d99a1e;
}

.update-card-text {
    flex: 1;
    min-width: 0;
}

.update-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

.update-tag.new {
    background: rgba(217, 154, 30, 0.15);
    color: #d99a1e;
}

.update-tag.improved {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

.update-tag.coming {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

.update-card-text h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem;
}

.update-card-text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0;
}

.updates-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.updates-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.updates-dismiss-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: #d99a1e;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.updates-dismiss-btn:hover {
    background: #e5a520;
}

.updates-dismiss-btn svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
}

@media (max-width: 480px) {
    .updates-modal-overlay {
        padding: 1rem;
    }
    
    .updates-hero {
        padding: 2rem 1.5rem 1.25rem;
    }
    
    .updates-hero-icon {
        width: 60px;
        height: 60px;
    }
    
    .updates-hero-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .updates-hero h2 {
        font-size: 1.25rem;
    }
    
    .updates-content {
        padding: 0 1.5rem 1.25rem;
    }
    
    .updates-footer {
        padding: 1rem 1.5rem;
    }
}
